joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5df29e76
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x5df29e98
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5df29e98
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5df29e98
ret
cmp word [ebx + 4], 0x14c
jne 0x5df29e98
test word [ebx + 0x16], 2
je 0x5df29e98
test word [ebx + 0x16], 0x100
je 0x5df29e98
cmp word [ebx + 0x18], 0x10b
jne 0x5df29e98
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5df29e98
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5df29f24
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5df29eb8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5df10e03
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5df29e98
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x5df29f24
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x5df29e98
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5df29e98
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5df29e98
ret
cmp word [ebx + 4], 0x14c
jne 0x5df29e98
test word [ebx + 0x16], 2
je 0x5df29e98
test word [ebx + 0x16], 0x100
je 0x5df29e98
cmp word [ebx + 0x18], 0x10b
jne 0x5df29e98
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5df29e98
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5df29f24
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5df29eb8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5df10e03
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5df29e98
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x5df29fdb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5df2a034
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5df29fdb
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5df29fea
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5e32fc8d
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5df2a03b
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5df10eb1
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5df2a0da
add edi, 4
add eax, 2
dec ecx
jne 0x5df2a020
call 0x5df2a087
loope 0x5df2a07d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5df2a0d7
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5df2a0e8
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5df2a09b
cmp eax, ecx
ja 0x5df2a09b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5df2a125
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5df2a11b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5df11390
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x5df29fea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5df2a034
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5df29fdb
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5df29fea
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5e32fc8d
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5df2a03b
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5df10eb1
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5df2a0da
add edi, 4
add eax, 2
dec ecx
jne 0x5df2a020
call 0x5df2a087
loope 0x5df2a07d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5df2a0d7
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5df2a0e8
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5df2a09b
cmp eax, ecx
ja 0x5df2a09b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5df2a125
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5df2a11b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5df11390
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2a932dfe
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..didat
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x7d0a1753
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x5e155dc8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x7be56d91
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x406a26
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a4a
xor eax, eax
test eax, eax
je 0x406a5d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a5d
xor ecx, ecx
jmp 0x406a60
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b83
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406bba
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b94
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b8f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406beb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bcd
pop edi
not eax
pop esi
ret 0xc

Function at 0xee8638
Capabilities:
Encode data using xor

Disassembly:
jmp 0xee8642
or eax, dword [eax]
add byte [eax], al
add byte [eax], al
pushal
call 0xee8648
pop ebp
sub ebp, 0x10
sub ebp, 0xae8638
jmp 0xee865e
mov eax, 0xae8638
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c8
mov edx, 0x36a75e94
xor byte [eax], dl
inc eax
dec ecx
jne 0xee8675
jmp 0xee8688
pop ds
pop ecx
pop ds
sbb eax, 0x949494a8
adc eax, 0x94946c55
xchg esp, eax
xchg edi, eax
pop ecx
sub al, 0x91
xchg esp, eax
xchg esp, eax
xchg esp, eax
mov esp, 0x63949494
jbe 0xee863c
pop esp
pop ds
adc eax, 0x94949498
xchg edi, eax
push ecx
les ebx, [ecx]
invalid
Function at 0x405b08
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.00407ff0
test esi, esi
jne 0x405b3e
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.00408188
jmp 0x405b5c
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004059e8
mov edi, eax
test esi, esi
je 0x405b5c
cmp dword [ebx], 0
je 0x405b5c
dec esi
jmp 0x405b45
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x406c28
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.004070e8
mov byte [esp], al
cmp byte [esp], 0
jne 0x406db1
test edi, edi
je 0x406db1
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406cf1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x406ccc
cmp edi, 0xffffffff
je 0x406c8d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406c8d
mov byte [esp], 0
jmp 0x406db1
cmp dword [esi], 1
jg 0x406ccc
cmp dword [esi], 0
jne 0x406cbe
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x406cbe
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406db1
lea eax, [esp + 0xc]
call fcn.004068e4
dec ebp
test ebp, ebp
jg 0x406c72
cmp edi, 0xffffffff
je 0x406cf1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406cef
mov byte [esp], 0
jmp 0x406db1
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x406c36
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406cf1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00406e2c
mov edx, eax
mov ebx, dword [0x4b68fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406d55
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406d53
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406d55
xor edi, edi
cmp byte [esp], 0
je 0x406d7b
mov ebx, dword [esi]
test bl, 1
jne 0x406d91
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406d5b
mov byte [esp + 1], 1
jmp 0x406d91
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406d7b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x406d08
cmp byte [esp], 0
je 0x406db1
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 0x407c88
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b6058], 0
je 0x407cef
cmp word [0x4b6348], 0xd7b2
jne 0x407cb1
cmp dword [0x4b6350], 0
jbe 0x407cb1
mov eax, 0x4b6344
call dword [0x4b6360]
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, 0x407d1c
call fcn.00408804
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b2032], 0
jne 0x407d0b
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x407eb0
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 [0x4b2034], 0
je 0x407edb
mov edx, edi
mov eax, esi
call dword [0x4b2034]
mov ebx, eax
jmp 0x407eec
mov eax, 8
call fcn.004053b8
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4b6059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x407e78
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 0x407f1c
mov eax, ebx
call fcn.004053d4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40b9b0
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 0x40bb17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407ff0
cmp si, word [0x4b2a08]
jb 0x40ba48
cmp si, word [0x4b2c08]
ja 0x40ba48
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40ba48
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4b2a08]
jae 0x40ba22
mov edi, ebx
dec edi
jmp 0x40ba43
cmp si, word [ebx*8 + 0x4b2a08]
jbe 0x40ba32
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40ba43
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4b2a0c]
call fcn.0040b8d0
jmp 0x40ba48
cmp edi, dword [ebp - 8]
jae 0x40ba0c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40baf7
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40baf7
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.00408af0
push dword [ebp - 0x160]
push 0x40bb34
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00408af0
push dword [ebp - 0x164]
push 0x40bb44
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00408af0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00408d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb1e
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00408050
pop eax
jmp eax
Function at 0x40bccc
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 0x40bdd2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b8c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4b8c2c]
jne 0x40bd18
mov eax, esi
mov edx, 0x4b8c2e
mov ecx, 0x55
call fcn.00408af0
push 0x4b8c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40bdba
push 0x4b8c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00407ff0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bd87
cmp byte [0x4b8c10], 0
je 0x40bd4c
mov edx, esi
mov eax, ebx
call fcn.0040bbb0
jmp 0x40bd87
mov edx, esi
mov eax, ebx
call fcn.0040b9b0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40bd87
cmp dword [esi], 0
je 0x40bd70
mov eax, esi
mov edx, 0x40bdec
call fcn.00408c4c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040b9b0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00408c4c
push 0x4b8c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4b8c2c], bx
mov eax, dword [esi]
call fcn.00408a54
mov ecx, eax
mov eax, 0x4b8c2e
mov edx, 0xaa
call fcn.0040b830
push 0x4b8c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdd9
lea eax, [ebp - 4]
call fcn.00407ff0
pop eax
jmp eax
Function at 0x40c014
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.004080e4
xor eax, eax
push ebp
push 0x40c23c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40c05a
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40c074
mov eax, dword [ebp - 4]
call fcn.00408a54
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040b830
cmp word [ebp - 0x21e], 0
je 0x40c21f
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c24c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c143
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c24c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c143
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c288
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c143
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c288
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c143
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c2bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c143
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40c2f0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40c21f
xor eax, eax
push ebp
push 0x40c218
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040be14
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 0x40c1a6
mov eax, dword [ebp - 0x14]
call fcn.004053b8
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.00408ab4
jmp 0x40c1f1
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40c330
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40c1f1
mov eax, dword [ebp - 0x14]
call fcn.004053b8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40c330
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00408ab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c21f
cmp dword [ebp - 0xc], 0
je 0x40c20c
mov eax, dword [ebp - 0xc]
call fcn.004053d4
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 0x40c243
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408050
pop eax
jmp eax
Function at 0x40c54c
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.004080e4
xor eax, eax
push ebp
push 0x40c60e
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.00408af0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408ca4
mov eax, dword [ebx]
call fcn.0040c3f8
test al, al
jne 0x40c5e9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00408af0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408ca4
mov eax, dword [ebx]
call fcn.0040c3f8
test al, al
jne 0x40c5e9
mov eax, ebx
call fcn.00407ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c615
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408050
lea eax, [ebp - 4]
call fcn.00407ff0
pop eax
jmp eax

Function at 0x40de9c
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

Function at 0x41c9fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41ca55
test eax, edx
je 0x41ca58
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41ca13
movzx eax, word [eax]
sub eax, ecx
jmp 0x41ca3a
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x41ca3b
add ecx, 4
js 0x41ca2b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41ca38
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41ca3a
xor eax, eax
ret
test eax, eax
je 0x41ca64
test edx, edx
jne 0x41ca04
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x422760
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
test eax, eax
jle 0x422799
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408188
jmp 0x4227a2
mov eax, ebx
mov edx, esi
call fcn.004083e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4227ac
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4227d0
movzx eax, word [esp]
jmp 0x4227d2
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret