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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4010b0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
and ecx, 0xffff
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4010f9
pop edi
pop esi
pop ebx
pop ecx
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x1c]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40112e
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
lea eax, [esp + 0xc]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, edi
pop edi
pop esi
pop ebx
sete al
pop ecx
ret

Function at 0x401160
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4026ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push 0x40443c
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_2
mov ebp, dword [esp + 0x2c]
push 0
push ebp
mov dword [esp + 0x28], 1
mov dword [esp + 0x14], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x401221
push edi
push esi
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x401217
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x40400c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401217
mov eax, dword [esp + 0x14]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
lea ecx, [esp + 0x1c]
push section..data
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
mov esi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0040238a
mov dword [esp + 0x14], 1
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x402410
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x403288
call fcn.00402624
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x400000], 0x5a4d
jne 0x402463
mov eax, dword [0x40003c]
lea eax, [eax + 0x400000]
cmp dword [eax], 0x4550
jne 0x402463
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x40247b
cmp ecx, 0x20b
je 0x402468
mov dword [ebp - 0x1c], ebx
jmp 0x40248f
cmp dword [eax + 0x84], 0xe
jbe 0x402463
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x402489
cmp dword [eax + 0x74], 0xe
jbe 0x402463
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x404460], edi
mov dword [0x404464], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x404454]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x404450]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40445c], eax
call fcn.0040261e
cmp dword [0x404370], ebx
jne 0x4024ec
push fcn.0040261e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0040260c
push 0x4031a0
push 0x40319c
call sub.msvcrt.dll__initterm
mov eax, dword [0x40444c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x404448]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x403198
push 0x40318c
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x402577
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x402557
cmp cl, 0x22
jne 0x402548
cmp byte [eax], 0x22
jne 0x402560
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x40256b
cmp cl, 0x20
jbe 0x40255c
test byte [ebp - 0x54], 1
je 0x402582
movzx ecx, word [ebp - 0x50]
jmp 0x402585
cmp byte [eax], 0x20
jbe 0x402560
inc eax
mov dword [ebp - 0x20], eax
jmp 0x402577
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call fcn.0040268e
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x4025a3
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x4025df
mov eax, esi
jmp 0x4025f3
call fcn.0040265f
ret
Function at 0x71ac50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x205000]
push edi
or ebp, 0xffffffff
jmp 0x71ac72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x71ac79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71ac68
mov eax, 1
add ebx, ebx
jne 0x71ac8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x71ac9c
jne 0x71acbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71acbb
dec eax
add ebx, ebx
jne 0x71aca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x71ac80
add ebx, ebx
jne 0x71acb7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x71ad0d
xor ecx, ecx
sub eax, 3
jb 0x71acd3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x71ad42
sar eax, 1
mov ebp, eax
jmp 0x71acde
add ebx, ebx
jne 0x71acde
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71acac
inc ecx
add ebx, ebx
jne 0x71acec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71acac
add ebx, ebx
jne 0x71acf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x71acee
jne 0x71ad0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x71acee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x71ad2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x71ad1e
jmp 0x71ac6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x71ad2c
add edi, ecx
jmp 0x71ac6e
pop esi
mov edi, esi
mov ecx, 0x688e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x71ad4a
cmp byte [edi], 0xe
jne 0x71ad4a
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 0x71ad4f
lea edi, [esi + 0x311000]
mov eax, dword [edi]
or eax, eax
je 0x71adc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31eb64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31eca4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x71ad7c
mov ecx, edi
jns 0x71adab
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 + 0x31eca8]
or eax, eax
je 0x71adc1
mov dword [ebx], eax
add ebx, 4
jmp 0x71ad99
call dword [esi + 0x31ecb8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x71adf8
cmp al, 0xef
ja 0x71adeb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x71adcd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x71adda
mov ebp, dword [esi + 0x31ecac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x71ae2c
sub esp, 0xffffff80
jmp 0x4abac3
Function at 0x4058e4
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.00405cdc
mov byte [esp], al
cmp byte [esp], 0
jne 0x405a70
test edi, edi
je 0x405a70
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4059a7
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405982
cmp edi, 0xffffffff
je 0x405943
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405943
mov byte [esp], 0
jmp 0x405a70
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405982
test ebx, ebx
jne 0x405978
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402770
test eax, eax
jne 0x405978
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405a70
call 0x405e00
dec ebp
test ebp, ebp
jg 0x405928
cmp edi, 0xffffffff
je 0x4059a7
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4059a5
mov byte [esp], 0
jmp 0x405a70
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4058f2
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402770
cmp ebx, eax
jne 0x4059a7
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405ae0
mov edx, eax
mov ebx, dword [0x51f8f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405a0e
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405a0c
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405a0e
xor edi, edi
cmp byte [esp], 0
je 0x405a37
mov ebx, dword [esi]
test bl, 1
jne 0x405a50
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402770
cmp ebx, eax
jne 0x405a14
mov byte [esp + 1], 1
jmp 0x405a50
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402770
cmp ebx, eax
jne 0x405a37
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4059c1
cmp byte [esp], 0
je 0x405a70
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 0x406800
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51f058], 0
je 0x406867
cmp word [0x51f344], 0xd7b2
jne 0x406829
cmp dword [0x51f34c], 0
jbe 0x406829
mov eax, 0x51f340
call dword [0x51f35c]
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, 0x406894
call fcn.004073d0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x51a032], 0
jne 0x406883
push 0
push 0x51a9c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406a24
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 [0x51a034], 0
je 0x406a4f
mov edx, edi
mov eax, esi
call dword [0x51a034]
mov ebx, eax
jmp 0x406a60
mov eax, 8
call fcn.004044ec
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x51f059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4069ec
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 0x406a95
mov edx, 8
mov eax, ebx
call fcn.00404508
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x408f7c
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 0x4090e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406b68
cmp si, word [0x51aa00]
jb 0x409014
cmp si, word [0x51ac00]
ja 0x409014
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409014
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x51aa00]
jae 0x408fee
mov edi, ebx
dec edi
jmp 0x40900f
cmp si, word [ebx*8 + 0x51aa00]
jbe 0x408ffe
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40900f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x51aa04]
call fcn.00408e8c
jmp 0x409014
cmp edi, dword [ebp - 8]
jae 0x408fd8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4090c3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4090c3
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.00407744
push dword [ebp - 0x160]
push 0x4090fc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407744
push dword [ebp - 0x164]
push 0x40910c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407744
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040797c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4090e8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406bc8
ret
Function at 0x409294
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 0x409397
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x521b88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x521ba0]
jne 0x4092e0
mov eax, esi
mov edx, 0x521ba2
mov ecx, 0x55
call fcn.00407744
push 0x521b88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409381
push 0x521b88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406b68
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40934f
cmp byte [0x521b84], 0
je 0x409314
mov edx, esi
mov eax, ebx
call fcn.00409178
jmp 0x40934f
mov edx, esi
mov eax, ebx
call fcn.00408f7c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40934f
cmp dword [esi], 0
je 0x409338
mov eax, esi
mov edx, 0x4093b0
call fcn.0040789c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408f7c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040789c
push 0x521b88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x521ba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.004076b0
push eax
push 0x521ba2
call sub.kernel32.dll_lstrcpynW
push 0x521b88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40939e
lea eax, [ebp - 4]
call fcn.00406b68
ret
Function at 0x409ad4
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.00406c4c
xor eax, eax
push ebp
push 0x409b94
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.00407744
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004078f4
mov eax, dword [ebx]
call fcn.0040999c
test al, al
jne 0x409b71
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407744
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004078f4
mov eax, dword [ebx]
call fcn.0040999c
test al, al
jne 0x409b71
mov eax, ebx
call fcn.00406b68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409b9b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406bc8
lea eax, [ebp - 4]
call fcn.00406b68
ret

Function at 0x41d9cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41da25
test eax, edx
je 0x41da28
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d9e3
movzx eax, word [eax]
sub eax, ecx
jmp 0x41da0a
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 0x41da0b
add ecx, 4
js 0x41d9fb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41da08
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41da0a
xor eax, eax
ret
test eax, eax
je 0x41da34
test edx, edx
jne 0x41d9d4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41e0a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41e0c0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41e0c8
mov al, 1
jmp 0x41e0e5
movzx esi, word [ebp]
mov eax, esi
call fcn.0040f218
test al, al
jne 0x41e0e1
cmp si, 0x5f
je 0x41e0e1
xor eax, eax
jmp 0x41e0e3
mov al, 1
xor al, 1
test al, al
jne 0x41e175
test bl, bl
je 0x41e135
mov eax, ebp
test eax, eax
je 0x41e0fc
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41e171
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040f2a4
test al, al
jne 0x41e129
cmp di, 0x5f
je 0x41e129
cmp di, 0x2e
je 0x41e129
xor eax, eax
jmp 0x41e12b
mov al, 1
test al, al
je 0x41e175
inc esi
dec ebx
jne 0x41e109
jmp 0x41e171
mov eax, ebp
test eax, eax
je 0x41e140
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41e171
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040f2a4
test al, al
jne 0x41e167
cmp di, 0x5f
je 0x41e167
xor eax, eax
jmp 0x41e169
mov al, 1
test al, al
je 0x41e175
inc esi
dec ebx
jne 0x41e14d
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4229c4
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 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4229fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406cf0
jmp 0x422a06
mov eax, ebx
mov edx, esi
call fcn.00406f48
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422a10
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x422a32
movzx eax, word [esp]
jmp 0x422a34
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret