Function at 0x4437ce
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0xc], 0
jmp 0x4437e7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x4437fd
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xd0], 0x713b
jmp 0x4437e0
mov dword [ebp - 0xc], 0
jmp 0x44380d
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x443820
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x30], 0xd4081c29
jmp 0x443806
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x30], 1
jmp 0x443845
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x30], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x30], 0
jl 0x443a94
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
jmp 0x44386d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x443a8f
mov dword [ebp - 4], 0x59b8bc58
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0x78], 1
mov dword [ebp - 0xe0], 0x70feea3
mov dword [ebp - 4], 1
jmp 0x4438a9
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x443a74
mov dword [ebp - 0x1c], 0xe8f21009
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x4438e6
push 0
push 0xe85
push 0x12f9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
mov dword [ebp - 0x1c], 0
jmp 0x4438f6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x443a6f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xfffffff9
ja 0x443915
mov dword [ebp - 0x48], 1
jmp 0x443919
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x48]
cmp eax, 0x1639956a
jle 0x443932
mov dword [ebp - 0xa0], 1
jmp 0x443939
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xa0], eax
jg 0x44394d
mov dword [ebp - 0x50], 1
jmp 0x443951
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xe428
jg 0x443963
mov dword [ebp - 0x58], 1
jmp 0x443967
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x58]
cmp dword [ebp - 0x1c], eax
je 0x44398a
mov dword [ebp - 0xd4], 1
jmp 0x443991
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x1c]
cmp eax, 0xb91300d
je 0x4439b3
mov dword [ebp - 0xac], 1
jmp 0x4439ba
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0xac], eax
jge 0x4439d5
mov dword [ebp - 0x60], 1
jmp 0x4439d9
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xd0]
cmp eax, dword [ebp - 0x60]
je 0x4439f4
mov dword [ebp - 0xa8], 1
jmp 0x4439fb
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xa8], eax
jl 0x443a0f
mov dword [ebp - 0x68], 1
jmp 0x443a13
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 4]
add eax, dword [ebp + ecx*4 - 0xd0]
cmp eax, 0x1597618d
jne 0x443a37
mov dword [ebp - 0xbc], 1
jmp 0x443a3e
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x443a5d
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xd0], 0
je 0x443a5d
mov dword [ebp - 0x70], 1
jmp 0x443a61
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xe0], eax
jmp 0x4438ef
jmp 0x4438a2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp + eax*4 - 0xd0], 0
je 0x443a8a
jmp 0x443a8f
jmp 0x443866
jmp 0x443830
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x443e79
mov eax, dword [ebp + 8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x20], 0x8cff0ea7
mov dword [ebp - 0x38], 2
mov dword [ebp - 0xe4], 0x52e4a6b2
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x443ae1
push 0
push 0x1136
push 0x1646
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov dword [ebp - 0x20], 0x1a
jmp 0x443af1
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffeb
jge 0x443c9a
mov dword [ebp - 0x10], 0x3ee76373
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x443b1f
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp - 0x20], 0
jne 0x443b31
mov dword [ebp - 0x88], 1
jmp 0x443b38
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x10], 0xd4a55f07
je 0x443b4a
mov dword [ebp - 0x40], 1
jmp 0x443b4e
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x10], eax
jl 0x443b5c
cmp dword [ebp - 0x10], 0
jne 0x443b6e
mov eax, 0xe2db
test eax, eax
jne 0x443b6e
and dword [ebp - 0xb4], 0
jmp 0x443b78
mov dword [ebp - 0xb4], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xb4]
jl 0x443b8f
mov dword [ebp - 0xc4], 1
jmp 0x443b96
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0xc4]
jne 0x443baa
mov dword [ebp - 0x80], 1
jmp 0x443bae
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x80], eax
jge 0x443bc2
mov dword [ebp - 0xa4], 1
jmp 0x443bc9
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x856c
jl 0x443be1
mov dword [ebp - 0xb0], 1
jmp 0x443be8
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0xb0]
je 0x443c02
mov dword [ebp - 0x90], 1
jmp 0x443c09
and dword [ebp - 0x90], 0
imul eax, dword [ebp - 0x90], 0x3989
imul eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
cmp eax, 1
jae 0x443c2b
mov dword [ebp - 0xb8], 1
jmp 0x443c32
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xb8], eax
jge 0x443c49
mov dword [ebp - 0x98], 1
jmp 0x443c50
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xd5228033
jne 0x443c66
cmp dword [ebp - 0x38], 0
mov eax, 0xfff9
imul eax, eax, 0xdb88
cmp eax, dword [ebp - 0x38]
jge 0x443c82
mov dword [ebp - 0xc0], 1
jmp 0x443c89
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe4], eax
jmp 0x443aea
mov dword [ebp - 0x28], 0x8cff0ea7
mov dword [ebp - 0x34], 2
mov dword [ebp - 0xd8], 0x52e4a6b2
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x443cd2
push 0
push 0x1136
push 0x1646
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov dword [ebp - 0x28], 0x1a
jmp 0x443ce2
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffeb
jge 0x443e55
mov dword [ebp - 0x14], 0x3ee76373
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x443d10
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp - 0x28], 0
jne 0x443d1f
mov dword [ebp - 0x6c], 1
jmp 0x443d23
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x14], 0xd4a55f07
je 0x443d35
mov dword [ebp - 0x4c], 1
jmp 0x443d39
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], eax
jl 0x443d47
cmp dword [ebp - 0x14], 0
jne 0x443d56
mov eax, 0xe2db
test eax, eax
jne 0x443d56
and dword [ebp - 0x44], 0
jmp 0x443d5d
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jl 0x443d6e
mov dword [ebp - 0x54], 1
jmp 0x443d72
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x54]
jne 0x443d83
mov dword [ebp - 0x5c], 1
jmp 0x443d87
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x5c], eax
jge 0x443d98
mov dword [ebp - 0x64], 1
jmp 0x443d9c
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x856c
jl 0x443dae
mov dword [ebp - 0x74], 1
jmp 0x443db2
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x74]
je 0x443dc3
mov dword [ebp - 0x7c], 1
jmp 0x443dc7
and dword [ebp - 0x7c], 0
imul eax, dword [ebp - 0x7c], 0x3989
imul eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
cmp eax, 1
jae 0x443de6
mov dword [ebp - 0x84], 1
jmp 0x443ded
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x84], eax
jge 0x443e04
mov dword [ebp - 0x8c], 1
jmp 0x443e0b
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xd5228033
jne 0x443e21
cmp dword [ebp - 0x34], 0
mov eax, 0xfff9
imul eax, eax, 0xdb88
cmp eax, dword [ebp - 0x34]
jge 0x443e3d
mov dword [ebp - 0x94], 1
jmp 0x443e44
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd8], eax
jmp 0x443cdb
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jge 0x443e77
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
add eax, 0x100
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
jmp 0x443e5e
jmp 0x443ef6
mov dword [ebp - 0xe8], 0xb2c2
mov dword [ebp - 0xf0], 0xffffffff
mov dword [ebp - 0x9c], 0x88d9
mov dword [ebp - 8], 0
jmp 0x443ea7
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x443ebd
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xfc], 0x27689351
jmp 0x443ea0
mov dword [ebp - 8], 0
jmp 0x443ecd
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x443ee3
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x108], 0xac46ddcd
jmp 0x443ec6
mov eax, dword [ebp - 0x9c]
dec eax
mov dword [ebp - 0x9c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov esp, ebp
pop ebp
ret