Function at 0x404162
Capabilities:
Download url
Receive data

Disassembly:
push 0x28
mov eax, 0x54cc0b
call fcn.00521f3f
mov ecx, dword [esi + 8]
xor eax, eax
inc eax
xor edi, edi
mov dword [ebp - 0x24], eax
cmp ecx, edi
je 0x404351
push 0x57ef20
push ecx
mov ecx, esi
call fcn.0041dd4b
push str.http:__s3.amazonaws.com_Appscion_repository_ElevHelper.exe
lea ecx, [ebp - 0x1c]
call fcn.00401e04
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.00403b6a
lea ecx, [esi + 0x14]
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x1c]
push edx
push eax
call fcn.0041dcf9
call fcn.00405809
mov eax, dword [eax + 0x30]
push edi
mov dword [ebp - 0x34], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
cmp eax, edi
jle 0x404213
test edi, edi
js 0x404357
cmp edi, eax
jge 0x404357
mov eax, dword [esi + 4]
lea eax, [eax + edi*4]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x30], esp
mov ebx, esp
push eax
call fcn.00402108
add eax, 0x10
pop ecx
mov dword [ebx], eax
call fcn.00403ecd
add dword [ebp - 0x10], eax
mov eax, dword [esi + 8]
inc edi
pop ecx
cmp edi, eax
jl 0x4041d5
call fcn.00405809
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ebx
mov eax, dword [esi + 8]
test eax, eax
jle 0x40433d
mov dword [ebp - 0x28], vtable.MyCallback.0
mov byte [ebp - 4], 1
test ebx, ebx
js 0x404357
cmp ebx, eax
jge 0x404357
mov eax, dword [esi + 4]
mov edi, ebx
mov eax, dword [eax + edi*4]
sub eax, 0x10
push eax
call fcn.00402108
add eax, 0x10
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
cmp ebx, dword [esi + 0x1c]
jge 0x404357
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edi*4]
sub eax, 0x10
push eax
call fcn.00402108
lea edi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 3
cmp dword [edi - 4], 1
jle 0x40429f
push dword [edi - 0xc]
lea ecx, [ebp - 0x20]
call fcn.00401ee8
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], 1
jle 0x4042b6
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401ee8
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ecx
push 0x10
push edi
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0x24], eax
cmp ebx, dword [esi + 8]
jge 0x404357
mov eax, dword [esi + 4]
mov ecx, ebx
shl ecx, 2
mov eax, dword [eax + ecx]
push ecx
mov dword [ebp - 0x2c], esp
sub eax, 0x10
mov dword [ebp - 0x2c], esp
push eax
call fcn.00402108
pop ecx
mov ecx, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx], eax
call fcn.00403ecd
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
pop ecx
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push ecx
push 0x502
push dword [ebp - 0x34]
mov dword [eax + 0x48], ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [edi - 0x10]
call fcn.0040218e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040218e
mov byte [ebp - 4], 0
mov eax, dword [esi + 8]
inc ebx
cmp ebx, eax
jl 0x404231
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040218e
mov eax, dword [ebp - 0x24]
call fcn.00522017
ret
call fcn.0041a063
int3