Function at 0x4d4730
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52693b
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 0x4d4760
cmp dword [ebp + 8], 0
jne 0x4d4774
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x348]
call fcn.004d3bc0
xor al, al
jmp 0x4d4aa7
push str.avoidgroup
mov ecx, dword [ebp + 0xc]
call fcn.00401fa0
push eax
call fcn.0049e677
add esp, 8
test eax, eax
je 0x4d47a2
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x348]
call fcn.004d3bc0
xor al, al
jmp 0x4d4aa7
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x532da4
mov ecx, dword [ebp + 0xc]
call fcn.005113e0
call fcn.004d2b00
mov ecx, eax
call fcn.004d18e0
movzx ecx, al
test ecx, ecx
jne 0x4d47fc
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x348]
call fcn.004d3e60
movzx ecx, al
cmp ecx, 1
jne 0x4d47fc
push 1
mov ecx, dword [ebp - 0x348]
call fcn.004d3bc0
mov al, 1
jmp 0x4d4aa7
call fcn.004d2b00
mov ecx, eax
call fcn.004d1c60
movzx edx, al
test edx, edx
jne 0x4d4844
push str.city
mov ecx, dword [ebp + 0xc]
call fcn.00511120
push eax
mov ecx, dword [ebp - 0x348]
call fcn.004d45b0
movzx eax, al
cmp eax, 1
jne 0x4d4844
push 3
mov ecx, dword [ebp - 0x348]
call fcn.004d3bc0
mov al, 1
jmp 0x4d4aa7
call fcn.004d2b00
mov ecx, eax
call fcn.004d18c0
movzx ecx, al
test ecx, ecx
jne 0x4d4a98
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 0x4d489a
mov ecx, dword [ebp - 0x20]
call fcn.00401fe0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d4a71
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 0x4d48bc
jmp 0x4d488f
lea ecx, [ebp - 0x34]
call fcn.0044d070
mov byte [ebp - 4], 3
push 0xfde9
push 0x532db0
mov ecx, dword [ebp - 0x24]
call fcn.00511120
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 0x532db8
mov ecx, dword [ebp - 0x24]
call fcn.00511120
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 0x532dbc
mov ecx, dword [ebp - 0x24]
call fcn.00511120
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.004d4490
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.004d4200
movzx eax, al
test eax, eax
je 0x4d4a60
push 2
mov ecx, dword [ebp - 0x348]
call fcn.004d3bc0
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 0x4d4aa7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00477450
jmp 0x4d488f
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.004d3bc0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8