Function at 0x5247a6
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x5eb15a
call fcn.00594e8c
sub esp, 0x148
mov eax, dword [0x6534d8]
xor eax, ebp
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
and eax, 1
jne 0x5247db
xor eax, eax
jmp 0x524a90
mov eax, dword [ebp - 0x150]
movsx eax, word [eax + 0x24]
cmp eax, 2
jne 0x524a82
lea ecx, [ebp - 0x10]
call fcn.0040b0ee
and dword [ebp - 4], 0
push 0x6186d8
lea ecx, [ebp - 0x14]
call fcn.0040e04b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x150]
fld qword [eax + 0x10]
push ecx
push ecx
fstp qword [esp]
push str._.20f
lea eax, [ebp - 0x10]
push eax
call fcn.0040ad5c
add esp, 0x10
push 0x30
lea ecx, [ebp - 0x10]
call fcn.005259e8
push 0x6186e2
mov ecx, dword [ebp - 0x150]
add ecx, 0x18
call fcn.0040b14b
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
and eax, 0x2000000
je 0x524871
mov eax, dword [ebp - 0x150]
push dword [eax + 0x34]
push str.__1._dlf
lea eax, [ebp - 0x14]
push eax
call fcn.0040ad5c
add esp, 0xc
mov eax, dword [ebp - 0x150]
fld qword [eax + 0x10]
push ecx
push ecx
fstp qword [esp]
lea ecx, [ebp - 0x14]
call fcn.00517034
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040ad5c
add esp, 0x10
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
and eax, 0x2000000
jne 0x5248b8
push 0x30
lea ecx, [ebp - 0x10]
call fcn.00525a60
push 0x30
lea ecx, [ebp - 0x10]
call fcn.005259e8
push 1
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d5b4
mov dword [ebp - 0x154], eax
push 0x2e
push dword [ebp - 0x154]
call fcn.00525afd
pop ecx
pop ecx
mov byte [ebp - 0x145], al
lea ecx, [ebp - 0x14c]
call fcn.0040b121
movzx eax, byte [ebp - 0x145]
test eax, eax
je 0x524904
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.005259e8
push 0x6186ed
lea eax, [ebp - 0x10]
push eax
call fcn.004197b5
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x524936
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
and eax, 1
je 0x524936
push str.0.10
lea ecx, [ebp - 0x10]
call fcn.0040b14b
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
and eax, 0x4000000
jne 0x524a58
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
and eax, 0x2000000
je 0x524968
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x34], eax
jmp 0x524999
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.00428a2e
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x524987
and dword [ebp - 0x34], 0
jmp 0x524999
lea ecx, [ebp - 0x10]
call fcn.0040b164
sub eax, dword [ebp - 0x144]
dec eax
mov dword [ebp - 0x34], eax
push 4
lea eax, [ebp - 0x30]
push eax
push 0x20000012
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x2c], 3
push 4
lea eax, [ebp - 0x140]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x28], eax
push 4
lea eax, [ebp - 0x18]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], eax
push 4
lea eax, [ebp - 0x20]
push eax
push 0x20001010
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x100
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
call fcn.00517034
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x524a49
lea eax, [ebp - 0x140]
push eax
push 0x6186f4
lea ecx, [ebp - 0x10]
call fcn.0041d3be
jmp 0x524a58
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b14b
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x150]
add ecx, 0x18
call fcn.0040b132
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040b121
mov ecx, dword [ebp - 0x150]
add ecx, 0x18
call fcn.00517034
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0059508d
leave
ret