Function at 0x45e7e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a157
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x581980]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x110], eax
mov ebx, ecx
lea ecx, [ebp - 0x108]
xor esi, esi
push ecx
mov dword [ebp - 4], esi
call fcn.004631c0
and dword [ebp - 0x130], 0xfffffe00
mov dword [ebp - 0x12c], esi
push 0xffffffffffffffff
push esi
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.00403a00
cmp dword [ebp - 0xc4], 0x10
mov ecx, dword [ebp - 0xd8]
jae 0x45e865
lea ecx, [ebp - 0xd8]
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x138]
lea edx, [edx + ecx]
push eax
lea edi, [ebp - 0x108]
call fcn.004632d0
test al, al
je 0x45ec53
push str.errno
lea ecx, [ebp - 0x138]
push ecx
call fcn.00461360
mov ecx, eax
call fcn.00460e70
mov edx, dword [ebp - 0x110]
mov dword [edx], eax
cmp eax, esi
jne 0x45ea34
push str.data
lea eax, [ebp - 0x138]
push eax
call fcn.00461360
push eax
lea ecx, [ebp - 0x120]
call fcn.00460b20
push str.city
lea ecx, [ebp - 0x120]
push ecx
mov byte [ebp - 4], 4
call fcn.00461360
lea esi, [ebp - 0x30]
mov ecx, eax
call fcn.00460da0
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 5
call fcn.00403690
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x10
jb 0x45e90f
mov edx, dword [ebp - 0x30]
push edx
call fcn.004f287e
add esp, 4
push str.sell
lea eax, [ebp - 0x120]
push eax
call fcn.00461360
lea esi, [ebp - 0x30]
mov ecx, eax
call fcn.00460da0
lea esi, [ebx + 0x70]
mov edi, eax
mov byte [ebp - 4], 6
call fcn.00403690
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x10
jb 0x45e94e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004f287e
add esp, 4
push str.temperature
lea edx, [ebp - 0x120]
push edx
call fcn.00461360
lea esi, [ebp - 0x30]
mov ecx, eax
call fcn.00460da0
lea esi, [ebx + 0x1c]
mov edi, eax
mov byte [ebp - 4], 7
call fcn.00403690
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x10
jb 0x45e98d
mov eax, dword [ebp - 0x30]
push eax
call fcn.004f287e
add esp, 4
push str.weather
lea ecx, [ebp - 0x120]
push ecx
call fcn.00461360
lea esi, [ebp - 0x30]
mov ecx, eax
call fcn.00460da0
lea esi, [ebx + 0x38]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.00403690
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x10
jb 0x45e9cc
mov edx, dword [ebp - 0x30]
push edx
call fcn.004f287e
add esp, 4
push str.wind
lea eax, [ebp - 0x120]
push eax
call fcn.00461360
lea esi, [ebp - 0x30]
mov ecx, eax
call fcn.00460da0
lea esi, [ebx + 0x54]
mov edi, eax
mov byte [ebp - 4], 9
call fcn.00403690
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x10
jb 0x45ea0b
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004f287e
add esp, 4
push 0x56e83c
lea edx, [ebp - 0x120]
push edx
call fcn.00461360
mov ecx, eax
call fcn.00460e70
mov dword [ebx + 0x8c], eax
lea eax, [ebp - 0x120]
jmp 0x45ebf9
cmp eax, 0xffffffff
jne 0x45ec02
push str.message
lea eax, [ebp - 0x138]
push eax
call fcn.00461360
push eax
lea ecx, [ebp - 0x28]
call fcn.00460b20
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], esi
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.004615c0
mov ebx, eax
lea esi, [ebp - 0x120]
mov byte [ebp - 4], 0xc
call fcn.0045fdc0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x45eaa8
mov edi, dword [ebp - 0x74]
call fcn.00460330
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004f287e
add esp, 4
mov ecx, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x120]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x45ebdc
mov edx, dword [ebp - 0x110]
add edx, 4
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x124], eax
jmp 0x45eaf6
mov ebx, dword [ebp - 0x10c]
cmp dword [ebx + 0x14], 0x10
jb 0x45eb00
mov eax, dword [ebx]
jmp 0x45eb02
mov eax, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00461360
lea esi, [ebp - 0x84]
mov ecx, eax
call fcn.00460da0
mov edi, eax
push 0xffffffffffffffff
mov byte [ebp - 4], 0xd
push 0
mov esi, 0xf
push ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.00403a00
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x38], esi
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.00403690
mov ebx, dword [ebp - 0x13c]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.0045fcc0
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jb 0x45eb81
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004f287e
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x54], esi
jb 0x45eba2
mov edx, dword [ebp - 0x68]
push edx
call fcn.004f287e
add esp, 4
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x70], esi
jb 0x45ebc3
mov eax, dword [ebp - 0x84]
push eax
call fcn.004f287e
add esp, 4
add dword [ebp - 0x10c], 0x1c
dec dword [ebp - 0x124]
jne 0x45eaf0
mov ebx, dword [ebp - 0x120]
test ebx, ebx
je 0x45ebf6
mov edi, dword [ebp - 0x11c]
mov eax, ebx
call fcn.00460330
push ebx
call fcn.004f287e
add esp, 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00460c80
push str.timestamp
lea ecx, [ebp - 0x138]
push ecx
call fcn.00461360
mov ecx, eax
call fcn.00460e70
mov edx, dword [ebp - 0x110]
mov dword [edx + 0x14], eax
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.00460c80
lea edi, [ebp - 0x108]
call fcn.0045ded0
cmp dword [ebp + 0x1c], 0x10
jb 0x45ec4f
mov eax, dword [ebp + 8]
push eax
call fcn.004f287e
add esp, 4
mov al, 1
jmp 0x45ec81
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.00460c80
lea edi, [ebp - 0x108]
call fcn.0045ded0
cmp dword [ebp + 0x1c], 0x10
jb 0x45ec7f
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f287e
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2889
mov esp, ebp
pop ebp
ret 0x20