joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402da8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d8c
test esi, esi
jne 0x402ddf
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404e7c
jmp 0x402e00
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c44
mov dword [esp], eax
test esi, esi
je 0x402e00
cmp dword [ebx], 0
je 0x402e00
dec esi
jmp 0x402de7
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403510
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x456008], 0x8088405
inc edx
mov dword [ebx + 0x456008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403934
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x403967
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x40396e
cmp edx, dword [ebx + 8]
je 0x403978
mov eax, 0x65
jmp 0x403973
mov eax, 5
jmp 0x403973
call sub.kernel32.dll_GetLastError
call fcn.00402b84
mov eax, ebx
pop ebx
ret

Function at 0x403e1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x456024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403eb4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403e94
xor eax, eax
push ebp
push 0x403e8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403ed0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e94
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x456024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x456024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404b8c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x459044], 0
je 0x404bed
cmp word [0x459218], 0xd7b2
jne 0x404bb5
cmp dword [0x459220], 0
jbe 0x404bb5
mov eax, 0x459214
call dword [0x459230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x456094
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404c14
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x456034], 0
jne 0x404c09
push 0
push 0x45608c
push 0x456094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404d48
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a40
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x459045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404d10
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406c1c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406c82
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404ffc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403860
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406c6c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c89
lea eax, [ebp - 0x10]
call fcn.00404d8c
ret

Function at 0x4090c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040524c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4090d9
test al, 0x10
jne 0x4090dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40beec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bf25
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e7c
jmp 0x40bf2e
mov eax, ebx
mov edx, esi
call fcn.00404de0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bf38
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bf59
mov al, byte [esp]
jmp 0x40bf5b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c5f0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c458
mov eax, dword [0x4582e0]
cmp byte [eax], 0
je 0x40c66c
mov eax, dword [0x4580c8]
call fcn.00403228
call fcn.00402b64
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004095b8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c6b4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c6a2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458078]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x459660]
call fcn.004060c4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d514
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d578
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404ffc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408cfc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d57f
lea eax, [ebp - 0xc]
call fcn.00404d8c
ret

Function at 0x419840
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45987c
cmp dword [edi], 0
jne 0x4198bc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x459878]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45646c
mov ecx, 2
call fcn.00402c04
mov edx, 0x419818
lea eax, [esi + 5]
call fcn.00419838
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00419838
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x419891
mov dword [0x459878], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41c5e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c5e6
ret

Function at 0x41e6e8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41e739
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e720
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e710
jmp 0x41e739
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41e721
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42510c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x70]
sub edi, dword [ebx + 0x68]
jmp 0x42513b
mov eax, dword [ebx + 0x28]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x68]
ja 0x4251ba
push esi
mov eax, dword [ebx + 0x34]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00423ec0
add esp, 0xc
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x58], ebp
mov eax, dword [ebx + 0x48]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x425188
mov cx, word [esp]
sub cx, si
jmp 0x42518a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x425171
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4251b0
mov cx, word [esp]
sub cx, si
jmp 0x4251b2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x425199
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x425217
mov edx, dword [ebx + 0x34]
mov ecx, edi
add edx, dword [ebx + 0x68]
mov eax, ebp
add edx, dword [ebx + 0x70]
call fcn.00424dfc
add dword [ebx + 0x70], eax
cmp dword [ebx + 0x70], 3
jb 0x425202
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x68]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebx + 0x54]
shl eax, cl
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x68]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x50]
mov dword [ebx + 0x44], eax
cmp dword [ebx + 0x70], 0x106
jae 0x425217
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x425116
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42a81c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x42a84a
mov eax, ebx
call fcn.0042b2d0
cmp dword [ebx + 0x40], 0
je 0x42a843
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x42a8bb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x42a8ad
cmp dword [ebx + 8], 0
je 0x42a86c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x42a87e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x42a8ad
cmp dword [ebx + 8], 0
je 0x42a85f
cmp eax, 3
je 0x42a891
dec eax
jne 0x42a85f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x42a85f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x42a85f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x42a8d9
cmp dword [ebx + 0x14], 0xcc
je 0x42a8d9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0042a8e4
pop ebx
ret
Function at 0x43be30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43bee8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x43bec8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x43bf00
call fcn.00443ae8
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
mov eax, dword [ebp - 4]
call fcn.0040524c
push eax
push 0x80000002
mov eax, dword [0x4580c4]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x43beb1
mov eax, dword [0x457f58]
mov eax, dword [eax + 0x1c]
call fcn.0040524c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4580cc]
mov eax, dword [eax]
call eax
mov eax, dword [0x457f58]
mov eax, dword [eax + 0x24]
call fcn.0043df1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43bed2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43beef
lea eax, [ebp - 4]
call fcn.00404d8c
ret
Function at 0x43d830
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, ecx
mov esi, edx
mov edi, eax
xor ebx, ebx
cmp byte [edi + 0x24], 0
je 0x43d995
cmp dword [0x459968], 0
jne 0x43d874
push 0
call sub.user32.dll_GetDesktopWindow
push eax
push 0
push 0
push 0
push 0
push 0x48000000
push 0x43d99c
call dword [0x45996c]
mov dword [0x459968], eax
cmp dword [0x459968], 0
je 0x43d995
push 0
push esi
push 0x40a
mov eax, dword [0x459968]
push eax
call sub.user32.dll_SendMessageA
test eax, eax
je 0x43d995
push 0
push esi
push 0x40a
mov eax, dword [0x459968]
push eax
call sub.user32.dll_SendMessageA
dec eax
je 0x43d8c9
push 0
push esi
push 0x10
mov eax, dword [0x459968]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
mov dword [0x459968], eax
mov eax, dword [edi + 4]
call fcn.00415f98
push 0
push esi
push 0x43c
mov eax, dword [0x459968]
push eax
call sub.user32.dll_SendMessageA
push 0
push esi
push 0x41e
mov eax, dword [0x459968]
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [0x4580c0]
mov eax, dword [eax]
call eax
push 2
call sub.user32.dll_GetClipboardData
mov edx, eax
mov eax, dword [edi + 4]
call fcn.0043d3d8
call sub.user32.dll_CloseClipboard
call sub.user32.dll_EmptyClipboard
push 0
push 0
mov eax, dword [edi + 4]
call fcn.00415898
mov edx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, ebp
mov eax, dword [edi + 0x10]
mov byte [eax + 0x3f], dl
call fcn.00428254
mov eax, dword [edi + 8]
call fcn.00415f98
mov eax, dword [edi + 4]
call fcn.00415f98
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x58]
push 0
push 0
mov eax, dword [edi + 8]
call fcn.00415898
mov cl, 1
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
call fcn.00423ef0
push 0
push 0
mov eax, dword [edi + 4]
call fcn.00415898
mov eax, edi
call fcn.0043d9ac
mov ebx, eax
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43df1c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040523c
xor eax, eax
push ebp
push 0x43dfda
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x43dfba
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0xf003f
push 0
push 0x43dfec
mov eax, dword [0x458180]
mov eax, dword [eax]
call eax
mov ebx, eax
test ebx, ebx
je 0x43dfa2
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.0040524c
push eax
push ebx
mov eax, dword [0x458288]
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x43df9c
push edi
call sub.advapi32.dll_DeleteService
mov esi, 1
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
test esi, esi
jle 0x43dfac
mov byte [ebp - 5], 1
jmp 0x43dfb0
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43dfc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dfe1
lea eax, [ebp - 4]
call fcn.00404d8c
ret
Function at 0x43e084
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040523c
xor eax, eax
push ebp
push 0x43e13c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0043e14c
mov eax, dword [ebp - 4]
call fcn.0040524c
mov dword [ebx + 4], eax
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 0x14], eax
mov word [ebp - 0x18], 2
push esi
call sub.wsock32.dll_htons
mov word [ebp - 0x16], ax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebp - 0x14], esi
inc esi
jne 0x43e109
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43e126
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.wsock32.dll_connect
test eax, eax
jge 0x43e122
mov byte [ebx + 0x10], 0
jmp 0x43e126
mov byte [ebx + 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e143
lea eax, [ebp - 4]
call fcn.00404d8c
ret
Function at 0x43fb34
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x43fda0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, 0x200
call fcn.00402a40
mov ebx, eax
push ebx
push 0x200
call sub.kernel32.dll_GetLogicalDriveStringsA
push 1
call sub.kernel32.dll_SetErrorMode
jmp 0x43fd79
lea eax, [ebp - 0x11d]
xor ecx, ecx
mov edx, 0x105
call fcn.004034f0
lea eax, [ebp - 0x222]
xor ecx, ecx
mov edx, 0x105
call fcn.004034f0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x105
lea eax, [ebp - 0x222]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x105
lea eax, [ebp - 0x11d]
push eax
push ebx
call sub.kernel32.dll_GetVolumeInformationA
lea eax, [ebp - 0x228]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.00404ffc
cmp dword [ebp - 0x228], 0
jne 0x43fc52
push esi
push edi
mov esi, 0x43fdb0
lea edi, [ebp - 0x11d]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [0x45815c]
mov eax, dword [eax]
call eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
add eax, dword [ebp - 8]
adc edx, dword [ebp - 4]
mov dword [esi], eax
mov dword [esi + 4], edx
lea edx, [ebp - 0x22c]
mov eax, 0x43fec0
call fcn.00443bc8
mov eax, dword [ebp - 0x22c]
call fcn.0040524c
push eax
mov eax, dword [0x457fec]
mov eax, dword [eax]
call fcn.0040524c
push eax
call sub.kernel32.dll_LoadLibraryA
push eax
call fcn.00441cec
mov edx, dword [0x458320]
mov dword [edx], eax
push dword [edi]
lea eax, [ebp - 0x230]
mov edx, ebx
call fcn.00404f84
push dword [ebp - 0x230]
push 0x43ff00
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.00404ffc
push dword [ebp - 0x234]
push 0x43ff00
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x238]
call fcn.00408c70
push dword [ebp - 0x238]
push 0x43ff00
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x23c]
call fcn.00408c70
push dword [ebp - 0x23c]
push 0x43ff00
lea eax, [ebp - 0x240]
lea edx, [ebp - 0x222]
mov ecx, 0x105
call fcn.00404ffc
push dword [ebp - 0x240]
push 0x43ff00
push ebx
mov eax, dword [0x458320]
mov eax, dword [eax]
call eax
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x244]
call fcn.00408c70
push dword [ebp - 0x244]
push 0x43ff00
mov eax, edi
mov edx, 0xd
call fcn.0040510c
add ebx, 4
cmp byte [ebx], 0
jne 0x43fbb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fda7
lea eax, [ebp - 0x244]
mov edx, 8
call fcn.00404db0
ret
Function at 0x43ff04
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5c
push 0
push 0
dec ecx
jne 0x43ff0c
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
lea eax, [ebp - 0x164]
mov edx, dword [0x407ac0]
call fcn.004056dc
xor eax, eax
push ebp
push 0x4401bf
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov eax, esi
call fcn.004090c0
test al, al
jne 0x43ff77
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x15
jne 0x43ff66
mov eax, ebx
mov edx, 0x4401d4
call fcn.00404de0
jmp 0x44016d
mov eax, ebx
mov edx, 0x4401ec
call fcn.00404de0
jmp 0x44016d
lea eax, [ebp - 0x2c8]
mov ecx, 0x440204
mov edx, esi
call fcn.00405098
mov eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x164]
mov edx, 0x3f
call fcn.00409238
test eax, eax
jne 0x440166
mov eax, dword [ebp - 0x15c]
and eax, 0x10
cmp eax, 0x10
jne 0x440060
lea eax, [ebp - 0x2cc]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x158]
call fcn.004052ac
mov eax, dword [ebp - 0x2cc]
mov edx, 0x440210
call fcn.00405198
je 0x440139
push dword [ebp - 8]
push 0x44021c
push dword [ebp - 0x158]
push 0x440228
mov eax, dword [ebp - 0x164]
call fcn.00409518
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2d0]
call fcn.0040b4d4
push dword [ebp - 0x2d0]
push 0x440234
mov eax, dword [ebp - 0x164]
call fcn.00409518
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2d4]
call fcn.0040b4ec
push dword [ebp - 0x2d4]
push 0x440240
lea eax, [ebp - 8]
mov edx, 8
call fcn.0040510c
jmp 0x440139
push 0x400
push 0x160
lea eax, [ebp - 0x2c4]
push eax
push 0
lea eax, [ebp - 0x2d8]
mov ecx, dword [ebp - 0x158]
mov edx, esi
call fcn.00405098
mov eax, dword [ebp - 0x2d8]
call fcn.0040524c
push eax
call sub.shell32.dll_SHGetFileInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x1b4]
mov ecx, 0x50
call fcn.00404ffc
push dword [ebp - 4]
push dword [ebp - 0x158]
push 0x440240
lea edx, [ebp - 0x2dc]
mov eax, dword [ebp - 0x160]
call fcn.00408b84
push dword [ebp - 0x2dc]
push 0x440240
push dword [ebp - 0xc]
push 0x440240
mov eax, dword [ebp - 0x164]
call fcn.00409518
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2e0]
call fcn.0040b4d4
push dword [ebp - 0x2e0]
push 0x440234
mov eax, dword [ebp - 0x164]
call fcn.00409518
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2e4]
call fcn.0040b4ec
push dword [ebp - 0x2e4]
push 0x440240
lea eax, [ebp - 4]
mov edx, 0xb
call fcn.0040510c
mov eax, ebx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405098
lea eax, [ebp - 0x164]
call fcn.00409288
test eax, eax
je 0x43ffa7
lea eax, [ebp - 0x164]
call fcn.004092ac
jmp 0x44016d
mov eax, ebx
call fcn.00404d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4401c6
lea eax, [ebp - 0x2e4]
mov edx, 6
call fcn.00404db0
lea eax, [ebp - 0x2cc]
call fcn.00404d8c
lea eax, [ebp - 0x2c8]
call fcn.00404d8c
lea eax, [ebp - 0x164]
mov edx, dword [0x407ac0]
call fcn.004057ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404db0
ret