joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4109f0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa4
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0xa0], eax
cmp byte [0x44a6cb], 0
jne 0x410ace
lea eax, [esp]
push eax
push str.IsWow64Process
push str.Kernel32
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00412430
push 0x9c
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00412dc0
add esp, 0x18
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x410a73
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00412c09
add esp, 0xa4
ret
cmp dword [esp + 0x14], 2
push esi
jne 0x410ac6
cmp dword [esp + 0xc], 5
jne 0x410ac6
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x410aba
mov esi, dword [esp + 4]
test esi, esi
je 0x410ac6
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 4], 0
je 0x410ac6
cmp byte [esp + 0xa2], 1
jmp 0x410abd
cmp eax, 1
jne 0x410ac6
mov byte [0x44a6ca], 1
mov byte [0x44a6cb], 1
pop esi
mov ecx, dword [esp + 0xa0]
movzx eax, byte [0x44a6ca]
xor ecx, esp
call fcn.00412c09
add esp, 0xa4
ret

Function at 0x410af0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa4
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0xa0], eax
cmp byte [0x44a6cd], 0
jne 0x410bca
lea eax, [esp]
push eax
push str.IsWow64Process
push str.Kernel32
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00412430
push 0x9c
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00412dc0
add esp, 0x18
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x410b73
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00412c09
add esp, 0xa4
ret
mov eax, 2
cmp dword [esp + 0x14], eax
jne 0x410bc3
cmp dword [esp + 8], 5
jne 0x410bc3
cmp dword [esp + 0xc], eax
jne 0x410bc3
push esi
mov esi, dword [esp + 4]
test esi, esi
je 0x410bc2
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 4], 0
je 0x410bbb
cmp byte [esp + 0xa2], 1
je 0x410bc2
mov byte [0x44a6cc], 1
pop esi
mov byte [0x44a6cd], 1
mov ecx, dword [esp + 0xa0]
movzx eax, byte [0x44a6cc]
xor ecx, esp
call fcn.00412c09
add esp, 0xa4
ret
Function at 0x410d00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4264eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42d2ec]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2c]
test cl, 1
je 0x410d3a
mov edi, 0x40000000
mov ebx, 2
jmp 0x410d55
test cl, 2
je 0x410d4b
mov edi, 0xc0000000
mov ebx, 3
jmp 0x410d55
mov edi, 0x80000000
mov ebx, 1
mov eax, ecx
and eax, 0x100
mov esi, eax
neg esi
sbb esi, esi
add esi, 3
test ecx, 0x200
je 0x410d79
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
mov esi, eax
mov ebp, dword [esp + 0x28]
push ebp
mov byte [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x410d97
test al, 0x10
jne 0x410d97
mov byte [esp + 0x2c], 1
push 0
push 0x80
push esi
push 0
push ebx
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410dd2
call fcn.00415134
mov dword [eax], 0xd
or eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x110
call fcn.0041377f
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x410e05
mov dword [eax], ebx
mov dword [eax + 0x108], ebx
mov byte [eax + 0x10c], bl
mov byte [eax + 0x10d], bl
mov esi, eax
jmp 0x410e07
xor esi, esi
mov dword [esp + 0x20], 0xffffffff
cmp byte [esp + 0x2c], 0
jne 0x410e1d
mov byte [esi + 0x10c], 1
push 0x104
push ebp
lea eax, [esi + 4]
push eax
mov dword [esi], edi
mov dword [esi + 0x108], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x44a6d8
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x410e51
mov ecx, dword [0x44a7dc]
mov dword [esi + 0x108], ecx
mov edx, dword [esi + 0x108]
push ebx
push ebx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x411590
Capabilities:
Delete file
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x21c]
test eax, eax
push ebx
mov ebx, dword [esp + 0x21c]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
je 0x4115c6
mov dword [eax], 0
lea eax, [esp + 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x427d90
lea edx, [esp + 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
jmp 0x411600
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, edi
call fcn.00411500
test eax, eax
jne 0x411620
push 0x3e8
call ebp
add esi, 1
cmp esi, 5
jl 0x411600
cmp esi, 5
je 0x4116e8
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor edi, edi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea edx, [esp + 0x30]
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x411660
push 0x3e8
call ebp
add edi, 1
cmp edi, 5
jl 0x411631
cmp edi, 5
jne 0x41166f
lea eax, [esp + 0x18]
push eax
jmp 0x4116ed
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x4116e1
test edi, edi
je 0x4116e1
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4116c1
push 0
lea ecx, [esp + 0x18]
push ecx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4116c1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4116f3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4116dd
mov dword [eax], edi
mov eax, ebx
jmp 0x4116f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00412c09
add esp, 0x214
ret 8
Function at 0x412040
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x426686
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x42d2ec]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x10], ecx
mov edx, 0xf
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], ecx
mov byte [eax + 0x30], cl
mov byte [esp + 0x10], 1
mov dword [eax + 0x60], edx
mov dword [eax + 0x5c], ecx
mov byte [eax + 0x4c], cl
mov byte [esp + 0x10], 2
mov dword [eax + 0x7c], edx
mov dword [eax + 0x78], ecx
mov byte [eax + 0x68], cl
mov byte [esp + 0x10], 3
mov dword [eax + 0x9c], edx
mov dword [eax + 0x98], ecx
mov byte [eax + 0x88], cl
mov byte [esp + 0x10], 4
mov dword [eax + 0xb8], edx
mov dword [eax + 0xb4], ecx
mov byte [eax + 0xa4], cl
mov byte [esp + 0x10], 5
mov dword [eax + 0xd4], edx
mov dword [eax + 0xd0], ecx
mov byte [eax + 0xc0], cl
mov byte [esp + 0x10], 6
mov dword [eax + 0xdc], ecx
mov dword [eax + 0xe0], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41242a
test al, 0x10
je 0x41242a
mov eax, 1
ret
xor eax, eax
ret
Function at 0x412c09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d2ec]
jne 0x412c13
repz ret
jmp fcn.00415664

