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

Disassembly:
push 0xffffffffffffffff
push 0x4b53a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [fcn.004b8554]
push 0
lea ecx, [esp + 0x20]
call fcn.004ad6a1
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00466280
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004ad5cf
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a9e93
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a9e93
push 1
push 0
push 0
mov ecx, esi
call fcn.004a9e3b
push 1
push 0
push 1
mov ecx, esi
call fcn.004a9e3b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ad713
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x466a60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b53c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004ad6a1
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00466280
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004ad5cf
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.004b8554]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x466b24
cmp dword [esp + 0x40], 1
jne 0x466b22
cmp ecx, eax
jge 0x466b24
mov eax, ecx
cmp eax, 0xc8
jge 0x466b30
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004668e0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.004b8550]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ad713
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4672a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5433
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.004a82b1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x762c98
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], 0x761048
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 [fcn.004b80d8]
push eax
mov ecx, edi
call fcn.004ad949
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004aefcb
test eax, eax
je 0x4673bc
mov ecx, dword [esp + 0x3c]
call fcn.004ad976
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004b8574]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x467380
push edi
mov ecx, esi
call fcn.004aafda
mov ecx, esi
call fcn.00467520
cmp dword [esp + 0x38], 1
jne 0x4673b5
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.004ab115
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 0x469de0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x469e13
push esi
call fcn.0046cee0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x469e0c
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 0x469e99
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x469e82
mov eax, dword [esi + 8]
test eax, eax
je 0x469e37
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 0x469e7e
cmp eax, 2
je 0x469e82
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x469e2a
cmp eax, 3
je 0x469e5d
cmp eax, 1
jne 0x469e2a
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 0x469e2a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x469e2a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00469ec0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x469ea8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00469ec0
add esp, 4
pop esi
ret
Function at 0x48cd40
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6c70
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 0x48cee7
mov ecx, dword [0x77e2fc]
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 0x48ce3c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0048ba60
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004a6d88
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004a6c9b
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x77cff4
call fcn.004a6d09
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0048be20
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004a6d88
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004a6c9b
lea ecx, [esp + 0xc]
call fcn.004a7163
mov ecx, dword [esp + 0xc]
push 0x77da34
push ecx
call fcn.00496254
add esp, 8
test eax, eax
je 0x48ce64
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x48cd9d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004a6c9b
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a6c9b
jmp 0x48ceeb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0048cae0
test eax, eax
push 0
je 0x48cecf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.0048b180
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x48ceb5
cmp eax, 0x64
jg 0x48cea3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [fcn.004b8338]
mov esi, eax
jmp 0x48ce40
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [fcn.004b8338]
mov esi, eax
jmp 0x48ce40
cmp eax, 0x64
jge 0x48ce3c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [fcn.004b8338]
mov esi, eax
jmp 0x48ce40
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0048b180
mov esi, eax
jmp 0x48ce40
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x48cef5
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 0x7d7db9
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
jmp 0x7d7dcc
movzx ebx, byte [eax]
movzx edx, byte [eax + 1]
movzx edi, byte [eax + 5]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 2]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 6]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 7]
shl edx, 8
xor edx, edi
xor edx, dword [ecx + 4]
movzx edi, byte [eax + 9]
mov dword [ebp - 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xa]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xb]
shl edx, 8
xor edx, edi
xor edx, dword [ecx + 8]
movzx edi, byte [eax + 0xd]
mov dword [ebp - 0x10], edx
movzx edx, byte [eax + 0xc]
mov dh, 0x50
or al, 0xc1
loop 0x7d7e47

Function at 0x7e54ef
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp], dx
mov word [esp], di
lea esp, [esp + 2]
mov dword [esp + 0x74], edi
lea esp, [esp + 0x74]
jmp 0x7e5496
lea esp, [esp + 3]
mov word [esp], dx
jmp 0x7e54c1

Function at 0x805a57
Capabilities:
Encrypt data using aes

Disassembly:
movzx ebx, byte [esi + 0x11]
jmp 0x7d8347
bt edx, edx
bt edi, esp
mov ebx, dword [ebx*4 + 0x7e2544]
setle dh
lea edi, [esi - 0x55]
jmp 0x805aa1
lea esp, [esp + 4]
lea ecx, [eax - 1]
jmp 0x805ada
xchg ebx, edx
mov edi, 0x620abe88
mov ecx, 0xff
jmp 0x7d833d
and di, 0x3612
rol bl, 1
mov bl, 0x30
mov dword [ebp - 4], ecx
cmc
jmp 0x805ab9
Function at 0x805e4d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edx, dword [edx*4 + 0x7e2544]
clc
sub esp, 6
mov dword [esp], eax
lea esp, [esp + 2]
jmp 0x805ddf
pushal
pop dword [esp + 8]
and edx, ecx
stc
cmc
jmp 0x805d9a
xchg dh, dl
mov edx, 0xad4d4ec4
mov dl, 0x54
jmp 0x805e06
and edx, ecx
stc
lea esp, [esp + 0x20]
xor edi, dword [edx*4 + 0x7e3544]
jmp 0x805dc8
lea esp, [esp + 3]
jmp 0x805e31
mov edx, dword [esi + 8]
stc
pushal
push dword [esp + 0x10]
lea esp, [esp + 1]
jmp 0x805def
and ebx, ecx
lea esp, [esp + 0x40]
xor edi, dword [ebx*4 + 0x7e2d44]
movzx ebx, byte [esi + 9]
jmp 0x805dbd
mov dword [esi + 4], edi
mov edi, 0xd45762d0
not edi
bts edi, edi
jmp 0x805ec8
lea esp, [esp + 2]
jmp 0x805e1e
mov edi, dword [edi*4 + 0x7e2544]
and edi, ecx
mov edi, dword [edi*4 + 0x7e2944]
jmp 0x805ea5
lea esp, [esp + 4]
movzx ebx, byte [esi + 0xa]
sub esp, 0xe
sub esp, 0x18
lea esp, [esp + 2]
jmp 0x805e8d
stc
push word [esp + 0x11]
lea esp, [esp + 2]
shr edi, 0x18
jmp 0x805e53
mov ebx, dword [ebx*4 + 0x7e2544]
push edx
add esp, 1
lea esp, [esp + 3]
jmp 0x805eda
and ebx, ecx
lea esp, [esp + 0x40]
xor edi, dword [ebx*4 + 0x7e3144]
push esp
not bx
jmp 0x805e65
mov ebx, dword [ebx*4 + 0x7e2544]
lea edi, [esi - 0x70d734e3]
mov edi, edx
pushal
jmp 0x805e7e
and ebx, ecx
sub esp, 0xc
lea esp, [esp + 0x30]
xor edi, dword [ebx*4 + 0x7e2d44]
jmp 0x8060af
and edx, ecx
call fcn.0080600a
mov dword [esp + 0x1c], ebx
clc
stc
call fcn.00806e2b
adc eax, 0x996a0f9f
sbb dword [ebp - 0x10], edi
add ax, si
xor eax, 0x47ded7d
test dword [ecx + 0x7c], 0x8d60504f
xor al, 0x8d
add byte [eax], al
add byte [eax], al
cmc
jmp 0x806079
sub esp, 0xe
lea esp, [esp + 2]
lea esp, [esp + 0xc]
movzx ebx, byte [esi + 0xd]
stc
jmp 0x806072

Function at 0x805f1e
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 0x3c]
xor edi, dword [edx*4 + 0x7e3544]
jmp 0x805f05

Function at 0x805ff0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add esp, 5
lea esp, [esp + 3]
lea esp, [esp + 4]
popal
pushal
stc
jmp 0x805fd9
mov byte [esp + 2], dh
add esp, 0xf
lea esp, [esp + 1]
jmp 0x806043
jmp 0x805f60
lea ebp, [ebp*4]
lea ebp, [ebp + 0x7e2544]
mov edi, dword [ebp]
pop ebp
jmp 0x80604b
lea esp, [esp + 0x4c]
xor edi, dword [ebx*4 + 0x7e3144]
push esp
pop ebx
rcl bl, 7
jmp 0x806058
shr edi, 0x18
push ebp
mov ebp, edi
jmp 0x806017
and edi, ecx
mov edi, dword [edi*4 + 0x7e2944]
and ebx, ecx
jmp 0x80602a
movzx ebx, byte [esi + 0xe]
push edx
mov byte [esp + 2], ch
mov word [esp], dx
jmp 0x806098
push eax
pushal
lea esi, [ecx*4]

Function at 0x8060da
Capabilities:
Encrypt data using aes

