Function at 0x41c6b8
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x6c
mov dword [esp + 8], ecx
mov dword [esp + 0x61], 0
mov dword [esp + 0x5d], 0
mov dword [esp + 0x59], 0
mov dword [esp + 0x55], 0
mov dword [esp + 0x51], 0
mov dword [esp + 0x4d], 0
mov dword [esp + 0x49], 0
mov dword [esp + 0x45], 0
mov dword [esp + 0x41], 0
mov dword [esp + 0x3d], 0
mov dword [esp + 0x39], 0
mov dword [esp + 0x35], 0
mov dword [esp + 0x31], 0
mov dword [esp + 0x2d], 0
mov dword [esp + 0x29], 0
mov word [esp + 0x25], 0x6f6e
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x28], 0x65
mov dword [esp + 0x20], 0x303030
sub esp, 0xc
mov dword [esp + 0x18], edx
push edx
call fcn.0041e420
add esp, 0x10
xor ebx, ebx
mov ecx, 1
lea esi, [esp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], ecx
mov edi, ecx
and edi, 0xfbff
or edi, 0x400
push 0x40
lea ebp, [esp + 0x29]
push ebp
push 0x1001
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
push 4
push esi
push 3
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
push ebp
call fcn.0041e420
add esp, 4
push esi
call fcn.0041e420
add esp, 8
push ebp
mov edi, dword [esp + 0x18]
push edi
call fcn.004173b4
add esp, 0x10
test eax, eax
jne 0x41c858
sub esp, 0xc
push esi
call fcn.004178c4
add esp, 0xc
push eax
push esi
push edi
call fcn.0041799c
add esp, 0x10
xor ecx, ecx
test eax, eax
setne dl
mov eax, 1
je 0x41c7f9
mov eax, ebx
mov cl, dl
mov edx, dword [esp + 4]
add edx, ecx
mov ecx, edx
cmp ecx, 0x38
jg 0x41c812
test eax, eax
mov ebx, eax
je 0x41c778
mov dword [esp + 4], ecx
test eax, eax
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
jne 0x41c86a
sub esp, 8
push 0x5f
push edi
call fcn.004177d8
add esp, 0x10
test eax, eax
jne 0x41c84a
sub esp, 8
push 0x2e
push edi
call fcn.004177d8
add esp, 0x10
test eax, eax
je 0x41c9a2
mov eax, dword [ebx + 4]
test eax, eax
je 0x41c85e
and eax, 0x3ff
jmp 0x41c866
mov ebx, dword [esp + 8]
jmp 0x41c86a
call sub.KERNEL32.DLL_GetSystemDefaultLangID
movzx eax, ax
mov dword [esp + 4], eax
sub esp, 8
push 0x5f
push edi
call fcn.004177d8
add esp, 0x10
test eax, eax
je 0x41c940
inc eax
sub esp, 8
push 0x2e
mov dword [esp + 0x20], eax
push eax
call fcn.004177d8
add esp, 0x10
test eax, eax
je 0x41c89a
mov byte [eax], 0
mov dword [esp + 0x10], eax
mov edi, 1
xor ebx, ebx
xor ebp, ebp
nop
mov eax, edi
shl eax, 0xa
or eax, dword [esp + 4]
movzx ecx, ax
push 0x40
lea esi, [esp + 0x29]
push esi
push 0x1002
mov dword [esp + 0x28], ecx
push ecx
call sub.KERNEL32.DLL_GetLocaleInfoA
mov dword [esp + 0x18], eax
sub esp, 0xc
push esi
call fcn.0041e420
add esp, 8
push dword [esp + 0x1c]
push esi
call fcn.00417828
add esp, 0x10
xor ecx, ecx
test eax, eax
setne dl
mov eax, 1
jne 0x41c908
mov esi, dword [esp + 0x1c]
jne 0x41c910
cmp dword [esp + 0x18], 0
jne 0x41c919
jmp 0x41c925
mov eax, ebp
mov esi, dword [esp + 0x1c]
je 0x41c8fb
mov esi, ebx
cmp dword [esp + 0x18], 0
je 0x41c925
mov cl, dl
add edi, ecx
test eax, eax
mov ebx, esi
mov ebp, eax
je 0x41c8a8
test eax, eax
je 0x41c988
mov eax, dword [esp + 0x10]
mov ebp, esi
test eax, eax
je 0x41c936
mov byte [eax], 0x2e
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0xc]
jmp 0x41c950
mov eax, dword [esp + 4]
and eax, 0xfbff
or eax, 0x400
mov ebp, eax
sub esp, 8
push 0x2e
push edi
call fcn.004177d8
add esp, 0x10
mov esi, eax
test esi, esi
je 0x41c967
inc esi
jmp 0x41c976
lea esi, [esp + 0x65]
push 7
push esi
push 0xb
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
push esi
call fcn.0041f2f0
add esp, 0x10
mov dword [ebx], eax
mov eax, ebp
jmp 0x41c99a
sub esp, 0xc
push 0x20000101
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
xor eax, eax
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0xc
push 0x20000101
jmp 0x41c990