Function at 0x432c10
Capabilities:
Get geographical location

Disassembly:
push edi
pop edi
push ebp
push esp
pop ebp
sub esp, 0xc
call fcn.0040aa10
add eax, 0x9c
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x432c3c
mov eax, dword [ebp - 8]
push eax
call fcn.004337c0
add esp, 4
jmp 0x432d54
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
add eax, 0x40
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
je 0x432c7c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
movsx edx, byte [ecx]
or edx, edx
je 0x432c7c
mov eax, dword [ebp - 8]
add eax, 4
push eax
push 0x16
push 0x457cb0
call fcn.00432ec0
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x432d24
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
movsx edx, byte [ecx]
test edx, edx
je 0x432d24
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x432cc6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
movsx eax, byte [edx]
test eax, eax
je 0x432cc6
mov ecx, dword [ebp - 8]
push ecx
call 0x432f50
add esp, 4
jmp 0x432cd2
mov edx, dword [ebp - 8]
push edx
call fcn.00433450
add esp, 4
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
jne 0x432d22
mov ecx, dword [ebp - 8]
push ecx
push 0x40
push 0x457aa8
call fcn.00432ec0
add esp, 0xc
or eax, eax
je 0x432d22
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
je 0x432d16
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
movsx edx, byte [ecx]
or edx, edx
je 0x432d16
mov eax, dword [ebp - 8]
push eax
call 0x432f50
add esp, 4
jmp 0x432d22
mov ecx, dword [ebp - 8]
push ecx
call fcn.00433450
add esp, 4
jmp 0x432d54
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
je 0x432d48
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
movsx edx, byte [ecx]
or edx, edx
je 0x432d48
mov eax, dword [ebp - 8]
push eax
call fcn.00433670
add esp, 4
jmp 0x432d54
mov ecx, dword [ebp - 8]
push ecx
call fcn.004337c0
add esp, 4
mov edx, dword [ebp - 8]
cmp dword [edx + 8], 0
jne 0x432d64
sub eax, eax
jmp 0x432eb2
cmp dword [ebp + 8], 0
je 0x432d77
mov eax, dword [ebp + 8]
add eax, 0x80
mov dword [ebp - 0xc], eax
jmp 0x432d7e
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call 0x433800
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x432db8
cmp dword [ebp - 4], 0xfde8
je 0x432db8
cmp dword [ebp - 4], 0xfde9
je 0x432db8
movzx eax, word [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
or eax, eax
jne 0x432dbf
sub eax, eax
jmp 0x432eb2
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x432dd9
sub eax, eax
jmp 0x432eb2
cmp dword [ebp + 0xc], 0
je 0x432e05
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 0x18]
mov word [eax], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 0x1c]
mov word [eax + 2], dx
mov eax, dword [ebp + 0xc]
mov cx, word [ebp - 4]
mov word [eax + 4], cx
cmp dword [ebp + 0x10], 0
je 0x432ead
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
cmp eax, 0x814
jne 0x432e50
push 0
push 0x131
push str.f:dd_vctoolscrt_bld_self_x86crt_srcgetqloc.c
push str.__get_qualified_locale
push str.strcpy_s_lpOutStr__szLanguage___sizeof_lpOutStr__szLanguage____sizeof_lpOutStr__szLanguage_0______Norwegian_Nynorsk__
push 0x457d7c
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00411830
add esp, 0xc
push eax
call fcn.00408050
add esp, 0x18
jmp 0x432e70
push 0x40
mov edx, dword [ebp + 0x10]
push edx
push 0x1001
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x432e70
xor eax, eax
jmp 0x432eb2
push 0x40
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
push 0x1002
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x432e93
sub eax, eax
jmp 0x432eb2
push 0xa
push 0x10
mov edx, dword [ebp + 0x10]
add edx, 0x80
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00424160
add esp, 0x10
nop
push 1
nop
pop eax
push ebp
pop esp
pop ebp
ret