joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x25000]
push edi
jmp 0x431e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x431e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x431e80
mov eax, 1
add ebx, ebx
jne 0x431ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x431e98
jne 0x431eb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431e98
xor ecx, ecx
sub eax, 3
jb 0x431ec8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x431f3a
mov ebp, eax
add ebx, ebx
jne 0x431ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x431ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x431f04
inc ecx
add ebx, ebx
jne 0x431ef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x431ee5
jne 0x431f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431ee5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x431f24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x431f15
jmp 0x431e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x431f24
add edi, ecx
jmp 0x431e86
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x431f42
cmp byte [edi], 9
jne 0x431f42
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 0x431f47
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x431fbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x458c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x459a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x431f74
mov ecx, edi
jns 0x431fa3
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 + 0x459a8]
or eax, eax
je 0x431fb9
mov dword [ebx], eax
add ebx, 4
jmp 0x431f91
call dword [esi + 0x459a4]
mov ebp, dword [esi + 0x459ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x431ff3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x10002b65
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, edx
mov esi, ecx
mov ecx, edi
call fcn.100034d3
mov edx, edi
lea ecx, [esi + 0x34]
pop edi
pop esi
jmp fcn.10003746

Function at 0x100033f5
Capabilities:
Terminate process

Disassembly:
push esi
push str.could_not_load:
push 2
mov esi, ecx
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
push esi
call fcn.1000473f
add esp, 0xc
push eax
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
cmp eax, 0xc1
jne 0x10003448
push str._n_bad_format__library_may_be_wrong_architecture_
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push 0x100186f0
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push 1
call fcn.1000ba6a
int3

Function at 0x10003465
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x100285d0]
cmp eax, 0xdab
jg 0x1000347f
mov dword [eax*4 + 0x10024f20], ecx
inc eax
mov dword [0x100285d0], eax
ret
push str._GC__cannot_register_global_variable__too_many_global_variables
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push 1
call fcn.1000ba6a
int3

Function at 0x1000349c
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10024f10]
cmp eax, 0xdab
jg 0x100034b6
mov dword [eax*4 + 0x10021860], ecx
inc eax
mov dword [0x10024f10], eax
ret
push str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push 1
call fcn.1000ba6a
int3

Function at 0x100034ef
Capabilities:
Terminate process

Disassembly:
push esi
push str.could_not_import:
push 2
mov esi, ecx
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push esi
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push 0x100186f0
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push 1
call fcn.1000ba6a
pop esi

Function at 0x10003535
Capabilities:
Terminate process

Disassembly:
push esi
push ecx
mov esi, edx
call fcn.1000473f
pop ecx
push eax
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push 0x100186f0
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push esi
call fcn.1000ba6a
pop esi

Function at 0x1000356c
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10029c18]
push esi
mov esi, ecx
test eax, eax
je 0x1000357e
call eax
test al, al
je 0x1000359a
mov eax, dword [0x10029c1c]
test eax, eax
je 0x1000358f
mov ecx, esi
call eax
test al, al
je 0x1000359a
cmp dword [0x10029c08], 0
jne 0x100035aa
jmp 0x1000359c
pop esi
ret
mov ecx, esi
call fcn.10003b5b
push 1
call fcn.1000ba6a
push esi
call fcn.10004799
pop ecx
push 1
mov eax, dword [0x10029c08]
add eax, 8
push eax
call fcn.10008e0a
int3
Function at 0x10003c9e
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x10029c04]
test ecx, ecx
jne fcn.1000356c
push 0x10018468
call fcn.10004a0c
int3

Function at 0x100042e4
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push 2
mov edi, edx
mov ebx, ecx
call fcn.10009c9f
mov esi, eax
push esi
push edi
push 1
push ebx
call fcn.1000a342
push esi
call fcn.1000a0ce
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x100044e4
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 0x10028614
lea edx, [edx - 8]
jmp fcn.10003746

Function at 0x10004760
Capabilities:
Terminate process

Disassembly:
push 4
push 0x3000
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10004859
ret

Function at 0x100047dd
Capabilities:
Terminate process

Disassembly:
cmp dword [esp + 8], 0
push esi
jl 0x10004846
push ebx
push edi
mov ecx, dword [esp + 0x10]
call fcn.100014c9
mov ecx, dword [esp + 0x14]
mov ebx, eax
call fcn.100014c9
xor ecx, ecx
mov edi, eax
test ebx, ebx
je 0x10004807
mov eax, dword [ebx]
jmp 0x10004809
mov eax, ecx
test edi, edi
je 0x1000480f
mov ecx, dword [edi]
add eax, 0x13
add ecx, eax
call fcn.10003853
mov esi, eax
push 0x10018400
push esi
call fcn.10004490
push ebx
push esi
call fcn.10004490
push 0x10018410
push esi
call fcn.10004490
push edi
push esi
call fcn.10004490
add esp, 0x20
pop edi
pop ebx
jmp 0x10004852
mov ecx, 0x100183cc
call fcn.1000250b
mov esi, eax
push esi
call fcn.10004a63
pop esi
mov eax, dword [0x10029c14]
test eax, eax
je 0x10004864
call eax
push str.out_of_memory_n
push 2
call fcn.10009c9f
pop ecx
push eax
call fcn.10004936
pop ecx
pop ecx
push 1
call fcn.1000ba6a
int3

Function at 0x10004936
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x1000494a
push dword [ebp + 0xc]
call fcn.10009d50
pop ecx
jmp 0x1000494c
xor eax, eax
push dword [ebp + 8]
push eax
push 1
push dword [ebp + 0xc]
call fcn.1000a342
push dword [ebp + 8]
call fcn.1000a0ce
add esp, 0x14
pop ebp
ret

Function at 0x10005036
Capabilities:
Terminate process

Disassembly:
mov ecx, 0x10004e22
call fcn.1000349c
mov ecx, 0x10004e2f
jmp fcn.1000349c

Function at 0x100050b1
Capabilities:
Terminate process

Disassembly:
mov ecx, 0x10005079
jmp fcn.1000349c
Function at 0x10005d0b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98
mov eax, dword [0x10020054]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov edi, 0x80
lea eax, [esp + 0x24]
push edi
push 0
push eax
mov esi, ecx
call fcn.10008cb0
add esp, 0xc
mov ecx, esi
call fcn.1000605e
test eax, eax
je 0x10005f42
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x3c]
push esi
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005d63
call fcn.10004881
mov eax, dword [esp + 0x18]
add eax, 0x78
push edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10008730
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
sete cl
test eax, eax
je 0x10005d8e
cmp dword [esp + 0x24], 0
sete cl
test cl, cl
jne 0x10005f42
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x28]
push esi
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005db1
call fcn.10004881
mov eax, dword [esp + 0xac]
or eax, dword [esp + 0xb0]
je 0x10005f42
mov ebx, dword [esp + 0x18]
xor edi, edi
mov ebp, dword [ebx + 0x18]
test ebp, ebp
js 0x10005f42
lea eax, [esp + 0x18]
push eax
push 4
push edi
call fcn.100060a4
add esp, 0xc
test al, al
je 0x10005def
call fcn.10004881
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
push dword [ebx + 0x20]
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005e0c
call fcn.10004881
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
push esi
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005e27
call fcn.10004881
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push esi
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005e44
call fcn.10004881
mov ecx, dword [esp + 0x10]
call fcn.10005c9b
cmp dword [esp + 0xac], eax
jne 0x10005e5f
cmp dword [esp + 0xb0], edx
je 0x10005e89
lea eax, [esp + 0x14]
push eax
push 1
push edi
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005e78
call fcn.10004881
mov edi, dword [esp + 0x14]
cmp edi, ebp
jle 0x10005dd6
jmp 0x10005f42
lea eax, [esp + 0x14]
push eax
push 2
push edi
call fcn.100060a4
add esp, 0xc
test al, al
je 0x10005ea2
call fcn.10004881
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push dword [ebx + 0x24]
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005ebf
call fcn.10004881
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005eda
call fcn.10004881
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
mov ax, word [eax]
shl ax, 2
movzx eax, ax
push eax
push dword [ebx + 0x1c]
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005f02
call fcn.10004881
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005f1d
call fcn.10004881
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push dword [eax]
push esi
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10005f3a
call fcn.10004881
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10005f44
xor eax, eax
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10007929
add esp, 0x98
ret 8
Function at 0x10005f5f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [eax + 0xc]
mov ebx, edx
add ebp, 0x14
push esi
push edi
mov edi, ecx
mov esi, dword [ebp]
jmp 0x10005f81
mov esi, dword [esi]
cmp esi, ebp
je 0x10005f9c
push dword [esi + 0x28]
push edi
call dword [0x10021720]
test eax, eax
jne 0x10005f7b
mov esi, dword [esi + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
not ebx
mov ecx, ebx
call fcn.1000598f
test al, al
jne 0x10006057
mov ecx, 0x100189b8
call fcn.10005c15
xor edx, edx
mov ecx, eax
call fcn.10005f5f
xor esi, esi
xor edx, edx
push esi
push 0xd02065c1
mov ecx, eax
call fcn.10005d0b
mov ebp, eax
test ebp, ebp
je 0x10005f92
push 8
lea eax, [esp + 0x18]
push esi
push eax
call fcn.10008cb0
add esp, 0xc
mov dword [esp + 0x18], edi
push edi
call dword [0x10021660]
mov ebx, eax
test ebx, ebx
jns 0x1000600b
push esi
push 0x7fffffff
push esi
cdq
push esi
push edx
push eax
call fcn.1000488c
add esp, 0x18
mov edx, ebx
mov ecx, edi
call fcn.10005998
test eax, eax
je 0x1000601d
mov ax, word [eax]
jmp 0x1000601f
xor eax, eax
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x14]
add eax, eax
mov dword [esp + 0x10], esi
mov word [esp + 0x14], ax
add eax, 2
mov word [esp + 0x16], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push esi
push esi
call ebp
xor esi, esi
test eax, eax
cmovns esi, dword [esp + 0x10]
jmp 0x10005f92
xor esi, esi
jmp 0x10005f92

Function at 0x1000605e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
test ecx, ecx
je 0x100060a0
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x100060a0
lea eax, [ebp - 4]
push eax
push dword [ecx + 0x3c]
push ecx
call fcn.100013ec
add esp, 0xc
test al, al
je 0x10006089
call fcn.10004881
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
jne 0x100060a0
movzx eax, word [eax + 0x16]
shr eax, 0xd
and eax, 1
leave
ret
xor eax, eax
leave
ret
Function at 0x403218
Capabilities:
Query or enumerate registry value

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

Function at 0x40402c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0xc2c04c], 0
je 0x40408d
cmp word [0xc2c220], 0xd7b2
jne 0x404055
cmp dword [0xc2c228], 0
jbe 0x404055
mov eax, 0xc2c21c
call dword [0xc2c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0xc2a06c
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 0x4040b4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0xc2a030], 0
jne 0x4040a9
push 0
push 0xc2a064
push 0xc2a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406158
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 0x4061be
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.00404418
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402db8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4061a8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061c5
lea eax, [ebp - 0x10]
call fcn.004041a8
ret
Function at 0x408f40
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40918d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004041fc
cmp dword [0xc2a0d4], 1
jne 0x408f8b
cmp dword [0xc2a0d8], 4
jle 0x408fca
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00404668
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x40916f
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
mov edx, dword [edx]
call fcn.004043a0
jmp 0x40916f
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402af4
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0x41
jb 0x40916f
cmp byte [ebp - 0x15], 0x5a
ja 0x40916f
mov eax, dword [ebp - 4]
call fcn.00404468
cmp eax, 3
jl 0x40916f
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x40916f
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x40916f
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40916f
xor edx, edx
push ebp
push 0x409168
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0x640
mov eax, dword [ebp - 0xc]
call fcn.004026f8
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x40914a
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x409099
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.00402738
jmp 0x40905d
test eax, eax
je 0x4090ac
call fcn.00403c08
call fcn.00403c08
jmp 0x40916f
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x40905d
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x409128
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.00402af4
cmp al, byte [ebp - 0x15]
jne 0x409128
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 4]
call fcn.00404468
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.004046c8
mov eax, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebx + 0x14]
call fcn.004043a0
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
pop ecx
call fcn.004044b4
call fcn.00403c08
call fcn.00403c08
jmp 0x40916f
inc edi
dec esi
jne 0x4090b7
jmp 0x40905d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409194
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.004041cc
ret
Function at 0x40bb2c
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 0x40bb65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404298
jmp 0x40bb6e
mov eax, ebx
mov edx, esi
call fcn.004041fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c220
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c098
mov eax, dword [0xc2b608]
cmp byte [eax], 0
je 0x40c29c
mov eax, dword [0xc2b3d8]
call fcn.00402be8
call fcn.00402860
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.00409298
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 0x40c2e4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c2d2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0xc2b374]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0xc2c668]
call fcn.0040566c
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 0x40cb80
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 0x40cc56
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404240
lea eax, [ebp - 8]
call fcn.004046b8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404668
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cc40
mov eax, ebx
call fcn.004026f8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cc39
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.00404668
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc23
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cc68
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cc23
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 0x40cc40
mov eax, dword [ebp - 0x10]
call fcn.00402718
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc5d
lea eax, [ebp - 8]
call fcn.004041a8
ret

Function at 0x40d1c4
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 0x40d228
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.00404418
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004088e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d22f
lea eax, [ebp - 0xc]
call fcn.004041a8
ret

Function at 0x422d44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0xc2c88c
cmp dword [edi], 0
jne 0x422dc0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0xc2c888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0xc2a4b0
mov ecx, 2
call fcn.004028f4
mov edx, 0x422d1c
lea eax, [esi + 5]
call fcn.00422d3c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422d3c
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 0x422d95
mov dword [0xc2c888], 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 0x423fec
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 0x423ff2
ret
Function at 0x426604
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 0x426655
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42663c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42662c
jmp 0x426655
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 0x42663d
pop ebx
mov esp, ebp
pop ebp
ret