joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458120
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4db3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004d3f77
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00457ac0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004d3ea5
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004d076b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004d076b
push 1
push 0
push 0
mov ecx, esi
call fcn.004d0713
push 1
push 0
push 1
mov ecx, esi
call fcn.004d0713
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d3fe9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4582a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4db3e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004d3f77
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00457ac0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004d3ea5
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x458364
cmp dword [esp + 0x40], 1
jne 0x458362
cmp ecx, eax
jge 0x458364
mov eax, ecx
cmp eax, 0xc8
jge 0x458370
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00458120
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d3fe9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x458af0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4db453
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ceb87
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004d421f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004d573b
test eax, eax
je 0x458c0c
mov ecx, dword [esp + 0x3c]
call fcn.004d424c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x458bd0
push edi
mov ecx, esi
call fcn.004d18b5
mov ecx, esi
call fcn.00458d70
cmp dword [esp + 0x38], 1
jne 0x458c05
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d19f0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x45b620
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45b653
push esi
call fcn.0045e700
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45b64c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45b6d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45b6c2
mov eax, dword [esi + 8]
test eax, eax
je 0x45b677
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45b6be
cmp eax, 2
je 0x45b6c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45b66a
cmp eax, 3
je 0x45b69d
cmp eax, 1
jne 0x45b66a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45b66a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45b66a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045b700
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45b6e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045b700
add esp, 4
pop esi
ret
Function at 0x46ba20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4dbac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0046bdf0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.0046bdf0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.0046be60
lea ecx, [esp + 0x10]
call fcn.0046c1a0
cmp eax, 1
jae 0x46bac8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x46bb33
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x46bb33
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.0046be60
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.0046c1a0
cmp eax, 1
jb 0x46bb33
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.0046b8c0
test eax, eax
je 0x46bb33
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.0046bba0
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.0046bec0
push edi
lea ecx, [esp + 0x24]
call fcn.0046bee0
push esi
lea ecx, [esp + 0x24]
call fcn.0046bf80
push str..tmp
lea ecx, [esp + 0x24]
call fcn.0046bee0
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.0046b8a0
test eax, eax
je 0x46bb69
inc esi
cmp esi, 0x7a0a1f00
jb 0x46baea
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.0046be10
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046be10
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.0046bec0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.0046be10
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046be10
mov eax, 1
jmp 0x46bb54
Function at 0x46c320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dbb78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0046bdf0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.0046be60
push 0
mov ecx, esi
call fcn.0046c2a0
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x46c458
lea ecx, [esp + 0xc]
call fcn.0046c1a0
cmp eax, 1
jae 0x46c3a7
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0046be10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x46c3f4
push 0
lea ecx, [esp + 0x10]
call fcn.0046c220
push eax
push edi
mov ecx, 0x7bab0c
call fcn.0046ba20
test eax, eax
jne 0x46c3fc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0046be10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.0046be60
push edi
mov ecx, 0x7bab0c
call fcn.0046b980
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.0046c210
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x46c458
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x46c458
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x46c488
push 1
mov ecx, esi
call fcn.0046c2a0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0046be10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.0046be10
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x46cd80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.0046be60
pop edi
add esp, 0x104
ret 4
Function at 0x46d4e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x46d513
push esi
call fcn.004723b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46d50c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x46d599
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46d582
mov eax, dword [esi + 8]
test eax, eax
je 0x46d537
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46d57e
cmp eax, 2
je 0x46d582
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46d52a
cmp eax, 3
je 0x46d55d
cmp eax, 1
jne 0x46d52a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46d52a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46d52a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046d5d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46d5b9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0046d5d0
add esp, 4
pop esi
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x49df0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x49e00e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x762b90]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x762b90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x762b90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x762b90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x762b90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x762b90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x762b90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x762b90]
xor eax, edx
inc ecx
dec edi
jne 0x49df26
pop edi
test esi, esi
je 0x49e030
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x762b90]
xor eax, edx
inc ecx
dec esi
jne 0x49e012
pop esi
pop ebx
not eax
ret
Function at 0x4cf97c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4cf9b4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004cda09
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004cd9e1
jmp 0x4cf9c0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d106f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d10b1
call fcn.004d6b26
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d10b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d10a8
xor eax, eax
jmp 0x4d10b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d10bf
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d7056
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d7084
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d70a2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d6fbc
jmp 0x4d70a2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d70a2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d6fbc
test edi, edi
mov eax, edi
jne 0x4d708c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x403203
pop dword [ebp - 0x38]
mov eax, 0x6c27c033
add eax, 0x941871d0
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x78f511cc
sub dword [ebp - 0x48], 0x2aa2cc81
mov dword [ebp - 0x44], 0xb7de4db2
add dword [ebp - 0x44], 0x7a54fe93
mov dword [ebp - 0x40], 0x2ac4da42
add dword [ebp - 0x40], 0x218769ec
mov dword [ebp - 0x3c], 0xa55b39f8
sub dword [ebp - 0x3c], 0xa55b39f8
lea eax, [ebp - 0x48]
push eax
mov eax, 0xcec8612a
sub eax, 0xce87f0c6
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xb50e443c
add dword [ebp - 0x48], 0xbf64251a
mov dword [ebp - 0x44], 0xf1106e96
sub dword [ebp - 0x44], 0xafa40d21
mov dword [ebp - 0x40], 0x76d30236
sub dword [ebp - 0x40], 0x136395ca
mov dword [ebp - 0x3c], 0x24176841
add dword [ebp - 0x3c], 0xdbe897bf
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3a7d5
push 0
call eax
mov ecx, 0x5795
xor ebx, ebx
add ebx, eax
mov esi, 0x410000
add esi, dword [ebp - 0x38]
mov edx, 0x8fb7d44f
sub edx, 0xd768a257
sub dword [ebp - 0x18], 0xbb80db41
mov edi, dword [esi]
sub dword [ebp - 4], edx
xor edi, edx
sub dword [ebp - 0x34], esi
mov dword [ebx], edi
sub dword [ebp - 0x2c], esi
add ebx, 0x638f840d
add ebx, 0x9c707bf7
add esi, 0xc0c8e246
add esi, 0x3f371dbe
loop 0x403316
add eax, 0x15127
mov ebx, eax
add eax, 0x4f80aa31
add eax, 0xb07f55d4
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x404590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a6bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dae98]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
cmp dword [eax + 0x18], 0x10
jb 0x4045cc
mov ebp, dword [eax + 4]
jmp 0x4045cf
lea ebp, [eax + 4]
mov ebx, dword [esp + 0x98]
mov eax, dword [eax + 0x14]
mov esi, dword [ebx + 0xc]
lea edi, [eax + ebp]
mov dword [esp + 0x94], edi
cmp esi, dword [ebx + 0x10]
jbe 0x4045f0
call fcn.00471530
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
cmp ebp, edi
je 0x4047f7
xor ebx, ebx
mov al, byte [ebp]
cmp al, 0x5b
jne 0x4046bc
inc ebp
cmp byte [ebp], 0x25
jne 0x404632
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
push 1
push ecx
lea esi, [esp + 0x1c]
call fcn.00404810
jmp 0x4046ae
xor eax, eax
cmp ebp, edi
je 0x404654
mov cl, byte [ebp]
cmp cl, 0x30
jl 0x404654
cmp cl, 0x39
jg 0x404654
lea edx, [eax + eax*4]
movsx eax, cl
inc ebp
lea eax, [eax + edx*2 - 0x30]
cmp ebp, edi
jne 0x404638
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
mov edi, dword [esp + 0x90]
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x8c], ebx
call fcn.00404f10
invalid
test byte [eax + ecx*4], ah
add byte [eax], al
add bh, bh
Function at 0x40bdc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4a7557
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x4dae98]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [ebp + 8]
movsx eax, byte [ecx + 8]
cmp eax, 7
ja case.default.0x40be08
jmp dword [eax*4 + 0x40c224]
push 0x4c832c
lea ecx, [ebx + 4]
call fcn.0040e310
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00402ac0
mov ecx, eax
lea edi, [esp + 0x78]
call fcn.0040b580
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 0
call fcn.004103e0
mov ecx, edi
call fcn.00404c90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00402c60
mov ecx, eax
lea edi, [esp + 0xcc]
call fcn.0040b620
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 1
call fcn.004103e0
mov ecx, edi
call fcn.00404c90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.00402e20
sub esp, 8
lea esi, [esp + 0x9c]
fstp qword [esp]
call fcn.0040b6a0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 2
call fcn.004103e0
mov ecx, esi
call fcn.00404c90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ecx]
lea eax, [esp + 0xb0]
push eax
call fcn.0040b830
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 3
call fcn.004103e0
lea ecx, [esp + 0xb0]
call fcn.00404c90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ecx
call fcn.00402f30
movzx ecx, al
push ecx
lea esi, [esp + 0xec]
call fcn.0040b7e0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x14c], 4
call fcn.004103e0
mov ecx, esi
call fcn.00404c90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add ebx, 4
push 0x4c8334
mov ecx, ebx
call fcn.0040e310
mov ecx, dword [ebp + 8]
call fcn.00403110
mov edi, eax
xor esi, esi
test edi, edi
jle 0x40bfff
test esi, esi
jle 0x40bfe7
push 1
push 0x4c8338
mov ecx, ebx
call fcn.004104e0
mov ecx, dword [ebp + 8]
push esi
call fcn.004035c0
mov ecx, dword [esp + 0x38]
push eax
call fcn.0040bdc0
inc esi
cmp esi, edi
jl 0x40bfd5
push 1
push 0x4c833c
mov ecx, ebx
call fcn.004104e0
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x3c]
push edx
call fcn.00403d20
add ebx, 4
push 0x4c8340
mov ecx, ebx
mov dword [esp + 0x144], 5
call fcn.0040e310
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x4c]
jbe 0x40c058
call fcn.00471530
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
lea edi, [esi + 4]
Function at 0x410710
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a5e0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4dae98]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x4c83b0
call fcn.0049e321
push 4
mov dword [esp + 0x20], 0
call fcn.0046c8d9
mov edi, eax
add esp, 4
test edi, edi
je 0x41078e
call fcn.0049e00f
mov dword [edi], eax
call fcn.0049de13
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0049e262
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x410783
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0049e28a
jmp 0x410790
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4