joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c160
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 1
push 0x10007e80
push 0x10007e90
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100b9224], eax
push 0x10007ea4
push 0x10007eb4
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100b9220], eax
push 0x10007ec8
push 0x10007edc
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100b921c], eax
push 0x10007ef0
push 0x10007efc
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100b9218], eax
push 0x10007f10
push 0x10007f20
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100b9258], eax
push 0x10007f3c
push 0x10007f4c
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100b9254], eax
push 0
call dword [0x1000709c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x62
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x6b
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0
jmp 0x43c281
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x20], edx
jge 0x43c2e6
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
push 8
lea ecx, [ebp - 0x2c]
push ecx
call dword [0x100b9224]
push 8
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
call dword [0x100b9220]
push 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x10]
push edx
call dword [0x100b921c]
cmp eax, 8
jne 0x43c2e4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0043b1c0
mov dword [ebp - 8], eax
jmp 0x43c2e6
jmp 0x43c278
mov esp, ebp
pop ebp
ret
Function at 0x4586d0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x10088814
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.0045e500
mov dword [esi], eax
mov ecx, 0x20
mov dword [esi + 4], ebx
add esp, 8
mov byte [eax], bl
mov eax, 1
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xac], ecx
push 0x10088818
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x10000
mov dword [esp + 0x24], 0x1008af14
mov dword [esp + 0x28], 0x20000
mov dword [esp + 0x2c], 0x1008af04
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0x34], 0x1008aef8
mov dword [esp + 0x38], 0x40000
mov dword [esp + 0x3c], 0x1008aeec
mov dword [esp + 0x40], 0x80000
mov dword [esp + 0x44], 0x1008aee0
mov dword [esp + 0x48], 0x80000000
mov dword [esp + 0x4c], 0x1008aed0
mov dword [esp + 0x50], 0x40000000
mov dword [esp + 0x54], 0x1008aec0
mov dword [esp + 0x58], 0x20000000
mov dword [esp + 0x5c], 0x1008aeb0
mov dword [esp + 0x60], 0x10000000
mov dword [esp + 0x64], 0x1008aea4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x1008ae94
mov dword [esp + 0x70], 0x80
mov dword [esp + 0x74], 0x1008ae7c
mov dword [esp + 0x78], 8
mov dword [esp + 0x7c], 0x1008ae6c
mov dword [esp + 0x80], 2
mov dword [esp + 0x84], 0x1008ae5c
mov dword [esp + 0x88], 0x100
mov dword [esp + 0x8c], 0x1008ae44
mov dword [esp + 0x90], 0x10
mov dword [esp + 0x94], 0x1008ae34
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0x1008ae20
mov dword [esp + 0xa4], 0x1008ae10
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0x1008adfc
mov dword [esp + 0xb4], 0x1008adec
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00443910
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.00443910
cmp ebp, ebx
je 0x45888f
push ebp
call fcn.0045e5b0
add esp, 4
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test dword [esp + 0x120], eax
je 0x4588c4
not eax
and dword [esp + 0x120], eax
cmp dword [edi + 8], ebx
je 0x4588b8
push 0x1008ade8
mov ecx, esi
call fcn.00443700
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.00443700
add ebp, 1
cmp ebp, 0x13
jb 0x458891
cmp dword [edi + 8], ebx
jne 0x458913
push 0x1008ade0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00443910
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.00443910
cmp ebp, ebx
je 0x45894f
push ebp
call fcn.0045e5b0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x120]
cmp eax, ebx
je 0x45894f
push eax
lea ecx, [esp + 0x20]
push 0x1008add8
push ecx
call dword [0x10088260]
add esp, 0xc
cmp dword [edi + 8], ebx
je 0x458943
push 0x1008ade8
mov ecx, esi
call fcn.00443700
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00443700
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
Function at 0x458ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x17c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x10088814
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.0045e500
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
push 0x10088818
lea ecx, [esp + 0x14]
mov byte [eax], bl
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x1008b188
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], 0x1008b170
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x1008b15c
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0x1008b144
mov dword [esp + 0x40], 0x800
mov dword [esp + 0x44], 0x1008b130
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 0x1008b110
mov dword [esp + 0x50], 0x10
mov dword [esp + 0x54], 0x1008b0f4
mov dword [esp + 0x58], 0x20
mov dword [esp + 0x5c], 0x1008b0d4
mov dword [esp + 0x60], 0x80
mov dword [esp + 0x64], 0x1008b0b8
mov dword [esp + 0x68], 0x100
mov dword [esp + 0x6c], 0x1008b09c
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x74], 0x1008b084
mov dword [esp + 0x78], 0x1000
mov dword [esp + 0x7c], 0x1008b06c
mov dword [esp + 0x80], 0x2000
mov dword [esp + 0x84], 0x1008b054
mov dword [esp + 0x88], 0x4000
mov dword [esp + 0x8c], 0x1008b038
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00443910
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.00443910
cmp ebp, ebx
je 0x458ff7
push ebp
call fcn.0045e5b0
add esp, 4
mov ebx, dword [esp + 0x190]
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test ebx, eax
je 0x45902a
not eax
and ebx, eax
cmp dword [edi + 8], 0
je 0x45901e
push 0x1008ade8
mov ecx, esi
call fcn.00443700
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.00443700
add ebp, 1
cmp ebp, 0xe
jb 0x459000
xor ebp, ebp
cmp dword [edi + 8], ebp
jne 0x45907b
push 0x1008ade0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.00443910
mov ebx, dword [esp + 0x10]
push ebx
mov ecx, esi
call fcn.00443910
cmp ebx, ebp
je 0x4590b6
push ebx
call fcn.0045e5b0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
cmp ebx, ebp
je 0x4590b6
push ebx
lea ecx, [esp + 0x90]
push 0x1008add8
push ecx
call dword [0x10088260]
add esp, 0xc
cmp dword [edi + 8], ebp
je 0x4590a7
push 0x1008ade8
mov ecx, esi
call fcn.00443700
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.00443700
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
Function at 0x4669b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x10], ebx
je 0x466add
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx + edi + 0x78]
add ecx, edi
add esi, edi
cmp dword [esi + 0x18], ebx
mov dword [esp + 0x18], ecx
jbe 0x466add
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
lea edx, [eax + ebx*4]
mov eax, dword [edx + edi]
add eax, edi
test eax, 0xffff0000
je 0x466a12
test ebp, 0xffff0000
je 0x466a12
push ebp
push eax
call dword [0x100881b8]
mov ecx, dword [esp + 0x18]
neg eax
sbb eax, eax
add eax, 1
jmp 0x466a1b
xor edx, edx
cmp eax, ebp
sete dl
mov eax, edx
test eax, eax
jne 0x466a31
add ebx, 1
cmp ebx, dword [esi + 0x18]
jb 0x4669e3
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x24]
lea edx, [eax + ebx*2]
movzx eax, word [edx + edi]
mov edx, dword [esi + 0x1c]
lea eax, [edx + eax*4]
mov ebx, dword [eax + edi]
add ebx, edi
cmp ebx, esi
jb 0x466ad9
mov ecx, dword [ecx + 0x7c]
add ecx, esi
cmp ebx, ecx
ja 0x466ad9
xor ecx, ecx
cmp byte [ebx], cl
mov eax, ebx
je 0x466a6e
add eax, 1
add ecx, 1
cmp byte [eax], 0
jne 0x466a63
lea esi, [ecx + 1]
xor edi, edi
test esi, esi
jbe 0x466a82
push esi
call fcn.0045e460
add esp, 4
mov edi, eax
push esi
push ebx
push edi
call fcn.0045e3f0
add esp, 0xc
cmp byte [edi], 0
mov esi, edi
je 0x466aa1
cmp byte [esi], 0x2e
je 0x466ab2
add esi, 1
cmp byte [esi], 0
jne 0x466a94
push edi
call fcn.0045e5b0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push edi
mov byte [esi], 0
call dword [0x100880dc]
add esi, 1
push esi
push eax
call fcn.004669b0
push edi
mov esi, eax
call fcn.0045e5b0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x486b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov dx, word [eax]
shr dx, 1
push esi
movzx esi, dx
xor ecx, ecx
test si, si
push edi
mov word [esp + 8], 0x5c
mov word [esp + 0xa], 0x2f
mov word [esp + 0xc], 0x3a
mov word [esp + 0xe], 0x2a
mov word [esp + 0x10], 0x3f
mov word [esp + 0x12], 0x22
mov word [esp + 0x14], 0x3c
mov word [esp + 0x16], 0x3e
mov word [esp + 0x18], 0x7c
jbe 0x486bc7
mov edi, dword [eax + 4]
jmp 0x486ba0
movzx edx, cx
movzx edx, word [edi + edx*2]
xor eax, eax
lea esp, [esp]
cmp dx, word [esp + eax*2 + 8]
je 0x486bd2
add eax, 1
cmp eax, 9
jb 0x486bb0
add ecx, 1
cmp cx, si
jb 0x486ba0
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x54465b61
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5f742dc
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x406a94
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00408d3c
test esi, esi
jne 0x406aca
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00408ec4
jmp 0x406ae8
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00406978
mov edi, eax
test esi, esi
je 0x406ae8
cmp dword [ebx], 0
je 0x406ae8
dec esi
jmp 0x406ad1
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x406af4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4e8008], 0x8088405
inc edx
mov dword [ebx + 0x4e8008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x407da4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00408034
mov byte [esp], al
cmp byte [esp], 0
jne 0x407f24
test edi, edi
je 0x407f24
mov byte [esp + 1], 0
test ebp, ebp
jle 0x407e64
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x407e3f
cmp edi, 0xffffffff
je 0x407e03
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x407e03
mov byte [esp], 0
jmp 0x407f24
mov ebx, dword [esi]
cmp ebx, 1
jg 0x407e3f
test ebx, ebx
jne 0x407e35
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x407e35
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x407f24
call 0x408074
dec ebp
test ebp, ebp
jg 0x407de8
cmp edi, 0xffffffff
je 0x407e64
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x407e62
mov byte [esp], 0
jmp 0x407f24
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x407db2
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x407e64
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00407f90
mov edx, eax
mov ebx, dword [0x5b78f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x407ec8
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x407ec6
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x407ec8
xor edi, edi
cmp byte [esp], 0
je 0x407eee
mov ebx, dword [esi]
test bl, 1
jne 0x407f04
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x407ece
mov byte [esp + 1], 1
jmp 0x407f04
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x407eee
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x407e7b
cmp byte [esp], 0
je 0x407f24
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x408aa4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5b7058], 0
je 0x408b0b
cmp word [0x5b7344], 0xd7b2
jne 0x408acd
cmp dword [0x5b734c], 0
jbe 0x408acd
mov eax, 0x5b7340
call dword [0x5b735c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x408b38
call fcn.0040956c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e8032], 0
jne 0x408b27
push 0
push 0x4e89ba
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40b440
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40b5a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408d3c
cmp si, word [0x4e89f8]
jb 0x40b4d8
cmp si, word [0x4e8bf8]
ja 0x40b4d8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40b4d8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4e89f8]
jae 0x40b4b2
mov edi, ebx
dec edi
jmp 0x40b4d3
cmp si, word [ebx*8 + 0x4e89f8]
jbe 0x40b4c2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40b4d3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4e89fc]
call fcn.0040b360
jmp 0x40b4d8
cmp edi, dword [ebp - 8]
jae 0x40b49c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40b587
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40b587
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004099d4
push dword [ebp - 0x160]
push 0x40b5c0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004099d4
push dword [ebp - 0x164]
push 0x40b5d0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004099d4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00409c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b5ac
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00408d9c
ret
Function at 0x40ba8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408e20
xor eax, eax
push ebp
push 0x40bcb1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40bacc
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40bae6
mov eax, dword [ebp - 4]
call fcn.00409930
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040b2c0
cmp word [ebp - 0x21a], 0
je 0x40bc9b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40bcc0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40bbb5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40bcc0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40bbb5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40bcfc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40bbb5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40bcfc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40bbb5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40bd30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40bbb5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40bd64
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40bc9b
xor eax, eax
push ebp
push 0x40bc94
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040b89c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40bc24
mov eax, dword [ebp - 0x10]
call fcn.004066d4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00409998
jmp 0x40bc6f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40bda4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40bc6f
mov eax, dword [ebp - 0x10]
call fcn.004066d4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40bda4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00409998
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc9b
cmp dword [ebp - 8], 0
je 0x40bc8a
mov eax, dword [ebp - 8]
call fcn.004066f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcb8
lea eax, [ebp - 4]
call fcn.00408d3c
ret
Function at 0x40bfa0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408e20
xor eax, eax
push ebp
push 0x40c060
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004099d4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409b84
mov eax, dword [ebx]
call fcn.0040be68
test al, al
jne 0x40c03d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004099d4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409b84
mov eax, dword [ebx]
call fcn.0040be68
test al, al
jne 0x40c03d
mov eax, ebx
call fcn.00408d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c067
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408d9c
lea eax, [ebp - 4]
call fcn.00408d3c
ret

Function at 0x41c6fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41c755
test eax, edx
je 0x41c758
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41c713
movzx eax, word [eax]
sub eax, ecx
jmp 0x41c73a
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41c73b
add ecx, 4
js 0x41c72b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41c738
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41c73a
xor eax, eax
ret
test eax, eax
je 0x41c764
test edx, edx
jne 0x41c704
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41d8f8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x41d925
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x421454
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x42148d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408ec4
jmp 0x421496
mov eax, ebx
mov edx, esi
call fcn.0040911c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4