Function at 0x418b4a
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x42dc38]
je 0x418b65
inc edi
cmp edi, 0x17
jb 0x418b56
cmp edi, 0x17
jae 0x418ce5
push ebp
push 3
call fcn.0041ec7a
cmp eax, 1
pop ecx
je 0x418cb1
push 3
call fcn.0041ec7a
test eax, eax
pop ecx
jne 0x418b99
cmp dword [0x42d340], 1
je 0x418cb1
cmp ebx, 0xfc
je 0x418ce4
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x44ad48
push ebp
call fcn.00413690
add esp, 0xc
test eax, eax
je 0x418bcf
push esi
push esi
push esi
push esi
push esi
call fcn.00417958
add esp, 0x14
push 0x104
mov esi, 0x44ad61
push esi
push 0
mov byte [0x44ae65], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x418c13
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00413690
add esp, 0xc
test eax, eax
je 0x418c13
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00417958
add esp, 0x14
push esi
call fcn.00415570
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x418c58
push esi
call fcn.00415570
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x44b05c
push 0x428524
sub ecx, eax
push ecx
push eax
call fcn.0041e6c6
add esp, 0x14
test eax, eax
je 0x418c58
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00417958
add esp, 0x14
jmp 0x418c5a
xor esi, esi
push 0x428520
push ebx
push ebp
call fcn.004136f5
add esp, 0xc
test eax, eax
je 0x418c7a
push esi
push esi
push esi
push esi
push esi
call fcn.00417958
add esp, 0x14
push dword [edi*8 + 0x42dc3c]
push ebx
push ebp
call fcn.004136f5
add esp, 0xc
test eax, eax
je 0x418c9c
push esi
push esi
push esi
push esi
push esi
call fcn.00417958
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041eabd
add esp, 0xc
jmp 0x418ce4
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x418ce4
cmp ebp, 0xffffffff
je 0x418ce4
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x42dc3c]
push dword [esi]
call fcn.00415570
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41eabd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00416859
xor ebx, ebx
cmp dword [0x44b278], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41eb93
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41ec73
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4290a4
push edi
call esi
cmp eax, ebx
je 0x41ec73
push eax
call fcn.004167eb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b278], eax
call esi
push eax
call fcn.004167eb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b27c], eax
call esi
push eax
call fcn.004167eb
mov dword [0x44b280], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004188d7
test eax, eax
pop ecx
pop ecx
je 0x41eb61
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00417958
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41eb93
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004167eb
cmp eax, ebx
pop ecx
mov dword [0x44b288], eax
je 0x41eb93
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004167eb
pop ecx
mov dword [0x44b284], eax
mov eax, dword [0x44b284]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41ec18
cmp dword [0x44b288], ecx
je 0x41ec18
push eax
call fcn.00416862
push dword [0x44b288]
mov esi, eax
call fcn.00416862
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41ec18
cmp edi, ebx
je 0x41ec18
call esi
cmp eax, ebx
je 0x41ebe5
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41ebe5
test byte [ebp - 0x18], 1
jne 0x41ec18
lea eax, [ebp - 0x10]
push eax
call fcn.0041890e
test eax, eax
pop ecx
je 0x41ec00
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00417958
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41ec0f
or dword [ebp + 0x10], 0x200000
jmp 0x41ec53
or dword [ebp + 0x10], 0x40000
jmp 0x41ec53
mov eax, dword [0x44b27c]
cmp eax, dword [ebp - 8]
je 0x41ec53
push eax
call fcn.00416862
cmp eax, ebx
pop ecx
je 0x41ec53
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41ec53
mov eax, dword [0x44b280]
cmp eax, dword [ebp - 8]
je 0x41ec53
push eax
call fcn.00416862
cmp eax, ebx
pop ecx
je 0x41ec53
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b278]
call fcn.00416862
cmp eax, ebx
pop ecx
je 0x41ec73
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41ec75
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ed0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6c4510f0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x640b3a67
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1002723a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066d42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], 0x77a8
mov dword [ebp - 0x24], 0x100095c8
cmp dword [ebp - 0x1c], 0x77f1
jle 0x100272e0
and dword [ebp - 0x14], 0
jmp 0x10027280
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x51e3
jge 0x100272da
and dword [ebp - 0x18], 0
jmp 0x10027296
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2950
jge 0x100272d8
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.1000dcee
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.100130b2
push eax
call fcn.10050ebf
pop ecx
lea ecx, [ebp - 0x54]
call fcn.100130a8
jmp 0x1002728f
jmp 0x10027279
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x7524
jge 0x100272fc
push dword [ebp - 0x24]
call fcn.10050ebf
pop ecx
jmp 0x10027318
or dword [ebp - 4], 0xffffffff
jmp 0x10027322
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 3
jae 0x1002735e
push 0
push dword [ebp - 0x2c]
push 0x7ebf
push dword [ebp - 0x30]
push 0x3c2b
push 0x4421
push dword [ebp - 0x34]
call fcn.100275bf
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003845d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100384a1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10038495
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and dword [eax], 0
jmp 0x1003849f
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x100384de
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push 0x325a
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x5d8e
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x3670
call fcn.10028cf6
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x10043c33
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10043c6e
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10043c64
push 0
push 0x195e
push 0x1143
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x10043c6c
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x10043c86
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0x3812
push dword [ebp - 8]
push 1
call fcn.10037e88
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10062645
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006d750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100547d8
mov dword [ebp - 0x14], eax
cmp dword [0x1061189c], esi
jne 0x10062738
push 0x800
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100626c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10062818
push esi
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10062818
push 0x10007528
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10062818
push eax
call ebx
push 0x10007534
push edi
mov dword [0x1061189c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007544
push edi
mov dword [0x106118a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007558
push edi
mov dword [0x106118a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106118ac], eax
test eax, eax
je 0x10062735
push 0x10007574
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106118a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006275d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10062750
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10062772
push 4
pop eax
jmp 0x1006281a
cmp dword [ebp - 0x14], esi
je 0x10062772
push dword [0x1061189c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10062757
mov eax, dword [0x106118a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100627d0
cmp dword [0x106118ac], edi
je 0x100627d0
push eax
call ebx
push dword [0x106118ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100627d0
test eax, eax
je 0x100627d0
call ecx
test eax, eax
je 0x100627c5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100627c5
test byte [ebp - 8], 1
jne 0x100627d0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10062800
mov eax, dword [0x106118a0]
cmp eax, edi
je 0x100627fd
push eax
call ebx
test eax, eax
je 0x100627fd
call eax
mov esi, eax
test esi, esi
je 0x100627fd
mov eax, dword [0x106118a4]
cmp eax, edi
je 0x100627fd
push eax
call ebx
test eax, eax
je 0x100627fd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1061189c]
call ebx
test eax, eax
je 0x10062818
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006281a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10051ce3
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219