Function at 0x419ad0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512b37
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x56f8f4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x537b82
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xe8], eax
mov esi, edx
call fcn.004045c0
lea ecx, [ebp - 0x34]
push ecx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.00503f10
add esp, 8
test al, al
je 0x419bcc
sub esp, 0x1c
mov byte [ebp - 4], 1
lea edx, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x100], esp
push edx
call fcn.00403d30
lea eax, [ebp - 0x130]
push eax
call fcn.0042d902
add esp, 0x20
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004013d0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.00403d70
lea ecx, [ebp - 0xe4]
call fcn.0048a4f0
push ebx
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 3
call fcn.00485f40
push ebx
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 4
call fcn.0048a580
lea ecx, [ebp - 0xfc]
cmp al, bl
jne 0x419bdb
mov byte [ebp - 4], 3
call fcn.004864f0
lea ecx, [ebp - 0xe4]
call fcn.00419db0
lea ecx, [ebp - 0x34]
call fcn.00403d70
xor al, al
jmp 0x419d85
push str.position
call fcn.00487230
mov ecx, eax
call fcn.00487650
lea ecx, [ebp - 0xfc]
cmp al, bl
jne 0x419bb8
push str.position
call fcn.00487230
push eax
lea ecx, [ebp - 0x114]
call fcn.00486250
push str.cityname
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.00487230
mov ecx, eax
call fcn.00487650
lea ecx, [ebp - 0x114]
cmp al, bl
je 0x419c45
mov byte [ebp - 4], 4
call fcn.004864f0
lea ecx, [ebp - 0xfc]
jmp 0x419bb8
push str.cityname
call fcn.00487230
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.00486750
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00404650
test al, al
je 0x419c8c
lea ecx, [ebp - 0x50]
call fcn.00403d70
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.004864f0
lea ecx, [ebp - 0xfc]
jmp 0x419bb8
lea edx, [ebp - 0x50]
push edx
mov ecx, edi
call fcn.004013d0
push str.city
lea ecx, [ebp - 0x130]
call fcn.004045c0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.00505760
lea ecx, [ebp - 0x130]
call fcn.00403d70
push ebx
call fcn.004c3de4
add esp, 4
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], ebx
call fcn.00404750
mov byte [ebp - 4], 7
lea esi, [ebp - 0x104]
xor edi, edi
cmp edi, 8
jae 0x419d0b
mov eax, esi
push eax
lea ecx, [ebp - 0x148]
inc esi
call fcn.0040ed20
inc edi
jmp 0x419cf4
push str.time
lea ecx, [ebp - 0x130]
call fcn.004045c0
mov ecx, dword [ebp - 0xe8]
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.005056d0
lea ecx, [ebp - 0x130]
call fcn.00403d70
lea ecx, [ebp - 0x148]
call fcn.004048b0
lea ecx, [ebp - 0x50]
call fcn.00403d70
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.004864f0
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 3
call fcn.004864f0
lea ecx, [ebp - 0xe4]
call fcn.00419db0
lea ecx, [ebp - 0x34]
call fcn.00403d70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004c3202
mov esp, ebp
pop ebp
ret 4