joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a6b0
Capabilities:
Log keystrokes via input method manager
Log keystrokes via polling

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 4]
cmp eax, 0x100
je 0x42a6cc
cmp eax, 0x104
je 0x42a6cc
xor eax, eax
pop ebp
pop ecx
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
call esi
push 0x11
movsx ebx, ax
call esi
push 0x12
movsx edi, ax
call esi
mov ebp, dword [ebp + 8]
shr edi, 0xe
and edi, 2
cwde
mov ecx, edi
or ecx, 4
and eax, 0x8000
cmove ecx, edi
mov eax, ecx
or eax, 1
and ebx, 0x8000
mov ebx, eax
mov dword [esp + 0x10], eax
cmove ebx, ecx
cmp ebp, 0xe5
jne 0x42a725
push dword [esp + 0x18]
call sub.IMM32.dll_ImmGetVirtualKey
mov ebp, eax
mov edx, dword [0x4701e8]
xor ecx, ecx
mov edi, dword [0x464e9c]
cmp dword [edx], ecx
je 0x42a76c
mov esi, edx
nop dword [eax]
test edi, edi
jne 0x42a756
test byte [esi + 4], 6
jne 0x42a756
mov eax, dword [esi]
cmp eax, 0x30
jb 0x42a756
cmp eax, 0x5a
jbe 0x42a75f
cmp dword [esi], ebp
jne 0x42a75f
cmp dword [esi + 4], ebx
je 0x42a78e
inc ecx
mov esi, ecx
shl esi, 4
add esi, edx
cmp dword [esi], 0
jne 0x42a740
test edi, edi
je 0x42a786
test bl, 6
jne 0x42a786
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
cmp eax, 0x30
jb 0x42a786
cmp eax, 0x5a
jbe 0x42a7fe
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x229
push dword [0x464d10]
call ebp
mov edi, eax
test edi, edi
je 0x42a7c9
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
mov ecx, ebx
call fcn.00403a90
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1cc]
jmp 0x42a7cd
mov ebx, dword [esp + 0x1c]
cmp dword [esi + 8], 0
je 0x42a7f0
movzx eax, word [esi + 8]
push 0
push eax
push 0x111
push dword [esp + 0x24]
call ebp
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
pop ecx
ret
test edi, edi
je 0x42a786
push dword [esi + 0xc]
mov ecx, ebx
call fcn.004038a0
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x42a810
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x84
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x80], eax
push esi
mov esi, dword [esp + 0x8c]
lea eax, [esp + 0x44]
push esi
push str.Dangeun_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x40
lea eax, [esp + 0x14]
push eax
push 0x45279c
push 0
push esi
push 0x80000000
call fcn.0043fbc0
add esp, 0x24
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x42a8b2
push 0x40
lea eax, [esp + 8]
push eax
push 0x45279c
push str.OldProgID
lea eax, [esp + 0x54]
push eax
push 0x80000000
call fcn.0043fbc0
lea eax, [esp + 0x1c]
push eax
push 0
push esi
push 0x80000000
call fcn.0043fcb0
add esp, 0x28
lea eax, [esp + 0x44]
push eax
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x84]
pop esi
xor ecx, esp
call fcn.0043fe9e
add esp, 0x84
ret
Function at 0x42a8e0
Capabilities:
Delete directory
Delete file
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x424
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x420], eax
push 1
push 0
call fcn.004291a0
add esp, 8
lea eax, [esp + 0x218]
push str.SoftwareMiyoungsoftDangeun1.2_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x104
jae 0x42aaa0
push ebx
push esi
push edi
push str.SoftwareMiyoungsoftDangeun1.2_
push 0x80000001
mov byte [esp + eax + 0x22c], 0
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea eax, [esp + 0x1c]
push eax
push 0
push dword [0x464d0c]
call fcn.0043f860
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x28]
add esp, 0xc
push 0x454b5c
push eax
call edi
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00444a96
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 8
test eax, eax
jne 0x42a98e
lea eax, [esp + 0x1c]
push eax
call esi
lea eax, [esp + 0x120]
push eax
push 2
push dword [0x464d0c]
call fcn.0043f860
add esp, 0xc
lea eax, [esp + 0x120]
push 0x454b70
push eax
call edi
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x20]
push 0x454ba0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00444a96
add esp, 0x14
test eax, eax
jne 0x42a9f5
lea eax, [esp + 0x1c]
push eax
call esi
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push 0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor esi, esi
nop word [eax + eax]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x33c]
push eax
push esi
push dword [esp + 0x28]
call ebx
mov edi, eax
test edi, edi
jne 0x42aa79
push 8
lea eax, [esp + 0x32c]
push str.Dangeun.
push eax
call fcn.00444120
add esp, 0xc
test eax, eax
jne 0x42aa79
lea eax, [esp + 0x32f]
push eax
call fcn.0042a810
add esp, 4
dec esi
inc esi
test edi, edi
je 0x42aa20
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x424
ret
call fcn.004402ce
int3
Function at 0x42ab00
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1460
call fcn.004403b0
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x145c], eax
mov eax, dword [esp + 0x1464]
lea ecx, [esp + 4]
push esi
mov esi, dword [esp + 0x146c]
push ecx
push esi
push eax
call fcn.00423180
add esp, 0xc
test eax, eax
je 0x42abad
lea eax, [esp + 0x135c]
push eax
push esi
call fcn.00422340
add esp, 8
test eax, eax
je 0x42abad
lea eax, [esp + 0x135c]
push 0
push eax
call fcn.00444a96
add esp, 8
neg eax
sbb eax, eax
add eax, 3
push 0
push 0x80
push eax
push 0
push 0
push 0x40000000
lea eax, [esp + 0x1374]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42abad
push 0
lea eax, [esp + 8]
push eax
push 0x1354
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1460]
pop esi
xor ecx, esp
call fcn.0043fe9e
add esp, 0x1460
ret
Function at 0x42c1b0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x164
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
push 0
push 0x110a
push dword [0x464e60]
call esi
mov edi, eax
test edi, edi
je 0x42c23e
nop word [eax + eax]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 2
push eax
push 0
push 0x110c
push dword [0x464e60]
mov dword [esp + 0x24], edi
call esi
cmp dword [esp + 0x28], 0
jne 0x42c23e
push edi
push 0
push 0x1101
push dword [0x464e60]
call esi
push 0
push 0
push 0x110a
push dword [0x464e60]
call esi
mov edi, eax
test edi, edi
jne 0x42c1f0
mov edi, 0x43
mov dword [esp + 0x38], 0
mov ebp, 0xffff0001
mov dword [esp + 0x40], 0x23
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 1
lea ebx, [edi - 0x2b]
nop dword [eax + eax]
push edi
lea eax, [esp + 0x70]
push str._c:_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x42c299
cmp eax, 4
jne 0x42c2f7
push edi
lea eax, [esp + 0x70]
push 0x455130
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [esp + 0x3c], ebp
lea eax, [esp + 0x6c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x1100
push dword [0x464e60]
call esi
mov ebp, eax
mov dword [esp + 0x10], 0x40
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ebp
push eax
push 0
push 0x110d
push dword [0x464e60]
mov dword [esp + 0x40], 1
call esi
inc edi
sub ebx, 1
jne 0x42c270
push ebp
push 1
push 0x110a
push dword [0x464e60]
call esi
mov edi, eax
test edi, edi
je 0x42c377
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
nop dword [eax]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 6
push eax
push 0
push 0x110c
push dword [0x464e60]
mov dword [esp + 0x24], edi
call esi
cmp dword [esp + 0x28], 6
jne 0x42c377
push dword [esp + 0x34]
lea eax, [esp + 0x70]
push eax
call ebx
lea eax, [esp + 0x6c]
push 1
push eax
call fcn.0043b530
add esp, 8
push edi
push 1
push 0x110a
push dword [0x464e60]
call esi
mov edi, eax
test edi, edi
jne 0x42c320
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x164
ret
Function at 0x42c390
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x24c
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x248], eax
mov eax, dword [esp + 0x250]
push ebx
push ebp
push esi
push edi
push eax
lea eax, [esp + 0x158]
mov dword [esp + 0x14], 1
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
push 0
push 0
push 0
push 0x147
push dword [0x464e64]
call esi
push eax
push 0x150
push dword [0x464e64]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebx, eax
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0x14], 0x10
lea eax, [esp + 0x40]
je 0x42c476
push 0x45511c
push eax
call esi
test eax, eax
je 0x42c44a
push 0x452f08
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
jne 0x42c484
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x258]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x24c
ret
push ebx
push eax
call fcn.0043ef70
add esp, 8
test eax, eax
jne 0x42c44a
lea eax, [esp + 0x14]
push eax
push edi
call ebp
test eax, eax
jne 0x42c423
jmp 0x42c452

Function at 0x42c620
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
push edi
push eax
call fcn.0042ca10
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c640
sub eax, edx
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push esi
call fcn.00441410
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42c69d
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
call fcn.00444198
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x42dc20
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
mov ecx, 0x470198
call fcn.00433f40
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
test eax, eax
je 0x42dd52
cmp dword [esp + 0xc], 0
je 0x42dc5d
push 0
mov ecx, 0x4701a8
call fcn.00433f40
push eax
call esi
test eax, eax
je 0x42dd52
push 0
mov ecx, 0x4701b8
call fcn.00433f40
push eax
call esi
test eax, eax
je 0x42dd52
push 0
push 0
mov ecx, 0x4701b8
call fcn.00433f40
push eax
call fcn.00444a96
add esp, 8
test eax, eax
jne 0x42dd52
push eax
mov ecx, 0x4701c8
call fcn.00433f40
push eax
call esi
test eax, eax
je 0x42dd52
cmp dword [0x464e88], 0
mov dword [0x464d3c], 0
jne 0x42dccb
mov dword [0x464e88], 1
call fcn.004293e0
push 0
push 0
push 0x1009
push dword [0x464d38]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x455194
push 1
call fcn.0043e220
add esp, 8
cmp dword [esp + 0xc], 0
push 0
je 0x42dd1c
mov ecx, 0x4701a8
call fcn.00433f40
push eax
push 0x464d40
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 4]
push eax
push 0
push 0x42e270
jmp 0x42dd3e
mov ecx, 0x470198
call fcn.00433f40
push eax
push 0x464d40
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 4]
push eax
push 0
push 0x42df30
push 0x42cba0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x464e40], eax
pop esi
pop ecx
ret
Function at 0x430e00
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x26c
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x268], eax
push ebp
mov ebp, dword [esp + 0x274]
lea eax, [esp + 0x64]
push edi
mov edi, dword [esp + 0x27c]
push eax
push 0x455930
push 0x455934
push ebp
call fcn.0043eac0
add esp, 0x10
test eax, eax
je 0x430fb1
push ebx
push esi
push 0
push 0x42eb80
push dword [0x464d0c]
mov dword [0x464e74], 1
push 0xe1
push dword [0x464d08]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0x455344
push 0x849
push eax
mov dword [0x4702c0], eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x4556dc
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x430f9a
nop word [eax + eax]
lea eax, [esp + 0x174]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x1005
push edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x20], 3
call ebx
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x430f35
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x178]
push eax
call fcn.00431220
add esp, 8
jmp 0x430f80
cmp eax, 1
jne 0x430f84
lea eax, [esp + 0x60]
mov dword [esp + 0x40], 2
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push esi
push 0x102d
push edi
mov dword [esp + 0x60], 0x10
call ebx
lea eax, [esp + 0x60]
push eax
call fcn.00444484
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x180]
push eax
call fcn.00430fd0
add esp, 0x10
test eax, eax
je 0x430f9a
push 2
push esi
push 0x100c
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x430ee0
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
pop edi
pop ebp
xor ecx, esp
call fcn.0043fe9e
add esp, 0x26c
ret
Function at 0x431220
Capabilities:
Create directory

Disassembly:
sub esp, 0x25c
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
push esi
mov esi, dword [esp + 0x268]
push edi
mov edi, dword [esp + 0x270]
push esi
push dword [0x464e7c]
mov dword [esp + 0x1c], 1
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
cmp eax, 3
lea eax, [esp + 0x164]
push edi
jne 0x431278
push 0x454334
jmp 0x43127d
push 0x4546d0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x160]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x4540a8
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpFindFirstFileA]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4312e2
push 0x452f08
push dword [0x464e7c]
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x25c
ret
push ebp
push 0x7d00
mov ebp, 0x64
call fcn.0044419d
mov ecx, eax
add esp, 4
xor ebx, ebx
mov dword [esp + 0x10], ecx
xor edx, edx
mov eax, 0x7d00
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
nop dword [eax]
cmp ebp, ebx
jl 0x431334
add eax, 0x7d00
add ebp, 0x64
push eax
push ecx
mov dword [esp + 0x24], eax
call fcn.004441db
mov edx, dword [esp + 0x1c]
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
lea edi, [edx + ecx]
inc ebx
mov ecx, 0x50
lea esi, [esp + 0x24]
lea eax, [esp + 0x24]
add edx, 0x140
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
push eax
push esi
mov dword [esp + 0x1c], edx
call dword [sym.imp.WININET.dll_InternetFindNextFileA]
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
jne 0x431310
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, dword [esp + 0x10]
xor edi, edi
test ebx, ebx
jle 0x4313c0
lea esi, [ebp + 0x2c]
test byte [esi - 0x2c], 0x10
lea eax, [esp + 0x164]
je 0x43139a
push eax
push esi
call fcn.00431220
add esp, 8
jmp 0x4313a7
push dword [esi - 0xc]
push eax
push esi
call fcn.00430fd0
add esp, 0xc
test eax, eax
je 0x4313b8
inc edi
add esi, 0x140
cmp edi, ebx
jl 0x431381
jmp 0x4313c0
mov dword [esp + 0x18], 0
push ebp
call fcn.00444198
add esp, 4
push 0x452f08
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
mov ecx, dword [esp + 0x268]
mov eax, dword [esp + 0x18]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x25c
ret
Function at 0x431560
Capabilities:
Get file attributes
Hide graphical window

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, dword [esp + 0x120]
push esi
push edi
push 0
push 0x42eb80
push dword [0x464d0c]
mov dword [esp + 0x1c], ebx
push 0xe1
push dword [0x464d08]
mov dword [0x464e74], 1
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0x455344
push 0x849
push eax
mov dword [0x4702c0], eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x4557c8
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xffffffffffffffff
push ebp
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov edi, eax
xor esi, esi
test edi, edi
jle 0x43165e
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop word [eax + eax]
push 0x104
lea eax, [esp + 0x18]
push eax
push esi
push ebp
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
lea eax, [esp + 0x14]
push eax
call ebx
test al, 0x10
lea eax, [esp + 0x14]
push eax
je 0x431649
call fcn.004318f0
jmp 0x43164e
call fcn.004316a0
add esp, 4
test eax, eax
je 0x43165a
inc esi
cmp esi, edi
jl 0x431620
mov ebx, dword [esp + 0x10]
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call fcn.00430310
mov ecx, dword [esp + 0x11c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x10c
ret
Function at 0x4318f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x550
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x54c], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x44c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x564]
mov ebp, 1
push edi
push str._s.
push eax
call ebx
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43194e
xor eax, eax
jmp 0x431a27
lea eax, [esp + 0x358]
push eax
lea eax, [esp + 0x154]
push eax
push 0
push 0
push edi
call fcn.00444a33
add esp, 0x14
lea eax, [esp + 0x358]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x150]
push eax
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
lea eax, [esp + 0x150]
push eax
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
nop dword [eax]
lea eax, [esp + 0x3c]
push eax
push edi
lea eax, [esp + 0x25c]
push 0x4546d0
push eax
call ebx
add esp, 0x10
test byte [esp + 0x10], 0x10
je 0x4319e5
cmp byte [esp + 0x3c], 0x2e
je 0x4319f9
lea eax, [esp + 0x254]
push eax
call fcn.004318f0
jmp 0x4319f2
lea eax, [esp + 0x254]
push eax
call fcn.004316a0
add esp, 4
test eax, eax
je 0x431a0b
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4319b0
jmp 0x431a0d
xor ebp, ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x452f08
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
mov eax, ebp
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x550
ret
Function at 0x43b530
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x154
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, dword [esp + 0x160]
push esi
push edi
push 0
push 0
push 0x110a
push dword [0x464e60]
mov dword [esp + 0x24], 0xffff0002
call ebx
mov esi, eax
test esi, esi
je 0x43b5f6
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
nop
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 4
push eax
push 0
push 0x110c
push dword [0x464e60]
mov dword [esp + 0x64], esi
call ebx
push ebp
push dword [esp + 0x78]
call edi
push esi
test eax, eax
je 0x43b5c3
push 1
push 0x110a
push dword [0x464e60]
call ebx
mov esi, eax
test esi, esi
jne 0x43b580
jmp 0x43b5f6
push 2
push 0x110a
push dword [0x464e60]
call ebx
push esi
mov edi, eax
mov eax, 0xffff0001
push 0
test edi, edi
push 0x1101
push dword [0x464e60]
cmove edi, eax
mov dword [esp + 0x24], edi
call ebx
test esi, esi
jne 0x43b604
cmp dword [esp + 0x16c], 1
je 0x43b73e
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
cmp edi, 0xffffffff
jne 0x43b641
push 0x45353c
push 0x4583c4
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x43b769
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0044419d
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
push 0
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x78]
push 4
mov ecx, 0x3a
lea edi, [esp + 0x7c]
push 0x454b68
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004446e0
add esp, 0xc
test eax, eax
jne 0x43b745
cmp dword [esp + 0xb8], 0x64
jne 0x43b745
mov eax, dword [esp + 0x14]
push 0x104
mov dword [esp + 0x20], 0xffff0000
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x27
mov dword [esp + 0x40], 6
mov dword [esp + 0x44], 7
call fcn.0044419d
add esp, 4
mov dword [esp + 0x48], eax
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0xbc]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1100
push dword [0x464e60]
call ebx
mov ebp, dword [esp + 0x10]
mov esi, eax
push 0xffffffffffffffff
push esi
lea ecx, [ebp + 0xe8]
push ecx
push dword [0x464e60]
call fcn.0043b360
add esp, 0x10
push esi
push 2
push 0x1102
push dword [0x464e60]
call ebx
push ebp
call fcn.00444198
add esp, 4
mov eax, 1
jmp 0x43b76b
push 0
push 0x45353c
push 0x4583e4
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [esp + 0x10]
call fcn.00444198
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x154
ret