Function at 0x436780
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441a70
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4620f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [0x46550c]
mov dword [ebp - 4], 0
test al, 1
jne 0x436800
push str.GetUserPreferredUILanguages
or eax, 1
push 0x456420
mov dword [0x46550c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x465508], eax
jmp 0x436805
mov eax, dword [0x465508]
test eax, eax
je 0x436921
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push ecx
push 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
push ecx
push 4
call eax
test eax, eax
je 0x436921
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x436921
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404720
mov ebx, dword [ebp - 0x7c]
lea eax, [ebp - 0x68]
push eax
push ebx
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
push 4
call dword [0x465508]
test eax, eax
je 0x436910
cmp word [ebx], 0
mov esi, ebx
je 0x436910
push 0x10
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.0040b206
movzx eax, ax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004369b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004361a0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00436a50
cmp dword [ebp - 0x2c], 0x10
jb 0x4368c4
push dword [ebp - 0x40]
call fcn.00404a15
add esp, 4
mov esi, dword [ebp - 0x70]
add esi, 2
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x70], esi
jb 0x4368e2
push dword [ebp - 0x28]
call fcn.00404a15
add esp, 4
cmp word [esi], 0
jne 0x436871
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x60]
je 0x436910
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call fcn.004355d0
lea ecx, [ebp - 0x7c]
call fcn.00435780
lea ecx, [ebp - 0x64]
call fcn.00436600
jmp 0x436990
mov byte [ebp - 4], 0
test ebx, ebx
je 0x436921
push ebx
call fcn.00404a15
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004369b0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004361a0
add esp, 0x10
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00436a50
cmp dword [ebp - 0x2c], 0x10
jb 0x43696e
push dword [ebp - 0x40]
call fcn.00404a15
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov eax, dword [ebp - 0x64]
mov dword [edi], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 8], eax
jb 0x436990
push dword [ebp - 0x58]
call fcn.00404a15
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.004051a4
mov esp, ebp
pop ebp
ret