joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10121c30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c4
mov eax, dword [0x103680b4]
xor eax, esp
mov dword [esp + 0x1c0], eax
cmp byte [0x10370e84], 0
push ebx
mov ebx, dword [esp + 0x1cc]
mov dword [esp + 0x10], ebx
jne 0x10121c69
call fcn.1019cb00
test eax, eax
je 0x10121c81
mov byte [0x10370e84], 1
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100ff9df
add esp, 0x1c4
ret
mov eax, dword [ebx + 0x9f8]
test eax, eax
je 0x10121ca2
push 0x400
push eax
call fcn.1019d7c0
add esp, 8
call fcn.1019cb00
test eax, eax
jne 0x10121c69
push ebp
push esi
push edi
nop word [eax + eax]
mov ebx, 2
mov dword [esp + 0x18], 4
lea eax, [esp + 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
nop dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.1010f570
push 0
push 1
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x3c], xmm0
movups xmmword [esp + 0x2c], xmm0
call fcn.10118c10
lea eax, [esp + 0x5c]
push eax
call fcn.1010f570
mov esi, dword [eax + 8]
lea eax, [esp + 0x70]
push eax
call fcn.1010f570
add esp, 0x14
lea ebp, [ebx + 1]
mov ecx, eax
mov eax, esi
cdq
push 0
add eax, dword [ecx]
push ebp
adc edx, dword [ecx + 4]
push edx
push eax
call fcn.10100910
movups xmm1, xmmword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, eax
mov ebx, edx
dec esi
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 4
movd ecx, xmm0
shld ebx, edi, 8
push ecx
push eax
push 0
push esi
shl edi, 8
call fcn.10100910
xor edi, eax
xor ebx, edx
lea eax, [esp + 0x70]
mov dword [esp + 0x20], edi
push eax
mov dword [esp + 0x28], ebx
call fcn.1010f570
lea esi, [eax + 8]
lea eax, [esp + 0x84]
push eax
call fcn.1010f570
mov edx, dword [esp + 0x18]
add esp, 8
mov ebx, ebp
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
add ecx, dword [esi]
lea eax, [edx + 2]
imul edx, dword [esp + 0x28]
imul ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 0x10
xor ecx, edx
mov dword [esp + 0x28], ecx
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
jne 0x10121cd0
movsd xmm0, qword [0x102a9170]
lea eax, [esp + 0x90]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.1019c930
add esp, 0x10
call fcn.1019cb00
test eax, eax
je 0x10121cb0
lea eax, [esp + 0xd0]
mov byte [esp + 0xd0], 0
push 0x100
push eax
call fcn.1019d600
add esp, 8
cmp byte [esp + 0xd0], 0
pop edi
pop esi
pop ebp
je 0x10121e34
lea eax, [esp + 0xc4]
push 0x400
push eax
call fcn.1019d7c0
add esp, 8
call fcn.1019cb00
test eax, eax
jne 0x10121c69
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [esp + 0x14]
call fcn.10118df0
add esp, 8
call fcn.1019cb00
mov ecx, dword [esp + 0x1c4]
neg eax
pop ebx
sbb eax, eax
xor ecx, esp
and eax, 0xffffffdd
add eax, 0x23
call fcn.100ff9df
add esp, 0x1c4
ret
Function at 0x10126d20
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x102a9178
push 0x2d
lea esi, [ebp + 1]
push esi
push ebp
call fcn.10109700
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10126d7d
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x10126d9b
cmp esi, ebx
je 0x10126d9b
cmp esi, 0x8000
ja 0x10126d9b
cmp esi, ebx
jb 0x10126d94
push 0x102a9178
push 0x2d
push esi
push edi
call fcn.10109700
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10126d40
push 0x102a9178
push 0x2f
push ebp
call fcn.10109590
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x102a9178
push 0x3a
push edi
call fcn.10109590
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x101ffd60
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x101ffd74
mov dword [esp + 0x18], fcn.101fe540
jmp fcn.101f78a0
mov dword [esp + 0x18], fcn.101fd7e0
jmp fcn.101f75a0
Function at 0x102568eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1028dded
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1028dc6c

Function at 0x10291a70
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10291730

