Function at 0x433280
Capabilities:
Get file size
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0c12
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x515080]
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 - 0x98], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x20]
mov esi, dword [ebp + 0xc]
push eax
call fcn.00437b30
lea ecx, [edi + 0x18]
push esi
call fcn.00409b90
lea eax, [edi + 0x18]
push eax
lea ecx, [edi + 0x1c]
call fcn.00409b90
push 5
push str..part
lea ecx, [edi + 0x1c]
call fcn.004025b0
mov dword [edi + 4], 0
lea ecx, [edi + 0x20]
mov dword [edi + 8], 0
mov byte [edi + 0x8c], 1
mov eax, dword [ecx + 4]
mov dword [ebp - 0x94], 0
test eax, eax
je 0x433517
xor esi, esi
test eax, eax
jle 0x4333ca
nop
test esi, esi
js 0x433df6
cmp esi, eax
jge 0x433df6
mov eax, dword [ecx]
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
movlpd qword [ebp - 0x48], xmm0
push ecx
push 0
mov eax, dword [eax + esi*4]
push 0
push eax
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 0x433391
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x433521
mov eax, dword [ebp - 0x9c]
jmp 0x43339a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x9c], eax
cmp eax, 5
jne 0x4333a8
mov byte [edi + 0x8c], 0
jmp 0x4333bb
cmp eax, 3
je 0x4333bb
cmp eax, 4
je 0x4333bb
cmp eax, 1
jne 0x433517
mov eax, dword [edi + 0x24]
lea ecx, [edi + 0x20]
inc esi
cmp esi, eax
jl 0x433320
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.00434c30
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x433667
call fcn.0042b3e0
cmp byte [eax + 0x1c], 0
je 0x43350c
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x43350c
call fcn.0042b3e0
mov dword [ebp - 0x98], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x433e00
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x94]
push 0x1b
push str.InitInetConnection___failed
call fcn.004025b0
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x433e00
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x90]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
lea eax, [ebp - 0x94]
push eax
push ecx
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x90]
push eax
call fcn.0042b770
mov byte [ebp - 4], 0xc
or ecx, 0xffffffff
mov edx, dword [ebp - 0x90]
mov eax, ecx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4334de
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43350c
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x9c]
jmp 0x433dd9
mov dword [ebp - 0x90], 0x2ee6
call fcn.0042b3e0
cmp byte [eax + 0x1c], 0
je 0x433647
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x433647
call fcn.0042b3e0
mov dword [ebp - 0x9c], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x433e00
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x8c]
push 0x11
push str.CheckURL___failed
call fcn.004025b0
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x433e00
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
lea eax, [ebp - 0x8c]
push eax
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x94]
push eax
call fcn.0042b770
mov byte [ebp - 4], 2
or ecx, 0xffffffff
mov edx, dword [ebp - 0x94]
mov eax, ecx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433619
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x433647
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x98]
mov esi, dword [ebp - 0x90]
push 0
push esi
push 0
lea ecx, [ecx + 0xc]
call fcn.00438110
mov eax, esi
jmp 0x433dd9
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd0], 0x4f208c
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 0x14
lea ecx, [edi + 0x7c]
cmp dword [ecx], 0
jbe 0x433698
push 4
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [edi + 0x18]
mov ecx, dword [edx - 0xc]
cmp ecx, 2
jb 0x433d87
test ecx, ecx
js 0x433e0a
cmp word [edx], 0x5c
jne 0x4336c7
cmp ecx, 1
jl 0x433e0a
cmp word [edx + 2], 0x5c
jne 0x4336d0
jmp 0x4336db
cmp ecx, 1
jl 0x433e0a
cmp word [edx + 2], 0x3a
jne 0x433d87
cmp byte [edi + 0x40], 0
mov dword [ebp - 0xac], 0
je 0x433769
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 - 0xa8], 0x4ed624
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 0x15
cmp esi, 0xffffffff
jne 0x433732
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa8], 0x4ed624
push eax
jmp 0x433759
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x433746
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa8], 0x4ed624
test esi, esi
je 0x433769
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xa4], eax
call fcn.004046f0
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x433e00
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x9c]
call esi
add eax, 0x10
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xc8]
mov ecx, edi
push eax
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0x94]
call fcn.00434f90
mov esi, eax
lea ecx, [edi + 0xc]
mov dword [ebp - 0x8c], esi
call fcn.004382f0
test al, al
je 0x43392f
call fcn.0042b3e0
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x433920
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x433920
call fcn.0042b3e0
mov dword [ebp - 0x9c], eax
call fcn.004046f0
mov dword [ebp - 0x98], eax
test eax, eax
je 0x433e00
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x98]
call esi
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.004025b0
call fcn.004046f0
mov dword [ebp - 0x98], eax
test eax, eax
je 0x433e00
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x98]
call esi
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x90]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
lea eax, [ebp - 0x8c]
push eax
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x90]
push eax
call fcn.0042b770
mov byte [ebp - 4], 0x1b
mov eax, edi
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4338f3
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or edi, 0xffffffff
mov byte [ebp - 4], 0x18
mov eax, edi
mov ecx, dword [ebp - 0x8c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x433920
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov dword [ebp - 0x8c], 0xe0000008
jmp 0x433d47
test esi, esi
je 0x433ae0
call fcn.0042b3e0
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x433a72
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x433a72
call fcn.0042b3e0
mov dword [ebp - 0xa4], eax
call fcn.004046f0
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x433e00
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x9c]
call esi
add eax, 0x10
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x9c]
push 0x10
push str.Connect___failed
call fcn.004025b0
call fcn.004046f0
mov dword [ebp - 0x90], eax
test eax, eax
je 0x433e00
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x90]
call esi
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x90]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
lea eax, [ebp - 0x9c]
push eax
push ecx
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x90]
push eax
call fcn.0042b770
mov byte [ebp - 4], 0x27
mov eax, edi
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x433a3c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or edi, 0xffffffff
mov byte [ebp - 4], 0x18
mov eax, edi
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x433a6c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or edi, 0xffffffff
mov esi, dword [ebp - 0x8c]
cmp esi, 0xe0000013
je 0x433d47
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xa4]
lea esi, [edx + 0xc]
add edx, 0x18
call fcn.0040edd0
mov byte [ebp - 4], 0x2f
mov ecx, esi
push 0
push dword [ebp - 0x8c]
push dword [eax]
call fcn.00438110
mov byte [ebp - 4], 0x18
mov eax, edi
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x433d47
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
jmp 0x433d47
mov esi, dword [edi + 8]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], 0x4f208c
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 0x33
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x70]
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0xbc], 0x4f2084
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x34
mov dword [ebp - 0xbc], 0x4f2100
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 0x35
mov ecx, dword [edi + 0x88]
mov eax, dword [ebp - 0xc8]
test ecx, ecx
je 0x433bb2
test eax, eax
je 0x433bb2
cmp ecx, eax
je 0x433bb2
lea edx, [edi + 0x18]
lea ecx, [ebp - 0xa4]
call fcn.0040edd0
mov byte [ebp - 4], 0x36
lea ecx, [edi + 0xc]
push 0
push 0xe0000023
push dword [eax]
call fcn.00438110
mov byte [ebp - 4], 0x35
or eax, 0xffffffff
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x433ba3
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x98]
mov dword [ebp - 0x8c], 0xe0000023
jmp 0x433c98
cmp dword [ebp - 0xc4], 1
jne 0x433c77
mov eax, dword [edi + 0xc]
xorps xmm0, xmm0
mov cl, byte [edi + 0x84]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x38], eax
xor al, al
cmp byte [edi + 0x62], 0
mov byte [ebp - 0x34], cl
mov ecx, 1
movzx eax, al
cmovne eax, ecx
movsd qword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x80], xmm0
mov byte [ebp - 0x22], al
lea eax, [edi + 0x18]
movups xmmword [ebp - 0x48], xmm0
push eax
movups xmm0, xmmword [edi + 0x42]
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x88], 0x4ef38c
push eax
movups xmmword [ebp - 0x32], xmm0
mov word [ebp - 0x84], 0x101
lea ecx, [ebp - 0x88]
xorps xmm0, xmm0
mov dword [ebp - 0x60], 1
mov word [ebp - 0x5c], 1
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x4ef38c
mov word [ebp - 0x4c], 0x101
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x58], 1
mov byte [ebp - 0x5a], 1
call fcn.00401f30
mov esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
jne 0x433c6f
cmp byte [edi + 0x62], al
je 0x433c6f
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x52], xmm0
mov esi, dword [ebp - 0x98]
jmp 0x433c98
push dword [ebp - 0xac]
mov ecx, edi
push eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x94]
call fcn.00433e20
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x33
mov dword [ebp - 0xbc], 0x4f2100
mov byte [ebp - 4], 0x3b
cmp dword [ebp - 0xb8], 0
je 0x433cf6
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x433cda
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xb8], 0
push 0xffffffffffffffff
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], 0x4f2084
test eax, eax
je 0x433d1f
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xb8], 0
mov byte [ebp - 4], 0x18
push 0
push esi
mov dword [ebp - 0xa0], 0x4f208c
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x433da2
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
jmp 0x433da2
push 0
push 0xe0000005
lea ecx, [edi + 0xc]
push 0
call fcn.00438110
mov dword [ebp - 0x8c], 0xe0000005
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x94]
push 0
push esi
mov dword [ebp - 0xd0], 0x4f208c
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xcc], 0
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.004a1cf0
mov esp, ebp
pop ebp
ret 8
push 0x8000000b
call fcn.00402720
push 0x80004005
call fcn.00402720
push 0x80070057
call fcn.00402720
int3