Function at 0x40dc1d
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x45bca3
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40dc6e
mov eax, 0x45b586
push eax
push 4
mov ebx, 0x148
call fcn.004452d0
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x40dcc5
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.http:__
mov ecx, 2
call fcn.00402d35
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40dcbc
push ebx
call fcn.00442f55
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x40dcf8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x40dce3
push eax
mov ebx, eax
call fcn.00402cca
inc eax
push eax
call fcn.00442f5b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40dcf4
push ebx
call fcn.00442f55
add esp, 4
pop eax
mov dword [ebp - 4], eax
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40dd0d
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x24c
call fcn.00448900
add esp, 0x10
test eax, eax
je 0x40df3b
cmp dword [ebp + 0x10], 0
jne 0x40dda9
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40dd47
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x244
call fcn.00444dd0
add esp, 0x10
test eax, eax
je 0x40dd9a
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x40dd80
push eax
mov ebx, eax
call fcn.00402cca
inc eax
push eax
call fcn.00442f5b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40dd91
push ebx
call fcn.00442f55
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40dda4
mov eax, 0
jmp 0x40dfec
jmp 0x40df36
cmp dword [ebp + 0x10], 1
jne 0x40df2c
xor ecx, ecx
lea eax, [ebp - 0xc]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x63
jg 0x40df24
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x40dde6
push eax
mov ebx, eax
call fcn.00402cca
inc eax
push eax
call fcn.00442f5b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ddf7
push ebx
call fcn.00442f55
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040e014
mov dword [ebp - 0x10], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40de1a
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x130
call fcn.004455b0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40de40
push ebx
call fcn.00442f55
add esp, 4
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
call fcn.0040e075
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x168
call fcn.004448e0
add esp, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
call fcn.0040e014
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x45bcaf
push dword [ebp - 0x1c]
push 0x45bcb1
push dword [ebp - 0x18]
mov ecx, 5
call fcn.00402d35
add esp, 0x14
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40dead
push ebx
call fcn.00442f55
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40debd
push ebx
call fcn.00442f55
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40decd
push ebx
call fcn.00442f55
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40dee1
push ebx
call fcn.00442f55
add esp, 4
pop eax
mov dword [ebp - 8], eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40def8
mov eax, 0x45b586
push eax
push 1
mov ebx, 0x24c
call fcn.00448900
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40df1d
jmp 0x40df24
pop ebx
pop ecx
jmp 0x40ddba
add esp, 8
jmp 0x40df36
mov eax, 1
jmp 0x40dfec
jmp 0x40df6e
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x40df59
push eax
mov ebx, eax
call fcn.00402cca
inc eax
push eax
call fcn.00442f5b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40df6a
push ebx
call fcn.00442f55
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40df9a
push 0x3c8
push 0x402f6b3
push 6
call fcn.00442f61
add esp, 0xc
mov dword [ebp - 0x10], esp
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40dfd8
push 0x406
push 0x402f6b3
push 6
call fcn.00442f61
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
mov eax, 0
sete al
jmp 0x40dfec
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40dffd
push ebx
call fcn.00442f55
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e00d
push ebx
call fcn.00442f55
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10