Function at 0x5047fa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esp
push 0x6964b8
push dword [ebp + 8]
mov eax, 0x3f
call fcn.00566d69
add esp, 8
cmp dword [ebp - 0x18], esp
je 0x50485a
push 0x20
push 0x401b549
push 6
call fcn.00566d5d
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x504879
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.00566d4b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x50488a
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
push 0x6964c1
push dword [ebp + 8]
mov eax, 0x3f
call fcn.00566d69
add esp, 8
cmp dword [ebp - 0x18], esp
je 0x5048c2
push 0x69
push 0x401b549
push 6
call fcn.00566d5d
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5048e1
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.00566d4b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5048f2
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 8], eax
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 5
jg 0x5049aa
push 1
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00420588
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x504933
push ebx
call fcn.00566d51
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x6966c1
push dword [ebp - 0xc]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x50498e
mov dword [ebp - 0x18], esp
push str.ERR2001
push 0xc8
push dword [ebp + 8]
mov eax, 0x41
call fcn.00566d69
add esp, 0xc
cmp dword [ebp - 0x18], esp
je 0x504989
push 0x131
push 0x401b549
push 6
call fcn.00566d5d
add esp, 0xc
jmp 0x504a38
lea eax, [ebp - 0xc]
push eax
call fcn.00423121
test eax, eax
je 0x5049a4
jmp 0x5049aa
pop ecx
jmp 0x5048f8
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.00423121
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x504a01
mov dword [ebp - 0x18], esp
push str.ERR2001
push 0xc8
push dword [ebp + 8]
mov eax, 0x41
call fcn.00566d69
add esp, 0xc
cmp dword [ebp - 0x18], esp
je 0x5049fc
push 0x21f
push 0x401b549
push 6
call fcn.00566d5d
add esp, 0xc
jmp 0x504a38
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0xc8
push dword [ebp + 8]
mov eax, 0x41
call fcn.00566d69
add esp, 0xc
cmp dword [ebp - 0x18], esp
je 0x504a38
push 0x274
push 0x401b549
push 6
call fcn.00566d5d
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x504a48
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x504a58
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x504a68
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x504a78
push ebx
call fcn.00566d51
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x504a88
push ebx
call fcn.00566d51
add esp, 4
mov esp, ebp
pop ebp
ret 4