Function at 0x404560
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aaa0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x170
push ebx
push esi
push edi
mov eax, dword [0x4991b0]
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 0x47fe14
lea ecx, [ebp - 0x6c]
call fcn.004081b0
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 - 0x7c]
push ecx
lea ecx, [ebp + 8]
call fcn.004085a0
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp + 8]
call fcn.004085d0
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov ecx, dword [ebp - 0x100]
call fcn.00409830
mov byte [ebp - 0x101], al
movzx edx, byte [ebp - 0x101]
test edx, edx
je 0x404686
push 0x47fe30
lea ecx, [ebp - 0x98]
call fcn.004081b0
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 - 0x98]
push ecx
lea ecx, [ebp + 8]
call fcn.00408310
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov ecx, dword [edx]
call fcn.0041ae80
mov byte [ebp - 0x10d], al
movzx eax, byte [ebp - 0x10d]
test eax, eax
je 0x404686
mov dword [ebp - 0x114], 1
jmp 0x404690
mov dword [ebp - 0x114], 0
mov cl, byte [ebp - 0x114]
mov byte [ebp - 0x4d], cl
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0xf0]
and edx, 2
je 0x4046bd
and dword [ebp - 0xf0], 0xfffffffd
lea ecx, [ebp - 0x98]
call fcn.004081f0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
and eax, 1
je 0x4046de
and dword [ebp - 0xf0], 0xfffffffe
lea ecx, [ebp - 0x6c]
call fcn.004081f0
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x404b00
push str.downloadinfo
lea ecx, [ebp - 0xb4]
call fcn.004081b0
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp + 8]
call fcn.00408310
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x11c]
mov ecx, dword [ecx]
call fcn.0041af40
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.004081f0
mov dword [ebp - 0x2c], 0
jmp 0x404751
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x28]
call fcn.00408290
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x124]
jae 0x404af4
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004082b0
mov dword [ebp - 0x128], eax
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
call fcn.0041af80
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 7
push str.downloadurl
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xb8], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00406f70
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.004054c0
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 + 0x49a81c]
call fcn.0040ebc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.0040ea70
push str.exename
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00406f70
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.004054c0
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 + 0x49a820]
call fcn.0040ebc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc4]
call fcn.0040ea70
push 0x47fe90
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00406f70
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.004054c0
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 + 0x49a824]
call fcn.0040ebc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
call fcn.0040ea70
push str.switches
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00406f70
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.004054c0
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 + 0x49a828]
call fcn.0040ebc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd4]
call fcn.0040ea70
push 0x47feb0
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xd8], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00406f70
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.004054c0
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 + 0x49a82c]
call fcn.0040ebc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xdc]
call fcn.0040ea70
push 0x47fec0
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xe0], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00406f70
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.004054c0
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 + 0x49a830]
call fcn.0040ebc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe4]
call fcn.0040ea70
push str.post_install_check
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xe8], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00406f70
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0xf4]
call fcn.004054c0
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0x28]
imul ecx, ecx, 0x308
lea ecx, [ecx + eax + 0x49a834]
call fcn.0040ebc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xec]
call fcn.0040ea70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.00406f30
jmp 0x404748
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408230
jmp 0x404b0f
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406f30
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