Function at 0x4036e9
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x42d1d0
call fcn.0042c930
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x1c], ebx
push 0x438108
lea eax, [ebp - 0x1c]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push eax
call fcn.004079d6
mov eax, dword [ebp - 0x1c]
sub dword [0x438c24], 0x20180000
cmp eax, ebx
je 0x403a81
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 1
pop esi
mov byte [ebp - 4], 1
push esi
push eax
call dword [ecx + 0x10]
xor ecx, ecx
cmp dword [0x438c20], ebx
setne cl
cmp eax, ebx
mov dword [0x438c08], ecx
jl 0x403a6e
mov al, byte [0x438bfc]
push 0xeedffff
and al, byte [0x438c2c]
mov dword [0x438c2c], esi
mov dword [ebp - 0x20], ebx
mov byte [0x438bf0], al
neg al
inc byte [0x438bf1]
mov byte [0x438be9], al
movsx eax, word [0x438bfa]
push eax
call fcn.00410285
mov word [0x438bfe], ax
pop ecx
movsx eax, word [0x438bf4]
and eax, dword [0x438c18]
pop ecx
add dword [0x438c0c], eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x403a3b
cmp dword [ebp + 0xc], ebx
je 0x403820
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], ebx
cmp eax, ebx
je 0x4037e1
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x4380f8
push eax
call dword [ecx]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0xa]
push edx
mov byte [ebp - 4], 2
push dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
test eax, eax
jl 0x40380f
cmp word [ebp + 0xa], 0xffff
je 0x40380f
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
jmp 0x4039d8
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x403820
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [0x438c24]
push 0x9f3bffff
call fcn.004101be
mov word [0x438bf2], ax
mov eax, dword [ebp - 0x28]
pop ecx
cmp eax, ebx
pop ecx
mov word [0x438bfc], 0xfffe
mov dword [ebp - 0x14], ebx
je 0x40385c
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4380e8
push eax
call dword [ecx]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 3
call dword [ecx + 8]
movsx eax, byte [0x438bef]
push eax
push 0xc403ffff
call fcn.00410246
mov byte [0x438be8], al
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, ebx
pop ecx
je 0x4039d4
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x48]
cmp eax, ebx
jl 0x4039eb
cmp dword [ebp - 0x20], ebx
je 0x4039eb
movsx eax, byte [0x438bed]
push 0x6187ffff
push eax
call fcn.00410246
pop ecx
mov dword [ebp - 0x10], ebx
pop ecx
mov cl, al
mov al, byte [0x438bf4]
imul cl
mov byte [0x438bea], cl
mov byte [0x438be8], al
push 0x432730
lea eax, [ebp - 0x10]
push dword [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.004079d6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push dword [0x438c20]
mov word [0x438bf4], ax
push 0x23bbffff
call fcn.00410167
push 0xc307ffff
push 0x773fffff
mov word [0x438bfa], ax
call fcn.0041020b
mov dword [0x438c28], eax
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [0x438c28]
inc byte [0x438be9]
mov byte [0x438bee], al
mov dword [ebp - 0x20], ebx
movsx eax, byte [0x438beb]
push eax
mov dword [0x438c10], 0xb919fffe
movsx eax, byte [0x438be9]
push eax
call fcn.00410246
cmp dword [ebp - 0x10], ebx
pop ecx
pop ecx
mov dword [0x438c18], eax
je 0x4039eb
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp - 0x10]
call fcn.00405c4b
test al, al
jne 0x4039f4
or byte [0x438bef], 0xff
push ebx
push ebx
lea eax, [ebp - 0x3c]
push dword [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00404054
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.00407b61
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00407bda
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x10]
call fcn.004036e9
test al, al
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
jne 0x4039fb
cmp eax, ebx
je 0x4039d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4037aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4037aa
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
jmp 0x4039d8
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x403a05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x403a16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x403a26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x403a37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x403a91
movsx eax, word [0x438bfa]
push 0xfaa5ffff
push eax
call fcn.0041003a
add dword [0x438c2c], eax
xor eax, eax
cmp dword [0x438c1c], ebx
pop ecx
pop ecx
mov word [0x438bf8], si
setne al
add word [0x438c02], ax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x403a7e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x403a8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10