joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e86d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a2ed3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0072a592
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x100cdf80
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x100cc578
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100a50a8]
push eax
mov ecx, edi
call fcn.0072fc45
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.007313c1
test eax, eax
je 0x6e87ec
mov ecx, dword [esp + 0x3c]
call fcn.0072fc72
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100a559c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x6e87b0
push edi
mov ecx, esi
call fcn.0072d2c1
mov ecx, esi
call fcn.006e8950
cmp dword [esp + 0x38], 1
jne 0x6e87e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0072d3fc
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x6eb200
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x6eb233
push esi
call fcn.006ee2f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x6eb22c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x6eb2b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x6eb2a2
mov eax, dword [esi + 8]
test eax, eax
je 0x6eb257
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x6eb29e
cmp eax, 2
je 0x6eb2a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6eb24a
cmp eax, 3
je 0x6eb27d
cmp eax, 1
jne 0x6eb24a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x6eb24a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x6eb24a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.006eb2e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x6eb2c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.006eb2e0
add esp, 4
pop esi
ret
Function at 0x708980
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a4210
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x708b27
mov ecx, dword [0x100e8688]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x708a7c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.007076a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00729094
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00728fa7
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x100e6f64
call fcn.00729015
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00707a60
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00729094
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00728fa7
lea ecx, [esp + 0xc]
call fcn.0072946f
mov ecx, dword [esp + 0xc]
push 0x100e79a4
push ecx
call fcn.00718bb4
add esp, 8
test eax, eax
je 0x708aa4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x7089dd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00728fa7
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00728fa7
jmp 0x708b2b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00708720
test eax, eax
push 0
je 0x708b0f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00706dc0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x708af5
cmp eax, 0x64
jg 0x708ae3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x100a5380]
mov esi, eax
jmp 0x708a80
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x100a5380]
mov esi, eax
jmp 0x708a80
cmp eax, 0x64
jge 0x708a7c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x100a5380]
mov esi, eax
jmp 0x708a80
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00706dc0
mov esi, eax
jmp 0x708a80
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x708b35
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x5d8a91
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x5d87dc
or esi, edi
sub edi, esi
call fcn.005d8ad1
add edi, 0x78e51636
or edi, edi
add edi, esi
xor dword [eax], ecx
add esi, 0x1f220c7a
or edi, edi
add eax, 2
or esi, edi
sub esi, 0x91015617
sub esi, edi
cmp eax, edx
jl fcn.005d8a91
mov esi, 0x31b5af79
ret
Function at 0x10041f2
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x1004223
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x100422a
cmp ebx, dword [ebp + 8]
jae 0x100422a
xor eax, eax
jmp 0x100441a
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x100423b
xor eax, eax
inc eax
jmp 0x1004419
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x1004251
cmp ecx, edx
jae 0x1004396
cmp dword [eax + 4], 0
je 0x100425a
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x1004242
cmp dword [ebp + 8], 0
je 0x100427c
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x1004396
cmp eax, esi
jae 0x1004396
mov eax, dword [0x1006450]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x10042a1
cmp dword [esi*4 + 0x1006458], edi
je 0x100439a
inc esi
cmp esi, eax
jl 0x100428f
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x10010bc]
test eax, eax
je 0x1004416
cmp dword [ebp - 8], 0x1000000
jne 0x1004416
test byte [ebp - 0xc], 0xcc
je 0x100431f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x1004416
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1004416
cmp word [eax + 0x18], 0x10b
jne 0x1004416
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x1004416
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x100431f
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x100431f
test byte [ecx + 0x27], 0x80
jne 0x1004396
push 1
push 0x1006498
call dword [0x10010b8]
test eax, eax
jne 0x1004233
mov ecx, dword [0x1006450]
test ecx, ecx
mov edx, ecx
jle 0x1004353
lea eax, [ecx*4 + 0x1006454]
cmp dword [eax], edi
je 0x1004353
dec edx
sub eax, 4
test edx, edx
jg 0x1004347
test edx, edx
jne 0x1004384
push 0xf
pop ebx
cmp ecx, ebx
jg 0x1004360
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x1004378
lea eax, [edx*4 + 0x1006458]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x1004366
cmp ecx, 0x10
jge 0x1004384
inc ecx
mov dword [0x1006450], ecx
push 0
push 0x1006498
call dword [0x10010b8]
jmp 0x1004233
xor eax, eax
jmp 0x1004419
test esi, esi
jle 0x1004233
mov ebx, dword [0x10010b8]
push 1
push 0x1006498
call ebx
test eax, eax
jne 0x1004233
cmp dword [esi*4 + 0x1006458], edi
je 0x10043f0
mov eax, dword [0x1006450]
lea esi, [eax - 1]
test esi, esi
jl 0x10043de
cmp dword [esi*4 + 0x1006458], edi
je 0x10043da
dec esi
jns 0x10043ce
test esi, esi
jge 0x10043ee
cmp eax, 0x10
jge 0x10043e9
inc eax
mov dword [0x1006450], eax
lea esi, [eax - 1]
jmp 0x10043f0
je 0x1004408
xor ecx, ecx
test esi, esi
jl 0x1004408
lea eax, [ecx*4 + 0x1006458]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x10043f6
push 0
push 0x1006498
call ebx
jmp 0x1004233
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4028f8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402935
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402955
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404274
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x403128
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x463020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031a0
xor eax, eax
push ebp
push 0x403199
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 0x4031dc
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 0x4031a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x463020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x463020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e88
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x465048], 0
je 0x403ee9
cmp word [0x46521c], 0xd7b2
jne 0x403eb1
cmp dword [0x465224], 0
jbe 0x403eb1
mov eax, 0x465218
call dword [0x465234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46306c
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 0x403f10
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x463030], 0
jne 0x403f05
push 0
push 0x463064
push 0x46306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405284
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4054b4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405307
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4054b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405307
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4054d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405390
xor eax, eax
push ebp
push 0x405389
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004050cc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40536e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4054f0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40536e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405390
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4054aa
cmp byte [ebp - 0xd], 0
jne 0x4053d7
cmp byte [ebp - 0x12], 0
je 0x4054aa
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4053f0
dec ebx
cmp byte [ebx], 0x2e
je 0x4053ff
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4053ef
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4054aa
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40543c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4054aa
cmp byte [ebp - 0xd], 0
je 0x4054aa
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4054aa
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405b7c
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 0x405be2
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.00404274
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cc8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405bcc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405be9
lea eax, [ebp - 0x10]
call fcn.00404004
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004044c4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4083d9
test al, 0x10
jne 0x4083dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40af1c
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 0x40af55
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040f4
jmp 0x40af5e
mov eax, ebx
mov edx, esi
call fcn.00404058
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40af68
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 0x40af89
mov al, byte [esp]
jmp 0x40af8b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b610
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b488
mov eax, dword [0x464248]
cmp byte [eax], 0
je 0x40b68c
mov eax, dword [0x464064]
call fcn.00402af8
call fcn.0040284c
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.00408774
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 0x40b6d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b6c2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46400c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x465664]
call fcn.00405090
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 0x40bf28
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bffe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040409c
lea eax, [ebp - 8]
call fcn.00404514
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bfe8
mov eax, ebx
call fcn.004026e4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bfe1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044c4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bfcb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c010
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bfcb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bfe8
mov eax, dword [ebp - 0x10]
call fcn.00402704
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c005
lea eax, [ebp - 8]
call fcn.00404004
ret

