Function at 0x45b600
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4d87
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x651da0]
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, 0x67b5d0
call fcn.0059f048
mov ecx, dword [ebp + 0x10]
call fcn.0040e960
movzx eax, al
test eax, eax
je 0x45b64f
jmp 0x45c26c
push 0x2710
push 0
call fcn.0046a200
add esp, 8
cmp eax, 0x1f4
jge 0x45b6a6
push 0
lea ecx, [ebp - 0x1c4]
call fcn.00548030
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c4]
push eax
push str.Inited
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.00548860
mov ecx, dword [ebp + 8]
call fcn.0054b820
movzx eax, al
test eax, eax
jne 0x45b6e8
push str.Inited
mov ecx, dword [ebp + 8]
call fcn.0054c3c0
movzx eax, al
test eax, eax
je 0x45b6e8
push str.Inited
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.0054a060
movzx eax, al
test eax, eax
jne 0x45b8d3
push 1
lea ecx, [ebp - 0x1d4]
call fcn.00548030
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1d4]
push eax
push str.Inited
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.00548860
push 0x2710
push 0
call fcn.0046a200
add esp, 8
cmp eax, dword [ebp + 0xc]
jge 0x45b892
push 1
lea ecx, [ebp - 0x1e4]
call fcn.00548030
mov dword [ebp - 4], 2
lea eax, [ebp - 0x1e4]
push eax
push str.Open
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.00548860
push str.accuracy
mov ecx, dword [ebp + 8]
call fcn.0054c3c0
movzx eax, al
test eax, eax
jne 0x45b7e5
push 0xb
push 2
call fcn.0046a200
add esp, 8
imul eax, eax, 0xa
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00548030
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1f4]
push ecx
push str.accuracy
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.00548860
push str.GeoZero
mov ecx, dword [ebp + 8]
call fcn.0054c3c0
movzx eax, al
test eax, eax
jne 0x45b890
push 0
lea ecx, [ebp - 0x204]
call fcn.00548030
mov dword [ebp - 4], 4
lea eax, [ebp - 0x204]
push eax
push str.GeoZero
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.00548860
push 0xa
push 0
call fcn.0046a200
add esp, 8
cmp eax, 3
jge 0x45b890
push 1
lea ecx, [ebp - 0x214]
call fcn.00548030
mov dword [ebp - 4], 5
lea eax, [ebp - 0x214]
push eax
push str.GeoZero
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.00548860
jmp 0x45b8d3
push 0
lea ecx, [ebp - 0x224]
call fcn.00548030
mov dword [ebp - 4], 6
lea eax, [ebp - 0x224]
push eax
push str.Open
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00548860
push str.Open
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.0054a060
movzx eax, al
test eax, eax
je 0x45c26c
push 0x70
lea ecx, [ebp - 0x84]
call fcn.0040d070
lea ecx, [ebp - 0x84]
call fcn.00542a60
mov dword [ebp - 4], 7
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00457ac0
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.0040d5e0
push eax
lea edx, [ebp - 0x254]
push edx
call fcn.00454d10
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.0040d610
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.0046f7b0
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 0x600cb8
push 0
lea ecx, [ebp - 0x284]
push ecx
call fcn.00457b80
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.00427a50
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.004367c0
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x29c]
call fcn.00404fb0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x284]
call fcn.00404fb0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x26c]
call fcn.00404fb0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x254]
call fcn.004095d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x23c]
call fcn.00404fb0
push str._channel_:_CHANNEL_
lea ecx, [ebp - 0xb4]
call fcn.00404ad0
mov byte [ebp - 4], 0x13
push str.CHANNEL
lea ecx, [ebp - 0x2b4]
call fcn.00404ad0
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.00407f90
mov dword [ebp - 0x3dc], eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x2d0]
push eax
mov byte [ebp - 4], 0x14
call fcn.00469b60
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.00409dd0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2d0]
call fcn.00404fb0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2b4]
call fcn.00404fb0
mov eax, dword [str.X0nH1BF5iBXkG2kjSmXhVQoWlSYXsVheNQoJJPBeQcA]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00404ad0
mov byte [ebp - 4], 0x17
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2d4], esp
push str.SHA256
call fcn.00404ad0
mov dword [ebp - 0x3dc], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.004780c0
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.00407f90
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x320]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0044ee00
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.00409dd0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x320]
call fcn.00404fb0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x304]
call fcn.00404fb0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2ec]
call fcn.00404fb0
lea ecx, [ebp - 0xcc]
call fcn.00404b80
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.0040d5e0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040d5e0
push eax
call fcn.0044af70
add esp, 0x20
test eax, eax
je 0x45c22d
mov eax, dword [str.X0nH1BF5iBXkG2kjSmXhVQoWlSYXsVheNQoJJPBeQcA]
push eax
lea ecx, [ebp - 0x33c]
call fcn.00404ad0
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x324], esp
push str.SHA256
call fcn.00404ad0
mov dword [ebp - 0x3dc], eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x354]
push edx
call fcn.004780c0
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.00407f90
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x370]
push eax
mov byte [ebp - 4], 0x22
call fcn.004475c0
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.00409dd0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x370]
call fcn.00404fb0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x354]
call fcn.00404fb0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x33c]
call fcn.00404fb0
push 0x10
lea ecx, [ebp - 0xdc]
call fcn.0040d070
push 0
lea ecx, [ebp - 0xdc]
call fcn.00548140
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.005448b0
movzx edx, al
test edx, edx
je 0x45c21e
push 0x600ce4
lea ecx, [ebp - 0xdc]
call fcn.0054c3c0
movzx eax, al
test eax, eax
je 0x45c21e
push 0x600ce4
lea ecx, [ebp - 0xdc]
call fcn.00548f50
mov ecx, eax
call fcn.0054a6f0
cmp eax, 1
jne 0x45c21e
push 0x600cec
lea ecx, [ebp - 0xdc]
call fcn.0054c3c0
movzx eax, al
test eax, eax
je 0x45c21e
push 0x600cf0
lea ecx, [ebp - 0xdc]
call fcn.0054c3c0
movzx eax, al
test eax, eax
je 0x45c21e
push 0x600cec
lea ecx, [ebp - 0xdc]
call fcn.00548f50
mov ecx, eax
call fcn.0054a240
fstp qword [ebp - 0xe4]
push 0x600cf0
lea ecx, [ebp - 0xdc]
call fcn.00548f50
mov ecx, eax
call fcn.0054a240
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.0045ebb0
add esp, 0x10
test eax, eax
je 0x45c21e
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.0047c290
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.0047c290
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.00427a50
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.004367c0
add esp, 0xc
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x3b8]
call fcn.00404fb0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x3a0]
call fcn.00404fb0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x388]
call fcn.00404fb0
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
call fcn.0054c320
movzx ecx, al
test ecx, ecx
je 0x45bfd6
push 0x10
lea ecx, [ebp - 0x124]
call fcn.0040d070
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
call fcn.00548b30
push eax
lea ecx, [ebp - 0x124]
call fcn.00547d50
mov byte [ebp - 4], 0x2c
push 0x600cec
lea ecx, [ebp - 0x124]
call fcn.00548f50
mov ecx, eax
call fcn.0054a240
fstp qword [ebp - 0xf4]
push 0x600cf0
lea ecx, [ebp - 0x124]
call fcn.00548f50
mov ecx, eax
call fcn.0054a240
fstp qword [ebp - 0xfc]
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x124]
call fcn.00548860
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.0045ebb0
add esp, 0x10
test eax, eax
jne 0x45c149
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xf4]
push ecx
push 0x3e8
push 0
call fcn.0046a200
add esp, 8
cvtsi2sd xmm0, eax
sub esp, 8
movsd qword [esp], xmm0
push 0x168
push 0
call fcn.0046a200
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.004750d0
add esp, 0x24
push 0x10
lea ecx, [ebp - 0x134]
call fcn.0040d070
push 0
lea ecx, [ebp - 0x134]
call fcn.00548140
mov byte [ebp - 4], 0x2d
sub esp, 8
movsd xmm0, qword [ebp - 0xf4]
movsd qword [esp], xmm0
lea ecx, [ebp - 0x3c8]
call fcn.005480b0
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0x3c8]
push eax
push 0x600cec
lea ecx, [ebp - 0x134]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x3c8]
call fcn.00548860
sub esp, 8
movsd xmm0, qword [ebp - 0xfc]
movsd qword [esp], xmm0
lea ecx, [ebp - 0x3d8]
call fcn.005480b0
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x3d8]
push eax
push 0x600cf0
lea ecx, [ebp - 0x134]
call fcn.00548f50
mov ecx, eax
call fcn.00548950
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x3d8]
call fcn.00548860
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00548b30
mov ecx, eax
call fcn.00548950
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x134]
call fcn.00548860
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.0045ebb0
add esp, 0x10
test eax, eax
je 0x45c20f
mov dword [0x6796c8], 1
movsd xmm0, qword [ebp - 0xf4]
movsd qword [0x6796d8], xmm0
movsd xmm0, qword [ebp - 0xfc]
movsd qword [0x6796d0], xmm0
push str.accuracy
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.0054a6f0
mov dword [0x6796cc], eax
push str.GeoZero
mov ecx, dword [ebp + 8]
call fcn.00548f50
mov ecx, eax
call fcn.0054a6f0
mov dword [0x6796e0], eax
mov eax, dword [0x6796e0]
push eax
mov ecx, dword [0x6796cc]
push ecx
sub esp, 8
movsd xmm0, qword [0x6796d0]
movsd qword [esp], xmm0
sub esp, 8
movsd xmm0, qword [0x6796d8]
movsd qword [esp], xmm0
push str.OpenGeolocation_lng:_f_lat:_f_accuracy:_d_GeoZero:_d
call fcn.004787b0
add esp, 0x1c
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x114]
call fcn.00404fb0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xdc]
call fcn.00548860
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xcc]
call fcn.00404fb0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xb4]
call fcn.00404fb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
call fcn.00404fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00440680
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.0059f07a
mov esp, ebp
pop ebp
ret 0xc