Function at 0x10046377
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075ca6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov dword [ebp - 0x80], 0x6c3a0b8e
mov dword [ebp - 0x78], 0xb17d72b9
mov dword [ebp - 0x84], 0xfffffff9
mov dword [ebp - 0x6c], 0xffffffff
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x100463c6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x78]
push eax
push 1
lea eax, [ebp - 0x80]
push eax
call fcn.10045fbf
add esp, 0x14
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x14], 0xfffffff9
mov dword [ebp - 0x28], 0xfffffffc
mov dword [ebp - 0x58], 0x2b99
mov dword [ebp - 0x14], 0
jmp 0x10046429
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffeb
jl 0x10046526
mov dword [ebp - 0x18], 0xbc58
mov dword [ebp - 0x20], 0
jmp 0x1004644a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004645d
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x7c], 0xfffffffc
jmp 0x10046443
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x10046514
cmp dword [ebp - 0x18], 0
je 0x100464f8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jne 0x10046495
mov dword [ebp - 0x38], 1
jmp 0x10046499
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
je 0x100464b0
mov eax, 0x9b504dbf
test eax, eax
jne 0x100464b0
and dword [ebp - 0x5c], 0
jmp 0x100464b7
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x5c], eax
je 0x100464c8
mov dword [ebp - 0x50], 1
jmp 0x100464cc
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jg 0x100464e3
mov dword [ebp - 0x3c], 1
jmp 0x100464e7
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x3c], eax
jle 0x100464f8
mov dword [ebp - 0x4c], 1
jmp 0x100464fc
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x4c]
jl 0x1004650d
mov dword [ebp - 0x44], 1
jmp 0x10046511
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x58]
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0x7c], ecx
jmp 0x10046422
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x10046555
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.1004612a
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
jmp 0x10046746
mov dword [ebp - 0x1c], 0x399841b3
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x10046573
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
je 0x10046617
push 3
lea ecx, [ebp - 0x90]
call fcn.10008eaf
and dword [ebp - 4], 0
lea eax, [ebp - 0x90]
push eax
push 0x4eb
lea eax, [ebp - 0x9c]
push eax
push 0
push 0x5a73
call fcn.1004873b
add esp, 0x14
push 2
lea ecx, [ebp - 0x90]
call fcn.10008f1c
cmp dword [eax], 0
jne 0x100465eb
mov dword [ebp - 0x74], 6
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x2b21
lea eax, [ebp - 0x74]
push eax
push 0xe8c
call fcn.10046159
add esp, 0x18
jmp 0x10046603
lea eax, [ebp - 0x34]
push eax
push 0x5d80
push 0x12bd
push 1
call fcn.10046297
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10008f17
jmp 0x1004656c
push 0x432
push 0x16d7
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x14]
push eax
push 0
lea eax, [ebp + 0x18]
push eax
call fcn.10048689
add esp, 0x18
push 1
lea ecx, [ebp - 0x68]
call fcn.10008eaf
mov dword [ebp - 4], 1
mov dword [ebp - 0x70], 0x34f545ee
mov dword [ebp - 0x24], 0
jmp 0x1004665f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x10046678
push dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
call fcn.10008f1c
mov dword [eax], 0x53b26bdd
jmp 0x10046658
push 0
lea ecx, [ebp - 0x68]
call fcn.10008f1c
mov dword [eax], 0xfffffff2
jmp 0x100466a2
push 0
lea ecx, [ebp - 0x68]
call fcn.10008f1c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x68]
call fcn.10008f1c
cmp dword [eax], 0xfffffff6
jge 0x1004672c
mov dword [ebp - 0x40], 0xdae5a60d
cmp dword [ebp - 0x40], 0x8e1b8814
jb 0x100466ca
mov dword [ebp - 0x48], 1
jmp 0x100466ce
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x48]
jge 0x100466df
mov dword [ebp - 0x54], 1
jmp 0x100466e3
and dword [ebp - 0x54], 0
push 0
lea ecx, [ebp - 0x68]
call fcn.10008f1c
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
jle 0x100466fd
mov dword [ebp - 0x30], 1
jmp 0x10046701
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10046727
push 1
push 0x2a5
push 0x46e3
call fcn.1004630e
add esp, 0xc
jmp 0x1004668a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10008f17
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret