joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4369d7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
xor ebx, ebx
cmp byte [edi + 0x49], 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
jne 0x436a02
mov eax, dword [edi + 0x44]
jmp 0x436b8d
mov ecx, dword [edi + 0x3c]
push edi
call fcn.0043628f
pop ecx
cmp eax, ebx
jne 0x436b8d
cmp dword [edi + 0x10], ebx
jne 0x436a59
push ebx
push dword [ebp + 0x10]
mov eax, esi
push dword [ebp + 0xc]
call fcn.00405baf
add esp, 0xc
test byte [edi + 0x48], 2
je 0x436a59
cmp dword [ebp + 0x10], ebx
jl 0x436a59
jg 0x436a3c
cmp dword [ebp + 0xc], ebx
jbe 0x436a59
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [edi + 0x18]
sub eax, 1
sbb ecx, ebx
cmp edx, eax
jne 0x436a59
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jne 0x436a59
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], ebx
jne 0x436a7f
push dword [ebp + 0x20]
lea ecx, [ebp - 4]
push dword [ebp + 0x10]
mov esi, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004362c7
add esp, 0x10
cmp eax, ebx
jne 0x436b8d
movsx eax, word [edi + 0x4c]
mov esi, dword [edi + eax*4 + 0x78]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
mov eax, esi
call fcn.0042eff3
add esp, 0x20
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x436b8d
movsx eax, word [edi + 0x4c]
lea eax, [edi + eax*2 + 0x4e]
movzx ecx, word [eax]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], ebx
jne 0x436b34
mov eax, dword [esi + 0x44]
call fcn.004203e9
cmp eax, ebx
jne 0x436b8d
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
lea ecx, [eax + ecx*2]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
movzx ecx, word [esi + 0x14]
and eax, ecx
add eax, dword [esi + 0x38]
cmp byte [esi + 5], bl
jne 0x436b09
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call fcn.0042eed3
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
movzx eax, word [ebp - 4]
push eax
push dword [ebp - 0xc]
call fcn.004139a9
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
jne 0x436b8d
jmp 0x436b4b
jge 0x436b4b
cmp word [esi + 0x12], bx
jbe 0x436b4b
inc word [eax]
movsx eax, word [edi + 0x4c]
movzx eax, word [edi + eax*2 + 0x4e]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push ebx
push ebx
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
call fcn.004208ad
xor eax, eax
mov word [edi + 0x2c], ax
mov eax, dword [ebp - 8]
add esp, 0x14
cmp eax, ebx
jne 0x436b8d
cmp byte [esi + 1], bl
je 0x436b8d
and byte [edi + 0x48], 0xfd
call fcn.00433161
movsx ecx, word [edi + 0x4c]
mov ecx, dword [edi + ecx*4 + 0x78]
mov byte [ecx + 1], bl
mov byte [edi + 0x49], bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436b92
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi]
movsx ebx, word [edi + 0x4c]
mov ecx, dword [edi + ebx*4 + 0x78]
mov dx, word [edi + ebx*2 + 0x4e]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
inc eax
mov dword [ebp - 0x1c], ebx
cmp dx, word [ecx + 0x12]
jae 0x436d63
cmp byte [edi + 0x49], al
jne 0x436d63
mov esi, ecx
mov ecx, dword [esi + 0x40]
movzx eax, dx
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
movzx ecx, word [esi + 0x14]
and eax, ecx
add eax, dword [esi + 0x38]
cmp byte [esi + 5], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
jne 0x436c17
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push edi
call fcn.0043698c
pop ecx
pop ecx
test eax, eax
jne 0x436d63
mov ecx, dword [edi + 0x3c]
mov eax, dword [ebp - 0xc]
push edi
call fcn.0043628f
pop ecx
test eax, eax
jne 0x436d63
cmp dword [edi + 0x10], eax
jne 0x436c43
push eax
push dword [edi + 0x1c]
mov eax, dword [ebp - 4]
push dword [edi + 0x18]
call fcn.00405baf
add esp, 0xc
mov eax, dword [esi + 0x44]
call fcn.004203e9
test eax, eax
jne 0x436d63
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, esi
call fcn.0042eed3
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
movzx eax, word [ebp - 4]
push eax
push dword [ebp - 0x10]
call fcn.004139a9
mov eax, dword [ebp - 8]
add esp, 0x10
test eax, eax
jne 0x436d63
cmp byte [esi + 5], al
jne 0x436d1f
movsx eax, word [edi + 0x4c]
mov esi, dword [edi + eax*4 + 0x78]
mov eax, dword [edi + ebx*4 + 0x7c]
mov eax, dword [eax + 0x48]
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x14], eax
movzx eax, word [esi + 0x12]
lea eax, [ecx + eax*2]
movzx ebx, byte [eax - 2]
movzx eax, byte [eax - 1]
shl ebx, 8
or ebx, eax
movzx eax, word [esi + 0x14]
and ebx, eax
add ebx, dword [esi + 0x38]
mov edx, esi
push ebx
call fcn.00405d54
movzx eax, ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x44]
call fcn.004203e9
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push dword [ebp - 0xc]
add eax, 4
push eax
mov eax, dword [ebp - 0x10]
add ebx, 0xfffffffc
push ebx
call fcn.004208ad
lea eax, [ebp - 8]
push eax
movzx eax, word [esi + 0x12]
push dword [ebp - 4]
dec eax
push eax
call fcn.004139a9
mov eax, dword [ebp - 8]
add esp, 0x24
test eax, eax
jne 0x436d63
mov ebx, dword [ebp - 0x1c]
call fcn.00433161
mov esi, eax
test esi, esi
jne 0x436d61
movsx eax, word [edi + 0x4c]
cmp eax, ebx
jle 0x436d5a
movzx ecx, word [edi + 0x4c]
movsx eax, cx
mov eax, dword [edi + eax*4 + 0x78]
dec ecx
mov word [edi + 0x4c], cx
call fcn.0042d791
movsx eax, word [edi + 0x4c]
cmp eax, ebx
jg 0x436d32
call fcn.00433161
mov esi, eax
test esi, esi
jne 0x436d61
mov eax, edi
call fcn.00432100
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4494f5
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, 0x100
push edi
mov ebx, eax
or esi, eax
shl dword [ebp + 0x10], 1
mov eax, esi
shr eax, 7
and eax, 1
push eax
mov eax, ebx
and eax, dword [ebp + 0x10]
mov ecx, esi
add eax, ebx
shr ecx, 8
add ecx, eax
mov eax, dword [ebp + 0xc]
lea edi, [eax + ecx*2]
mov eax, dword [ebp + 8]
call fcn.00449465
add esi, esi
mov eax, esi
xor eax, dword [ebp + 0x10]
pop ecx
not eax
and ebx, eax
cmp esi, 0x10000
jb 0x449508
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x449549
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
or ecx, 0x100
push esi
mov esi, dword [ebp + 8]
mov edx, ecx
shr edx, 8
movzx edx, word [esi + edx*2]
mov esi, ecx
shr esi, 7
and esi, 1
neg esi
sar esi, 4
and esi, 0x7f
shr edx, 4
xor edx, esi
mov esi, dword [ebp + 0xc]
add eax, dword [esi + edx*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x449557
pop esi
pop ebp
ret

Function at 0x44958b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, 0x100
push esi
xor eax, eax
or edx, ecx
push edi
shl dword [ebp + 0xc], 1
mov esi, ecx
and esi, dword [ebp + 0xc]
mov edi, edx
add esi, ecx
shr edi, 8
add edi, esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + edi*2]
mov edi, edx
shr edi, 7
and edi, 1
neg edi
shr esi, 4
sar edi, 4
and edi, 0x7f
xor esi, edi
mov edi, dword [ebp + 0x10]
add eax, dword [edi + esi*4]
add edx, edx
mov esi, edx
xor esi, dword [ebp + 0xc]
not esi
and ecx, esi
cmp edx, 0x10000
jb 0x44959b
pop edi
pop esi
pop ebp
ret

Function at 0x44969b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
push esi
mov esi, eax
xor eax, eax
inc edx
test esi, esi
je 0x4496dc
push ebx
push edi
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
movzx edi, word [edi + edx*2]
shr dword [ebp + 0xc], 1
and ecx, 1
mov ebx, ecx
neg ebx
sar ebx, 4
and ebx, 0x7f
shr edi, 4
xor edi, ebx
mov ebx, dword [ebp + 0x10]
add eax, dword [ebx + edi*4]
add edx, edx
or edx, ecx
dec esi
jne 0x4496ae
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x44edfa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ecx, ecx
push 4
pop edx
mov dword [eax + 0x34], ecx
mov byte [eax + 0x1f], cl
mov dword [eax + 0x24], ecx
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], edx
mov byte [eax + 0x1e], cl
xor esi, esi
add eax, 0x60
push 8
mov ecx, esi
pop edi
mov ebx, ecx
and ebx, 1
dec ebx
not ebx
and ebx, 0xedb88320
shr ecx, 1
xor ecx, ebx
dec edi
jne 0x44ee2e
mov dword [eax], ecx
inc esi
add eax, edx
cmp esi, 0x100
jb 0x44ee29
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44fc46
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.004b3c5d
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.0044fbe9
add esp, 0x1c
leave
ret
Function at 0x44fd84
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
je 0x44fd8e
or eax, 0xffffffff
ret
cmp dword [esi + 4], 0
jne 0x44fdd7
call fcn.004b36f2
and dword [eax], 0
push dword [esi + 0x40]
push 0x4000
push 1
push dword [esi + 0x44]
call fcn.004b8511
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
jne 0x44fdd2
push dword [esi + 0x40]
mov dword [esi + 0x3c], 1
call fcn.004b830c
pop ecx
test eax, eax
je 0x44fd8a
or dword [esi + 0x38], 0xffffffff
jmp 0x44fd8a
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
dec dword [esi + 4]
mov cl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, cl
ret

Function at 0x44fde5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov edi, dword [esi + 4]
inc ebx
cmp edi, 2
jae 0x44fe57
test edi, edi
je 0x44fe04
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov al, byte [eax]
mov byte [ecx], al
call fcn.004b36f2
and dword [eax], 0
push dword [esi + 0x40]
mov ecx, edi
mov eax, 0x4000
sar eax, cl
push eax
mov eax, dword [esi + 0x44]
add eax, edi
push ebx
push eax
call fcn.004b8511
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x44fe3f
push dword [esi + 0x40]
call fcn.004b830c
pop ecx
test eax, eax
je 0x44fe3f
or dword [esi + 0x38], 0xffffffff
add dword [esi + 4], edi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x44]
mov dword [esi], ecx
cmp eax, 2
jae 0x44fe57
mov dword [esi + 0x58], eax
jmp 0x44ff10
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x44ff0d
cmp byte [eax + 1], 0x8b
jne 0x44ff0d
add dword [esi + 4], 0xfffffffe
add eax, 2
mov dword [esi], eax
call fcn.0044fd84
mov edi, eax
call fcn.0044fd84
mov ebx, eax
cmp edi, 8
jne 0x44ff04
test bl, 0xe0
jne 0x44ff04
push 6
pop edi
call fcn.0044fd84
dec edi
jne 0x44fe90
test bl, 4
je 0x44febf
call fcn.0044fd84
mov edi, eax
call fcn.0044fd84
shl eax, 8
add edi, eax
mov eax, edi
dec edi
test eax, eax
je 0x44febf
call fcn.0044fd84
cmp eax, 0xffffffff
jne 0x44feae
test bl, 8
je 0x44fed2
call fcn.0044fd84
test eax, eax
je 0x44fed2
cmp eax, 0xffffffff
jne 0x44fec4
test bl, 0x10
je 0x44fee5
call fcn.0044fd84
test eax, eax
je 0x44fee5
cmp eax, 0xffffffff
jne 0x44fed7
test bl, 2
je 0x44fef5
push 2
pop edi
call fcn.0044fd84
dec edi
jne 0x44feed
mov eax, dword [esi + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffd
mov dword [esi + 0x38], eax
jmp 0x44ff10
mov dword [esi + 0x38], 0xfffffffd
jmp 0x44ff10
mov dword [esi + 0x58], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4511ca
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x451259
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.004ac080
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x451219
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x45123b
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x451317
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x451281
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x45128c
xor eax, eax
jmp 0x4512d8
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x4512a9
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.004534b7
jmp 0x4512b9
cmp ecx, 2
jne 0x4512c2
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.00453484
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.004ac080
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x451303
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x451317
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4511d7
pop edi
pop ebx
leave
ret
Function at 0x456d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x456dcb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x456dcb
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x456dba
cmp esi, edx
jae 0x456dcb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x456da8
cmp esi, edx
jae 0x456dcb
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x457690
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5f3e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x4ff080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x54], esi
mov edi, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x58], edi
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x30], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457703
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00463250
mov dword [ebp - 4], 1
push 0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call esi
xorps xmm0, xmm0
add eax, 2
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
xor ecx, ecx
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 0x4c], eax
mov word [edi], cx
mov edx, 2
mov dword [ebp - 0x50], 1
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a9ba9
add esp, 4
mov dword [ebp - 0x48], eax
push dword [ebp - 0x4c]
push eax
push dword [ebp - 0x54]
call esi
mov esi, dword [ebp - 0x48]
test eax, eax
je 0x45783f
push dword [ebp - 0x4c]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.00463250
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp edi, eax
je 0x4577ed
mov ecx, edi
call fcn.00460bf0
movups xmm0, xmmword [ebp - 0x2c]
mov eax, 7
xor ecx, ecx
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
jmp 0x4577f0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, 7
jbe 0x45782b
mov edx, dword [ebp - 0x2c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457821
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4578b6
push ecx
push edx
call fcn.004aa25b
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push esi
call fcn.004a9ba4
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x457882
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457878
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4578b6
push ecx
push edx
call fcn.004aa25b
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov eax, edi
mov dword [ebp - 0x30], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9b96
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004b35c4
int3
Function at 0x45d380
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7249
mov eax, dword fs:[0]
push eax
mov eax, 0x2028
call fcn.004aa970
mov eax, dword [0x4ff080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2030], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2034], esi
xor eax, eax
mov dword [ebp - 0x202c], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
push eax
push edx
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x202c], 1
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45d5dd
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x45d5dd
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d440
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00460c80
push 0
push 0x28
lea eax, [ebp - 0x2010]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45d5c7
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x45d5c7
lea eax, [ebp - 0x2010]
push 0x104
push eax
call fcn.004b2e89
mov ecx, dword [esi + 0x10]
add esp, 8
sub ecx, eax
dec ecx
lea edx, [eax + 1]
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 0
movups xmmword [ebp - 0x2028], xmm0
cmp eax, edx
jb 0x45d5f9
sub eax, edx
cmp eax, ecx
cmovb ecx, eax
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x45d4f2
mov eax, dword [esi]
push ecx
lea eax, [eax + edx*2]
push eax
lea ecx, [ebp - 0x2028]
call fcn.00463250
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x202c], 3
cmp esi, eax
je 0x45d554
mov ecx, esi
call fcn.00460bf0
movups xmm0, xmmword [ebp - 0x2028]
mov ecx, 7
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2018]
mov dword [ebp - 0x2014], ecx
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
jmp 0x45d55a
mov ecx, dword [ebp - 0x2014]
mov eax, 3
mov dword [ebp - 0x202c], eax
and eax, 0xfffffffd
mov dword [ebp - 0x202c], eax
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x45d5a8
mov edx, dword [ebp - 0x2028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45d59e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d5fe
push ecx
push edx
call fcn.004aa25b
add esp, 8
xor eax, eax
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 7
mov word [ebp - 0x2028], ax
jmp 0x45d5dd
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x45d5d8
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9b96
mov esp, ebp
pop ebp
ret
call fcn.00461390
call fcn.004b35c4
int3
Function at 0x45d610
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c72a7
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.004aa970
mov eax, dword [0x4ff080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2018], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x201c], esi
xor eax, eax
mov dword [ebp - 0x2014], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
push eax
push edx
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x2014], 1
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45d6ee
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x45d6ee
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d6d0
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00460c80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9b96
mov esp, ebp
pop ebp
ret