joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100032c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10035bc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], sym.XtcSIP.dll_const_processor_plugin::vftable
call dword [0x1003d088]
xor ebx, ebx
lea eax, [esi + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], 8
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 1
call fcn.1000bf10
lea ecx, [esi + 0x6c]
mov byte [esp + 0x14], 2
call dword [0x1003d088]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x5c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10003620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10035bdc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], vtable._Dw_N_6_udQ_r_l_.sGzR_:l.0
call dword [0x1003d088]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
call dword [0x1003d088]
lea eax, [esi + 0x58]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x70], bl
mov eax, 8
mov dword [esi + 0x68], eax
lea ecx, [esi + 0x7c]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x90], ebx
mov byte [esi + 0x94], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x100059d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10035e49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable._:l.0
lea ecx, [esi + 0x90]
mov dword [esp + 0x18], 5
call dword [0x1003d08c]
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 4
call fcn.1000bf20
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 3
call dword [0x1003d08c]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call dword [0x1003d08c]
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call dword [0x1003d08c]
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x18], bl
je 0x10005a6f
mov edx, dword [esp + 0xc]
mov ecx, dword [edi + 8]
push edx
push edi
push ecx
push eax
call fcn.100043f0
mov eax, dword [edi + 4]
push eax
call fcn.10032b50
add esp, 0x14
lea ecx, [esi + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x18], 0xffffffff
call dword [0x1003d08c]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10005be0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10035e49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0xc], esi
mov dword [esi], vtable._:l.0
call dword [0x1003d090]
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x18], 0
call fcn.10005330
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call dword [0x1003d090]
lea eax, [edi + 0x4c]
push eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call dword [0x1003d090]
lea ecx, [edi + 0x68]
push ecx
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 3
call dword [0x1003d090]
mov dl, byte [edi + 0x84]
mov byte [esi + 0x84], dl
mov eax, dword [edi + 0x88]
mov dword [esi + 0x88], eax
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x8c], ecx
add edi, 0x90
push edi
lea ecx, [esi + 0x90]
mov byte [esp + 0x18], 5
call dword [0x1003d090]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x100076f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10035fa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
push esi
mov esi, dword [esp + 0x40]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], ebx
mov dword [esp + 8], 1
call dword [0x1003d088]
mov byte [esp + 0x2c], 1
push str.index::none
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 1
call dword [0x1003d084]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], 1
call fcn.10007580
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call dword [0x1003d08c]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4

Function at 0x1001e440
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
push esi
mov esi, edx
lea eax, [ecx + 0x58]
mov ecx, edx
and esi, 3
shr edx, 2
je 0x1001e486
push ebx
push edi
jmp 0x1001e460
movzx edi, word [eax]
add ecx, edi
movzx edi, word [eax + 2]
mov ebx, ecx
shl ebx, 5
xor edi, ebx
shl edi, 0xb
xor ecx, edi
mov edi, ecx
shr edi, 0xb
add eax, 4
add ecx, edi
sub edx, 1
jne 0x1001e460
pop edi
pop ebx
sub esi, 1
je 0x1001e4c5
sub esi, 1
je 0x1001e4b0
sub esi, 1
jne 0x1001e4d7
movzx edx, word [eax]
movsx eax, byte [eax + 2]
add eax, eax
add ecx, edx
add eax, eax
xor eax, ecx
shl eax, 0x10
xor ecx, eax
mov edx, ecx
shr edx, 0xb
jmp 0x1001e4d5
movzx eax, word [eax]
add ecx, eax
mov edx, ecx
shl edx, 0xb
xor ecx, edx
mov eax, ecx
shr eax, 0x11
add ecx, eax
jmp 0x1001e4d7
movsx edx, byte [eax]
add ecx, edx
mov eax, ecx
shl eax, 0xa
xor ecx, eax
mov edx, ecx
shr edx, 1
add ecx, edx
lea eax, [ecx*8]
xor ecx, eax
mov edx, ecx
shr edx, 5
add ecx, edx
mov eax, ecx
shl eax, 4
xor ecx, eax
mov edx, ecx
shr edx, 0x11
add ecx, edx
mov eax, ecx
shl eax, 0x19
xor ecx, eax
mov eax, ecx
shr eax, 6
add eax, ecx
pop esi
ret 4
Function at 0x10034f50
Capabilities:
Authenticate hmac
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfc
mov eax, dword [0x1006ee50]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x104]
push ebx
push ebp
mov ebp, dword [esp + 0x108]
push esi
push edi
push 0x40
mov edi, edx
lea edx, [esp + 0xcc]
push 0x36
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.10032cfa
push 0x40
lea eax, [esp + 0x98]
push 0x5c
push eax
call fcn.10032cfa
add esp, 0x18
xor edx, edx
test ebp, ebp
jbe 0x10034fd7
lea esi, [esp + 0xc8]
lea ebx, [esp + 0x88]
sub esi, edi
mov eax, edi
sub ebx, edi
nop
cmp edx, 0x40
jae 0x10034fd7
mov cl, byte [eax]
xor byte [esi + eax], cl
xor byte [ebx + eax], cl
add edx, 1
add eax, 1
cmp edx, ebp
jb 0x10034fc0
lea ecx, [esp + 0x18]
mov ebp, 0x98badcfe
mov ebx, 0x10325476
mov edi, 0xc3d2e1f0
push ecx
lea eax, [esp + 0xcc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], 0x40
call fcn.100337e0
mov eax, dword [esp + 0x11c]
add esp, 4
test eax, eax
je 0x10035042
mov edx, dword [esp + 0x14]
push edx
lea esi, [esp + 0x1c]
call fcn.10034ce0
add esp, 4
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.10034d70
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x90]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], 0x40
call fcn.100337e0
mov eax, dword [esp + 0x20]
mov esi, eax
mov ebx, 0x14
and esi, 0x3f
mov edi, 0x40
add eax, ebx
add esp, 8
sub edi, esi
cmp eax, ebx
lea ebp, [esp + 0x74]
mov dword [esp + 0x18], eax
jae 0x100350b8
add dword [esp + 0x1c], 1
test esi, esi
je 0x10035111
cmp edi, ebx
ja 0x10035111
push edi
lea edx, [esp + 0x78]
push edx
lea eax, [esp + esi + 0x3c]
push eax
call fcn.10032c2a
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x44]
call fcn.100337e0
sub ebx, edi
add esp, 0x10
xor esi, esi
cmp ebx, 0x40
lea ebp, [esp + edi + 0x74]
jb 0x1003510d
mov edi, ebx
shr edi, 6
lea edx, [esp + 0x18]
push edx
mov eax, ebp
call fcn.100337e0
add esp, 4
sub ebx, 0x40
add ebp, 0x40
sub edi, 1
jne 0x100350f3
test ebx, ebx
je 0x10035120
push ebx
lea eax, [esp + esi + 0x38]
push ebp
push eax
call fcn.10032c2a
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10034d70
mov ecx, dword [esp + 0x10c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10033053
add esp, 0xfc
ret
Function at 0x10035530
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1006ee50]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push edi
mov edi, edx
push edi
push eax
lea eax, [esp + 0x38]
push eax
mov ebx, ecx
mov dword [esp + 0x24], ebp
call fcn.10032c2a
mov ecx, ebx
sar ecx, 0x18
mov edx, ebx
sar edx, 0x10
mov eax, ebx
mov byte [esp + edi + 0x3c], cl
mov byte [esp + edi + 0x3d], dl
mov edx, dword [esp + 0x6c]
sar eax, 8
mov byte [esp + edi + 0x3e], al
mov byte [esp + edi + 0x3f], bl
add edi, 4
push edi
lea ecx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x34]
mov edx, ebp
call fcn.10034f50
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
lea eax, [esp + 0x4b]
sub eax, esi
mov dword [esp + 0x28], eax
lea edi, [esp + 0x48]
lea ebx, [esp + 0x49]
lea ebp, [esp + 0x4a]
lea eax, [esp + 0x4c]
add esp, 0x18
sub edi, esi
sub ebx, esi
sub ebp, esi
sub eax, esi
mov dword [esi + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0xfff
jmp 0x100355f0
mov eax, dword [esp + 0x60]
push 0x14
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.10034f50
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
add esp, 0xc
mov dword [esp + 0x2c], edx
mov eax, esi
mov ecx, 4
jmp 0x10035640
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [ebx + eax]
xor byte [eax + 1], dl
movzx edx, byte [eax + ebp]
xor byte [eax + 2], dl
mov edx, dword [esp + 0x10]
movzx edx, byte [edx + eax]
xor byte [eax + 3], dl
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + eax]
xor byte [eax + 4], dl
add eax, 5
sub ecx, 1
jne 0x10035640
sub dword [esp + 0xc], 1
jne 0x100355f0
mov ecx, dword [esp + 0x54]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10033053
add esp, 0x4c
ret
Function at 0x52afd0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push ebp
push esi
push edi
lea eax, [esp + 0x10]
mov edi, ecx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, edi
mov dword [esp + 0x24], edx
mov byte [edi + 0x24], 0
mov byte [edi + 0x2d], 1
call fcn.005295b0
lea eax, [esp + 0x18]
push eax
call ebx
lea ecx, [edi + 0x1ac]
call fcn.0040c250
mov esi, dword [edi + 0x1b0]
test esi, esi
je 0x52b047
lea ebp, [edi + 0x30]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebp
push ecx
push eax
mov ecx, edi
call fcn.0052a530
mov esi, dword [esi + 8]
test esi, esi
jne 0x52b030
push 0
lea eax, [edi + 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ecx, [esp + 0x10]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov esi, dword [edi + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x14]
sub edx, ebp
sbb eax, ebx
add esi, edx
adc ecx, eax
mov dword [edi + 0x14], ecx
push 0x19
mov ecx, edi
mov dword [edi + 0x10], esi
call fcn.0052ae00
lea ecx, [esp + 0x20]
call fcn.00529880
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x6848bd
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0068493c
jae 0x6848c9
xor ecx, ecx
call fcn.0068493c
jae 0x6848f3
xor eax, eax
call fcn.0068493c
jae 0x684904
mov al, 0x10
call fcn.0068493c
adc al, al
jae 0x6848e5
jne 0x684931
stosb byte es:[edi], al
jmp 0x6848ca
call fcn.00684948
dec ecx
loop 0x684910
mov eax, ebp
call fcn.00684946
jmp 0x684932
lodsb al, byte [esi]
shr eax, 1
je 0x684958
adc ecx, 2
mov ebp, eax
jmp 0x684932
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00684946
cmp eax, 0x7d00
jae 0x684930
cmp eax, 0x500
jae 0x684931
cmp eax, 0x7f
ja 0x684932
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6848ca
pop ebp
ret 8
Function at 0x4032f8
Capabilities:
Query or enumerate registry value

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

Function at 0x403f2c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a2044], 0
je 0x403f8d
cmp word [0x4a2218], 0xd7b2
jne 0x403f55
cmp dword [0x4a2220], 0
jbe 0x403f55
mov eax, 0x4a2214
call dword [0x4a2230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x416070
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 0x403fb4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x416030], 0
jne 0x403fa9
push 0
push 0x416068
push 0x416070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40536c
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 0x40559c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053ef
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40559c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053ef
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4055b8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405478
xor eax, eax
push ebp
push 0x405471
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004051b4
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 0x405456
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4055d8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405456
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 0x405478
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 0x405592
cmp byte [ebp - 0xd], 0
jne 0x4054bf
cmp byte [ebp - 0x12], 0
je 0x405592
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4054d8
dec ebx
cmp byte [ebx], 0x2e
je 0x4054e7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4054d7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405592
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405524
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 0x405592
cmp byte [ebp - 0xd], 0
je 0x405592
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 0x405592
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 0x405c70
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 0x405cd6
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.00404318
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d5c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405cc0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405cdd
lea eax, [ebp - 0x10]
call fcn.004040a8
ret

Function at 0x409f50
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 0x409f89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404198
jmp 0x409f92
mov eax, ebx
mov edx, esi
call fcn.004040fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a644
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a4bc
mov eax, dword [0x4a1c08]
cmp byte [eax], 0
je 0x40a6c0
mov eax, dword [0x4a1b14]
call fcn.00402b84
call fcn.0040275c
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.004078b8
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 0x40a708
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a6f6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a1af0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a2660]
call fcn.00405178
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 0x40b3c8
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 0x40b42c
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.00404318
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407478
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b433
lea eax, [ebp - 0xc]
call fcn.004040a8
ret

Function at 0x412e9c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
lea edi, [esp + 8]
push ecx
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
pop ecx
mov edi, ecx
mov dword [esp], eax
mov eax, dword [edi]
push eax
call fcn.00412e44
mov dword [esp + 4], eax
mov eax, dword [edi]
movzx esi, word [eax + 6]
dec esi
test esi, esi
jl 0x412f93
inc esi
mov eax, dword [esp + 4]
cmp dword [eax + 0x10], 0
jne 0x412f2a
mov ebp, dword [esp + 0x40]
test ebp, ebp
jle 0x412f1b
push 0x40
push 0x1000
push ebp
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [edi + 4]
call fcn.00412da8
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
mov eax, dword [esp + 4]
mov dword [eax + 8], ebx
mov edx, ebp
mov eax, ebx
call fcn.00406148
push 0
push 0x28
lea eax, [esp + 0xc]
call fcn.00412d78
jmp 0x412f8c
push 0x40
push 0x1000
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [edi + 4]
call fcn.00412da8
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 8]
call fcn.00412da8
mov edx, eax
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x10]
mov eax, ebx
call fcn.00406134
mov eax, dword [esp + 4]
mov dword [eax + 8], ebx
push 0
push 0x28
lea eax, [esp + 0xc]
call fcn.00412d78
dec esi
jne 0x412ed6
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x413368
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x41337d
or edx, 0x200
test eax, 0x20000000
je 0x4133b0
test eax, 0x40000000
je 0x41339c
test eax, 0x80000000
je 0x413397
or edx, 0x40
jmp 0x4133d7
or edx, 0x20
jmp 0x4133d7
test eax, 0x80000000
je 0x4133ab
or edx, 0x80
jmp 0x4133d7
or edx, 0x10
jmp 0x4133d7
test eax, 0x40000000
je 0x4133c8
test eax, 0x80000000
je 0x4133c3
or edx, 4
jmp 0x4133d7
or edx, 2
jmp 0x4133d7
test eax, 0x80000000
je 0x4133d4
or edx, 8
jmp 0x4133d7
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219