Function at 0x42cd50
Capabilities:
Check http status code
Delete file
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4a5cde
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e4050]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x7c]
mov dword [ebp], ecx
lea ecx, [ebx + 0x20]
push eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x28], 0
call fcn.00408b40
mov dword [ebx + 0x78], 0
mov dword [ebp - 4], 0
mov edx, 0x4c6ba8
push 0
push 0x4c6ba0
lea ecx, [ebp + 0x54]
call fcn.00406560
add esp, 8
mov dword [ebp + 0x28], 1
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0x54]
push eax
call fcn.00421ae0
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x42cde4
mov edx, dword [edx]
lea edi, [ebx + 0x18]
mov dword [ebp + 0x38], edi
test edx, edx
jne 0x42cdf2
xor ecx, ecx
jmp 0x42ce06
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cdf7
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.00403f40
mov eax, 1
mov dword [ebp + 0x28], eax
and eax, 0xfffffffe
mov dword [ebp + 0x28], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x54]
call fcn.00403f40
push edi
lea ecx, [ebx + 0x1c]
call fcn.00408f80
push 5
push str..part
lea ecx, [ebx + 0x1c]
call fcn.00402670
lea eax, [ebp - 0x58]
mov dword [ebp + 0x24], 0
push eax
mov eax, dword [ebp + 0x30]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x54], xmm0
push dword [eax]
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x58], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x42cfa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x42cfa3
call fcn.00429410
cmp byte [eax + 0x1c], 0
je 0x42cf82
call fcn.00429410
test byte [eax + 0x20], 8
je 0x42cf82
call fcn.00429410
mov edi, eax
call fcn.00404500
test eax, eax
je 0x42d3b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x34], eax
mov dword [ebp - 4], 6
lea ecx, [ebp + 0x34]
push 0x11
push str.CheckURL___failed
call fcn.00402670
call fcn.00404500
test eax, eax
je 0x42d3b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x38], eax
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x38]
push 0
push 0x4c4078
call fcn.00402670
push ecx
lea eax, [ebp + 0x34]
push eax
push ecx
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call fcn.00429750
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp + 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42cf63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42cf82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.0047de56
lea esp, [ebp + 0x70]
pop ebp
ret 8
mov eax, dword [ebp + 0x2c]
jmp 0x42cfab
mov eax, dword [ebp - 0x4c]
cmp eax, 3
je 0x42cfbc
cmp eax, 4
je 0x42cfbc
mov eax, 0x2ee6
jmp 0x42cf84
lea eax, [ebp + 0x24]
mov ecx, ebx
push eax
call fcn.0042eea0
mov esi, eax
test esi, esi
je 0x42d08c
call fcn.00429410
cmp byte [eax + 0x1c], 0
je 0x42cf82
call fcn.00429410
test byte [eax + 0x20], 8
je 0x42cf82
call fcn.00429410
mov edi, eax
call fcn.00404500
test eax, eax
je 0x42d3b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x38], eax
mov dword [ebp - 4], 0x10
lea ecx, [ebp + 0x38]
push 0x1b
push str.InitInetConnection___failed
call fcn.00402670
call fcn.00404500
test eax, eax
je 0x42d3b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x34], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x34]
push 0
push 0x4c4078
call fcn.00402670
push ecx
lea eax, [ebp + 0x38]
push eax
push ecx
lea eax, [ebp + 0x34]
mov ecx, edi
push eax
call fcn.00429750
mov byte [ebp - 4], 0x10
or edi, 0xffffffff
mov edx, dword [ebp + 0x34]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d07d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x38]
jmp 0x42cf6d
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x1c], 0x4c6f88
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0x18
lea eax, [ebx + 0x7c]
cmp dword [eax], 0
jbe 0x42d0b4
push 4
push eax
push 2
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp + 8]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x2c], eax
call fcn.00404500
test eax, eax
je 0x42d3b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
lea eax, [ebp + 0x10]
push eax
push str.POST
push dword [ebp + 0x30]
push edi
call fcn.0042f500
mov esi, eax
test esi, esi
je 0x42d247
call fcn.00429410
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x42d1dd
call fcn.00429410
test byte [eax + 0x20], 8
je 0x42d1dd
call fcn.00429410
mov dword [ebp + 0x30], eax
call fcn.00404500
test eax, eax
je 0x42d3b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x38], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp + 0x38]
push 0x10
push str.Connect___failed
call fcn.00402670
call fcn.00404500
test eax, eax
je 0x42d3b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x34], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 0x34]
push 0
push 0x4c4078
call fcn.00402670
push ecx
lea eax, [ebp + 0x38]
push eax
push ecx
mov ecx, dword [ebp + 0x30]
lea eax, [ebp + 0x34]
push eax
call fcn.00429750
mov byte [ebp - 4], 0x1e
mov eax, edi
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d1bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov eax, edi
mov edx, dword [ebp + 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d1dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xe0000013
je 0x42d1f2
push 0
push esi
lea ecx, [ebx + 0xc]
push 0
call fcn.00431d70
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 0x18
lea eax, [ebp + 8]
mov dword [ebp + 0x2c], eax
mov byte [ebp - 4], 0x18
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42d21e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x24]
push 0
push edi
mov dword [ebp - 0x1c], 0x4c6f88
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push edi
call ebx
mov dword [ebp - 0x18], 0
jmp 0x42cf82
mov esi, dword [ebx + 8]
mov dword [ebp + 0x2c], esi
mov dword [ebp - 0x14], 0x4c6f88
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x28
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x68]
mov dword [ebp + 0x14], 0x4c6f80
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x29
mov dword [ebp + 0x14], 0x4c6fe4
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], edx
mov byte [ebp - 4], 0x2a
lea eax, [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push eax
push edi
call fcn.0042df20
or edi, 0xffffffff
mov dword [ebp + 0x30], eax
test eax, eax
jne 0x42d30f
cmp dword [ebx + 0x9c], 0xc8
jne 0x42d307
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x42d3b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x34], eax
mov byte [ebp - 4], 0x2c
lea ecx, [ebp + 0x34]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x40]
push dword [ebp]
mov ebx, dword [ebp + 0x38]
lea eax, [ebp + 0x34]
push eax
push ebx
call fcn.0042e810
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 0x2a
mov eax, edi
mov edx, dword [ebp + 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d312
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42d312
mov eax, 0xe000002b
mov dword [ebp + 0x30], eax
mov ebx, dword [ebp + 0x38]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x28
mov dword [ebp + 0x14], 0x4c6fe4
mov byte [ebp - 4], 0x2e
cmp dword [ebp + 0x18], 0
je 0x42d368
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp + 0x18]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x42d34f
push eax
call ebx
mov dword [ebp + 0x18], 0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp + 0x1c]
call esi
push 0xffffffffffffffff
push dword [ebp + 0x20]
call esi
mov esi, dword [ebp + 0x2c]
jmp 0x42d36e
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 0x28
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], 0x4c6f80
test eax, eax
je 0x42d38a
push eax
call ebx
mov dword [ebp + 0x18], 0
mov byte [ebp - 4], 0x1b
push 0
push esi
mov dword [ebp - 0x14], 0x4c6f88
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call ebx
mov esi, dword [ebp + 0x30]
mov dword [ebp - 0x10], 0
jmp 0x42d1f8
push 0x80004005
call fcn.004027c0
int3