Function at 0x4d4770
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52697b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x354
mov dword [ebp - 0x348], ecx
cmp dword [ebp + 0xc], 0
je 0x4d47a0
cmp dword [ebp + 8], 0
jne 0x4d47b4
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x348]
call fcn.004d3c00
xor al, al
jmp 0x4d4ae7
push str.avoidgroup
mov ecx, dword [ebp + 0xc]
call fcn.00401fa0
push eax
call fcn.0049e677
add esp, 8
test eax, eax
je 0x4d47e2
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x348]
call fcn.004d3c00
xor al, al
jmp 0x4d4ae7
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x532dbc
mov ecx, dword [ebp + 0xc]
call fcn.00511420
call fcn.004d2b40
mov ecx, eax
call fcn.004d1920
movzx ecx, al
test ecx, ecx
jne 0x4d483c
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x348]
call fcn.004d3ea0
movzx ecx, al
cmp ecx, 1
jne 0x4d483c
push 1
mov ecx, dword [ebp - 0x348]
call fcn.004d3c00
mov al, 1
jmp 0x4d4ae7
call fcn.004d2b40
mov ecx, eax
call fcn.004d1ca0
movzx edx, al
test edx, edx
jne 0x4d4884
push str.city
mov ecx, dword [ebp + 0xc]
call fcn.00511160
push eax
mov ecx, dword [ebp - 0x348]
call fcn.004d45f0
movzx eax, al
cmp eax, 1
jne 0x4d4884
push 3
mov ecx, dword [ebp - 0x348]
call fcn.004d3c00
mov al, 1
jmp 0x4d4ae7
call fcn.004d2b40
mov ecx, eax
call fcn.004d1900
movzx ecx, al
test ecx, ecx
jne 0x4d4ad8
lea ecx, [ebp - 0x1c]
call fcn.004070d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004070d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004070d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
call fcn.00416300
mov dword [ebp - 0x20], eax
jmp 0x4d48da
mov ecx, dword [ebp - 0x20]
call fcn.00401fe0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d4ab1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4d48fc
jmp 0x4d48cf
lea ecx, [ebp - 0x34]
call fcn.0044d070
mov byte [ebp - 4], 3
push 0xfde9
push 0x532dc8
mov ecx, dword [ebp - 0x24]
call fcn.00511160
push eax
lea ecx, [ebp - 0x138]
call fcn.0040d550
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x350], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x350]
call fcn.00477060
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x138]
call fcn.0040d580
push 0xfde9
push 0x532dd0
mov ecx, dword [ebp - 0x24]
call fcn.00511160
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040d550
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x358], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x358]
call fcn.00477060
push eax
lea ecx, [ebp - 0x14]
call fcn.00407020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.0040d580
push 0xfde9
push 0x532dd4
mov ecx, dword [ebp - 0x24]
call fcn.00511160
push eax
lea ecx, [ebp - 0x340]
call fcn.0040d550
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x35c]
mov dword [ebp - 0x360], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x360]
call fcn.00477060
push eax
lea ecx, [ebp - 0x18]
call fcn.00407020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x340]
call fcn.0040d580
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x348]
call fcn.004d44d0
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x18]
call fcn.00477060
push eax
lea ecx, [ebp - 0x14]
call fcn.00477060
push eax
lea ecx, [ebp - 0x1c]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x348]
call fcn.004d4240
movzx eax, al
test eax, eax
je 0x4d4aa0
push 2
mov ecx, dword [ebp - 0x348]
call fcn.004d3c00
mov byte [ebp - 0x341], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00477450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov al, byte [ebp - 0x341]
jmp 0x4d4ae7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00477450
jmp 0x4d48cf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
push 0
mov ecx, dword [ebp - 0x348]
call fcn.004d3c00
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8