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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4a42be
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e2054]
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.00408a80
mov dword [ebx + 0x78], 0
mov dword [ebp - 4], 0
mov edx, 0x4c4af0
push 0
push 0x4c4ae8
lea ecx, [ebp + 0x54]
call fcn.00406470
add esp, 8
mov dword [ebp + 0x28], 1
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0x54]
push eax
call fcn.00420df0
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x42c0b4
mov edx, dword [edx]
lea edi, [ebx + 0x18]
mov dword [ebp + 0x38], edi
test edx, edx
jne 0x42c0c2
xor ecx, ecx
jmp 0x42c0d6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c0c7
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.00403fc0
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.00403fc0
push edi
lea ecx, [ebx + 0x1c]
call fcn.00408ec0
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 0x42c278
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x42c273
call fcn.00428680
cmp byte [eax + 0x1c], 0
je 0x42c252
call fcn.00428680
test byte [eax + 0x20], 8
je 0x42c252
call fcn.00428680
mov edi, eax
call fcn.00404580
test eax, eax
je 0x42c680
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.00404580
test eax, eax
je 0x42c680
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 0x4c2090
call fcn.00402670
push ecx
lea eax, [ebp + 0x34]
push eax
push ecx
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call fcn.004289c0
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 0x42c233
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 0x42c252
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.0047c73c
lea esp, [ebp + 0x70]
pop ebp
ret 8
mov eax, dword [ebp + 0x2c]
jmp 0x42c27b
mov eax, dword [ebp - 0x4c]
cmp eax, 3
je 0x42c28c
cmp eax, 4
je 0x42c28c
mov eax, 0x2ee6
jmp 0x42c254
lea eax, [ebp + 0x24]
mov ecx, ebx
push eax
call fcn.0042e180
mov esi, eax
test esi, esi
je 0x42c35c
call fcn.00428680
cmp byte [eax + 0x1c], 0
je 0x42c252
call fcn.00428680
test byte [eax + 0x20], 8
je 0x42c252
call fcn.00428680
mov edi, eax
call fcn.00404580
test eax, eax
je 0x42c680
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.00404580
test eax, eax
je 0x42c680
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 0x4c2090
call fcn.00402670
push ecx
lea eax, [ebp + 0x38]
push eax
push ecx
lea eax, [ebp + 0x34]
mov ecx, edi
push eax
call fcn.004289c0
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 0x42c34d
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 0x42c23d
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x1c], 0x4c4ed0
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0x18
lea eax, [ebx + 0x7c]
cmp dword [eax], 0
jbe 0x42c384
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.00404580
test eax, eax
je 0x42c680
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.0042e7e0
mov esi, eax
test esi, esi
je 0x42c517
call fcn.00428680
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x42c4ad
call fcn.00428680
test byte [eax + 0x20], 8
je 0x42c4ad
call fcn.00428680
mov dword [ebp + 0x30], eax
call fcn.00404580
test eax, eax
je 0x42c680
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.00404580
test eax, eax
je 0x42c680
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 0x4c2090
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.004289c0
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 0x42c48f
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 0x42c4ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xe0000013
je 0x42c4c2
push 0
push esi
lea ecx, [ebx + 0xc]
push 0
call fcn.00431040
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 0x42c4ee
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], 0x4c4ed0
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push edi
call ebx
mov dword [ebp - 0x18], 0
jmp 0x42c252
mov esi, dword [ebx + 8]
mov dword [ebp + 0x2c], esi
mov dword [ebp - 0x14], 0x4c4ed0
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], 0x4c4ec8
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x29
mov dword [ebp + 0x14], 0x4c4f2c
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.0042d1f0
or edi, 0xffffffff
mov dword [ebp + 0x30], eax
test eax, eax
jne 0x42c5df
cmp dword [ebx + 0x9c], 0xc8
jne 0x42c5d7
call fcn.00404580
mov ecx, eax
test ecx, ecx
je 0x42c680
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.0042dae0
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 0x42c5e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42c5e2
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], 0x4c4f2c
mov byte [ebp - 4], 0x2e
cmp dword [ebp + 0x18], 0
je 0x42c638
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 0x42c61f
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 0x42c63e
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 0x28
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], 0x4c4ec8
test eax, eax
je 0x42c65a
push eax
call ebx
mov dword [ebp + 0x18], 0
mov byte [ebp - 4], 0x1b
push 0
push esi
mov dword [ebp - 0x14], 0x4c4ed0
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call ebx
mov esi, dword [ebp + 0x30]
mov dword [ebp - 0x10], 0
jmp 0x42c4c8
push 0x80004005
call fcn.004027c0
int3