Function at 0x430f40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
jmp 0x430f5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x430f61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x430f50
mov eax, 1
add ebx, ebx
jne 0x430f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x430f68
jne 0x430f84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430f68
xor ecx, ecx
sub eax, 3
jb 0x430f98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43100a
mov ebp, eax
add ebx, ebx
jne 0x430fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x430fb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x430fd4
inc ecx
add ebx, ebx
jne 0x430fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x430fb5
jne 0x430fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430fb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x430ff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x430fe5
jmp 0x430f56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x430ff4
add edi, ecx
jmp 0x430f56
pop esi
mov edi, esi
mov ecx, 0x35f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x431012
cmp byte [edi], 6
jne 0x431012
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 0x431017
lea edi, [esi + 0x2e000]
mov eax, dword [edi]
or eax, eax
je 0x43108f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31fcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x32008]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x431044
mov ecx, edi
jns 0x431073
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 + 0x32010]
or eax, eax
je 0x431089
mov dword [ebx], eax
add ebx, 4
jmp 0x431061
call dword [esi + 0x3200c]
mov ebp, dword [esi + 0x32014]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4310c3
sub esp, 0xffffff80
jmp 0x403670
Function at 0x4d6490
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4d649b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x4d6597
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x4d64c0
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1001ea30]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1001ea30]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x1001ea30]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1001ea30]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1001ea30]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1001ea30]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1001ea30]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1001ea30]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x4d64c0
pop ebp
test edi, edi
je 0x4d65bc
jmp 0x4d65a0
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x1001ea30]
add ecx, 1
sub edi, 1
jne 0x4d65a0
mov eax, esi
pop edi
not eax
pop esi
ret
Function at 0x4e35f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1001b44c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10023dc8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx]
mov dword [ebp], eax
mov ecx, dword [ebx + 4]
mov dword [ebp + 4], ecx
mov edx, dword [ebx + 8]
mov dword [ebp + 8], edx
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
xor esi, esi
lea eax, [ebx + 0x10]
push esi
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], esi
push eax
mov byte [ecx + 4], 0
call fcn.004deb20
mov ecx, dword [ebx + 0x2c]
mov dword [ebp + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [ebp + 0x30]
lea eax, [ebx + 0x30]
push esi
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], esi
push eax
mov dword [esp + 0x2c], esi
mov byte [ecx + 4], 0
call fcn.004deb20
mov edx, dword [ebx + 0x4c]
push 0xffffffffffffffff
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x4c], edx
lea eax, [ebx + 0x50]
push esi
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], esi
push eax
mov byte [esp + 0x2c], 1
mov byte [ecx + 4], 0
call fcn.004deb20
mov eax, dword [ebx + 0x6c]
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebx + 0x70]
mov dword [ebp + 0x70], ecx
mov edx, dword [ebx + 0x74]
lea esi, [ebx + 0x78]
lea edi, [ebp + 0x78]
mov ecx, 0x18
mov dword [ebp + 0x74], edx
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
lea ecx, [ebp + 0xd8]
lea eax, [ebx + 0xd8]
push 0
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [esp + 0x2c], 3
mov byte [ecx + 4], 0
call fcn.004deb20
mov eax, dword [ebx + 0xf4]
mov dword [ebp + 0xf4], eax
mov ecx, dword [ebx + 0xf8]
mov dword [ebp + 0xf8], ecx
mov edx, dword [ebx + 0xfc]
mov dword [ebp + 0xfc], edx
lea esi, [ebx + 0x100]
lea edi, [ebp + 0x100]
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x160]
mov dword [ebp + 0x160], eax
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x409490
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00409950
mov byte [esp], al
cmp byte [esp], 0
jne 0x409619
test edi, edi
je 0x409619
mov byte [esp + 1], 0
test ebp, ebp
jle 0x409559
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x409534
cmp edi, 0xffffffff
je 0x4094f5
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4094f5
mov byte [esp], 0
jmp 0x409619
cmp dword [esi], 1
jg 0x409534
cmp dword [esi], 0
jne 0x409526
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x409526
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x409619
lea eax, [esp + 0xc]
call fcn.00409128
dec ebp
test ebp, ebp
jg 0x4094da
cmp edi, 0xffffffff
je 0x409559
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409557
mov byte [esp], 0
jmp 0x409619
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40949e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409559
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00409694
mov edx, eax
mov ebx, dword [0x4e78fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4095bd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4095bb
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4095bd
xor edi, edi
cmp byte [esp], 0
je 0x4095e3
mov ebx, dword [esi]
test bl, 1
jne 0x4095f9
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4095c3
mov byte [esp + 1], 1
jmp 0x4095f9
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4095e3
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x409570
cmp byte [esp], 0
je 0x409619
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40a4f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e7058], 0
je 0x40a557
cmp word [0x4e7348], 0xd7b2
jne 0x40a519
cmp dword [0x4e7350], 0
jbe 0x40a519
mov eax, 0x4e7344
call dword [0x4e7360]
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, 0x40a584
call fcn.0040b0c0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4df032], 0
jne 0x40a573
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a718
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4df034], 0
je 0x40a743
mov edx, edi
mov eax, esi
call dword [0x4df034]
mov ebx, eax
jmp 0x40a754
mov eax, 8
call fcn.00406e18
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4e7059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a6e0
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40a784
mov eax, ebx
call fcn.00406e34
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40e2e8
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 0x40e44f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a858
cmp si, word [0x4dfa10]
jb 0x40e380
cmp si, word [0x4dfc10]
ja 0x40e380
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40e380
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4dfa10]
jae 0x40e35a
mov edi, ebx
dec edi
jmp 0x40e37b
cmp si, word [ebx*8 + 0x4dfa10]
jbe 0x40e36a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40e37b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4dfa14]
call fcn.0040e208
jmp 0x40e380
cmp edi, dword [ebp - 8]
jae 0x40e344
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40e42f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e42f
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.0040b3ac
push dword [ebp - 0x160]
push 0x40e46c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b3ac
push dword [ebp - 0x164]
push 0x40e47c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b3ac
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b5e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e456
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a8b8
pop eax
jmp eax
Function at 0x40e604
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e70a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e9c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4e9c2c]
jne 0x40e650
mov eax, esi
mov edx, 0x4e9c2e
mov ecx, 0x55
call fcn.0040b3ac
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40e6f2
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a858
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e6bf
cmp byte [0x4e9c10], 0
je 0x40e684
mov edx, esi
mov eax, ebx
call fcn.0040e4e8
jmp 0x40e6bf
mov edx, esi
mov eax, ebx
call fcn.0040e2e8
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40e6bf
cmp dword [esi], 0
je 0x40e6a8
mov eax, esi
mov edx, 0x40e724
call fcn.0040b508
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040e2e8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b508
push 0x4e9c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4e9c2c], bx
mov eax, dword [esi]
call fcn.0040b310
mov ecx, eax
mov eax, 0x4e9c2e
mov edx, 0xaa
call fcn.0040e168
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e711
lea eax, [ebp - 4]
call fcn.0040a858
pop eax
jmp eax
Function at 0x40e94c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a94c
xor eax, eax
push ebp
push 0x40eb74
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e992
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e9ac
mov eax, dword [ebp - 4]
call fcn.0040b310
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040e168
cmp word [ebp - 0x21e], 0
je 0x40eb57
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40eb84
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ea7b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40eb84
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ea7b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ebc0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ea7b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ebc0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ea7b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ebf4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ea7b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40ec28
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40eb57
xor eax, eax
push ebp
push 0x40eb50
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040e74c
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40eade
mov eax, dword [ebp - 0x14]
call fcn.00406e18
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040b370
jmp 0x40eb29
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40ec68
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40eb29
mov eax, dword [ebp - 0x14]
call fcn.00406e18
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40ec68
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040b370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb57
cmp dword [ebp - 0xc], 0
je 0x40eb44
mov eax, dword [ebp - 0xc]
call fcn.00406e34
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb7b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a8b8
pop eax
jmp eax
Function at 0x40ee84
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.0040a94c
xor eax, eax
push ebp
push 0x40ef46
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.0040b3ac
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b560
mov eax, dword [ebx]
call fcn.0040ed30
test al, al
jne 0x40ef21
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b3ac
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b560
mov eax, dword [ebx]
call fcn.0040ed30
test al, al
jne 0x40ef21
mov eax, ebx
call fcn.0040a858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef4d
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a8b8
lea eax, [ebp - 4]
call fcn.0040a858
pop eax
jmp eax

Function at 0x410aa8
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret