Function at 0x45a7c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d42a7
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x6825d0
call fcn.0059e74b
mov ecx, dword [ebp + 0x10]
call fcn.0040e920
movzx eax, al
test eax, eax
je 0x45a80f
jmp 0x45b42c
push 0x2710
push 0
call fcn.00468410
add esp, 8
cmp eax, 0x1f4
jge 0x45a866
push 0
lea ecx, [ebp - 0x1c4]
call fcn.00547be0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c4]
push eax
push str.Inited
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.00548410
mov ecx, dword [ebp + 8]
call fcn.0054b3e0
movzx eax, al
test eax, eax
jne 0x45a8a8
push str.Inited
mov ecx, dword [ebp + 8]
call fcn.0054bf80
movzx eax, al
test eax, eax
je 0x45a8a8
push str.Inited
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00549c20
movzx eax, al
test eax, eax
jne 0x45aa93
push 1
lea ecx, [ebp - 0x1d4]
call fcn.00547be0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1d4]
push eax
push str.Inited
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.00548410
push 0x2710
push 0
call fcn.00468410
add esp, 8
cmp eax, dword [ebp + 0xc]
jge 0x45aa52
push 1
lea ecx, [ebp - 0x1e4]
call fcn.00547be0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x1e4]
push eax
push str.Open
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.00548410
push str.accuracy
mov ecx, dword [ebp + 8]
call fcn.0054bf80
movzx eax, al
test eax, eax
jne 0x45a9a5
push 0xb
push 2
call fcn.00468410
add esp, 8
imul eax, eax, 0xa
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00547be0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1f4]
push ecx
push str.accuracy
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.00548410
push str.GeoZero
mov ecx, dword [ebp + 8]
call fcn.0054bf80
movzx eax, al
test eax, eax
jne 0x45aa50
push 0
lea ecx, [ebp - 0x204]
call fcn.00547be0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x204]
push eax
push str.GeoZero
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.00548410
push 0xa
push 0
call fcn.00468410
add esp, 8
cmp eax, 3
jge 0x45aa50
push 1
lea ecx, [ebp - 0x214]
call fcn.00547be0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x214]
push eax
push str.GeoZero
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.00548410
jmp 0x45aa93
push 0
lea ecx, [ebp - 0x224]
call fcn.00547be0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x224]
push eax
push str.Open
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00548410
push str.Open
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.00549c20
movzx eax, al
test eax, eax
je 0x45b42c
push 0x70
lea ecx, [ebp - 0x84]
call fcn.0040d030
lea ecx, [ebp - 0x84]
call fcn.00542610
mov dword [ebp - 4], 7
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00456ff0
add esp, 8
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x3e0], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3e0]
call fcn.0040d5a0
push eax
lea edx, [ebp - 0x254]
push edx
call fcn.004546e0
add esp, 8
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3e8]
call fcn.0040d5d0
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.0046eee0
add esp, 8
mov dword [ebp - 0x3ec], eax
mov edx, dword [ebp - 0x3ec]
mov dword [ebp - 0x3f0], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x3f0]
push eax
push 0x606238
push 0
lea ecx, [ebp - 0x284]
push ecx
call fcn.004570b0
add esp, 8
mov dword [ebp - 0x3f4], eax
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f8], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x29c]
push ecx
call fcn.004279e0
add esp, 0xc
mov dword [ebp - 0x3fc], eax
mov edx, dword [ebp - 0x3fc]
mov dword [ebp - 0x400], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x400]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00436630
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x29c]
call fcn.00404f60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x284]
call fcn.00404f60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x26c]
call fcn.00404f60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x254]
call fcn.00409580
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x23c]
call fcn.00404f60
push str._channel_:_CHANNEL_
lea ecx, [ebp - 0xb4]
call fcn.00404a80
mov byte [ebp - 4], 0x13
push str.CHANNEL
lea ecx, [ebp - 0x2b4]
call fcn.00404a80
mov byte [ebp - 4], 0x14
push 1
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2b8], esp
lea edx, [ebp - 0xb4]
push edx
call fcn.00407f40
mov dword [ebp - 0x3dc], eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x2d0]
push eax
mov byte [ebp - 4], 0x14
call fcn.00467d70
add esp, 0x28
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3e4], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x3e4]
push edx
lea ecx, [ebp - 0xb4]
call fcn.00409d80
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2d0]
call fcn.00404f60
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2b4]
call fcn.00404f60
mov eax, dword [str.X0nH1BF5iBXkG2kjSmXhVQoWlSYXsVheNQoJJPBeQcA]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00404a80
mov byte [ebp - 4], 0x17
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2d4], esp
push str.SHA256
call fcn.00404a80
mov dword [ebp - 0x3dc], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.00477760
add esp, 8
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x3e4], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x3e4]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x308], esp
lea edx, [ebp - 0xb4]
push edx
call fcn.00407f40
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x320]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0044e8e0
add esp, 0x38
mov dword [ebp - 0x3ec], eax
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x3f0], ecx
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x3f0]
push edx
lea ecx, [ebp - 0xb4]
call fcn.00409d80
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x320]
call fcn.00404f60
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x304]
call fcn.00404f60
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2ec]
call fcn.00404f60
lea ecx, [ebp - 0xcc]
call fcn.00404b30
mov byte [ebp - 4], 0x1d
push 0
push 0x1e
push 1
push 0
push 0
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0040d5a0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040d5a0
push eax
call fcn.0044aad0
add esp, 0x20
test eax, eax
je 0x45b3ed
mov eax, dword [str.X0nH1BF5iBXkG2kjSmXhVQoWlSYXsVheNQoJJPBeQcA]
push eax
lea ecx, [ebp - 0x33c]
call fcn.00404a80
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x324], esp
push str.SHA256
call fcn.00404a80
mov dword [ebp - 0x3dc], eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x354]
push edx
call fcn.00477760
add esp, 8
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x3e4], eax
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x3e4]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x358], esp
lea edx, [ebp - 0xcc]
push edx
call fcn.00407f40
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x370]
push eax
mov byte [ebp - 4], 0x22
call fcn.00447390
add esp, 0x38
mov dword [ebp - 0x3ec], eax
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x3f0], ecx
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x3f0]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00409d80
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x370]
call fcn.00404f60
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x354]
call fcn.00404f60
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x33c]
call fcn.00404f60
push 0x10
lea ecx, [ebp - 0xdc]
call fcn.0040d030
push 0
lea ecx, [ebp - 0xdc]
call fcn.00547cf0
mov byte [ebp - 4], 0x24
push 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00544470
movzx edx, al
test edx, edx
je 0x45b3de
push 0x606264
lea ecx, [ebp - 0xdc]
call fcn.0054bf80
movzx eax, al
test eax, eax
je 0x45b3de
push 0x606264
lea ecx, [ebp - 0xdc]
call fcn.00548b00
mov ecx, eax
call fcn.0054a2b0
cmp eax, 1
jne 0x45b3de
push 0x60626c
lea ecx, [ebp - 0xdc]
call fcn.0054bf80
movzx eax, al
test eax, eax
je 0x45b3de
push 0x606270
lea ecx, [ebp - 0xdc]
call fcn.0054bf80
movzx eax, al
test eax, eax
je 0x45b3de
push 0x60626c
lea ecx, [ebp - 0xdc]
call fcn.00548b00
mov ecx, eax
call fcn.00549e00
fstp qword [ebp - 0xe4]
push 0x606270
lea ecx, [ebp - 0xdc]
call fcn.00548b00
mov ecx, eax
call fcn.00549e00
fstp qword [ebp - 0xec]
sub esp, 8
movsd xmm0, qword [ebp - 0xec]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0xe4]
movsd qword [esp], xmm0
call fcn.0045da20
add esp, 0x10
test eax, eax
je 0x45b3de
xorps xmm0, xmm0
movsd qword [ebp - 0xf4], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0xfc], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0xec]
movsd qword [esp], xmm0
lea eax, [ebp - 0x388]
push eax
call fcn.0047bb20
add esp, 0xc
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x3e0], ecx
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x3e0]
push edx
push 0x5f5358
sub esp, 8
movsd xmm0, qword [ebp - 0xe4]
movsd qword [esp], xmm0
lea eax, [ebp - 0x3a0]
push eax
call fcn.0047bb20
add esp, 0xc
mov dword [ebp - 0x3e4], eax
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3e8], ecx
mov byte [ebp - 4], 0x26
mov edx, dword [ebp - 0x3e8]
push edx
lea eax, [ebp - 0x3b8]
push eax
call fcn.004279e0
add esp, 0xc
mov dword [ebp - 0x3ec], eax
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x3f0], ecx
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x3f0]
push edx
lea eax, [ebp - 0x114]
push eax
call fcn.00436630
add esp, 0xc
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x3b8]
call fcn.00404f60
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x3a0]
call fcn.00404f60
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x388]
call fcn.00404f60
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
call fcn.0054bee0
movzx ecx, al
test ecx, ecx
je 0x45b196
push 0x10
lea ecx, [ebp - 0x124]
call fcn.0040d030
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
call fcn.005486e0
push eax
lea ecx, [ebp - 0x124]
call fcn.00547900
mov byte [ebp - 4], 0x2c
push 0x60626c
lea ecx, [ebp - 0x124]
call fcn.00548b00
mov ecx, eax
call fcn.00549e00
fstp qword [ebp - 0xf4]
push 0x606270
lea ecx, [ebp - 0x124]
call fcn.00548b00
mov ecx, eax
call fcn.00549e00
fstp qword [ebp - 0xfc]
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x124]
call fcn.00548410
sub esp, 8
movsd xmm0, qword [ebp - 0xfc]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0xf4]
movsd qword [esp], xmm0
call fcn.0045da20
add esp, 0x10
test eax, eax
jne 0x45b309
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xf4]
push ecx
push 0x3e8
push 0
call fcn.00468410
add esp, 8
cvtsi2sd xmm0, eax
sub esp, 8
movsd qword [esp], xmm0
push 0x168
push 0
call fcn.00468410
add esp, 8
push eax
sub esp, 8
movsd xmm0, qword [ebp - 0xec]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0xe4]
movsd qword [esp], xmm0
call fcn.004747a0
add esp, 0x24
push 0x10
lea ecx, [ebp - 0x134]
call fcn.0040d030
push 0
lea ecx, [ebp - 0x134]
call fcn.00547cf0
mov byte [ebp - 4], 0x2d
sub esp, 8
movsd xmm0, qword [ebp - 0xf4]
movsd qword [esp], xmm0
lea ecx, [ebp - 0x3c8]
call fcn.00547c60
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0x3c8]
push eax
push 0x60626c
lea ecx, [ebp - 0x134]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x3c8]
call fcn.00548410
sub esp, 8
movsd xmm0, qword [ebp - 0xfc]
movsd qword [esp], xmm0
lea ecx, [ebp - 0x3d8]
call fcn.00547c60
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x3d8]
push eax
push 0x606270
lea ecx, [ebp - 0x134]
call fcn.00548b00
mov ecx, eax
call fcn.00548500
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x3d8]
call fcn.00548410
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 8]
call fcn.005486e0
mov ecx, eax
call fcn.00548500
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x134]
call fcn.00548410
sub esp, 8
movsd xmm0, qword [ebp - 0xfc]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0xf4]
movsd qword [esp], xmm0
call fcn.0045da20
add esp, 0x10
test eax, eax
je 0x45b3cf
mov dword [0x680690], 1
movsd xmm0, qword [ebp - 0xf4]
movsd qword [0x6806a0], xmm0
movsd xmm0, qword [ebp - 0xfc]
movsd qword [0x680698], xmm0
push str.accuracy
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.0054a2b0
mov dword [0x680694], eax
push str.GeoZero
mov ecx, dword [ebp + 8]
call fcn.00548b00
mov ecx, eax
call fcn.0054a2b0
mov dword [0x6806a8], eax
mov eax, dword [0x6806a8]
push eax
mov ecx, dword [0x680694]
push ecx
sub esp, 8
movsd xmm0, qword [0x680698]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [0x6806a0]
movsd qword [esp], xmm0
push str.OpenGeolocation_lng:_f_lat:_f_accuracy:_d_GeoZero:_d
call fcn.00477e50
add esp, 0x1c
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x114]
call fcn.00404f60
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xdc]
call fcn.00548410
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xcc]
call fcn.00404f60
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xb4]
call fcn.00404f60
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
call fcn.00404f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00440480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret 0xc