Function at 0x5086c0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x631656
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc4]
mov edi, ecx
mov dword [esp + 0x18], vtable.StringConvertor.0
xor ebx, ebx
mov dword [esp + 0xbc], ebx
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], ax
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0059cba0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x508744
lea eax, [esp + 0x20]
mov ebp, dword [esp + 0xc8]
mov edx, dword [edi + 0x108]
push eax
push ebp
push ebx
push edx
call fcn.0044e630
mov eax, dword [esi + 0x4c8]
mov ecx, dword [esi + 0x4cc]
mov edx, eax
add esp, 0x10
or edx, ecx
je 0x50890f
lea edx, [esp + 0x30]
push edx
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0043a250
mov ecx, dword [edi + 0x108]
lea eax, [esp + 0x30]
push eax
push ebp
push 1
push ecx
call fcn.0040ce70
add esp, 0x10
cmp dword [esi + 0x91c], 3
jne 0x5087b9
mov edx, dword [0x71083c]
mov eax, dword [edi + 0x108]
push edx
push ebp
push 2
push eax
jmp 0x5088ab
mov ecx, dword [esi + 0x4d0]
or ecx, dword [esi + 0x4d4]
je 0x508856
push 8
lea edx, [esp + 0x2c]
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x5087ed
mov eax, 0x2c
mov word [esp + 0x28], ax
fild qword [esi + 0x4d0]
fld qword [0x65bb98]
fmul st(1), st(0)
fild qword [esi + 0x4c8]
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
call fcn.005fa850
mov ebx, eax
mov dword [esp + 0x14], ebx
fisub dword [esp + 0x14]
fmulp st(1)
call fcn.005fa850
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
lea edx, [esp + 0x3c]
push 0x65bb88
push edx
call fcn.005fb4cb
mov ecx, dword [edi + 0x108]
lea eax, [esp + 0x44]
push eax
push ebp
push 2
push ecx
call fcn.0040ce70
add esp, 0x24
xor ebx, ebx
jmp 0x5088b3
mov eax, dword [esi + 0xa94]
cmp eax, 0x7565
jne 0x508876
mov edx, dword [0x710b6c]
mov eax, dword [edi + 0x108]
push edx
push ebp
push 2
push eax
jmp 0x5088ab
cmp eax, 0x7573
jne 0x508890
mov ecx, dword [0x711040]
mov edx, dword [edi + 0x108]
push ecx
push ebp
push 2
push edx
jmp 0x5088ab
cmp eax, 0x7540
je 0x5088b3
cmp eax, ebx
je 0x5088b3
mov eax, dword [0x710b74]
mov ecx, dword [edi + 0x108]
push eax
push ebp
push 2
push ecx
call fcn.0040ce70
add esp, 0x10
mov eax, dword [esi + 0x4e8]
cmp eax, ebx
je 0x50890f
cmp dword [esi + 0x91c], 3
je 0x50890f
mov ecx, dword [esi + 0x4c8]
sub ecx, dword [esi + 0x4d0]
mov ebx, dword [esi + 0x4cc]
sbb ebx, dword [esi + 0x4d4]
lea edx, [esp + 0x70]
push edx
cdq
push edx
push eax
push ebx
push ecx
call fcn.005fc580
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.0043abb0
mov eax, dword [edi + 0x108]
lea edx, [esp + 0x70]
push edx
push ebp
push 3
push eax
call fcn.0040ce70
add esp, 0x10
mov byte [esp + 0xbc], 0
lea ecx, [esp + 0x1c]
call fcn.004011f0
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0x18], vtable.StringConvertor.0
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005f85e7
add esp, 0xac
ret 8