Function at 0x4f7750
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x864ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
call fcn.007cff5d
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4f7795
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ebp
call fcn.007cff5d
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4f77c3
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x3c]
lea ecx, [ebx + 0x20]
push ecx
lea ecx, [edi + 0x14c]
mov byte [esp + 0x38], 3
call fcn.004aa540
mov eax, dword [edi + 0x14c]
cmp dword [eax - 0xc], ebp
je 0x4f7843
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.005c63d0
add esp, 0xc
test al, al
jne 0x4f7843
push 0x88ca18
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], 0x814b
call fcn.008039e9
add ebx, 0x24
push ebx
lea ecx, [edi + 0x150]
call fcn.004aa540
mov esi, dword [edi + 0x150]
cmp dword [esi - 0xc], ebp
je 0x4f78a2
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebx, esp
push esi
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.005c63d0
add esp, 0xc
test al, al
jne 0x4f78a2
push 0x88ca18
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], 0x814b
call fcn.008039e9
cmp dword [esp + 0x18], ebp
jne 0x4f78c5
cmp dword [esp + 0x14], ebp
jne 0x4f78c5
push 0x88ca18
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0x814c
call fcn.008039e9
mov eax, dword [edi + 0x148]
lea esi, [edi + 0x148]
cmp eax, ebp
je 0x4f78df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], ebp
mov eax, dword [edi + 0x154]
lea ebp, [edi + 0x154]
test eax, eax
je 0x4f78fe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp], 0
mov eax, dword [edi + 0x158]
test eax, eax
je 0x4f791a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x158], 0
push esi
push 0x40c7dc
push 0x17
push 0
push 0x40bba4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4f794a
push 0x88ca18
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0x814d
call fcn.008039e9
mov eax, dword [esi]
mov ecx, dword [edi + 0x114]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4f7c14
mov ebx, dword [esp + 0x24]
mov ecx, dword [edi + 0x114]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
test eax, eax
jns 0x4f7996
push 0x88ca18
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], 0xa1a3
call fcn.008039e9
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call fcn.00602ba0
cmp dword [esp + 0x14], 0
mov eax, dword [esi]
mov ecx, dword [ebp]
mov edx, dword [eax]
lea ebx, [edi + 0x164]
push ebx
push 0x431020
push ecx
jne 0x4f7a91
push 0x40b504
push 0x40bfd4
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jns 0x4f79f3
mov ecx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [eax]
push ebx
push 0x431020
push ecx
push 0x40b4b4
push 0x40bfd4
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [eax]
lea ebx, [edi + 0x168]
push ebx
push 0x431020
push ecx
push 0x40b504
push 0x40bfe4
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jns 0x4f7a39
mov ecx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [eax]
push ebx
push 0x431020
push ecx
push 0x40b4b4
push 0x40bfe4
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [eax]
lea ebx, [edi + 0x16c]
push ebx
push 0x431020
push ecx
push 0x40b4c4
push 0x40bfd4
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jns 0x4f7a83
mov ecx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [eax]
push ebx
push 0x431020
push ecx
push 0x40b4c4
push 0x40bfe4
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
js 0x4f7ac5
push ebp
lea ecx, [edi + 0x158]
call fcn.00602ba0
jmp 0x4f7ac5
push 0x40b4b4
push 0x40bfd4
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [eax]
lea ebx, [edi + 0x168]
push ebx
push 0x431020
push ecx
push 0x40b4b4
push 0x40bfd4
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [eax]
lea ebx, [edi + 0x170]
push ebx
push 0x431040
push ecx
push 0
push 0x40bff4
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [eax]
lea ebx, [edi + 0x174]
push ebx
push 0x431050
push ecx
push 0
push 0x40bff4
push eax
mov eax, dword [edx + 0x18]
call eax
cmp dword [ebx], 0
je 0x4f7c14
call fcn.007c9a2f
mov eax, dword [eax + 4]
mov ebx, dword [ebx]
mov edx, dword [eax]
push 1
push 0x403ba8
mov ecx, eax
mov eax, dword [edx + 0x7c]
mov dword [esp + 0x24], ebx
mov ebx, dword [ebx]
push 0x403bd0
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x18]
push eax
push ecx
call edx
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jns 0x4f7bba
call fcn.007c9a2f
mov ebx, dword [eax + 4]
mov eax, dword [edi + 0x14c]
sub eax, 0x10
push eax
call fcn.004a9b50
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push 0x40cfcc
push edx
mov byte [esp + 0x44], 4
call fcn.004b1a10
add esp, 0x10
mov eax, dword [eax]
mov edx, dword [ebx]
push 0xffffffffffffffff
push 0x40cfbc
push eax
mov eax, dword [edx + 0x7c]
mov ecx, ebx
mov byte [esp + 0x40], 5
call eax
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.004a8c20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.004a8c20
test ebx, ebx
js 0x4f7c14
mov eax, dword [edi + 0x118]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
push 0
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp dword [esp + 0x1c], 2
jne 0x4f7bec
mov eax, dword [edi + 0x118]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
mov eax, dword [edi + 0x174]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push eax
call edx
cmp dword [esp + 0x1c], 2
jne 0x4f7c14
mov eax, dword [edi + 0x118]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
cmp dword [esp + 0x14], 0
je 0x4f7cf6
mov eax, dword [esp + 0x20]
mov ebx, dword [edi + 0x114]
add eax, 0xfffffff0
push eax
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
push eax
mov eax, dword [ecx + 0xc]
push edx
push ebx
mov byte [esp + 0x40], 6
call eax
test eax, eax
mov eax, dword [esp + 0x28]
sets bl
add eax, 0xfffffff0
mov byte [esp + 0x34], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f7c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4f7c94
push 0x88ca18
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], 0xa1a4
call fcn.008039e9
lea edx, [esp + 0x14]
push edx
lea ecx, [edi + 0x158]
call fcn.00602ba0
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [edi + 0x16c]
push ecx
mov ecx, dword [edi + 0x158]
push 0x431020
push ecx
push 0x40b4c4
push 0x40bfd4
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jns 0x4f7cf6
mov ebx, dword [edi + 0x158]
mov esi, dword [esi]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
lea eax, [edi + 0x16c]
push eax
push 0x431020
push ebx
push 0x40b4c4
push 0x40bfe4
push esi
call edx
cmp dword [ebp], 0
jne 0x4f7d1c
cmp dword [edi + 0x158], 0
jne 0x4f7d1c
push 0x88ca18
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0x8152
call fcn.008039e9
push 0xa1a2
call fcn.007cfe78
test eax, eax
je 0x4f7d3c
mov ecx, dword [esp + 0x3c]
push 0xa1a2
push eax
add ecx, 4
call fcn.004a8d10
push 3
mov ecx, edi
call fcn.004ecce0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 2
test eax, eax
je 0x4f7d5a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x34], 1
test eax, eax
je 0x4f7d6f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f7d94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f7dbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4