Function at 0x100365d5
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063ff1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x18c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100366e4
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xfc], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x100366a4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe8]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0xcc]
mov dword [eax], ecx
jmp 0x100366df
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x100366df
push 0
push 0
push 0x1035
push 0x7bb
push 0
call dword [sym.imp.USER32.dll_InsertMenuW]
jmp 0x10036e03
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x8c], 0x8c2
mov dword [ebp - 0x10c], 0x1000a460
cmp dword [ebp - 0x8c], 0x9a6
jle 0x1003682d
and dword [ebp - 0x28], 0
jmp 0x1003676f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x18b7
jge 0x1003682d
and dword [ebp - 0x3c], 0
jmp 0x10036789
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x207c
jge 0x10036828
and dword [ebp - 0x34], 0
jmp 0x100367a3
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x5336
jge 0x10036823
and dword [ebp - 0x2c], 0
jmp 0x100367b9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xa1a
jge 0x1003681e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
shl eax, cl
mov ecx, dword [ebp - 0x34]
imul ecx, dword [ebp - 0x2c]
shl eax, cl
cdq
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edx
push dword [ebp - 0x124]
push dword [ebp - 0x128]
lea ecx, [ebp - 0x19c]
call fcn.1000d4be
pop ecx
pop ecx
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
call fcn.10012af4
push eax
call fcn.1004ded6
pop ecx
lea ecx, [ebp - 0x19c]
call fcn.10012aea
jmp 0x100367b2
jmp 0x1003679c
jmp 0x10036782
jmp 0x10036768
and dword [ebp - 4], 0
cmp dword [ebp - 0x8c], 0x6c1
jge 0x10036849
push dword [ebp - 0x10c]
call fcn.1004ded6
pop ecx
jmp 0x10036865
or dword [ebp - 4], 0xffffffff
jmp 0x1003686f
push 2
lea ecx, [ebp - 0xa4]
call fcn.10012e69
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x158], 0x884cb8f6
mov dword [ebp - 0x24], 0xfffffffd
push 2
lea ecx, [ebp - 0x134]
call fcn.10012e69
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], 0xbdd7
mov dword [ebp - 0x114], 0x2718
mov dword [ebp - 0x168], 0xeaac
mov dword [ebp - 0x18], 0
jmp 0x100368d7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x100368f3
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa4]
call fcn.10012f07
mov dword [eax], 0x342eb90d
jmp 0x100368d0
mov dword [ebp - 0x18], 0
jmp 0x10036903
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1003691f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x134]
call fcn.10012f07
mov dword [eax], 1
jmp 0x100368fc
mov dword [ebp - 0x14], 0
jmp 0x1003692f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10036d00
mov dword [ebp - 0x16c], 8
mov dword [ebp - 0x154], 0x6c902da
mov dword [ebp - 0x150], 0x6c902da
mov dword [ebp - 0x14c], 0x6c902da
mov dword [ebp - 0x148], 0x6c902da
lea ecx, [ebp - 0x49]
call fcn.10012f16
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x184]
call fcn.10012f19
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x17c]
call fcn.10012ec5
mov byte [ebp - 4], 4
push 1
lea ecx, [ebp - 0x140]
call fcn.10012e69
mov byte [ebp - 4], 5
mov dword [ebp - 0xe4], 0xfffffff7
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x64], 0xa6f
mov dword [ebp - 0x30], 0
jmp 0x100369da
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x100369f6
push dword [ebp - 0x30]
lea ecx, [ebp - 0x140]
call fcn.10012f07
mov dword [eax], 0xf27a4129
jmp 0x100369d3
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
call fcn.10012f07
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
call fcn.10012f07
mov esi, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
call fcn.10012f07
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x10036a31
mov dword [ebp - 0x5c], 1
jmp 0x10036a35
and dword [ebp - 0x5c], 0
mov eax, 0xc84b
test eax, eax
je 0x10036a50
cmp dword [ebp - 0xe4], 0
je 0x10036a50
mov dword [ebp - 0x80], 1
jmp 0x10036a54
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x80]
cmp eax, 0xffffffff
jbe 0x10036a69
mov dword [ebp - 0x68], 1
jmp 0x10036a6d
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
jbe 0x10036a7f
mov dword [ebp - 0x94], 1
jmp 0x10036a86
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x114]
jne 0x10036aac
push 0
lea ecx, [ebp - 0xa4]
call fcn.10012f07
cmp dword [eax], 0
jne 0x10036aac
and dword [ebp - 0x70], 0
jmp 0x10036ab3
mov dword [ebp - 0x70], 1
push 0
lea ecx, [ebp - 0x140]
call fcn.10012f07
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x70]
add eax, 0x6082
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x5c]
dec eax
imul eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov dword [ebp - 0x24], 0
jmp 0x10036af7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x10036cdd
mov dword [ebp - 0x40], 0x82b3f54c
mov dword [ebp - 0x50], 0x61ca7276
mov dword [ebp - 0x7c], 0x12cd
mov dword [ebp - 0x11c], 0xffffffff
mov dword [ebp - 0x38], 0
jmp 0x10036b30
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10036b46
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xf8], 1
jmp 0x10036b29
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
jle 0x10036b57
mov dword [ebp - 0x54], 1
jmp 0x10036b5b
and dword [ebp - 0x54], 0
push 0
lea ecx, [ebp - 0x17c]
call fcn.10012f07
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x54], eax
jne 0x10036b84
cmp dword [ebp - 0x20], 0
je 0x10036b84
mov dword [ebp - 0x48], 1
jmp 0x10036b88
and dword [ebp - 0x48], 0
push 0
lea ecx, [ebp - 0x134]
call fcn.10012f07
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
add eax, 0x95dd
cmp eax, dword [ebp - 0x44]
jne 0x10036bb6
cmp dword [ebp - 0x40], 0
je 0x10036bb6
mov dword [ebp - 0x78], 1
jmp 0x10036bba
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x50], eax
je 0x10036bd7
cmp dword [ebp - 0x50], 0
jne 0x10036bd7
and dword [ebp - 0x88], 0
jmp 0x10036be1
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x64]
neg eax
cmp eax, 0x9d45
jne 0x10036c05
mov dword [ebp - 0xec], 1
jmp 0x10036c0c
and dword [ebp - 0xec], 0
push 0
lea ecx, [ebp - 0xa4]
call fcn.10012f07
cmp dword [ebp - 0x44], 0xe0bb
jl 0x10036c2b
mov dword [ebp - 0x60], 1
jmp 0x10036c2f
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xfff7
ja 0x10036c41
mov dword [ebp - 0x6c], 1
jmp 0x10036c45
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x6c], eax
jg 0x10036c56
mov dword [ebp - 0x74], 1
jmp 0x10036c5a
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0x1bb30b13
jl 0x10036c6f
mov dword [ebp - 0x84], 1
jmp 0x10036c76
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x84], eax
jne 0x10036c8d
mov dword [ebp - 0xf4], 1
jmp 0x10036c94
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x15c], eax
push 0
lea ecx, [ebp - 0x140]
call fcn.10012f07
cmp dword [eax], 0xbe4a9ff1
ja 0x10036cbe
mov dword [ebp - 0x90], 1
jmp 0x10036cc5
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax - 0xf8], ecx
jmp 0x10036af0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x140]
call fcn.10012eeb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x17c]
call fcn.10012eeb
jmp 0x10036928
mov dword [ebp - 0x20], 1
jmp 0x10036d10
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10036d9a
mov dword [ebp - 0x164], 0xfffffff7
mov dword [ebp - 0x14], 0
jmp 0x10036d34
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10036d95
mov dword [ebp - 0x170], 0xffffffff
mov dword [ebp - 0x160], 0xfffffffa
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10036d60
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov eax, dword [ebp - 0x14]
add eax, 0x5364
imul eax, eax, 0xb87b
mov dword [ebp - 0x98], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x134]
call fcn.10012f07
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x24], eax
jmp 0x10036d2d
jmp 0x10036d09
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.10012eeb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.10012eeb
push dword [ebp - 0x110]
push 1
push dword [ebp - 0x100]
push 0x7e4
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0xb8]
push dword [ebp - 0xc0]
push dword [ebp - 0xc8]
push dword [ebp - 0xd0]
push dword [ebp - 0xd8]
push dword [ebp - 0xe0]
call fcn.1001688a
add esp, 0x30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret