Function at 0x41a570
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push 0
push dword [edi + 0x18]
push 0x16
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00411c84
add esp, 0x10
mov dword [edi + 0x18], eax
push esi
push eax
push 0x16
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
setne byte [esp + 0xb]
push 0
push dword [edi + 0x14]
push 0x17
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00411c84
add esp, 0x10
mov dword [edi + 0x14], eax
push esi
push eax
push 0x17
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
setne bl
push 0
push dword [edi + 0x1c]
push 0x14
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00411c84
add esp, 0x10
mov dword [edi + 0x1c], eax
push esi
push eax
push 0x14
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
setne bh
and bh, bl
push 0
push dword [edi + 0x20]
push 0x15
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00411c84
add esp, 0x10
mov dword [edi + 0x20], eax
push esi
push eax
push 0x15
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
setne bl
and bl, bh
push 0
push dword [edi + 0x24]
push 0x18
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00411c84
add esp, 0x10
mov dword [edi + 0x24], eax
push esi
push eax
push 0x18
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
setne bh
and bh, bl
push 0
push dword [edi + 0x28]
push 0x50
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00411c84
add esp, 0x10
mov dword [edi + 0x28], eax
push esi
push eax
push 0x50
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
setne bl
and bl, bh
push 0
push dword [edi + 0x2c]
push 0x51
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00411c84
add esp, 0x10
mov dword [edi + 0x2c], eax
push esi
push eax
push 0x51
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
setne al
and al, bl
and al, byte [esp + 0xb]
movzx edi, al
sub esp, 0xc
push 4
call fcn.00411c84
add esp, 0x10
mov esi, eax
test esi, esi
je 0x41a71c
push 4
push esi
push 0x19
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41a72b
push esi
call fcn.0041ca04
add esp, 0x10
mov ebx, dword [esp + 0x24]
mov word [ebx], ax
sub esp, 0xc
push esi
call fcn.00411c94
add esp, 0x10
mov esi, 1
jmp 0x41a73a
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41a734
push esi
call fcn.00411c94
add esp, 0x10
xor esi, esi
mov ebx, dword [esp + 0x24]
and esi, edi
sub esp, 0xc
push 4
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41a781
push 4
push edi
push 0x1a
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41a790
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 2], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41a79b
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41a799
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
sub esp, 0xc
push 3
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41a7e2
push 3
push edi
push 0x1b
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41a7f1
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 4], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41a7fc
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41a7fa
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
sub esp, 0xc
push 4
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41a843
push 4
push edi
push 0x1c
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41a852
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 6], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41a85d
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41a85b
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
sub esp, 0xc
push 3
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41a8a4
push 3
push edi
push 0x52
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41a8b3
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 8], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41a8be
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41a8bc
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
sub esp, 0xc
push 4
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41a905
push 4
push edi
push 0x53
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41a914
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 0xa], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41a91f
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41a91d
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
sub esp, 0xc
push 3
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41a966
push 3
push edi
push 0x54
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41a975
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 0xc], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41a980
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41a97e
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
sub esp, 0xc
push 3
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41a9c7
push 3
push edi
push 0x55
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41a9d6
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 0xe], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41a9e1
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41a9df
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
sub esp, 0xc
push 3
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41aa28
push 3
push edi
push 0x56
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41aa37
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 0x10], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41aa42
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41aa40
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
sub esp, 0xc
push 3
call fcn.00411c84
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41aa89
push 3
push edi
push 0x57
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x41aa98
push edi
call fcn.0041ca04
add esp, 0x10
mov word [ebx + 0x12], ax
sub esp, 0xc
push edi
call fcn.00411c94
add esp, 0x10
mov eax, 1
jmp 0x41aaa3
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x41aaa1
push edi
call fcn.00411c94
add esp, 0x10
xor eax, eax
and esi, eax
movsx eax, word [ebx + 6]
sub esp, 0xc
push dword [eax*4 + 0x4fce14]
call fcn.0041430c
add esp, 0x10
mov dword [ebx + 0x30], eax
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret