Function at 0x4011f0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a9bb
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x421150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401d40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
push ecx
push str._ssetup.ini
lea edx, [ebp - 0x24]
push edx
call fcn.00402ab0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00401d40
mov byte [ebp - 4], 2
push str.Checking_prerequisites
lea eax, [ebp - 0x10]
push eax
call fcn.00402ab0
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00409bc0
cmp eax, 1
jne 0x4012b5
mov dword [ebp - 0x6c], 0x642
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x6c]
jmp 0x401cc9
lea ecx, [ebp - 0x24]
call fcn.004094c0
push eax
push 0x41c358
mov ecx, dword [ebp + 8]
push ecx
call fcn.004037c0
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40130d
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x70]
jmp 0x401cc9
lea ecx, [ebp - 0x24]
call fcn.004094c0
push eax
push str.Dependencies
push str.Setup
lea eax, [ebp - 0x14]
push eax
call fcn.00401160
add esp, 0x10
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x41c39c
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401ec0
mov byte [ebp - 4], 4
jmp 0x401398
lea eax, [ebp - 0x1c]
push eax
push 0x41c3a0
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401ec0
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00401de0
lea ecx, [ebp - 0x28]
call fcn.00401d20
movzx ecx, al
test ecx, ecx
jne 0x401c7a
lea ecx, [ebp - 0x24]
call fcn.004094c0
push eax
push 0x41c3a4
lea ecx, [ebp - 0x28]
call fcn.004094c0
push eax
lea edx, [ebp - 0x58]
push edx
call fcn.00401160
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.004094c0
push eax
push str.ProductName
lea ecx, [ebp - 0x28]
call fcn.004094c0
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00401160
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.004094c0
push eax
push str.PackageUrl
lea ecx, [ebp - 0x28]
call fcn.004094c0
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00401160
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.004094c0
push eax
push str.CheckingArguments
lea ecx, [ebp - 0x28]
call fcn.004094c0
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.00401160
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.004094c0
push eax
push str.PostInstall
lea ecx, [ebp - 0x28]
call fcn.004094c0
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00401160
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3c]
call fcn.00401d20
movzx ecx, al
test ecx, ecx
jne 0x40149e
lea ecx, [ebp - 0x3c]
call fcn.004094c0
push eax
call fcn.0040de35
add esp, 4
test eax, eax
je 0x40149e
mov dword [ebp - 0xa0], 1
jmp 0x4014a8
mov dword [ebp - 0xa0], 0
mov dl, byte [ebp - 0xa0]
mov byte [ebp - 0x65], dl
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x4014c1
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x4014d1
movzx edx, byte [ebp - 0x65]
test edx, edx
jne 0x401512
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x401512
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
jmp 0x401352
lea ecx, [ebp - 0x44]
call fcn.00401d40
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x41c428
lea eax, [ebp - 0x44]
push eax
call fcn.00402ab0
add esp, 0x10
lea ecx, [ebp - 0x44]
call fcn.004094c0
push eax
lea ecx, [ebp - 0x28]
call fcn.004094c0
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004037c0
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4015f7
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x78]
jmp 0x401cc9
push 0
lea ecx, [ebp - 0x40]
call fcn.004094c0
push eax
lea ecx, [ebp - 0x44]
call fcn.004094c0
push eax
call section..text
add esp, 0xc
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x24]
call fcn.004094c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x44]
call fcn.004094c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x5c], 0
jne 0x401687
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
jmp 0x401352
mov eax, dword [ebp - 0x48]
push eax
push str.Downloading__s...
lea ecx, [ebp - 0x10]
push ecx
call fcn.00402ab0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00409bc0
cmp eax, 1
jne 0x40174c
mov dword [ebp - 0x7c], 0x642
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x7c]
jmp 0x401cc9
lea ecx, [ebp - 0x54]
call fcn.004094c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401d60
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call fcn.00401d40
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x41c458
lea ecx, [ebp - 0x50]
push ecx
call fcn.00402ab0
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x38]
call fcn.00409d40
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x38]
push eax
push 0
lea ecx, [ebp - 0x50]
call fcn.004094c0
push eax
lea ecx, [ebp - 0x54]
call fcn.004094c0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 0x10]
call fcn.00409b50
movzx ecx, al
test ecx, ecx
je 0x40188c
mov dword [ebp - 0x80], 0x642
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00409d80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call fcn.00401de0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00401de0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x80]
jmp 0x401cc9
cmp dword [ebp - 0x60], 0
jge 0x401956
mov dword [ebp - 0x84], 2
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00409d80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call fcn.00401de0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00401de0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x84]
jmp 0x401cc9
mov edx, dword [ebp - 0x48]
push edx
push str.Installing__s...
lea eax, [ebp - 0x10]
push eax
call fcn.00402ab0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00409bc0
cmp eax, 1
jne 0x401a45
mov dword [ebp - 0x88], 0x642
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00409d80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call fcn.00401de0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00401de0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x88]
jmp 0x401cc9
push 1
push 0
lea ecx, [ebp - 0x50]
call fcn.004094c0
push eax
call section..text
add esp, 0xc
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x50]
call fcn.004094c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x10]
call fcn.00409b50
movzx ecx, al
test ecx, ecx
je 0x401b3f
mov dword [ebp - 0x8c], 0x642
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00409d80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call fcn.00401de0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00401de0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x8c]
jmp 0x401cc9
cmp dword [ebp - 0x4c], 0
je 0x401c09
mov dword [ebp - 0x90], 0x643
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00409d80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call fcn.00401de0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00401de0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x90]
jmp 0x401cc9
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00409d80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call fcn.00401de0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00401de0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.00401de0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.00401de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.00401de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00401de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00401de0
jmp 0x401352
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret