Function at 0x51a8f0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x65a6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x8c]
mov esi, ecx
mov ecx, dword [esp + 0x88]
lea eax, [ecx - 0x1392]
cmp eax, 5
ja case.default.0x51a941
jmp dword [eax*4 + 0x51adb0]
mov ecx, dword [esi + 0x88]
push edi
call fcn.0049bd00
mov ebx, eax
test ebx, ebx
je 0x51a98b
mov eax, dword [esi + 0x88]
mov ecx, dword [ebx + 0x4fc]
cmp ecx, dword [eax + 0x84]
jne 0x51a98b
lea ecx, [esi + 0xf8]
call fcn.004545d0
push eax
push edi
mov ecx, esi
call fcn.00519530
push eax
push ebx
mov ecx, esi
call fcn.0051a410
mov eax, 1
jmp 0x51ad8f
push edi
mov ecx, esi
call fcn.005194e0
mov eax, 1
jmp 0x51ad8f
mov edx, dword [edi]
push edx
mov ecx, esi
call fcn.00519620
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x51aa2a
mov ebp, vtable.StringConvertor.0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov byte [esp + 0x80], 1
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0043f860
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x118]
push eax
push ebx
push 1
push ecx
call fcn.0040d0d0
add esp, 0x10
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x1c]
call fcn.00402560
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x14], ebp
mov eax, 1
jmp 0x51ad8f
mov ecx, dword [esi + 0x88]
push edi
call fcn.0049bd00
xor ebx, ebx
cmp eax, ebx
je 0x51aaab
xor edx, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], dx
mov dword [esp + 0x80], 2
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.005b9000
push edi
mov ecx, esi
call fcn.00519620
cmp eax, 0xffffffff
jle 0x51aa97
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
jne 0x51aa85
lea ecx, [esp + 0x2c]
mov edx, dword [esi + 0x118]
push ecx
push eax
push ebx
push edx
call fcn.00453bd0
add esp, 0x10
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00401210
mov eax, 1
jmp 0x51ad8f
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.00519620
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x51abc1
mov eax, dword [edi + 4]
sub eax, 0
je 0x51ab03
sub eax, 2
je 0x51ab03
sub eax, 1
jne 0x51abc1
mov ecx, dword [0x75ef3c]
mov edx, dword [esi + 0x118]
push ecx
push ebx
push 2
push edx
call fcn.0040d0d0
add esp, 0x10
mov eax, 1
jmp 0x51ad8f
mov eax, dword [edi]
mov ecx, dword [esi + 0x88]
push eax
call fcn.0049bd00
test eax, eax
je 0x51abc1
mov ecx, dword [eax + 0x508]
mov edx, dword [eax + 0x50c]
mov edi, ecx
or edi, edx
jne 0x51ab96
mov eax, dword [eax + 0xacc]
cmp eax, 0x7565
jne 0x51ab59
mov ecx, dword [0x75f26c]
mov edx, dword [esi + 0x118]
push ecx
push ebx
push 2
push edx
call fcn.0040d0d0
add esp, 0x10
lea eax, [edi + 1]
jmp 0x51ad8f
cmp eax, 0x7573
jne 0x51ab68
mov eax, dword [0x75f740]
push eax
jmp 0x51abaf
cmp eax, 0x7540
je 0x51abaa
test eax, eax
je 0x51abaa
mov edx, dword [0x75f274]
mov eax, dword [esi + 0x118]
push edx
push ebx
push 2
push eax
call fcn.0040d0d0
add esp, 0x10
mov eax, 1
jmp 0x51ad8f
mov edi, dword [eax + 0x500]
cmp edi, ecx
jne 0x51abc1
mov eax, dword [eax + 0x504]
cmp eax, edx
jne 0x51abc1
push 0x67997c
mov ecx, dword [esi + 0x118]
push ebx
push 2
push ecx
call fcn.0040d0d0
add esp, 0x10
mov eax, 1
jmp 0x51ad8f
mov edx, dword [edi]
push edx
mov ecx, esi
call fcn.00519620
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x24], ebp
jle 0x51ad7f
mov eax, dword [edi]
mov ecx, dword [esi + 0x88]
push eax
call fcn.0049bd00
mov edi, eax
test edi, edi
je 0x51ad7f
mov ecx, dword [edi + 0x950]
test ecx, ecx
je 0x51ad7f
mov eax, dword [ecx + 0x1c0]
or eax, dword [ecx + 0x1c4]
je 0x51ad7f
push 8
lea ecx, [esp + 0x2c]
push ecx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x51ac3e
mov edx, 0x2c
mov word [esp + 0x28], dx
mov eax, dword [edi + 0x950]
mov ecx, dword [eax + 0x1c8]
mov edx, dword [eax + 0x1cc]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x1c0]
mov dword [esp + 0x18], edx
fild qword [esp + 0x14]
mov edx, dword [eax + 0x1c4]
fld qword [0x6828a0]
mov dword [esp + 0x1c], ecx
fmul st(1), st(0)
mov dword [esp + 0x20], edx
fild qword [esp + 0x1c]
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
call fcn.00622df0
mov ebx, eax
mov dword [esp + 0x14], ebx
fisub dword [esp + 0x14]
fmulp st(1)
call fcn.00622df0
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
lea ecx, [esp + 0x40]
push 0x686350
push ecx
call fcn.00623a6b
mov eax, dword [esi + 0x118]
lea edx, [esp + 0x48]
push edx
push ebp
push 2
push eax
call fcn.0040d0d0
mov ecx, dword [edi + 0x950]
add esp, 0x24
cmp dword [ecx + 0x24], 0xa
jle 0x51ad7f
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov dword [esp + 0x80], 3
mov dword [esp + 0x14], vtable.StringConvertor.0
mov byte [esp + 0x80], 4
mov eax, dword [edi + 0x950]
mov ecx, dword [eax + 0x1c0]
mov edi, dword [eax + 0x1c4]
mov ebp, dword [eax + 0x1c8]
mov ebx, dword [eax + 0x1cc]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x1c]
push edx
cdq
push edx
sub ecx, ebp
push eax
sbb edi, ebx
push edi
push ecx
call fcn.00624b70
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0043fa40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x118]
push eax
push ecx
push 3
push edx
call fcn.0040d0d0
add esp, 0x10
mov byte [esp + 0x80], 3
mov dword [esp + 0x14], vtable.StringConvertor.0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402560
mov eax, 1
jmp 0x51ad8f
push edi
push ecx
mov ecx, esi
call fcn.005faf78
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00620b8d
add esp, 0x70
ret 8