Function at 0x40c5fc
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 0x40c660
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.00404274
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408040
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c667
lea eax, [ebp - 0xc]
call fcn.00404004
ret

Function at 0x4197c8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004197b0
dec esi
jne 0x4197ea
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41a880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x465884
cmp dword [edi], 0
jne 0x41a8fc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x465880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4633ec
mov ecx, 2
call fcn.00402a00
mov edx, 0x41a858
lea eax, [esi + 5]
call fcn.0041a878
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a878
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 0x41a8d1
mov dword [0x465880], 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 0x41bb38
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 0x41bb3e
ret

Function at 0x41e37c
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 0x41e3cd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e3b4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e3a4
jmp 0x41e3cd
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 0x41e3b5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d2f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x42d4b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.004392c8
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x42d49d
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x42d35b
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00404004
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x42d42c
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x46433c]
and eax, 0xff
bt dword [edx], eax
jae 0x42d3ee
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.0043a2e4
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x42d46c
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004041ec
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.004041ec
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.00404384
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x42d46c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004041ec
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.004042cc
jmp 0x42d46c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004042c4
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00404564
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004042c4
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040c08c
cmp al, 2
je 0x42d40c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004042c4
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00404564
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004042c4
test eax, eax
jle 0x42d486
push ebp
call fcn.0042d214
pop ecx
jmp 0x42d49d
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.004034ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d4bf
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404028
ret

Function at 0x42e1e4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42e130
call sub.user32.dll_EnumWindows
ret