Function at 0x4045f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47af30
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x16c
push ebx
push esi
push edi
mov eax, dword [0x49a1b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf0], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 0x480e20
lea ecx, [ebp - 0x70]
call fcn.004083c0
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xf0]
or eax, 1
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp + 8]
call fcn.004087b0
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp + 8]
call fcn.004087e0
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov ecx, dword [ebp - 0x100]
call fcn.0041c170
mov byte [ebp - 0x101], al
movzx edx, byte [ebp - 0x101]
test edx, edx
je 0x404716
push 0x480e3c
lea ecx, [ebp - 0x9c]
call fcn.004083c0
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xf0]
or eax, 2
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp + 8]
call fcn.00408520
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov ecx, dword [edx]
call fcn.0041b0d0
mov byte [ebp - 0x10d], al
movzx eax, byte [ebp - 0x10d]
test eax, eax
je 0x404716
mov dword [ebp - 0x114], 1
jmp 0x404720
mov dword [ebp - 0x114], 0
mov cl, byte [ebp - 0x114]
mov byte [ebp - 0x51], cl
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0xf0]
and edx, 2
je 0x40474d
and dword [ebp - 0xf0], 0xfffffffd
lea ecx, [ebp - 0x9c]
call fcn.00408400
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
and eax, 1
je 0x40476e
and dword [ebp - 0xf0], 0xfffffffe
lea ecx, [ebp - 0x70]
call fcn.00408400
movzx ecx, byte [ebp - 0x51]
test ecx, ecx
je 0x404b8a
push str.downloadinfo
lea ecx, [ebp - 0xb8]
call fcn.004083c0
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp + 8]
call fcn.00408520
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x11c]
mov ecx, dword [ecx]
call fcn.0041b190
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
call fcn.00408400
mov dword [ebp - 0x2c], 0
jmp 0x4047e1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x28]
call fcn.004084a0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x124]
jae 0x404b7e
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004084c0
mov dword [ebp - 0x128], eax
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
call fcn.0041b1d0
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 7
push str.downloadurl
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00407140
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00405650
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x28]
imul ecx, ecx, 0x308
lea ecx, [ecx + eax + 0x49b81c]
call fcn.0040ea90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call fcn.0040ea40
push str.exename
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00407140
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00405650
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x28]
imul ecx, ecx, 0x308
lea ecx, [ecx + eax + 0x49b820]
call fcn.0040ea90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc8]
call fcn.0040ea40
push 0x480e9c
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00407140
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00405650
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x28]
imul ecx, ecx, 0x308
lea ecx, [ecx + eax + 0x49b824]
call fcn.0040ea90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.0040ea40
push 0x480ea8
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xd4], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00407140
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00405650
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x28]
imul ecx, ecx, 0x308
lea ecx, [ecx + eax + 0x49b82c]
call fcn.0040ea90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd8]
call fcn.0040ea40
push 0x480eb8
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xdc], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00407140
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00405650
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x168], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x28]
imul ecx, ecx, 0x308
lea ecx, [ecx + eax + 0x49b830]
call fcn.0040ea90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe0]
call fcn.0040ea40
push str.post_install_check
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xe4], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00407140
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00405650
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x174]
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x28]
imul ecx, ecx, 0x308
lea ecx, [ecx + eax + 0x49b834]
call fcn.0040ea90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.0040ea40
push str.switches
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xec], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00407140
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.00405650
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0xf4]
call fcn.00401b90
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x28]
imul ecx, ecx, 0x308
lea ecx, [ecx + eax + 0x49b828]
call fcn.0040ea90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.0040ea40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.00407100
jmp 0x4047d8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408440
jmp 0x404b99
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24