joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401dc0
Capabilities:
Access peb ldr_data
Check mutex on windows
Create thread
Get file size
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x30]
push 0xf0000000
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax + 0x14]
push 0
mov eax, dword [eax + 0x20]
push 0
push 0x405438
mov dword [0x405434], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401e2c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [0x405434]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e89
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401e89
push 0
lea eax, [esp + 0x20]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401e89
push dword [esp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.00401530
push str.Global3pc6RWOgectGTFqCowxjeGy3XIGPtLwNrsr2zDctYD4hAU5pj4GW7rm8gHrHyTB6
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401ebe
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401d80
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401cd0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401bb0
push 0
push 0
call esi
push 0x400
lea eax, [esp + 0x24]
push eax
push str.userprofile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [sym.imp.ntdll.dll_NtDelayExecution]
mov dword [esp + 0x10], 0x4d2fa200
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a90
lea eax, [esp + 0x10]
push eax
push 0
call esi
jmp 0x401f22

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

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

Function at 0x424114
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42411a
ret
Function at 0x40afc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov cl, byte [edx]
or eax, 0xffffffff
test cl, cl
je 0x40aff4
push esi
movzx ecx, cl
push 7
xor eax, ecx
pop ecx
mov esi, eax
and esi, 1
neg esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec ecx
jns 0x40afd8
inc edx
mov cl, byte [edx]
test cl, cl
jne 0x40afd0
pop esi
not eax
pop ebp
ret
Function at 0x412ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 4], 0
je 0x412f0e
push edi
xor edi, edi
cmp dword [ecx + 0x3cc], edi
jle 0x412f0d
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub esi, eax
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
inc edi
cmp edi, dword [ecx + 0x3cc]
jl 0x412efd
pop esi
pop edi
pop ebp
ret 8
Function at 0x41537a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov eax, ecx
lea ebx, [eax + 0x4c]
push 8
pop ecx
mov esi, ebx
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov word [ebp - 9], 0x66
mov byte [ebp - 0x11], 0x37
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0xa], 0x65
mov dword [ebp - 0x10], 0x62613938
mov word [ebp - 0xc], 0x6463
mov dword [ebp - 0x15], 0x36353433
mov word [ebp - 0x17], 0x3231
call fcn.004151ed
push 0xf
xor eax, eax
xor edx, edx
mov edi, ebx
pop esi
mov ecx, dword [edi]
mov ebx, ecx
shr ebx, 0x1c
mov bl, byte [ebp + ebx - 0x18]
mov byte [ebp + eax - 0x7c], bl
mov ebx, ecx
shr ebx, 0x18
and ebx, esi
mov bl, byte [ebp + ebx - 0x18]
mov byte [ebp + eax - 0x7b], bl
mov ebx, ecx
shr ebx, 0x14
and ebx, esi
mov bl, byte [ebp + ebx - 0x18]
mov byte [ebp + eax - 0x7a], bl
mov ebx, ecx
shr ebx, 0x10
and ebx, esi
mov bl, byte [ebp + ebx - 0x18]
mov byte [ebp + eax - 0x79], bl
mov ebx, ecx
shr ebx, 0xc
and ebx, esi
mov bl, byte [ebp + ebx - 0x18]
mov byte [ebp + eax - 0x78], bl
mov ebx, ecx
shr ebx, 8
and ebx, esi
mov bl, byte [ebp + ebx - 0x18]
mov byte [ebp + eax - 0x77], bl
mov ebx, ecx
shr ebx, 4
and ebx, esi
mov bl, byte [ebp + ebx - 0x18]
and ecx, esi
mov cl, byte [ebp + ecx - 0x18]
mov byte [ebp + eax - 0x76], bl
mov byte [ebp + eax - 0x75], cl
mov ecx, dword [ebp + edx*4 - 0x38]
add eax, 8
mov dword [edi], ecx
inc edx
add edi, 4
cmp edx, 8
jl 0x4153d2
mov edi, dword [ebp + 8]
xor ecx, ecx
mov byte [ebp + eax - 0x7c], cl
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], esi
lea eax, [ebp - 0x7c]
mov byte [edi], cl
push eax
mov ecx, edi
call fcn.00407405
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x431bd8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], eax
inc esi
lea edx, [ecx + 8]
mov ebx, eax
shr ebx, 0x1e
xor eax, ebx
imul eax, dword [ebp + 0xc]
add eax, esi
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x270
jl 0x431be9
pop esi
mov dword [ecx], 0x270
pop ebx
pop ebp
ret 8

Function at 0x431c10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edx, [esi + 0x9c4]
mov dword [ebp - 4], 0xe3
mov ecx, SysReAllocString
mov edi, 0x9908b0df
lea eax, [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [eax]
xor eax, dword [edx]
and eax, ecx
xor eax, dword [edx]
mov ebx, eax
and bl, 1
movzx ebx, bl
neg ebx
sbb ebx, ebx
and ebx, edi
xor ebx, dword [edx + 0x634]
shr eax, 1
xor ebx, eax
dec dword [ebp - 4]
mov dword [edx - 0x9c0], ebx
mov edx, dword [ebp - 8]
jne 0x431c31
lea edx, [esi + 0xd50]
mov dword [ebp - 4], 0x18c
mov eax, dword [edx]
lea ebx, [edx + 4]
xor eax, dword [ebx]
mov dword [ebp - 8], ebx
and eax, ecx
xor eax, dword [edx]
mov ebx, eax
and bl, 1
movzx ebx, bl
neg ebx
sbb ebx, ebx
and ebx, edi
xor ebx, dword [edx - 0xd4c]
shr eax, 1
xor ebx, eax
dec dword [ebp - 4]
mov dword [edx - 0x9c0], ebx
mov edx, dword [ebp - 8]
jne 0x431c72
mov eax, dword [esi + 0x1380]
xor eax, dword [esi + 4]
and eax, ecx
xor eax, dword [esi + 0x1380]
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, edi
xor ecx, dword [esi + 0x634]
shr eax, 1
xor ecx, eax
mov dword [esi + 0x9c0], ecx
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431cdd
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
add ecx, 8
mov esi, 0x270
mov eax, dword [ecx - 4]
xor eax, dword [ecx]
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [ecx + 0x630]
shr eax, 1
xor edx, eax
mov dword [ecx + 0x9bc], edx
add ecx, 4
dec esi
jne 0x431ce6
pop esi
ret

Function at 0x4333e1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5c23f3
call fcn.005a5da4
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
call fcn.00433901
mov byte [esi + 0x24], bl
push 0x5e03a8
lea ecx, [esi + 0x34]
mov dword [ebp - 4], ebx
mov byte [esi + 0x25], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
call fcn.0040583b
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004333c0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x433cfb
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], 0x5eb268
call fcn.005a5e80
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret
Function at 0x491c22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x491c30
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x491ceb
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5f56c8]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5f56c8]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5f56c8]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5f56c8]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5f56c8]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5f56c8]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5f56c8]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5f56c8]
add edx, 8
sub edi, 8
dec esi
jne 0x491c4e
pop ebx
test edi, edi
je 0x491d04
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x5f56c8]
inc edx
dec edi
jne 0x491cef
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x491d0a
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x5f56c8]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x5f56c8]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x496e41
Capabilities:
Check http status code

Disassembly:
mov eax, 0x5cc478
call fcn.005a5da4
sub esp, 0x38
push ebx
push esi
push edi
xor edi, edi
inc edi
push edi
xor ebx, ebx
push edi
mov esi, ecx
mov byte [ebp - 0xd], bl
call fcn.00496b22
add esp, 4
push eax
lea eax, [ebp - 0x1c]
push 0x5f6aa0
push eax
call fcn.004159b7
mov eax, dword [eax]
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], ebx
call fcn.0040583b
mov ecx, esi
call fcn.00496b6f
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402d44
cmp byte [esi], bl
je 0x496f7c
lea eax, [ebp - 0x20]
push 0x5f6a8c
push eax
call fcn.004159b7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
push ebx
push eax
mov dword [ebp - 4], edi
call fcn.00496dba
add esp, 0x10
cmp dword [eax + 0x14], 8
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov byte [ebp - 4], 2
jb 0x496ed7
mov eax, dword [eax]
push ebx
push 0x4883000
push ebx
push ebx
push ecx
push 0x5eb154
push eax
push dword [esi + 8]
call fcn.00425c90
add esp, 0x20
push ebx
push 1
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00405228
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402d44
cmp edi, ebx
je 0x496f75
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1f
push edi
mov dword [ebp - 0x24], 4
call fcn.00425cf6
or dword [ebp - 0x14], 0x180
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1f
push edi
call fcn.00425bdc
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.00425b7f
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], 4
call fcn.00425518
add esp, 0x48
cmp dword [ebp - 0x18], 0xc8
jne 0x496f75
mov byte [ebp - 0xd], 1
push edi
call fcn.00425575
pop ecx
mov ecx, esi
call fcn.00496afc
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x49bdac
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, 0x5cce51
call fcn.005a5da4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
push 7
pop eax
xor ecx, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edi
mov word [esi], cx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], edi
mov word [esi + 0x1c], cx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], edi
mov word [esi + 0x38], cx
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], edi
mov word [esi + 0x54], cx
mov dword [esi + 0x84], eax
xor eax, eax
mov dword [esi + 0x80], edi
mov word [esi + 0x70], ax
push 0xffffffffffffffff
push edi
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00405604
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x24]
push eax
lea ecx, [esi + 0x1c]
call fcn.00405604
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x40]
push eax
lea ecx, [esi + 0x38]
call fcn.00405604
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x5c]
push eax
lea ecx, [esi + 0x54]
call fcn.00405604
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x78]
push eax
lea ecx, [esi + 0x70]
call fcn.00405604
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp + 8]
call fcn.00405228
push edi
push ebx
lea ecx, [ebp + 0x24]
call fcn.00405228
push edi
push ebx
lea ecx, [ebp + 0x40]
call fcn.00405228
push edi
push ebx
lea ecx, [ebp + 0x5c]
call fcn.00405228
push edi
push ebx
lea ecx, [ebp + 0x78]
call fcn.00405228
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x8c

Function at 0x4a71df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4a7226
call fcn.004aa673
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a7226
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4a7242
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004a6cdf
mov esi, eax
test edi, edi
je 0x4a7240
test ebx, ebx
je 0x4a7240
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4a8117
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004aa673
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4a8150
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004a7d54
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4a81ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4a81d2
cmp dword [edi + 0x74], 0
jne 0x4a81d2
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004aa673
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004a816f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4a9406
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5cdadc
call fcn.005a97e2
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4a942b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4a947d
call fcn.004a72a5
push eax
lea ecx, [ebp - 0x10]
call fcn.00402e05
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005a6990
push eax
call fcn.0040314c
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402d44
mov eax, esi
call fcn.005a98ba
ret 8

Function at 0x4aaa52
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004aa6f6
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4aaa9c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00484afe
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00406cf4
jmp 0x4aaaa7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004b3810
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4aaaad
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.004a8cd5
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4aaaea
call fcn.004aa6f6
mov dword [esi + 0xc], 1
jmp 0x4aaaef
call fcn.004aa6f6
cmp dword [esi], 0
je 0x4aab38
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4aab10
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00484afe
jmp 0x4aab22
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00402f0c
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00406cf4
jmp 0x4aab5c
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4aab5c
push dword [esi]
push dword [ebp + 8]
call fcn.004b3810
pop esi
pop ebp
ret 0xc

Function at 0x4ada11
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x65b310]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4ada56
push 0x5fa140
push 4
push eax
call fcn.005a71dc
push eax
call fcn.0040314c
add esp, 0x10
jmp 0x4ada6c
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4adaec
push edi
call fcn.005a992e
mov edi, dword [eax]
call fcn.005a992e
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005a7bfb
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.005a992e
cmp dword [eax], 0
je 0x4adac0
call fcn.005a992e
push dword [eax]
call fcn.0049e7f2
pop ecx
jmp 0x4adac7
call fcn.005a992e
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x4adaec
cmp dword [ebp - 0x234], esi
jae 0x4adaec
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4adaee
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005a97b8
leave
ret
Function at 0x4adf93
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x65b310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.004a2435
pop ecx
cmp eax, esi
je 0x4ae07d
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4ae07d
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.005a5e80
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x4ae07d
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x4ae07d
cmp esi, 0x14
jge 0x4ae07d
push 0x10
push 0
push edi
call fcn.005ab72a
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4ae06c
call fcn.005a992e
cmp dword [eax], 0x22
je 0x4ae06c
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.005a97c7
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x4ae042
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x66f434], 0
jne 0x4ae108
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x4ae131
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.004ada11
pop ecx
pop ecx
test eax, eax
jne 0x4ae133
inc edi
cmp edi, esi
jl 0x4ae10e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a97b8
leave
ret 8