joyce8/EMBER2024-capa huggingface dataset:
Function at 0x531cb7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x592dc4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00526949
and dword [ebp - 0x14], 0
cmp dword [0x59a6ac], 0
mov dword [ebp - 0x18], eax
jne 0x531d6a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x531e12
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x531e12
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x56fc04
push ebx
mov dword [0x59a6ac], eax
call edi
push eax
call esi
push 0x56fbf0
push ebx
mov dword [0x59a6b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x59a6b4], eax
call edi
push eax
call esi
mov dword [0x59a6bc], eax
test eax, eax
je 0x531d6a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x59a6b8], eax
mov eax, dword [0x59a6b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x531dc3
cmp dword [0x59a6bc], ecx
je 0x531dc3
push eax
call esi
push dword [0x59a6bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x531dc3
test ebx, ebx
je 0x531dc3
call edi
test eax, eax
je 0x531dba
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x531dba
test byte [ebp - 8], 1
jne 0x531dc3
or dword [ebp + 0x10], 0x200000
jmp 0x531df6
mov eax, dword [0x59a6b0]
cmp eax, dword [ebp - 0x18]
je 0x531df6
push eax
call esi
test eax, eax
je 0x531df6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x531df6
mov eax, dword [0x59a6b4]
cmp eax, dword [ebp - 0x18]
je 0x531df6
push eax
call esi
test eax, eax
je 0x531df6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x59a6ac]
call esi
test eax, eax
je 0x531e12
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x531e14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d5c4
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4037c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40381b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40381b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40380a
cmp esi, edx
jae 0x40381b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4037f8
cmp esi, edx
jae 0x40381b
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x403ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00464590
Function at 0x409790
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7cbd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6780cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov dword [ebp - 4], eax
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00459629
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x20], 0
mov word [edi + 0x20], ax
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b6b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e800c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x48], edi
xor eax, eax
mov dword [edi], vtable.oobe::Logger.0
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 7
mov word [edi + 8], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov dword [edi + 0x38], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 7
mov word [edi + 0x38], ax
mov dword [edi + 0x50], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], 7
mov word [edi + 0x50], ax
lea ecx, [edi + 0x68]
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
push 4
push 0x6457ac
mov byte [ebp - 4], 4
call fcn.00404650
call fcn.0042d890
mov dword [edi + 4], eax
push 4
mov dword [ebp - 4], 5
lea ecx, [edi + 0x20]
push 0x6457ac
mov dword [edi], vtable.C3Logger.0
call fcn.00404650
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xa
push 0xa
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.005cc6b2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], 0
add esp, 0x10
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b7b2
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00403460
mov byte [ebp - 4], 6
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x40b7e4
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x40b80f
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b7f0
sub eax, esi
lea ecx, [edi + 8]
sar eax, 1
push eax
push edx
call fcn.00404650
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x40b83f
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b835
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b85f
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
ret 4
call fcn.005bd02a
int3
Function at 0x411d00
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8848
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x280]
mov edi, dword [ebx + 0xc]
push 0x250
push 0
push eax
mov byte [ebp - 0x282], 0
call fcn.005b9e00
add esp, 0xc
lea ecx, [ebp - 0x2c]
push esi
call fcn.00408fe0
push 4
push str..
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00406270
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x280]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411f19
mov byte [ebp - 0x282], 1
nop
test byte [ebp - 0x280], 0x10
mov byte [ebp - 0x281], 0
jne 0x411dc4
mov al, 1
jmp 0x411e1b
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x411df1
mov ecx, 0x2e
cmp cx, word [ebp - 0x254]
je 0x411e15
cmp cx, word [ebp - 0x252]
je 0x411e15
mov al, 1
jmp 0x411e1b
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x411e11
mov eax, 0x2e
cmp ax, word [ebp - 0x254]
je 0x411e15
mov al, 1
jmp 0x411e1b
mov al, byte [ebp - 0x281]
test al, al
je 0x411efc
lea eax, [ebp - 0x254]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x28c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x288], 0
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411e50
sub eax, edx
lea ecx, [ebp - 0x29c]
sar eax, 1
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00403460
mov byte [ebp - 4], 1
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x411ea9
movups xmm0, xmmword [ebp - 0x29c]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x29c], ax
jmp 0x411ebe
lea ecx, [ebp - 0x29c]
push ecx
push eax
mov ecx, edi
call fcn.004079b0
mov ecx, dword [ebp - 0x288]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x411efc
mov edx, dword [ebp - 0x29c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411ef2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411f75
push ecx
push edx
call fcn.005a5f31
add esp, 8
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411db0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x411f4f
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411f45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411f75
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov al, byte [ebp - 0x282]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.005bd02a
int3
Function at 0x4125b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [esp], ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
test eax, eax
jg 0x4125df
jl 0x4125d2
test esi, esi
jne 0x4125df
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ecx + 0x38], 0
mov edi, esi
je 0x4126a6
mov dword [esp + 0x10], eax
nop
call fcn.00413a20
mov ecx, edx
mov esi, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jl 0x412648
jg 0x412607
test esi, esi
je 0x412648
mov eax, dword [esp + 0x10]
cmp eax, ecx
jg 0x41261b
jl 0x412615
cmp edi, esi
jae 0x41261b
mov esi, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push ebx
call fcn.005b9060
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x10]
sub edi, esi
sbb edx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
jmp 0x412679
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x5feab8]
mov ecx, dword [esp + 0xc]
call esi
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x412691
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov byte [ebx], al
mov esi, 1
adc edx, 0xffffffff
add ebx, esi
mov dword [esp + 0x10], edx
test edx, edx
jg 0x4125f0
jl 0x412691
test edi, edi
jne 0x4125f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub eax, edi
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4126f3
mov eax, dword [ecx + 0x2c]
lea edx, [ecx + 0x2c]
mov dword [esp + 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4126fa
mov edi, dword [ebp + 0xc]
cmp eax, edi
cmovb esi, eax
push esi
push dword [esp + 0x18]
push ebx
call fcn.005b9060
mov eax, dword [esp + 0x1c]
add ebx, esi
mov ecx, dword [esp + 0x18]
sub edi, esi
add esp, 0xc
mov eax, dword [eax]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0xc]
jmp 0x4126fa
lea eax, [ecx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x4c], 0
je 0x41277f
mov edx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
mov dword [esp + 0x14], edx
cmp dword [edx], eax
jne 0x412731
mov edx, dword [ecx + 0x54]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x412766
nop dword [eax]
push dword [ecx + 0x4c]
push 0xfff
push 1
push ebx
call fcn.005c31b7
add esp, 0x10
add ebx, eax
sub edi, eax
cmp eax, 0xfff
jne 0x41277f
mov ecx, dword [esp + 0xc]
cmp edi, eax
ja 0x412740
test edi, edi
je 0x41277f
mov eax, dword [esp + 0xc]
push dword [eax + 0x4c]
push edi
push 1
push ebx
call fcn.005c31b7
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub esi, edi
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e89c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6780cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00459629
mov esi, eax
add esp, 4
test esi, esi
je 0x413ba0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.005a7614
add esp, 4
mov dword [esi + 4], eax
jmp 0x413ba2
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423f80
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e990d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
cmp edi, 0x845
ja 0x4240c8
je case.0x42400c.1093
lea eax, [edi - 0x42b]
cmp eax, 0x56
ja case.0x42400c.1068
movzx eax, byte [eax + 0x42426c]
jmp dword [eax*4 + 0x42420c]
mov eax, str.Arab
jmp 0x4240f0
mov eax, str.Armn
jmp 0x4240f0
mov eax, str.Beng
jmp 0x4240f0
mov eax, str.Cans
jmp 0x4240f0
mov eax, str.Cyrl
jmp 0x4240f0
mov eax, str.Deva
jmp 0x4240f0
mov eax, str.Ethi
jmp 0x4240f0
mov eax, str.Gujr
jmp 0x4240f0
mov eax, str.Guru
jmp 0x4240f0
mov eax, str.Khmr
jmp 0x4240f0
mov eax, str.Knda
jmp 0x4240f0
mov eax, str.Laoo
jmp 0x4240f0
mov eax, str.Latn
jmp 0x4240f0
mov eax, str.Mlym
jmp 0x4240f0
mov eax, str.Orya
jmp 0x4240f0
mov eax, str.Sinh
jmp 0x4240f0
mov eax, str.Syrc
jmp 0x4240f0
mov eax, str.Taml
jmp 0x4240f0
mov eax, str.Telu
jmp 0x4240f0
mov eax, str.Thaa
jmp 0x4240f0
mov eax, str.Tibt
jmp 0x4240f0
mov eax, str.Yiii
jmp 0x4240f0
cmp edi, 0x850
je 0x4240eb
cmp edi, 0x201a
je case.0x42400c.1087
cmp edi, 0x10437
jne 0x42411d
mov eax, str.Geor
jmp 0x4240f0
mov eax, str.Mong
push 4
lea ecx, [ebp - 0x38]
push eax
call fcn.004032d0
cmp dword [ebp - 0x28], 0
jne 0x4241c7
cmp edi, 0x43f
je case.default.0x42418d
cmp edi, 0x201a
je case.0x42418d.1251
push 0xa
lea eax, [ebp - 0x20]
push eax
push 0x1004
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.005cc340
add esp, 0xc
cmp eax, 0x4e2
ja 0x424183
je case.0x42418d.1252
add eax, 0xfffffc96
cmp eax, 0x4c
ja case.default.0x42418d
movzx eax, byte [eax + 0x4242dc]
jmp dword [eax*4 + 0x4242c4]
mov eax, str.Thai
jmp 0x4241bc
mov eax, str.Jpan
jmp 0x4241bc
mov eax, str.Hans
jmp 0x4241bc
mov eax, str.Kore
jmp 0x4241bc
mov eax, str.Hant
jmp 0x4241bc
add eax, 0xfffffb1d
cmp eax, 7
ja case.default.0x42418d
jmp dword [eax*4 + 0x42432c]
mov eax, str.Latn
jmp 0x4241bc
mov eax, str.Grek
jmp 0x4241bc
mov eax, str.Hebr
jmp 0x4241bc
mov eax, str.Arab
jmp 0x4241bc
mov eax, str.Cyrl
jmp 0x4241bc
mov eax, str.Zyyy
push 4
push eax
lea ecx, [ebp - 0x38]
call fcn.004032d0
movups xmm0, xmmword [ebp - 0x38]
mov dword [esi], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x424350
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e995e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
cmp edx, 0x103b
ja 0x424410
je 0x424433
cmp edx, 0x46c
ja 0x4243f7
je 0x4243eb
mov eax, edx
sub eax, 0x465
je 0x4243df
sub eax, 6
je 0x424407
jmp 0x42444c
push 2
push 0x64f2b8
jmp 0x42448e
push 3
push 0x64f2d8
jmp 0x42448e
cmp edx, 0x86b
je 0x424407
cmp edx, 0xc6b
jne 0x42444c
push 3
push 0x64f2d4
jmp 0x42448e
cmp edx, 0x1c3b
ja 0x42443c
je 0x42442a
cmp edx, 0x143b
je 0x424433
cmp edx, 0x183b
jne 0x42444c
push 3
push 0x64f2c4
jmp 0x42448e
push 3
push 0x64f2c8
jmp 0x42448e
cmp edx, 0x203b
je 0x424487
cmp edx, 0x243b
je 0x42447e
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x59
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x424475
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424465
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
jmp 0x42448e
push 3
push 0x64f2e0
jmp 0x42448e
push 3
push 0x64f2cc
jmp 0x42448e
push 3
push 0x64f2d0
mov ecx, esi
call fcn.004032d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
ret

Function at 0x4244c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e995e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
cmp edx, 0x81a
je 0x424582
cmp edx, 0xc1a
je 0x424582
cmp edx, 0x2409
je 0x424579
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x5a
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x424570
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424560
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
jmp 0x424589
push 2
push 0x64f2e4
jmp 0x424589
push 3
push 0x64f2e8
jmp 0x424589
push 2
push 0x64f2dc
mov ecx, esi
call fcn.004032d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
ret
Function at 0x4255f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9b4d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareAdobeALCID
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4256fa
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x64f328
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4256f1
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4256f1
push eax
call fcn.00467693
mov edi, eax
add esp, 4
test edi, edi
je 0x4256f1
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push 0x64f328
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4256e8
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4256d5
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x30]
call fcn.004032d0
push edi
call fcn.0046768e
add esp, 4
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x30]
mov dword [esi], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret