joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x44f2ac
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x44f2ac
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x44f296
push eax
call ebp
test ax, ax
jl 0x44f2a4
inc esi
add edi, 4
cmp esi, 6
jb 0x44f288
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0044ef60
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4530d0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x453130
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x453130
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x453130
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x453130
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x453140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x467ef0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x467f28
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.00465fa4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00465f7c
jmp 0x467f34
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4695e2
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 0x469624
call fcn.0046f222
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x469624
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46961b
xor eax, eax
jmp 0x46962c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469632
pop edi
pop esi
pop ebx
ret 4

Function at 0x46f752
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 0x46f780
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46f79e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046f6b8
jmp 0x46f79e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46f79e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046f6b8
test edi, edi
mov eax, edi
jne 0x46f788
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4039d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
push 0x48b508
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d20
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445cf0
lea ecx, [esp + 0x10]
call fcn.00445c60
mov eax, dword [esi + 8]
mov dword [esp + 4], 0
test eax, eax
jne 0x403a23
lea eax, [esp + 4]
push 0x48b444
push eax
call fcn.00439930
add esp, 8
jmp 0x403a40
lea ecx, [esp + 4]
push eax
push ecx
call fcn.00439930
lea edx, [esp + 0xc]
push 0x48b434
push edx
call fcn.00439b10
add esp, 0x10
mov eax, dword [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.00445c70
lea ecx, [esp + 4]
push ecx
call fcn.00439990
add esp, 4
lea ecx, [esp + 0x10]
push 0x48b4ec
call fcn.00445d20
push 0x48b4d4
lea ecx, [esp + 0x14]
call fcn.00445d20
push 0x48b4c0
lea ecx, [esp + 0x14]
call fcn.00445d20
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, word [esi + 0x52]
push edx
push 0x48b4b0
call fcn.00445f00
xor eax, eax
lea ecx, [esp + 0x10]
mov ax, word [esi + 0x54]
push eax
push 0x48b4a0
call fcn.00445f00
push 0x48b48c
lea ecx, [esp + 0x14]
call fcn.00445d20
xor ecx, ecx
mov cl, byte [esi + 0x67]
push ecx
push 0x48b47c
lea ecx, [esp + 0x18]
call fcn.00445f00
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, word [esi + 0x58]
push edx
push 0x48b46c
call fcn.00445f00
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
push 0x48b2f4
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x403b58
push 2
call fcn.004799d9
mov cl, byte [esi + 0x58]
mov dword [esp + 0xc], eax
add cl, 0x30
add esp, 4
mov byte [eax], cl
mov edx, dword [esp + 8]
push 2
mov byte [edx + 1], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push 0x48b2e0
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [esp + 8]
push eax
call fcn.00439990
add esp, 4
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d00
mov ecx, dword [esi + 4]
push 0x48b29c
add ecx, 0x18fb50
call fcn.00445d20
pop esi
add esp, 0x1c
ret
Function at 0x403d50
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push esi
mov esi, ecx
push edi
push 0x48b5b4
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d20
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445cf0
lea eax, [esp + 8]
push eax
push 0x48b5a0
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403dd4
mov ecx, dword [esi + 4]
push 0x48b5a0
push 0x48b588
add ecx, 0x18fb50
call fcn.00445df0
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d00
mov ecx, dword [esi + 4]
push 0x48b3f8
add ecx, 0x18fb50
call fcn.00445d20
pop edi
pop esi
add esp, 0x140
ret
xor ecx, ecx
push ebx
mov cx, word [esi]
push 0x48b578
lea edx, [esi + ecx*4 + 0xc]
push edx
call fcn.00439930
xor ecx, ecx
lea eax, [esp + 0x40]
mov cx, word [esi]
push eax
lea edx, [esi + ecx*4 + 0xc]
push edx
call fcn.00439b10
xor eax, eax
add esp, 0x10
mov ax, word [esi]
mov ecx, dword [esi + eax*4 + 0xc]
push ecx
mov ecx, dword [esi + 4]
push 0x48b3e4
add ecx, 0x18fb50
call fcn.00445df0
mov ebx, dword [sym.imp.kernel32.dll_FindNextFileA]
lea edx, [esp + 0xc]
push edx
push edi
mov word [esi], 1
call ebx
test eax, eax
je 0x403e9d
xor eax, eax
push 0x48b578
mov ax, word [esi]
lea ecx, [esi + eax*4 + 0xc]
push ecx
call fcn.00439930
xor eax, eax
lea edx, [esp + 0x40]
mov ax, word [esi]
push edx
lea ecx, [esi + eax*4 + 0xc]
push ecx
call fcn.00439b10
mov ecx, dword [esi + 4]
xor edx, edx
mov dx, word [esi]
add esp, 0x10
add ecx, 0x18fb50
mov eax, dword [esi + edx*4 + 0xc]
push eax
push 0x48b3e4
call fcn.00445df0
mov ax, word [esi]
mov ecx, eax
and ecx, 0xffff
inc ecx
cmp ecx, 0x10
jge 0x403e91
inc eax
mov word [esi], ax
lea edx, [esp + 0xc]
push edx
push edi
call ebx
test eax, eax
jne 0x403e34
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esi + 4]
add ecx, 0x18fb50
call fcn.00445d00
mov ecx, dword [esi + 4]
push 0x48b29c
add ecx, 0x18fb50
call fcn.00445d20
pop ebx
pop edi
pop esi
add esp, 0x140
ret
Function at 0x40f920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
lea eax, [esp + 0xc]
push esi
push eax
xor ebx, ebx
push 0x48b2f4
push 0x80000001
mov esi, ecx
mov dword [esp + 0x18], 0x2000
mov dword [esp + 0x14], ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
je 0x40f968
mov ecx, dword [esi]
push 0x48cb84
add ecx, 0x18fb50
call fcn.00445d20
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004799d9
add esp, 4
lea edx, [esp + 0xc]
mov dword [esp + 8], eax
push edx
push eax
mov eax, dword [esp + 0x18]
push ebx
push ebx
push 0x48cb74
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x40f9a9
mov ecx, dword [esi]
push 0x48cb3c
add ecx, 0x18fb50
call fcn.00445d20
jmp 0x40f9d8
mov ecx, dword [esp + 8]
push ecx
mov ecx, dword [esi]
push 0x48cb18
add ecx, 0x18fb50
call fcn.00445df0
mov edx, dword [esp + 8]
push 0x48cb14
push edx
call fcn.004398a0
add esp, 8
test al, al
je 0x40f9d8
mov bl, 1
lea eax, [esp + 8]
push eax
call fcn.00439990
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x40fa00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
push eax
push 0x48b2f4
push 0x80000001
mov esi, ecx
mov dword [esp + 0x14], 0x2000
mov dword [esp + 0x10], 0
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
je 0x40fa43
mov ecx, dword [esi]
push 0x48cb84
add ecx, 0x18fb50
call fcn.00445d20
jmp 0x40faa2
mov ecx, dword [esp + 8]
push ecx
call fcn.004799d9
add esp, 4
lea edx, [esp + 8]
mov dword [esp + 4], eax
push edx
push eax
mov eax, dword [esp + 0x14]
push 0
push 0
push 0x48c944
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, dword [esi]
add ecx, 0x18fb50
test eax, eax
je 0x40fa93
push 0x48cbcc
call fcn.00445d20
lea ecx, [esp + 4]
push ecx
call fcn.00439990
add esp, 4
jmp 0x40faa2
mov edx, dword [esp + 4]
push edx
push 0x48cbac
call fcn.00445df0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp + 4]
test eax, eax
jne 0x40facf
mov ecx, dword [esi]
lea eax, [esp + 4]
mov edx, dword [ecx + 0x74fd64]
push edx
push eax
call fcn.00439930
mov eax, dword [esp + 0xc]
add esp, 8
pop esi
add esp, 0xc
ret
Function at 0x413c00
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push esi
mov esi, ecx
push edi
push 0x48ce4c
mov ecx, dword [esi]
add ecx, 0x18fb50
call fcn.00445d20
mov ecx, dword [esi]
add ecx, 0x18fb50
call fcn.00445cf0
lea eax, [esp + 8]
push eax
push 0x48ce3c
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413c7f
mov ecx, dword [esi]
push 0x48ce3c
push 0x48b588
add ecx, 0x18fb50
call fcn.00445df0
mov ecx, dword [esi]
add ecx, 0x18fb50
call fcn.00445d00
mov ecx, dword [esi]
push 0x48b3f8
add ecx, 0x18fb50
call fcn.00445d20
pop edi
pop esi
add esp, 0x140
ret
lea ecx, [esp + 0x34]
push ebx
push ecx
mov ecx, esi
call fcn.00413cf0
mov ebx, dword [sym.imp.kernel32.dll_FindNextFileA]
lea edx, [esp + 0xc]
push edx
push edi
call ebx
test eax, eax
je 0x413cbd
cmp word [esi + 4], 0x20
jae 0x413cbd
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.00413cf0
lea ecx, [esp + 0xc]
push ecx
push edi
call ebx
test eax, eax
jne 0x413c9e
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esi]
add ecx, 0x18fb50
call fcn.00445d00
mov ecx, dword [esi]
push 0x48b29c
add ecx, 0x18fb50
call fcn.00445d20
pop ebx
pop edi
pop esi
add esp, 0x140
ret
Function at 0x41f9e0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
mov ax, word [ecx + 6]
test edx, edx
lea eax, [eax + eax*8]
lea eax, [ecx + eax*4 + 0x74]
jge 0x41fa1f
push esi
mov esi, dword [eax]
add edx, esi
pop esi
test edx, edx
jge 0x41fa1a
mov dword [eax], 0
mov ecx, dword [ecx]
mov dword [esp + 4], 0x48db2c
add ecx, 0x18fb50
jmp fcn.00445d20
mov dword [eax], edx
ret 4
add dword [eax], edx
ret 4

Function at 0x41fb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ax, word [esi + 8]
cmp ax, 1
jbe 0x41fba4
push ebx
mov bx, word [esi + 6]
dec eax
cmp bx, ax
mov word [esi + 8], ax
jae 0x41fb95
push edi
mov eax, ebx
and eax, 0xffff
lea ecx, [eax + eax*8]
mov dx, word [esi + ecx*4 + 0x8c]
lea edi, [esi + ecx*4]
lea ecx, [eax + eax*8 + 0x24]
mov word [edi + 0x68], dx
mov ecx, dword [esi + ecx*4]
test ecx, ecx
je 0x41fb74
lea edx, [eax + eax*8 + 0x1b]
push ecx
lea eax, [esi + edx*4]
push eax
call fcn.00439930
add esp, 8
jmp 0x41fb84
lea ecx, [eax + eax*8 + 0x1b]
lea edx, [esi + ecx*4]
push edx
call fcn.00439990
add esp, 4
mov eax, dword [edi + 0x94]
inc ebx
mov dword [edi + 0x70], eax
cmp bx, word [esi + 8]
jb 0x41fb3d
pop edi
mov word [esi + 6], 0
mov ecx, esi
pop ebx
pop esi
jmp fcn.0041fbb0
pop esi
ret

Function at 0x41fed0
Capabilities:
Write file on windows

Disassembly:
mov ax, word [esp + 4]
cmp ax, word [ecx + 8]
jae 0x41fee2
mov word [ecx + 6], ax
ret 4
mov ecx, dword [ecx]
mov dword [esp + 4], 0x48dc0c
add ecx, 0x18fb50
jmp fcn.00445d20
Function at 0x43a210
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov dl, byte [0x498e60]
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], dl
mov byte [esp + 0x1c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov cl, byte [eax + 0x498e60]
mov byte [eax + 0xbea9b8], cl
inc eax
test cl, cl
jne 0x43a24e
mov esi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
lea eax, [esp + 0x11c]
push 0xff
push eax
push 0x4900c4
call esi
test eax, eax
je 0x43a3be
lea ecx, [esp + 0x1c]
push 0xff
push ecx
push 0x4900bc
call esi
test eax, eax
jne 0x43a2a5
mov cl, byte [eax + 0x498e60]
mov byte [esp + eax + 0x1c], cl
inc eax
test cl, cl
jne 0x43a296
lea edx, [esp + 0x11c]
push 0x4900b4
push edx
call fcn.00483790
add esp, 8
test eax, eax
je 0x43a2df
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43a2df
mov cl, byte [eax + 0x4900a8]
mov byte [eax + 0xbea9b8], cl
inc eax
test cl, cl
jne 0x43a2ce
lea eax, [esp + 0xc]
push eax
push 1
push 0
push 0x49008c
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a3be
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea ecx, [esp + 8]
mov esi, 0x400
push ecx
push 0xbeadc0
push eax
push eax
push 0x48c944
push edx
mov dword [esp + 0x20], esi
call edi
test eax, eax
jne 0x43a331
cmp dword [esp + 8], esi
jbe 0x43a344
xor eax, eax
mov cl, byte [eax + 0x498e60]
mov byte [eax + 0xbeadc0], cl
inc eax
test cl, cl
jne 0x43a333
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
mov esi, 0xa
push 0x48cb74
push edx
mov dword [esp + 0x20], esi
call edi
test eax, eax
jne 0x43a3a2
cmp dword [esp + 8], esi
ja 0x43a3a2
lea eax, [esp + 0x10]
push 0x48cb14
push eax
call fcn.00483790
mov edx, dword [esp + 0x14]
add esp, 8
test eax, eax
sete cl
push edx
mov byte [0xbeadb8], cl
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x214
ret
xor eax, eax
mov cl, byte [eax + 0x490088]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x43a3a4
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x214
ret
Function at 0x43a940
Capabilities:
Delete file
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
lea ecx, [esp + 4]
push eax
push ecx
mov dword [esp + 0xc], 0
call fcn.00439930
lea edx, [esp + 0xc]
push 0x4902bc
push edx
call fcn.00439b10
mov eax, dword [esp + 0x14]
add esp, 0x10
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43a993
xor al, al
pop esi
pop ecx
ret 4
mov edx, dword [esp + 4]
push ebx
lea ecx, [esp + 0x10]
push 0
push ecx
push 1
push edx
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
push esi
setne bl
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [esp + 8]
push ecx
call fcn.00439990
add esp, 4
mov al, bl
pop ebx
pop esi
pop ecx
ret 4

Function at 0x43a9e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.kernel32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x43aa2c
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x43aa2c
pop edi
xor al, al
pop esi
add esp, 0x9c
ret
mov eax, dword [esp + 0xc]
pop edi
cmp eax, 6
pop esi
setae al
add esp, 0x9c
ret

Function at 0x43aa40
Capabilities:
Create directory

Disassembly:
sub esp, 0x804
push esi
push edi
push 0x4902fc
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
push 0x4902e8
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x43aa72
pop edi
pop esi
add esp, 0x804
ret 8
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [esp + 0x810]
lea eax, [esp + 0xc]
push eax
push 0
or ch, 0x80
push 0
push ecx
push 0
mov dword [esp + 0x1c], 0
call edi
test eax, eax
jne 0x43aabe
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
call fcn.00439930
lea ecx, [esp + 0x10]
push 0x4902e4
push ecx
call fcn.00439b10
add esp, 0x10
lea edx, [esp + 8]
push 0x4902dc
push edx
call fcn.00439b10
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.kernel32.dll_CreateDirectoryA]
add esp, 8
push 0
push eax
call esi
lea ecx, [esp + 8]
push 0x4902cc
push ecx
call fcn.00439b10
mov edx, dword [esp + 0x10]
add esp, 8
push 0
push edx
call esi
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x804
ret 8
Function at 0x43c530
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push esi
mov esi, ecx
mov al, byte [esi + 0xc]
test al, al
je 0x43c545
call fcn.0043e630
pop esi
pop ecx
ret 4
mov eax, dword [esi + 0x53d24]
push 1
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [esi + 0x53d24]
push 1
push 1
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [esi + 0x53d24]
push 1
push 1
push 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [esi + 0x53d24]
push 1
push 1
push 3
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp byte [eax], 0
jbe 0x43c6b5
push ebx
push ebp
push edi
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
and ebx, 0xffff
mov eax, dword [esi + 0x53d24]
mov bp, word [ecx + ebx*2 + 6]
mov ecx, dword [esi]
mov edi, ebp
mov edx, dword [eax]
mov ecx, dword [ecx + 0x54e14]
and edi, 0xffff
lea edi, [edi + edi*2]
shl edi, 5
mov ecx, dword [ecx + edi + 0x10]
push ecx
push 1
push ebx
push eax
call dword [edx + 0xfc]
mov ecx, dword [esi]
mov eax, dword [esi + 0x53d24]
mov ecx, dword [ecx + 0x54e14]
mov edx, dword [eax]
mov ecx, dword [ecx + edi + 0x14]
push ecx
push 2
push ebx
push eax
call dword [edx + 0xfc]
mov ecx, dword [esi]
mov eax, dword [esi + 0x53d24]
mov ecx, dword [ecx + 0x54e14]
mov edx, dword [eax]
mov ecx, dword [ecx + edi + 0x18]
push ecx
push 3
push ebx
push eax
call dword [edx + 0xfc]
mov edx, dword [esi]
mov eax, dword [edx + 0x54e14]
mov eax, dword [eax + edi + 0x1c]
test eax, eax
je 0x43c651
mov ecx, dword [esi + 0x53d24]
push eax
push 0x13
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x54e14]
mov edi, dword [ecx + edi + 0x20]
test edi, edi
je 0x43c673
mov eax, dword [esi + 0x53d24]
push edi
push 0x14
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [esi + 0x53d24]
mov ecx, dword [esi]
push ebp
add ecx, 0x54e08
mov edi, dword [eax]
call fcn.0044a060
mov ecx, dword [esi + 0x53d24]
push eax
push ebx
push ecx
call dword [edi + 0xf4]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc eax
movzx cx, byte [edx]
cmp ax, cx
mov dword [esp + 0x10], eax
jb 0x43c5b1
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x43e870
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [ecx + 0x53d7c]
push esi
xor eax, eax
mov esi, eax
and esi, 0xffff
cmp dword [edx + esi*4], 0
je 0x43e8a4
inc eax
cmp ax, 0x300
jb 0x43e879
mov ecx, dword [ecx]
pop esi
mov dword [esp + 4], 0x490f14
add ecx, 0x5a8
jmp fcn.00445d20
mov ecx, dword [esp + 8]
and eax, 0xffff
pop esi
mov dword [edx + eax*4], ecx
ret 4
Function at 0x445d20
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x445ddd
push 0
push 0
push 4
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x445ddd
push edi
xor edi, edi
cmp word [esi + 8], di
mov dword [esp + 8], 0
jle 0x445d7c
lea eax, [esp + 8]
push 0x491d80
push eax
call fcn.00439b10
add esp, 8
inc edi
cmp di, word [esi + 8]
jl 0x445d63
mov ecx, dword [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
call fcn.00439b10
mov eax, dword [esp + 0x10]
push eax
call fcn.00439900
mov ecx, dword [esi]
add esp, 0xc
mov edi, eax
push 2
push 0
push 0
push ecx
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
movsx eax, di
push 0
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 8]
pop edi
test eax, eax
je 0x445ddd
push eax
call fcn.00479ef5
add esp, 4
pop esi
add esp, 8
ret 4

Function at 0x445df0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x445ecb
push 0
push 0
push 4
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x445ecb
push edi
xor edi, edi
cmp word [esi + 8], di
mov dword [esp + 8], 0
jle 0x445e4c
lea eax, [esp + 8]
push 0x491d80
push eax
call fcn.00439b10
add esp, 8
inc edi
cmp di, word [esi + 8]
jl 0x445e33
mov ecx, dword [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
call fcn.00439b10
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00439b10
lea edx, [esp + 0x18]
push 0x48e5f4
push edx
call fcn.00439b10
mov eax, dword [esp + 0x20]
push eax
call fcn.00439900
mov ecx, dword [esi]
add esp, 0x1c
mov edi, eax
push 2
push 0
push 0
push ecx
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
movsx eax, di
push 0
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 8]
pop edi
test eax, eax
je 0x445ecb
push eax
call fcn.00479ef5
add esp, 4
pop esi
add esp, 8
ret 8

Function at 0x445ee0
Capabilities:
Write file on windows

Disassembly:
mov al, byte [esp + 8]
mov dword [esp + 8], 0x491d8c
test al, al
jne 0x445ef8
mov dword [esp + 8], 0x491d84
jmp fcn.00445df0