joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a9ea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4116c2
call fcn.00410c79
mov edx, dword [ebp + 0x10]
xor esi, esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
pop ecx
push ecx
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x40aa4d
call fcn.004094f4
mov esi, eax
jmp 0x40ab74
push esi
push ebx
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebx, eax
test ebx, ebx
jne 0x40aa6c
call fcn.004094f4
jmp 0x40ab6b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x40aa62
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x40aab8
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40aaae
lea ecx, [ebp - 0x418]
call fcn.004094a4
mov eax, 0x8007000e
jmp 0x40ab8f
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x40ab97
jb 0x40aad3
cmp eax, 0xffffffff
ja 0x40ab97
cmp eax, 0x400
jbe 0x40aaee
push eax
lea ecx, [ebp - 0x418]
call fcn.004094c6
mov eax, dword [ebp - 0x418]
jmp 0x40aafa
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x40ab24
test eax, eax
jne 0x40ab2f
mov esi, 0x8007000e
jmp 0x40ab6d
push ebx
push eax
push ebx
push dword [ebp - 0x424]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40aa62
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040a89b
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40ab8d
lea ecx, [ebp - 0x418]
call fcn.004094a4
mov eax, esi
call fcn.00410bb3
ret 0x10
mov ecx, 0x80070057
call fcn.00406f61
int3
Function at 0x40bd92
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov cl, 4
push edi
call fcn.0040552d
xor ebx, ebx
test eax, eax
je 0x40bdcd
push 0x30
pop edi
push edi
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov word [ebp - 0x40], di
mov dl, 4
lea ecx, [ebp - 0x40]
push 0x3c
call fcn.0040cd66
cmp dword [esi + 0x28], ebx
je 0x40bea7
cmp dword [esi + 0x1c], ebx
je 0x40bea7
push ebx
push ebx
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x40bea7
push 0x4038d4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4038e0
push dword [esi + 0xc]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4038ec
push dword [esi + 0xc]
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403908
push dword [esi + 0xc]
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403918
push dword [esi + 0xc]
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x40], eax
cmp dword [esi + 0x30], ebx
je 0x40be65
cmp dword [esi + 0x34], ebx
je 0x40be65
cmp dword [esi + 0x38], ebx
je 0x40be65
cmp dword [esi + 0x3c], ebx
je 0x40be65
test eax, eax
je 0x40be65
xor eax, eax
inc eax
jmp 0x40be67
mov eax, ebx
cmp dword [esi], 3
mov dword [esi + 0x2c], eax
jne 0x40bea7
push dword [esi + 0x1c]
or dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], ebx
mov byte [ebp - 4], 1
call fcn.0040bc82
test al, al
je 0x40be9f
cmp dword [ebp - 0xc], 0xffffffff
je 0x40be9f
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
lea ecx, [ebp - 0xc]
call fcn.0040bc4e
mov eax, dword [esi + 0x2c]
neg eax
pop edi
sbb eax, eax
and eax, 0x7fffbffb
pop esi
add eax, 0x80004005
pop ebx
leave
ret

Function at 0x40cc56
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x413140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x413978]
or eax, dword [0x41397c]
je 0x40cc7d
xor eax, eax
inc eax
jmp 0x40ccf0
push esi
xor ecx, ecx
mov dword [ebp - 0xd4], 0x403a0c
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xd0], ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0xd4]
push eax
push 1
push 0x403a1c
push ecx
push 0x40cd10
call dword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
mov esi, eax
test esi, esi
je 0x40ccef
push esi
push 0x403998
lea eax, [ebp - 0xcc]
push 0xc8
push eax
call fcn.0040cfad
add esp, 0x10
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test esi, esi
jle 0x40cced
movzx esi, si
or esi, 0x80070000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004106d0
leave
ret
Function at 0x40db66
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov cl, 4
call fcn.0040552d
test eax, eax
je 0x40db87
push edi
push 0x20
pop edx
call fcn.0040cdbb
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x208
call fcn.00410100
add esp, 0x10
mov ebx, eax
mov ecx, ebx
call fcn.0040dc0b
mov esi, eax
test esi, esi
js 0x40dbf2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
push eax
mov dword [ebp - 0x38], 0x100
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40dbf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40dbf0
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x40dbf7
call fcn.0040d0d5
push ebx
call fcn.004100f5
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x40dda2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [edi], eax
cmp dword [ebp + 8], esi
jne 0x40ddca
call fcn.0040d0d5
mov esi, 0x80070057
jmp 0x40de43
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push 0x402d50
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x40ddee
xor esi, esi
inc esi
jmp 0x40de34
test eax, eax
jne 0x40de1a
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x40dde9
test eax, eax
je 0x40de34
call fcn.0040d0d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40de34
movzx esi, si
or esi, 0x80070000
cmp dword [ebp - 4], 0
je 0x40de43
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x40dee7
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x34ec
call fcn.00411150
mov eax, dword [0x413140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
mov ecx, ebx
call fcn.0040c662
xor eax, eax
or dword [ebp - 0x34e0], 0xffffffff
mov word [ebp - 0x48], ax
mov ecx, 0x80
mov word [ebp - 0x454], ax
mov word [ebp - 0x14c], ax
mov word [ebp - 0x250], ax
mov word [ebp - 0x1458], ax
mov word [ebp - 0x245c], ax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x34e8], eax
lea eax, [ebp - 0x454]
mov dword [ebp - 0x34dc], eax
xor eax, eax
mov word [ebp - 0x34d4], ax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x34d0], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x34c8], eax
lea eax, [ebp - 0x1458]
mov dword [ebp - 0x34cc], ecx
mov dword [ebp - 0x34c4], ecx
mov ecx, 0x800
mov dword [ebp - 0x34c0], eax
lea eax, [ebp - 0x245c]
mov dword [ebp - 0x34ec], 0x3c
mov dword [ebp - 0x34e4], 0x20
mov dword [ebp - 0x34d8], 0x100
mov dword [ebp - 0x34bc], ecx
mov dword [ebp - 0x34b8], eax
mov dword [ebp - 0x34b4], ecx
test edi, edi
jne 0x40dfdf
call fcn.0040d0d5
mov esi, 0x80070057
jmp 0x40e082
lea eax, [ebp - 0x34b0]
mov edx, 0x824
push eax
mov ecx, edi
call fcn.0040cbeb
mov esi, eax
test esi, esi
jns 0x40e002
call fcn.0040d0d5
jmp 0x40e082
lea eax, [ebp - 0x34ec]
push eax
push 0
push dword [ebp - 0x34b0]
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, 0x80070000
test eax, eax
jne 0x40e036
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40e034
movzx esi, si
or esi, edi
test esi, esi
js 0x40dff8
cmp dword [ebp - 0x34e0], 5
mov dword [ebp - 0x34ac], 0x824
jne 0x40e093
push 0
lea eax, [ebp - 0x34ac]
push eax
push 0x825
lea eax, [ebp - 0x34a8]
push eax
push 0
push 0xa
push dword [ebp - 0x34c0]
call dword [sym.imp.urlmon.dll_CoInternetParseUrl]
mov esi, eax
test esi, esi
js 0x40dff8
lea eax, [ebp - 0x34a8]
mov ecx, ebx
push eax
call fcn.0040c510
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106d0
leave
ret
xor eax, eax
mov dword [ebp - 0x34b4], eax
mov dword [ebp - 0x34b8], eax
mov dword [ebp - 0x34cc], eax
mov dword [ebp - 0x34d0], eax
mov dword [ebp - 0x34c4], eax
mov dword [ebp - 0x34c8], eax
lea eax, [ebp - 0x34ac]
push eax
lea eax, [ebp - 0x34a8]
push eax
push SysReAllocStringLen
lea eax, [ebp - 0x34ec]
push eax
call dword [sym.imp.WININET.dll_InternetCreateUrlW]
test eax, eax
jne 0x40e074
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40e072
movzx esi, si
or esi, edi
jmp 0x40e070
Function at 0x40e3f3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x413140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x418]
push esi
push eax
push 0x20019
xor esi, esi
push esi
push 0x403cd0
push SysStringLen
mov dword [ebp - 0x418], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x40e43d
inc esi
jmp 0x40e523
test eax, eax
je 0x40e464
call fcn.0040d0d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40e523
movzx esi, si
or esi, 0x80070000
jmp 0x40e523
push edi
mov dword [ebp - 0x41c], 1
mov edi, esi
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x424], 0x104
push ecx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x420], 0x208
push ecx
lea ecx, [ebp - 0x41c]
mov eax, edi
push ecx
push esi
lea ecx, [ebp - 0x424]
inc edi
push ecx
lea ecx, [ebp - 0x414]
push ecx
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40e501
cmp dword [ebp - 0x41c], 1
jne 0x40e471
lea ecx, [ebp - 0x20c]
call fcn.0040c60d
mov dword [ebp - 0x428], eax
test eax, eax
je 0x40e4f5
lea eax, [ebp - 0x428]
mov ecx, ebx
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040e7aa
jmp 0x40e471
call fcn.0040d0d5
mov esi, 0x8007000e
jmp 0x40e522
cmp eax, 0x103
je 0x40e522
call fcn.0040d0d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40e522
movzx esi, si
or esi, 0x80070000
pop edi
cmp dword [ebp - 0x418], 0
je 0x40e538
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106d0
leave
ret 4
Function at 0x40e62d
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x413140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x264]
mov dword [ebp - 0x26c], ecx
push eax
push 0
mov ebx, 0x80004005
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40e727
push esi
push 0
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x40e726
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x40e725
push edi
push esi
push 0
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40e71e
and dword [ebp - 0x268], 0
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x268]
push eax
push 0x403bcc
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40e71e
mov eax, dword [ebp - 0x268]
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
and ecx, 0xffff0000
push eax
neg ecx
lea eax, [ebp - 0x5c]
sbb ecx, ecx
neg ecx
push ecx
push edx
push esi
push 0x403bd0
push 0x2c
push eax
call fcn.00404da3
add esp, 0x1c
test eax, eax
js 0x40e71e
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040c510
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004106d0
leave
ret
Function at 0x40fa2c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x413140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
mov esi, 0xc04
push eax
push 8
push 0x404
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40fa7a
push 3
lea eax, [ebp - 0x44]
push 0x4040e0
push eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffff800
add esi, eax
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.004106d0
leave
ret
Function at 0x410420
Capabilities:
Terminate process

Disassembly:
call fcn.00410fc9
jmp 0x410430
push 0x58
push 0x412940
call fcn.0041108c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x413a5c
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x410482
cmp eax, esi
jne 0x410475
xor esi, esi
inc esi
mov edi, esi
jmp 0x410485
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410459
xor esi, esi
inc esi
cmp dword [0x413a60], esi
jne 0x410497
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4104d1
cmp dword [0x413a60], ebx
jne 0x4104cb
mov dword [0x413a60], esi
push 0x401b6c
push 0x401b60
call fcn.00410615
pop ecx
pop ecx
test eax, eax
je 0x4104d1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4105ff
mov dword [0x4131dc], esi
cmp dword [0x413a60], esi
jne 0x4104f4
push 0x401b5c
push 0x401b20
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x413a60], 2
test edi, edi
jne 0x410501
xor eax, eax
mov ecx, 0x413a5c
xchg dword [ecx], eax
cmp dword [0x413a6c], 0
je 0x41052d
push 0x413a6c
call fcn.00410ec0
pop ecx
test eax, eax
je 0x41052d
push ebx
push 2
push ebx
mov esi, dword [0x413a6c]
mov ecx, esi
call dword [0x414398]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x41058b
test cl, cl
je 0x41055a
test edi, edi
jne 0x41058b
test cl, cl
je 0x41055a
cmp cl, 0x20
ja 0x41055a
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x410549
test byte [ebp - 0x3c], 1
je 0x410566
movzx eax, word [ebp - 0x38]
jmp 0x410569
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x4131d8], eax
cmp dword [0x4131f0], 0
jne 0x4105e4
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x41059c
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x4105af
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x41053a
cmp dword [0x4131dc], 0
jne 0x4105f8
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x4131d8]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410d90
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x412980
call fcn.0041108c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x410df0
cmp eax, 0xffffffff
je 0x410df0
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x410de9
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x410de9
cmp edx, 0x10000000
jae 0x410de9
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x410de6
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x410e70
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x410eae
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x410ea6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x410eb0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x410e96
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x410f90
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410fbf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410fbf
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x693bb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x47000]
push edi
jmp 0x693bca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x693bd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x693bc0
mov eax, 1
add ebx, ebx
jne 0x693be3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x693bf4
jne 0x693c13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x693c13
dec eax
add ebx, ebx
jne 0x693c00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x693bd8
add ebx, ebx
jne 0x693c0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x693c65
xor ecx, ecx
sub eax, 3
jb 0x693c2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x693c9a
sar eax, 1
mov ebp, eax
jmp 0x693c36
add ebx, ebx
jne 0x693c36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x693c04
inc ecx
add ebx, ebx
jne 0x693c44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x693c04
add ebx, ebx
jne 0x693c51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x693c46
jne 0x693c62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x693c46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x693c84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x693c76
jmp 0x693bc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x693c84
add edi, ecx
jmp 0x693bc6
pop esi
mov edi, esi
mov ecx, 0x2031
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x693ca2
cmp byte [edi], 0x13
jne 0x693ca2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x693ca7
lea edi, [esi + 0x290000]
mov eax, dword [edi]
or eax, eax
je 0x693d1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x293000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x29317c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x693cd4
mov ecx, edi
jns 0x693d03
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x293184]
or eax, eax
je 0x693d19
mov dword [ebx], eax
add ebx, 4
jmp 0x693cf1
call dword [esi + 0x293180]
mov ebp, dword [esi + 0x293188]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x693d53
sub esp, 0xffffff80
jmp 0x43463a
Function at 0x402420
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7428
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov edi, 0x1000
mov dword [ebp - 0x14], 0
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.00407a20
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push edi
push esi
push 0
call ebx
test eax, eax
jne 0x4024dc
nop
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4025a5
add edi, 0x1000
lea ecx, [ebp - 0x18]
mov edx, edi
call fcn.00407a20
lea ecx, [ebp - 0x14]
cmp ecx, eax
je 0x4024c2
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, esi
mov esi, ecx
mov dword [ebp - 0x14], esi
test eax, eax
je 0x4024c2
push eax
call fcn.00439963
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4024d2
push eax
call fcn.00439963
add esp, 4
push edi
push esi
push 0
call ebx
test eax, eax
je 0x402480
xor edi, edi
mov ebx, esi
mov dword [ebp - 0x18], edi
cmp word [esi], di
je 0x40257a
nop dword [eax]
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4024f5
push 0xd
sub edi, ecx
push str.PhysicalDrive
push ebx
sar edi, 1
call fcn.00586742
add esp, 0xc
test eax, eax
jne 0x402567
lea eax, [ebx + 0x1a]
push eax
call fcn.005866ee
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add esp, 4
mov eax, dword [eax]
push ecx
mov dword [ebp - 0x24], eax
push dword [eax + 4]
push eax
call fcn.00408920
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4025a9
inc dword [ebp - 0x18]
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
lea ebx, [ebx + edi*2]
add ebx, 2
cmp word [ebx], 0
jne 0x4024f0
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x402587
push esi
call fcn.00439963
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x40257a
push str.list_T__too_long
call fcn.0057f84e
int3
Function at 0x4031b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push esi
push edi
mov edi, ecx
mov esi, 0x43
xor eax, eax
mov word [ebp - 0xc], si
mov word [ebp - 6], ax
lea eax, [ebp - 0x214]
push 0x104
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xa], 0x5c003a
push eax
call ebx
test eax, eax
je 0x40320e
lea eax, [ebp - 0x214]
push eax
push edi
call fcn.005868fb
add esp, 8
test eax, eax
je 0x403228
inc esi
cmp si, 0x5a
jbe 0x4031d3
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xc]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret