Function at 0x41e1a1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040a074
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x41e4a2
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.Emulation.setGeolocationOverride
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0x5e62aa
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf4]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41e233
push ebx
call fcn.0050095e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41e243
push ebx
call fcn.0050095e
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x14]
mov eax, str.sessionId
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf4]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41e28a
push ebx
call fcn.0050095e
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, str.params
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe4]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41e2d1
push ebx
call fcn.0050095e
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00408fed
mov eax, 0
cmp eax, ecx
jl 0x41e301
push 0x2ca
push 0x401e0a0
push 1
call fcn.00500964
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push dword [ebx + 4]
push dword [ebx]
mov eax, str.accuracy
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41e353
push ebx
call fcn.0050095e
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00408fed
mov eax, 0
cmp eax, ecx
jl 0x41e37d
push 0x36f
push 0x401e0a0
push 1
call fcn.00500964
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push dword [ebx + 4]
push dword [ebx]
mov eax, str.latitude
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41e3cf
push ebx
call fcn.0050095e
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00408fed
mov eax, 0
cmp eax, ecx
jl 0x41e3f9
push 0x415
push 0x401e0a0
push 1
call fcn.00500964
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push dword [ebx + 4]
push dword [ebx]
mov eax, str.longitude
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41e44b
push ebx
call fcn.0050095e
add esp, 4
push dword [ebp + 0x28]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp + 0x18]
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.0041ab89
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41e4a2
push ebx
call fcn.0050095e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41e4b2
push ebx
call fcn.0050095e
add esp, 4
mov esp, ebp
pop ebp
ret 0x24