Disassembly:
call fcn.00806101
movsd dword es:[edi], dword [esi]
jmp 0x832fad
mov ebp, esi
lea ebp, [ebp + 0xc]
mov dword [ebp], edi
pop ebp
pushal
jmp 0x8060dd
push ebp
jmp 0x8060c1
mov dword [esp + 9], ebp
pop word [esp + 3]
lea esp, [esp + 2]
jmp 0x806129
lea esp, [esp + 0x20]
dec dword [ebp - 4]
call fcn.008060da
lea esp, [esp + 0x20]
jne 0x7d833d
je 0x7d8366
inc ecx
salc
inc esp
and ebx, esi
push 0x8d796ec7
and al, 4
xor edi, dword [edx*4 + 0x7e3544]
pushal
jmp 0x8060f5
push 0x3345ba61
call fcn.007e5651
test byte [edx], cl
cwde
Function at 0x80627b
Capabilities:
Encrypt data using aes

Disassembly:
and edx, ecx
call 0x806142
lea esp, [esp + 0xc]
leave
call fcn.008061ea
mov cl, 0x39
test eax, 0x918f3bc8
sbb cl, byte [eax - 0x452e511]
ror byte [ebp - 0x24], cl
das
and ebx, ecx
pushal
push edx
lea esp, [esp + 0x50]
xor edi, dword [ebx*4 + 0x7e2d44]
jmp 0x806163

Function at 0x8ab95c
Capabilities:
Parse pe header

Disassembly:
pop word [esp + 1]
pop word [esp]
push word [esp]
mov word [esp], di
jmp 0x8ab9a4
lea esp, [esp + 3]
mov word [esp], sp
mov word [esp], di
lea esp, [esp + 2]
mov dword [esp + 0x38], edi
lea esp, [esp + 0x38]
jmp 0x8ab9fe
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x8ab9e2

Function at 0x8ab9a2
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
pop word [esp + 1]
lea esp, [esp + 1]
call fcn.008ab95c
mov ah, 0x2c
mov byte [0xa28334c5], al
cmp dword [ecx - 0x7b41c438], ebp
sbb cl, byte [eax - 0x462e511]
shr bl, cl
jmp 0x8ab980
lea esp, [esp + 3]
mov word [esp], sp
jmp 0x8ab980
Function at 0x402dec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004043e4
test esi, esi
jne 0x402e23
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004044d4
jmp 0x402e44
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c88
mov dword [esp], eax
test esi, esi
je 0x402e44
cmp dword [ebx], 0
je 0x402e44
dec esi
jmp 0x402e2b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4034cc
Capabilities:
Query or enumerate registry value

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

Function at 0x404260
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45c048], 0
je 0x4042c1
cmp word [0x45c21c], 0xd7b2
jne 0x404289
cmp dword [0x45c224], 0
jbe 0x404289
mov eax, 0x45c218
call dword [0x45c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45a06c
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 0x4042e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45a030], 0
jne 0x4042dd
push 0
push 0x45a064
push 0x45a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406064
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 0x4060ca
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.00404654
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403090
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060b4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060d1
lea eax, [ebp - 0x10]
call fcn.004043e4
ret

Function at 0x40b310
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 0x40b349
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044d4
jmp 0x40b352
mov eax, ebx
mov edx, esi
call fcn.00404438
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ba14
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b87c
mov eax, dword [0x45b0c0]
cmp byte [eax], 0
je 0x40ba90
mov eax, dword [0x45aee8]
call fcn.00402efc
call fcn.00402bb4
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.00408aec
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 0x40bad8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bac6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45ae94]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45c664]
call fcn.004054d0
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 0x40c334
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 0x40c40a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040447c
lea eax, [ebp - 8]
call fcn.004048f4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004048a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c3f4
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c3ed
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.004048a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c3d7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c41c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c3d7
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 0x40c3f4
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c411
lea eax, [ebp - 8]
call fcn.004043e4
ret

Function at 0x40c978
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 0x40c9dc
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.00404654
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408574
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c9e3
lea eax, [ebp - 0xc]
call fcn.004043e4
ret
Function at 0x41ae24
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x45c884
cmp dword [esi], 0
jne 0x41aeca
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x45c880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x45a3ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41adfc
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041ae1c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041ae1c
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41ae91
mov eax, dword [ebp - 8]
mov dword [0x45c880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41c418
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 0x41c41e
ret

Function at 0x41e8e4
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 0x41e935
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e91c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e90c
jmp 0x41e935
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 0x41e91d
pop ebx
mov esp, ebp
pop ebp
ret