Function at 0x40f7aa
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0x4c
push 0xbc
mov eax, 0x45f2d7
call fcn.00441639
mov dword [ebp + 0x48], ecx
xor edi, edi
mov dword [ebp + 0x4c], edi
mov dword [ebp - 4], edi
mov ebx, str.downloadinfo
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00409e8f
lea eax, [ebp + 0x58]
push eax
push dword [ebp + 0x70]
xor esi, esi
inc esi
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 3
mov dword [ebp + 0x4c], esi
call fcn.004061f9
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x58]
call fcn.00407b73
lea ecx, [ebp + 0x3c]
push ecx
mov ecx, eax
call fcn.0041849a
test al, al
jne 0x40f844
push ebx
lea ecx, [ebp - 0x4c]
call fcn.00409e8f
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x58]
mov dword [ebp - 4], 4
mov dword [ebp + 0x4c], 3
call fcn.0040e1a7
mov ecx, dword [eax]
call fcn.00418416
test al, al
je 0x40f844
mov bl, 1
jmp 0x40f846
xor bl, bl
test byte [ebp + 0x4c], 2
je 0x40f85a
and dword [ebp + 0x4c], 0xfffffffd
push edi
push esi
lea ecx, [ebp - 0x4c]
call fcn.00406581
test byte [ebp + 0x4c], 1
mov dword [ebp - 4], 2
je 0x40f875
and dword [ebp + 0x4c], 0xfffffffe
push edi
push esi
lea ecx, [ebp - 0x68]
call fcn.00406581
test bl, bl
je 0x40fe36
push str.downloadinfo
lea ecx, [ebp - 0xc8]
call fcn.00409e8f
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 5
call fcn.0040e1a7
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [eax]
call fcn.00418c52
push edi
push esi
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 7
call fcn.00406581
mov dword [ebp + 0x38], edi
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x64]
sar eax, 2
cmp dword [ebp + 0x38], eax
jae 0x40fe28
push dword [ebp + 0x38]
call fcn.00404a68
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [eax]
call fcn.00418dd7
push str.downloadurl
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 8
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp - 0x24]
push eax
call fcn.0040e243
mov edi, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x38]
imul edi, edi, 0x9c4
imul ecx, ecx, 0x34
lea esi, [ecx + edi]
lea ecx, [esi + 0x480af4]
push eax
mov byte [ebp - 4], 9
call fcn.00403b35
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.0040127b
push str.exename
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp - 0x20]
push eax
call fcn.0040e243
lea ecx, [esi + 0x480af8]
push eax
mov byte [ebp - 4], 0xa
call fcn.00403b35
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.0040127b
push str.event
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp - 0x14]
push eax
call fcn.0040e243
lea ebx, [esi + 0x480afc]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.00403b35
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.0040127b
push 0x465d6c
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp - 0x28]
push eax
call fcn.0040e243
lea ecx, [esi + 0x480b04]
push eax
mov byte [ebp - 4], 0xc
call fcn.00403b35
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.0040127b
push str.country
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp + 4]
push eax
call fcn.0040e243
lea ecx, [esi + 0x480b08]
push eax
mov byte [ebp - 4], 0xd
call fcn.00403b35
mov ecx, dword [ebp + 4]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.0040127b
push str.label
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040e243
lea ecx, [esi + 0x480b1c]
push eax
mov byte [ebp - 4], 0xe
call fcn.00403b35
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.0040127b
mov eax, dword [ebp + 0x7c]
cmp dword [eax - 0xc], 0
je 0x40faa3
push dword [ebx]
lea ecx, [ebp + 0x7c]
call fcn.004033b8
test eax, eax
je 0x40faa3
mov byte [edi + 0x4810c1], 1
push str.post_install_check
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
mov edi, dword [ebp + 0x48]
lea eax, [ebp + 0x2c]
push eax
mov ecx, edi
call fcn.0040e243
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040961d
pop ecx
lea eax, [ebp + 0x2c]
lea ecx, [esi + 0x480b0c]
push eax
call fcn.00403b35
push str.switches
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
lea eax, [ebp + 0x44]
push eax
mov ecx, edi
call fcn.0040e243
lea eax, [ebp + 0x44]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.004098d1
lea eax, [ebp + 0x44]
push eax
call fcn.0040961d
pop ecx
lea eax, [ebp + 0x44]
lea ecx, [esi + 0x480b00]
push eax
call fcn.00403b35
push str.launchexepath
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
lea eax, [ebp + 0x30]
push eax
mov ecx, edi
call fcn.0040e243
lea eax, [ebp + 0x30]
push eax
mov byte [ebp - 4], 0x11
call fcn.0040961d
pop ecx
lea eax, [ebp + 0x30]
lea ecx, [esi + 0x480b20]
push eax
call fcn.00403b35
push str.launchexeswitches
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0040e243
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp + 0x44]
call fcn.00403b35
mov ecx, dword [ebp]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.0040127b
lea eax, [ebp + 0x44]
push eax
mov ecx, edi
call fcn.004098d1
lea eax, [ebp + 0x44]
push eax
call fcn.0040961d
pop ecx
lea eax, [ebp + 0x44]
lea ecx, [esi + 0x480b24]
push eax
call fcn.00403b35
mov edi, str.post_install_check_v2
push edi
lea ecx, [ebp - 0x84]
call fcn.00409e8f
or dword [ebp + 0x4c], 4
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x20]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.004061f9
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp + 8]
call fcn.00407b73
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.0041849a
test al, al
jne 0x40fc48
push edi
lea ecx, [ebp - 0x4c]
call fcn.00409e8f
or dword [ebp + 0x4c], 8
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0x14
call fcn.0040e1a7
mov ecx, dword [eax]
call fcn.00418416
test al, al
je 0x40fc48
mov bl, 1
jmp 0x40fc4a
xor bl, bl
test byte [ebp + 0x4c], 8
je 0x40fc60
and dword [ebp + 0x4c], 0xfffffff7
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00406581
test byte [ebp + 0x4c], 4
mov dword [ebp - 4], 0x11
je 0x40fc80
and dword [ebp + 0x4c], 0xfffffffb
push 0
push 1
lea ecx, [ebp - 0x84]
call fcn.00406581
test bl, bl
je 0x40fd9a
push str.post_install_check_v2
lea ecx, [ebp - 0x84]
call fcn.00409e8f
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x15
call fcn.0040e1a7
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [eax]
call fcn.00418c52
push 0
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x17
call fcn.00406581
push 0
lea ecx, [ebp - 0x48]
call fcn.00404a68
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [eax]
call fcn.00418dd7
push 0x465ca0
sub esp, 0x20
lea eax, [ebp - 0xa4]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x18
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp + 0x34]
push eax
call fcn.0040e243
lea eax, [ebp + 0x34]
push eax
mov byte [ebp - 4], 0x19
call fcn.0040961d
pop ecx
push str.type
sub esp, 0x20
lea eax, [ebp - 0xa4]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp - 0x18]
push eax
call fcn.0040e243
lea ecx, [esi + 0x480b10]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00403b35
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x19
call fcn.0040127b
lea eax, [ebp + 0x34]
lea ecx, [esi + 0x480b14]
push eax
call fcn.00403b35
mov ecx, dword [ebp + 0x34]
add ecx, 0xfffffff0
call fcn.0040127b
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x17
call fcn.0040cd54
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.004065cc
push dword [ebp - 0x48]
call fcn.0041d65f
pop ecx
push str.execute
sub esp, 0x20
lea eax, [ebp + 8]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.0040d5a3
mov ecx, dword [ebp + 0x48]
lea eax, [ebp + 0x28]
push eax
call fcn.0040e243
mov edi, 0x4650bc
push edi
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x1b
call fcn.004033b8
lea ecx, [esi + 0x480b18]
test eax, eax
jne 0x40fddb
push edi
jmp 0x40fde0
push 0x4650c4
call fcn.00403b82
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp + 0x2c]
add ecx, 0xfffffff0
call fcn.0040127b
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.0040cd54
inc dword [ebp + 0x38]
xor esi, esi
inc esi
jmp 0x40f8bf
call fcn.004065cc
push dword [ebp - 0x64]
call fcn.0041d65f
pop ecx
mov dword [ebp - 4], esi
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0
call fcn.0040cd54
mov ecx, dword [ebp + 0x7c]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x50
leave
ret 0x28