Function at 0x45ab8d
Capabilities:
Get geographical location

Disassembly:
push 0x238
mov eax, 0x493da1
call fcn.00492097
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], edi
call dword [0x4a2ef4]
xor ebx, ebx
inc ebx
cmp byte [ebp + 0x10], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x240], ebx
je 0x45ad4e
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
mov eax, dword [ebp + 8]
ja 0x45acc8
jb 0x45abdf
cmp eax, 0x100000
jae 0x45ac59
mov dword [ebp - 0x22c], ecx
and dword [ebp - 0x22c], 0x80000000
and ecx, 0x7fffffff
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], ecx
fild qword [ebp - 0x238]
mov dword [ebp - 0x230], edi
fild qword [ebp - 0x230]
push edi
push 0x7605
fchs
lea eax, [ebp - 0x234]
faddp st(1)
push eax
fmul qword [0x4b8bf8]
fstp qword [ebp - 0x230]
call fcn.00403ae0
mov dword [ebp - 4], ebx
push dword [eax]
fld qword [ebp - 0x230]
push ecx
push ecx
fstp qword [esp]
push str._.1f__s
push esi
call dword [0x4a2ee0]
add esp, 0x14
jmp 0x45aec6
cmp ecx, edi
ja 0x45acc8
jb 0x45ac66
cmp eax, 0x40000000
jae 0x45acc8
mov dword [ebp - 0x22c], ecx
and dword [ebp - 0x22c], 0x80000000
and ecx, 0x7fffffff
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], ecx
fild qword [ebp - 0x238]
mov dword [ebp - 0x230], edi
fild qword [ebp - 0x230]
push edi
push 0x7606
fchs
lea eax, [ebp - 0x234]
faddp st(1)
push eax
fmul qword [0x4b8bf0]
fstp qword [ebp - 0x230]
call fcn.00403ae0
mov dword [ebp - 4], 2
jmp 0x45ac38
cmp ecx, 0x100
ja 0x45ad38
jb 0x45acd6
cmp eax, edi
jae 0x45ad38
mov dword [ebp - 0x22c], ecx
and dword [ebp - 0x22c], 0x80000000
and ecx, 0x7fffffff
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], ecx
fild qword [ebp - 0x238]
mov dword [ebp - 0x230], edi
fild qword [ebp - 0x230]
push edi
push 0x7607
fchs
lea eax, [ebp - 0x234]
faddp st(1)
push eax
fmul qword [0x4b8be8]
fstp qword [ebp - 0x230]
call fcn.00403ae0
mov dword [ebp - 4], 3
jmp 0x45ac38
push ecx
push eax
push str._I64u_Byte
push esi
call dword [0x4a2ee0]
add esp, 0x10
jmp 0x45aed2
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, ecx
or edx, eax
jne 0x45ad6c
push 0x4aa1dc
mov ecx, esi
call dword [0x4a2d8c]
jmp 0x45ae80
shrd ecx, eax, 0xa
shr eax, 0xa
add ecx, ebx
adc eax, edi
push eax
push ecx
push str._I64u
push esi
call dword [0x4a2ee0]
mov eax, dword [esi]
add esp, 0x10
push 0xff
lea ecx, [ebp - 0x228]
push ecx
push edi
push eax
push SysReAllocString
mov ebx, 0x400
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call dword [0x4a2d8c]
push 0xa
lea eax, [ebp - 0x24]
push eax
push 0xe
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, edi
mov dword [ebp - 0x234], eax
jle 0x45ae80
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x234]
dec eax
mov dword [ebp - 0x23c], eax
js 0x45ae80
push dword [ebp - 0x234]
lea eax, [ebp - 0x22c]
push dword [ebp - 0x23c]
mov ecx, esi
push eax
call dword [0x4a2ca4]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov dword [ebp - 4], 4
call dword [0x4a2d90]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x22c]
inc bl
mov byte [ebp - 4], 0
call dword [0x4a2ee8]
test bl, bl
jne 0x45ae4b
dec dword [ebp - 0x23c]
jns 0x45adf7
jmp 0x45ae80
push dword [ebp - 0x23c]
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
call dword [0x4a2d94]
push eax
mov ecx, esi
mov dword [ebp - 4], 5
call dword [0x4a2ea0]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call dword [0x4a2ee8]
push edi
push 0x7541
lea eax, [ebp - 0x234]
push eax
call fcn.00403ae0
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, eax
mov ebx, 0x4a3d98
mov dword [ebp - 4], 6
call fcn.0040ec10
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call dword [0x4a2db0]
lea ecx, [ebp - 0x22c]
call dword [0x4a2ee8]
lea ecx, [ebp - 0x234]
call dword [0x4a2ee8]
mov eax, esi
call fcn.0049211a
ret