joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dea4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov ebx, eax
mov eax, dword [eax + 0x190]
mov esi, ecx
mov edi, dword [ebp + 8]
test eax, eax
je 0x40decf
sub esp, 0xc
push dword [ebx + 0x11c]
push edi
push ecx
push edx
push ebx
call eax
jmp 0x40deff
xor eax, eax
cmp edx, 2
ja 0x40df02
push dword [ebx + 0x118]
lea eax, [edx + edx*2]
push 1
add eax, 0x41fc30
push 2
push eax
call sub.msvcrt.dll_fwrite
push dword [ebx + 0x118]
push 1
push edi
push esi
call sub.msvcrt.dll_fwrite
xor eax, eax
add esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40e15e
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.WS2_32.DLL_recv
mov edx, eax
cmp eax, 0xffffffff
jne 0x40e194
call sub.WS2_32.DLL_WSAGetLastError
cmp eax, 0x2733
sete al
movzx eax, al
dec eax
and eax, 0xffffffe7
add eax, 0x51
jmp 0x40e19b
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
xor eax, eax
leave
ret

Function at 0x40e4dd
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0
mov edi, dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esi + eax*4 + 0x154]
call sub.WS2_32.DLL_send
mov dword [edi], 0
cmp eax, 0xffffffff
jne 0x40e553
call sub.WS2_32.DLL_WSAGetLastError
mov ebx, eax
cmp eax, 0x2733
jne 0x40e526
xor eax, eax
mov dword [edi], 0x51
jmp 0x40e553
push eax
push eax
push ebx
push esi
call fcn.004032f7
add esp, 0xc
push eax
push str.Send_failure:__s
push dword [esi]
call fcn.0040e249
mov eax, dword [esi]
mov dword [edi], 0x37
mov dword [eax + 0x8564], ebx
add esp, 0x10
or eax, 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40e77b
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [esi + 0x528]
test ebx, ebx
je 0x40e7f2
cmp dword [esi + 0x44], 0
je 0x40e7f2
push eax
lea eax, [ebp - 0x18]
push 0x40e5f0
push eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 0
push dword [eax + 0x30]
call fcn.00415f18
add esp, 0x10
cmp byte [ebp - 0x14], 0
jne 0x40e7cb
mov dword [esi + 0x528], 0
jmp 0x40e7f2
test edi, edi
je 0x40e7d1
mov dword [edi], ebx
mov esi, dword [ebx + 0x154]
cmp byte [ebx + 0x178], 0
jne 0x40e7f2
lea eax, [ebp - 0xd]
push 2
push 1
push eax
push esi
call sub.WS2_32.DLL_recv
test eax, eax
jne 0x40e7f5
or esi, 0xffffffff
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40e858
Capabilities:
Check os version
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0xc], 0x4020
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 4
cmp dword [0x4230a8], 0
jne 0x40e8ce
lea ebx, [ebp - 0xa8]
push eax
push 0x94
push 0
push ebx
call sub.msvcrt.dll_memset
mov dword [ebp - 0xa8], 0x94
mov dword [0x4230a8], 1
mov dword [esp], ebx
call sub.KERNEL32.dll_GetVersionExA
add esp, 0xc
test eax, eax
je 0x40e8ce
cmp dword [ebp - 0xa4], 5
jbe 0x40e8ce
mov dword [0x4230a8], 2
cmp dword [0x4230a8], 2
je 0x40e91d
sub esp, 0xc
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push eax
push 0x1001
push 0xffff
push esi
call sub.WS2_32.DLL_getsockopt
add esp, 0xc
test eax, eax
jne 0x40e901
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x40e91d
sub esp, 0xc
lea eax, [ebp - 0xc]
push 4
push eax
push 0x1001
push 0xffff
push esi
call sub.WS2_32.DLL_setsockopt
add esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40f294
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov esi, dword [ebp + 8]
mov edi, dword [esi]
cmp dword [esi + 0x8c], 2
je 0x40f3c0
cmp byte [esi + 0x1c1], 0
jne 0x40f3b4
lea eax, [ebp - 0x98]
lea ebx, [ebp - 0x14]
push ecx
push ebx
push eax
mov dword [ebp - 0x14], pe_nt_image_headers32
push dword [ebp + 0xc]
call sub.WS2_32.DLL_getpeername
pop edx
test eax, eax
je 0x40f2fb
call sub.WS2_32.DLL_WSAGetLastError
mov ebx, eax
push eax
push eax
push ebx
push esi
call fcn.004032f7
push eax
push ebx
push str.getpeername___failed_with_errno__d:__s
jmp 0x40f3a9
lea eax, [ebp - 0x118]
push ecx
push ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], pe_nt_image_headers32
call sub.WS2_32.DLL_getsockname
pop edx
test eax, eax
je 0x40f331
call sub.WS2_32.DLL_WSAGetLastError
mov ebx, eax
push eax
push eax
push ebx
push esi
call fcn.004032f7
push eax
push ebx
push str.getsockname___failed_with_errno__d:__s
jmp 0x40f3a9
lea ebx, [esi + 0xb8]
lea ecx, [esi + 0xe8]
mov edx, ebx
lea eax, [ebp - 0x98]
call fcn.0040e7ff
test al, al
jne 0x40f367
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
push ecx
push ecx
push eax
push esi
call fcn.004032f7
push eax
push ebx
push str.ssrem_inet_ntop___failed_with_errno__d:__s
jmp 0x40f3a9
lea eax, [esi + 0x58]
push edx
push 0x2e
push ebx
push eax
call sub.msvcrt.dll_memcpy
lea ecx, [esi + 0x11c]
lea edx, [esi + 0xec]
lea eax, [ebp - 0x118]
call fcn.0040e7ff
add esp, 0x10
test al, al
jne 0x40f3b4
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
push eax
push eax
push ebx
push esi
call fcn.004032f7
push eax
push ebx
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.0040e249
add esp, 0x20
jmp 0x40f3c0
sub esp, 0xc
push esi
call fcn.0040e609
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4112b3
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [edx], 0
mov dword [ebp + 8], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], edx
pop ebp
jmp fcn.0041125d
Function at 0x418870
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push dword [ebp + 8]
call sub.msvcrt.dll_getenv
add esp, 0x10
mov edx, eax
mov byte [ebp - 0x104], 0
test eax, eax
je 0x4188a5
lea eax, [ebp - 0x104]
push ecx
push 0x104
push eax
push edx
call sub.KERNEL32.dll_ExpandEnvironmentStringsA
pop eax
xor eax, eax
cmp byte [ebp - 0x104], 0
je 0x4188c3
sub esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [0x41e014]
add esp, 0x10
leave
ret

Function at 0x41c078
Capabilities:
Set socket configuration

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x8004667e
push dword [ebp + 8]
call sub.WS2_32.DLL_ioctlsocket
leave
ret
Function at 0x4010a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x4010a8
mov eax, esi
pop esi
ret
Function at 0x408637
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x408667
mov eax, dword [ebp + 0x28]
mov dword [ebp - 8], eax
push 0x1069
push 0x418a
push dword [ebp - 8]
push 0
call fcn.0041713c
add esp, 0x10
jmp 0x40877b
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x408716
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x40870a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x4086eb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x408708
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.00433726
mov dword [eax], 0xbbca6318
jmp 0x4086e0
jmp 0x408714
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x40877b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
push 0x24e8
push 0x797a
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 0x189a
push 0x53e5
push 0x7d51
push dword [ebp - 0x4c]
push 0x716a
push 0x121a
push 0x5987
push dword [ebp - 0x50]
push 0x983
push 0xf90
push 0
push 0x2f90
call fcn.0041478b
add esp, 0x40
mov esp, ebp
pop ebp
ret
Function at 0x41bfd7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x41c0c7
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x41c061
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41c03a
mov byte [ebp - 1], 0
push 0
push 0x69ff
lea eax, [ebp - 1]
push eax
call fcn.00426f07
add esp, 0xc
jmp 0x41c05f
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x41c05f
push 0
push 0xe51
push 0
push 0x13f0
push 0x3c8
call dword [sym.imp.GDI32.dll_ExtCreatePen]
jmp 0x41c0c5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x41c096
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x41c0c5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x41c0c5
push 0
push 0
push 0
push 0
push 0
push 0
push 0x78f
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x41c0e4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
push 0
push dword [ebp - 0x3c]
push 0x6e63
push 0x1004
call fcn.0040848e
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x41c550
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41c5f2
mov eax, dword [ebp + 0x24]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x41c5d5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x41c5c9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x41c5c7
push 1
push 0x3b3f
push 0x5861
push 1
push 0xb1b
push 1
call fcn.00415b26
add esp, 0x18
jmp 0x41c5d3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41c5ed
push 1
push 0
push 0x4596
push 0x7a77
push 1
call fcn.0041cc1c
add esp, 0x14
jmp 0x41c692
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x41c636
push 0x313b
push 1
push 0x4c5d
call fcn.0040e6ae
add esp, 0xc
jmp 0x41c692
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0x7b71
push 0x7c81
push 0x2842
push 0x1e10
push 0
push 0
push 0x1528
push dword [ebp - 0x44]
push 0x15e
push dword [ebp - 0x48]
push 0x3d4f
call fcn.00414ed6
add esp, 0x38
mov esp, ebp
pop ebp
ret
Function at 0x41d7c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x41d801
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 8], eax
push 0x1800
push 1
push dword [ebp - 8]
push 0x3ff1
push dword [ebp - 0xc]
call fcn.0041d8d9
add esp, 0x14
jmp 0x41d8d5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x41d8ae
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x41d864
push 0
push 0x24f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x41d8ac
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x41d892
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x41d8ac
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x34]
call fcn.00433726
or dword [eax], 0xffffffff
jmp 0x41d887
jmp 0x41d8d5
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x44]
push 1
push dword [ebp - 0x48]
push 1
push dword [ebp - 0x4c]
call fcn.00408863
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x43cd27
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x43cdfb
lea eax, [ebp + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43cdd7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43cd8a
push 0
push 0x24f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x43cdd5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x43cdb8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x43cdd5
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.00433726
mov dword [eax], 1
jmp 0x43cdad
jmp 0x43cdf9
push 0
push 0x3c39
push 0x64e6
push 1
push 1
push 0x43a6
push 0x272f
call fcn.0043c373
add esp, 0x1c
jmp 0x43ce58
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0x49db
push 0
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.00442b7e
add esp, 0x2c
mov esp, ebp
pop ebp
ret
Function at 0x43e17f
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x43e1a6
push 1
push 0x338
push 0xd80
call fcn.0043e306
add esp, 0xc
jmp 0x43e302
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43e2b5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x43e233
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x43e2b3
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [eax], 2
jmp 0x43e261
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffff8
je 0x43e2b3
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x43e27f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jl 0x43e2b1
mov byte [ebp - 1], 0
push 0x6bb0
push 0x3978
push 0
push 0
push 0x3dbc
push 0x1b28
lea eax, [ebp - 1]
push eax
call fcn.0043c50e
add esp, 0x1c
jmp 0x43e274
jmp 0x43e256
jmp 0x43e302
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x43e2e4
mov byte [ebp - 2], 0
lea eax, [ebp - 2]
push eax
push 0x1ace
push 0
call fcn.004508c1
add esp, 0xc
jmp 0x43e302
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x43e302
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret
Function at 0x447058
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x4471d8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x447129
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x447114
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x4470da
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jg 0x447112
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x447110
push 0x59e3
push 0x3170
push 0
push 0x38dd
push 0x2a8b
push 1
push 1
call fcn.0043c415
add esp, 0x1c
jmp 0x4470cf
jmp 0x447124
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x4471d6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x447198
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x447179
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x447196
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.00433726
mov dword [eax], 0x5960
jmp 0x44716e
jmp 0x4471d6
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x4471d6
push 0x47b
push 0x2081
push 0x1467
push 0x1b03
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
jmp 0x44720d
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x5c]
push 0x3af3
push 1
push 0x5755
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x64]
push 0
call fcn.00452206
add esp, 0x1c
mov esp, ebp
pop ebp
ret