Function at 0x437550
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5087d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], esi
call sub.KERNEL32.dll_GetUserDefaultUILanguage
movzx eax, ax
mov dword [ebp - 0x24], eax
test ax, ax
je 0x4375d2
push edi
push eax
push dword [ebp - 0x28]
push ebx
call fcn.00436fb4
add esp, 0x10
test al, al
mov eax, dword [ebp - 0x24]
je 0x4375a7
mov word [esi], ax
mov al, 1
jmp 0x437852
push ebx
push eax
call fcn.00437c8d
movzx eax, ax
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
test ax, ax
je 0x4375d2
push edi
push eax
push dword [ebp - 0x28]
push ebx
call fcn.00436fb4
add esp, 0x10
test al, al
je 0x4375d2
mov eax, dword [ebp - 0x24]
jmp 0x43759d
call sub.KERNEL32.dll_GetSystemDefaultUILanguage
movzx eax, ax
mov dword [ebp - 0x24], eax
test ax, ax
je 0x43761d
push edi
push eax
push dword [ebp - 0x28]
push ebx
call fcn.00436fb4
add esp, 0x10
test al, al
mov eax, dword [ebp - 0x24]
jne 0x43759d
push ebx
push eax
call fcn.00437c8d
movzx eax, ax
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
test ax, ax
je 0x43761d
push edi
push eax
push dword [ebp - 0x28]
push ebx
call fcn.00436fb4
add esp, 0x10
test al, al
jne 0x4375cd
call fcn.00451e93
movzx eax, ax
mov dword [ebp - 0x24], eax
test ax, ax
je 0x437670
push edi
push eax
push dword [ebp - 0x28]
push ebx
call fcn.00436fb4
add esp, 0x10
test al, al
mov eax, dword [ebp - 0x24]
jne 0x43759d
push ebx
push eax
call fcn.00437c8d
movzx eax, ax
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
test ax, ax
je 0x437670
push edi
push eax
push dword [ebp - 0x28]
push ebx
call fcn.00436fb4
add esp, 0x10
test al, al
jne 0x4375cd
lea ecx, [ebp - 0x44]
call fcn.0042ead5
push 0x508688
lea ecx, [ebp - 0x2c]
call fcn.00401520
push 0x4c6248
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00423b45
add esp, 0xc
xor ebx, ebx
test al, al
je 0x437839
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0042ec09
test eax, eax
jne 0x43770b
mov ecx, edi
mov word [esi], ax
call fcn.00402f62
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x437839
test byte [eax + 0x1c], 1
je 0x437839
cmp byte [eax + 0x19], 2
jb 0x437839
push dword [ebp - 0x2c]
push 0x4c6230
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df3f
add esp, 0x14
jmp 0x437839
push 0xe
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0046bdb0
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.0042f4da
cmp edx, ebx
ja 0x437800
cmp eax, 0xe
ja 0x437800
lea ecx, [ebp - 0x44]
call fcn.0042edfa
lea ecx, [ebp - 0x44]
call fcn.0042f4da
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.0042ee11
test eax, eax
je 0x4377f2
push 0xa
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.0046bdb0
mov cx, word [ebp - 0x14]
mov eax, 0xfeff
add esp, 0xc
cmp cx, ax
jne 0x437790
mov edx, ebx
mov ecx, ebx
mov ax, word [ebp + ecx - 0x12]
inc edx
mov word [ebp + ecx - 0x20], ax
lea ecx, [edx + edx]
cmp word [ebp + ecx - 0x14], bx
jne 0x437779
jmp 0x4377ae
test cl, cl
je 0x4377ae
lea esi, [ebp - 0x14]
lea edx, [ebp - 0x1f]
inc esi
mov byte [edx - 1], cl
mov al, byte [esi]
mov byte [edx], bl
lea edx, [edx + 2]
mov cl, al
test al, al
jne 0x43779a
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push 0x4e2c30
push eax
mov dword [ebp - 0x24], ebx
call fcn.0046f44a
add esp, 0xc
cmp eax, 1
jne 0x4377f2
cmp dword [ebp - 0x24], ebx
jle 0x4377f2
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x34]
call fcn.00436fb4
add esp, 0x10
test al, al
je 0x4377f2
mov ax, word [ebp - 0x24]
mov word [esi], ax
xor eax, eax
inc eax
jmp 0x43783b
xor eax, eax
mov ecx, edi
mov word [esi], ax
call fcn.00402f62
jmp 0x43783d
xor eax, eax
mov ecx, edi
mov word [esi], ax
call fcn.00402f62
mov eax, dword [0x50b594]
cmp eax, 0x50b594
je 0x437839
test byte [eax + 0x1c], 1
je 0x437839
cmp byte [eax + 0x19], 2
jb 0x437839
push 0x4c6230
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041df22
add esp, 0x10
mov al, bl
mov bl, al
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00402199
lea ecx, [ebp - 0x44]
call fcn.0042eb17
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046aec6
leave
ret