Function at 0x42c780
Capabilities:
Get file size
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4592
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4e2054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x20]
mov esi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0xa4], ecx
call fcn.00430ac0
lea eax, [edi + 0x18]
push esi
mov ecx, eax
mov dword [ebp - 0xc8], eax
call fcn.00408ec0
lea eax, [edi + 0x18]
push eax
lea ecx, [edi + 0x1c]
call fcn.00408ec0
push 5
push str..part
lea ecx, [edi + 0x1c]
call fcn.00402670
mov dword [edi + 4], 0
lea ecx, [edi + 0x20]
mov dword [edi + 8], 0
mov byte [edi + 0x88], 1
mov eax, dword [ecx + 4]
mov dword [ebp - 0x94], 0
test eax, eax
je 0x42c9f0
xor esi, esi
test eax, eax
jle 0x42c8e0
mov edi, dword [ebp - 0x98]
test esi, esi
js 0x42d1c7
cmp esi, eax
jge 0x42d1c7
mov eax, dword [ecx]
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
movlpd qword [ebp - 0x48], xmm0
push ecx
push 0
push 0
push dword [eax + esi*4]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x42c89e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x42c8a1
mov esi, eax
jmp 0x42c9f5
mov edi, dword [ebp - 0x40]
cmp edi, 5
jne 0x42c8b5
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x88], 0
jmp 0x42c8c8
cmp edi, 3
je 0x42c8c8
cmp edi, 4
je 0x42c8c8
cmp edi, 1
jne 0x42c9f0
mov ecx, dword [ebp - 0xa4]
inc esi
mov eax, dword [ecx + 4]
cmp esi, eax
jl 0x42c833
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.0042e180
mov esi, eax
test esi, esi
je 0x42cafc
call fcn.00428680
cmp byte [eax + 0x1c], 0
je 0x42d1a8
call fcn.00428680
test byte [eax + 0x20], 8
je 0x42d1a8
call fcn.00428680
mov edi, eax
call fcn.00404580
test eax, eax
je 0x42d1d3
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x8c]
push 0x1b
push str.InitInetConnection___failed
call fcn.00402670
call fcn.00404580
mov ecx, eax
test ecx, ecx
je 0x42d1d3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x90]
push 0
push 0x4c2090
call fcn.00402670
push ecx
lea eax, [ebp - 0x8c]
push eax
push ecx
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.004289c0
mov byte [ebp - 4], 0xc
or edi, 0xffffffff
mov edx, dword [ebp - 0x90]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c9c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42d1a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42d1a8
mov esi, 0x2ee6
call fcn.00428680
cmp byte [eax + 0x1c], 0
je 0x42cae4
call fcn.00428680
test byte [eax + 0x20], 8
je 0x42cae4
call fcn.00428680
mov edi, eax
call fcn.00404580
test eax, eax
je 0x42d1d3
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x94]
push 0x11
push str.CheckURL___failed
call fcn.00402670
call fcn.00404580
mov ecx, eax
test ecx, ecx
je 0x42d1d3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x90]
push 0
push 0x4c2090
call fcn.00402670
push ecx
lea eax, [ebp - 0x94]
push eax
push ecx
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.004289c0
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x90]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42cac2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x42cae4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x8c]
push 0
push esi
push 0
lea ecx, [ecx + 0xc]
call fcn.00431040
jmp 0x42d1a8
mov esi, dword [ebp - 0x94]
mov dword [ebp - 0xd8], 0x4c4ed0
mov dword [ebp - 0xd4], esi
mov dword [ebp - 4], 0x14
lea eax, [edi + 0x7c]
cmp dword [eax], 0
jbe 0x42cb2d
push 4
push eax
push 2
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [edi + 0x18]
mov ecx, dword [edx - 0xc]
cmp ecx, 2
jb 0x42d161
test ecx, ecx
js 0x42d1dd
cmp word [edx], 0x5c
jne 0x42cb5a
cmp ecx, 1
jl 0x42d1dd
cmp word [edx + 2], 0x5c
je 0x42cb6e
cmp ecx, 1
jl 0x42d1dd
cmp word [edx + 2], 0x3a
jne 0x42d161
cmp byte [edi + 0x40], 0
mov dword [ebp - 0xa8], 0
je 0x42cc06
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x9c], 0x4c05a4
mov dword [ebp - 0x98], esi
mov byte [ebp - 4], 0x15
cmp esi, 0xffffffff
jne 0x42cbc9
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x9c], 0x4c05a4
push eax
jmp 0x42cbf0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x42cbdd
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x9c], 0x4c05a4
test esi, esi
je 0x42cc00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x98], 0
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x98], eax
call fcn.00404580
mov ecx, eax
test ecx, ecx
je 0x42d1d3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xc4]
mov ecx, edi
push eax
lea eax, [ebp - 0xa8]
push eax
push esi
call fcn.0042e4b0
mov esi, eax
lea eax, [edi + 0xc]
mov ecx, eax
mov dword [ebp - 0x90], esi
mov dword [ebp - 0xa4], eax
call fcn.004311e0
test al, al
je 0x42cd71
call fcn.00428680
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x42cd67
call fcn.00428680
test byte [eax + 0x20], 8
je 0x42cd67
call fcn.00428680
mov esi, eax
call fcn.00404580
test eax, eax
je 0x42d1d3
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x8c]
push 0x15
push str.Download_was_canceled
call fcn.00402670
call fcn.00404580
mov ecx, eax
test ecx, ecx
je 0x42d1d3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x90]
push 0
push 0x4c2090
call fcn.00402670
push ecx
lea eax, [ebp - 0x8c]
push eax
push ecx
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.004289c0
mov byte [ebp - 4], 0x1b
mov eax, edi
mov edx, dword [ebp - 0x90]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42cd46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, edi
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42cd67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 0xe0000008
jmp 0x42d130
test esi, esi
je 0x42cec7
call fcn.00428680
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x42ce6c
call fcn.00428680
test byte [eax + 0x20], 8
je 0x42ce6c
call fcn.00428680
mov dword [ebp - 0x98], eax
call fcn.00404580
test eax, eax
je 0x42d1d3
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0xa0]
push 0x10
push str.Connect___failed
call fcn.00402670
call fcn.00404580
mov ecx, eax
test ecx, ecx
je 0x42d1d3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x8c]
push 0
push 0x4c2090
call fcn.00402670
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x8c]
push eax
call fcn.004289c0
mov byte [ebp - 4], 0x27
mov eax, edi
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ce4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov eax, edi
mov edx, dword [ebp - 0xa0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ce6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xe0000013
je 0x42d12a
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0x98]
call fcn.0040dfe0
mov byte [ebp - 4], 0x2f
mov ecx, dword [ebp - 0xa4]
push 0
push esi
push dword [eax]
call fcn.00431040
mov byte [ebp - 4], 0x18
mov eax, edi
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d12a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42d12a
mov eax, dword [edi + 8]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xd0], 0x4c4ed0
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0x33
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x70]
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0xb8], 0x4c4ec8
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0x34
mov dword [ebp - 0xb8], 0x4c4f2c
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
mov byte [ebp - 4], 0x35
mov ecx, dword [edi + 0x84]
or edi, 0xffffffff
mov eax, dword [ebp - 0xc4]
test ecx, ecx
je 0x42cf8f
test eax, eax
je 0x42cf8f
cmp ecx, eax
je 0x42cf8f
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0x98]
call fcn.0040dfe0
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0xa4]
push 0
push 0xe0000023
push dword [eax]
call fcn.00431040
mov byte [ebp - 4], 0x35
mov eax, edi
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42cf80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x90], 0xe0000023
jmp 0x42d077
cmp dword [ebp - 0xc0], 1
jne 0x42d052
mov esi, dword [ebp - 0x8c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x88], 0x4c22bc
movsd qword [ebp - 0x68], xmm0
mov eax, dword [esi + 0xc]
mov cl, byte [esi + 0x80]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x38], eax
xor al, al
cmp byte [esi + 0x62], 0
mov byte [ebp - 0x34], cl
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov word [ebp - 0x84], 0x101
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x22], al
lea eax, [esi + 0x18]
movups xmm0, xmmword [esi + 0x42]
push eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x60], 1
movups xmmword [ebp - 0x32], xmm0
mov word [ebp - 0x5c], 1
lea ecx, [ebp - 0x88]
xorps xmm0, xmm0
mov byte [ebp - 0x54], 0
push eax
mov dword [ebp - 0x50], 0x4c22bc
mov word [ebp - 0x4c], 0x101
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x58], 1
mov byte [ebp - 0x5a], 1
call fcn.00401e00
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x42d077
cmp byte [esi + 0x62], al
je 0x42d077
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [esi + 0x52], xmm0
jmp 0x42d077
push dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x94]
call fcn.0042d1f0
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0x33
mov dword [ebp - 0xb8], 0x4c4f2c
mov byte [ebp - 4], 0x3b
cmp dword [ebp - 0xb4], 0
je 0x42d0d3
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x42d0b9
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xb4], 0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp - 0xb0]
call esi
push 0xffffffffffffffff
push dword [ebp - 0xac]
call esi
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], 0x4c4ec8
test eax, eax
je 0x42d0fc
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xb4], 0
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0xa0]
push 0
push esi
mov dword [ebp - 0xd0], 0x4c4ed0
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xcc], 0
mov esi, dword [ebp - 0x90]
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0xbc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42d177
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42d177
push 0
push 0xe0000005
lea ecx, [edi + 0xc]
push 0
call fcn.00431040
mov esi, 0xe0000005
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x94]
push 0
push edi
mov dword [ebp - 0xd8], 0x4c4ed0
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xd4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047c73c
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc000008c
call fcn.00409100
push 0x80004005
call fcn.004027c0
push 0x80070057
call fcn.004027c0
int3