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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4a519e
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e3050]
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.00408d00
mov dword [ebx + 0x78], 0
mov dword [ebp - 4], 0
mov edx, 0x4c5be8
push 0
push 0x4c5be0
lea ecx, [ebp + 0x54]
call fcn.004066b0
add esp, 8
mov dword [ebp + 0x28], 1
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0x54]
push eax
call fcn.004213f0
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x42c5f4
mov edx, dword [edx]
lea edi, [ebx + 0x18]
mov dword [ebp + 0x38], edi
test edx, edx
jne 0x42c602
xor ecx, ecx
jmp 0x42c616
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c607
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004035a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.00403d10
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.00403d10
push edi
lea ecx, [ebx + 0x1c]
call fcn.00409090
push 5
push str..part
lea ecx, [ebx + 0x1c]
call fcn.00402420
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 0x42c7b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x42c7b3
call fcn.00428db0
cmp byte [eax + 0x1c], 0
je 0x42c792
call fcn.00428db0
test byte [eax + 0x20], 8
je 0x42c792
call fcn.00428db0
mov edi, eax
call fcn.004042d0
test eax, eax
je 0x42cbc0
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.00402420
call fcn.004042d0
test eax, eax
je 0x42cbc0
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 0x4c3098
call fcn.00402420
push ecx
lea eax, [ebp + 0x34]
push eax
push ecx
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call fcn.004290f0
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 0x42c773
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 0x42c792
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.0047d4df
lea esp, [ebp + 0x70]
pop ebp
ret 8
mov eax, dword [ebp + 0x2c]
jmp 0x42c7bb
mov eax, dword [ebp - 0x4c]
cmp eax, 3
je 0x42c7cc
cmp eax, 4
je 0x42c7cc
mov eax, 0x2ee6
jmp 0x42c794
lea eax, [ebp + 0x24]
mov ecx, ebx
push eax
call fcn.0042e450
mov esi, eax
test esi, esi
je 0x42c89c
call fcn.00428db0
cmp byte [eax + 0x1c], 0
je 0x42c792
call fcn.00428db0
test byte [eax + 0x20], 8
je 0x42c792
call fcn.00428db0
mov edi, eax
call fcn.004042d0
test eax, eax
je 0x42cbc0
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.00402420
call fcn.004042d0
test eax, eax
je 0x42cbc0
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 0x4c3098
call fcn.00402420
push ecx
lea eax, [ebp + 0x38]
push eax
push ecx
lea eax, [ebp + 0x34]
mov ecx, edi
push eax
call fcn.004290f0
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 0x42c88d
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 0x42c77d
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x1c], 0x4c5fc8
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0x18
lea eax, [ebx + 0x7c]
cmp dword [eax], 0
jbe 0x42c8c4
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.004042d0
test eax, eax
je 0x42cbc0
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.0042eab0
mov esi, eax
test esi, esi
je 0x42ca57
call fcn.00428db0
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x42c9ed
call fcn.00428db0
test byte [eax + 0x20], 8
je 0x42c9ed
call fcn.00428db0
mov dword [ebp + 0x30], eax
call fcn.004042d0
test eax, eax
je 0x42cbc0
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.00402420
call fcn.004042d0
test eax, eax
je 0x42cbc0
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 0x4c3098
call fcn.00402420
push ecx
lea eax, [ebp + 0x38]
push eax
push ecx
mov ecx, dword [ebp + 0x30]
lea eax, [ebp + 0x34]
push eax
call fcn.004290f0
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 0x42c9cf
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 0x42c9ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xe0000013
je 0x42ca02
push 0
push esi
lea ecx, [ebx + 0xc]
push 0
call fcn.00431310
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 0x42ca2e
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], 0x4c5fc8
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push edi
call ebx
mov dword [ebp - 0x18], 0
jmp 0x42c792
mov esi, dword [ebx + 8]
mov dword [ebp + 0x2c], esi
mov dword [ebp - 0x14], 0x4c5fc8
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], 0x4c5fc0
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x29
mov dword [ebp + 0x14], 0x4c6024
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.0042d730
or edi, 0xffffffff
mov dword [ebp + 0x30], eax
test eax, eax
jne 0x42cb1f
cmp dword [ebx + 0x9c], 0xc8
jne 0x42cb17
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x42cbc0
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.0042e100
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 0x42cb22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42cb22
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], 0x4c6024
mov byte [ebp - 4], 0x2e
cmp dword [ebp + 0x18], 0
je 0x42cb78
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 0x42cb5f
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 0x42cb7e
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 0x28
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], 0x4c5fc0
test eax, eax
je 0x42cb9a
push eax
call ebx
mov dword [ebp + 0x18], 0
mov byte [ebp - 4], 0x1b
push 0
push esi
mov dword [ebp - 0x14], 0x4c5fc8
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call ebx
mov esi, dword [ebp + 0x30]
mov dword [ebp - 0x10], 0
jmp 0x42ca08
push 0x80004005
call fcn.00402570
int3