Function at 0x4d49f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524520
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 0x4d4a20
cmp dword [ebp + 8], 0
jne 0x4d4a34
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x348]
call fcn.004d3e80
xor al, al
jmp 0x4d4d67
push str.avoidgroup
mov ecx, dword [ebp + 0xc]
call fcn.004079b0
push eax
call fcn.004b20ba
add esp, 8
test eax, eax
je 0x4d4a62
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x348]
call fcn.004d3e80
xor al, al
jmp 0x4d4d67
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x5311b0
mov ecx, dword [ebp + 0xc]
call fcn.00510970
call fcn.004dcf90
mov ecx, eax
call fcn.004dc0f0
movzx ecx, al
test ecx, ecx
jne 0x4d4abc
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x348]
call fcn.004d4120
movzx ecx, al
cmp ecx, 1
jne 0x4d4abc
push 1
mov ecx, dword [ebp - 0x348]
call fcn.004d3e80
mov al, 1
jmp 0x4d4d67
call fcn.004dcf90
mov ecx, eax
call fcn.004dc770
movzx edx, al
test edx, edx
jne 0x4d4b04
push str.city
mov ecx, dword [ebp + 0xc]
call fcn.00510780
push eax
mov ecx, dword [ebp - 0x348]
call fcn.004d4870
movzx eax, al
cmp eax, 1
jne 0x4d4b04
push 3
mov ecx, dword [ebp - 0x348]
call fcn.004d3e80
mov al, 1
jmp 0x4d4d67
call fcn.004dcf90
mov ecx, eax
call fcn.004dc0d0
movzx ecx, al
test ecx, ecx
jne 0x4d4d58
lea ecx, [ebp - 0x1c]
call fcn.0040c630
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040c630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040c630
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
call fcn.00407990
mov dword [ebp - 0x20], eax
jmp 0x4d4b5a
mov ecx, dword [ebp - 0x20]
call fcn.00407970
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d4d31
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 0x4d4b7c
jmp 0x4d4b4f
lea ecx, [ebp - 0x34]
call fcn.004771c0
mov byte [ebp - 4], 3
push 0xfde9
push 0x5311bc
mov ecx, dword [ebp - 0x24]
call fcn.00510780
push eax
lea ecx, [ebp - 0x138]
call fcn.0042d000
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.00423af0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040ae00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x138]
call fcn.0040c200
push 0xfde9
push 0x5311c4
mov ecx, dword [ebp - 0x24]
call fcn.00510780
push eax
lea ecx, [ebp - 0x23c]
call fcn.0042d000
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.00423af0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040ae00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.0040c200
push 0xfde9
push str.subkey
mov ecx, dword [ebp - 0x24]
call fcn.00510780
push eax
lea ecx, [ebp - 0x340]
call fcn.0042d000
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.00423af0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ae00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x340]
call fcn.0040c200
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x348]
call fcn.004d4640
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x18]
call fcn.00423af0
push eax
lea ecx, [ebp - 0x14]
call fcn.00423af0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423af0
push eax
mov ecx, dword [ebp - 0x348]
call fcn.004d44c0
movzx eax, al
test eax, eax
je 0x4d4d20
push 2
mov ecx, dword [ebp - 0x348]
call fcn.004d3e80
mov byte [ebp - 0x341], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.0040f2f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040c650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c650
mov al, byte [ebp - 0x341]
jmp 0x4d4d67
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.0040f2f0
jmp 0x4d4b4f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040c650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c650
push 0
mov ecx, dword [ebp - 0x348]
call fcn.004d3e80
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8