Function at 0x46e193
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x4abe2c
call fcn.004a80c4
sub esp, 0x124
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
je 0x46e474
cmp dword [ebp + 0xc], ebx
je 0x46e474
cmp dword [edi + 0x38], 0x10
jb 0x46e1c7
mov eax, dword [edi + 0x24]
jmp 0x46e1ca
lea eax, [edi + 0x24]
push 0x4c09f0
push eax
call fcn.0047aad2
test eax, eax
pop ecx
pop ecx
je 0x46e1e9
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffffffe
jmp 0x46e47a
push 0x4c09fc
lea esi, [ebp - 0x10]
mov eax, edi
mov dword [ebp - 0x10], ebx
call fcn.004013f3
call fcn.00470ced
mov al, byte [eax + 0x40]
test al, al
jne 0x46e226
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.0046e48d
cmp al, 1
jne 0x46e226
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov al, 1
jmp 0x46e47c
call fcn.00470ced
push eax
call fcn.00471396
test al, al
jne 0x46e256
push 0x4c0a00
mov eax, edi
call fcn.004013ca
push eax
call fcn.0046e637
cmp al, 1
jne 0x46e256
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x46e21f
call fcn.00470ced
cmp byte [eax + 0x41], bl
jne 0x46e2c8
mov eax, dword [0x4da2a0]
mov esi, 0x4da2a0
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x4da2a0]
mov ecx, esi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov eax, dword [0x4da2a0]
mov ecx, esi
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
mov esi, dword [eax + 0x18]
test esi, esi
mov dword [ebp - 0x10], esi
jne 0x46e2d6
lea eax, [edi - 0x10]
call fcn.00405d7c
lea eax, [ebx - 0x10]
call fcn.00405d7c
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00405d7c
mov eax, dword [ebp + 8]
and dword [eax], 0
jmp 0x46e47a
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp + 0x10], eax
je 0x46e433
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
push str.name
mov byte [ebp - 4], 3
call fcn.004013ca
mov esi, 0xfde9
push esi
push eax
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x128]
push eax
mov dword [ebp - 0x12c], ecx
call fcn.0040d33a
mov byte [ebp - 4], 4
push dword [ebp - 0x12c]
lea eax, [ebp + 0xc]
push eax
call fcn.0040611b
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x12c], eax
je 0x46e351
push dword [ebp - 0x12c]
call fcn.00479fdf
pop ecx
mov eax, dword [ebp + 0x10]
push 0x4bff2c
call fcn.004013ca
push esi
push eax
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x128]
push eax
mov dword [ebp - 0x12c], ecx
call fcn.0040d33a
mov byte [ebp - 4], 5
push dword [ebp - 0x12c]
lea eax, [ebp - 0x14]
push eax
call fcn.0040611b
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x12c], eax
je 0x46e3a9
push dword [ebp - 0x12c]
call fcn.00479fdf
pop ecx
mov eax, dword [ebp + 0x10]
push str.subkey
call fcn.004013ca
push esi
push eax
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x128]
push eax
mov dword [ebp - 0x12c], ecx
call fcn.0040d33a
mov byte [ebp - 4], 6
push dword [ebp - 0x12c]
lea eax, [ebp - 0x18]
push eax
call fcn.0040611b
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x12c], eax
je 0x46e401
push dword [ebp - 0x12c]
call fcn.00479fdf
pop ecx
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x10]
call fcn.0046e869
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push edi
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.0046e93f
test al, al
lea esi, [ebp - 0x28]
jne 0x46e446
mov byte [ebp - 4], 2
call fcn.00450476
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x40]
test esi, esi
mov dword [ebp - 0x10], esi
jne 0x46e2d3
jmp 0x46e2ad
mov eax, dword [ebp + 8]
mov dword [eax], 2
call fcn.00450476
lea eax, [edi - 0x10]
call fcn.00405d7c
lea eax, [ebx - 0x10]
call fcn.00405d7c
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00405d7c
jmp 0x46e21f
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc