Function at 0x432c50
Capabilities:
Get file size
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0222
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x514080]
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.004374e0
lea ecx, [edi + 0x18]
push esi
call fcn.00409950
lea eax, [edi + 0x18]
push eax
lea ecx, [edi + 0x1c]
call fcn.00409950
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 0x432ee7
xor esi, esi
test eax, eax
jle 0x432d9a
nop
test esi, esi
js 0x4337c6
cmp esi, eax
jge 0x4337c6
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 0x432d61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x432ef1
mov eax, dword [ebp - 0x9c]
jmp 0x432d6a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x9c], eax
cmp eax, 5
jne 0x432d78
mov byte [edi + 0x8c], 0
jmp 0x432d8b
cmp eax, 3
je 0x432d8b
cmp eax, 4
je 0x432d8b
cmp eax, 1
jne 0x432ee7
mov eax, dword [edi + 0x24]
lea ecx, [edi + 0x20]
inc esi
cmp esi, eax
jl 0x432cf0
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.00434600
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x433037
call fcn.0042b190
cmp byte [eax + 0x1c], 0
je 0x432edc
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x432edc
call fcn.0042b190
mov dword [ebp - 0x98], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x4337d0
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4337d0
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4ec684
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.0042b520
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 0x432eae
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x432edc
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x9c]
jmp 0x4337a9
mov dword [ebp - 0x90], 0x2ee6
call fcn.0042b190
cmp byte [eax + 0x1c], 0
je 0x433017
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x433017
call fcn.0042b190
mov dword [ebp - 0x9c], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x4337d0
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4337d0
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4ec684
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.0042b520
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 0x432fe9
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x433017
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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.00437ac0
mov eax, esi
jmp 0x4337a9
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd0], 0x4f1084
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 0x14
lea ecx, [edi + 0x7c]
cmp dword [ecx], 0
jbe 0x433068
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 0x433757
test ecx, ecx
js 0x4337da
cmp word [edx], 0x5c
jne 0x433097
cmp ecx, 1
jl 0x4337da
cmp word [edx + 2], 0x5c
jne 0x4330a0
jmp 0x4330ab
cmp ecx, 1
jl 0x4337da
cmp word [edx + 2], 0x3a
jne 0x433757
cmp byte [edi + 0x40], 0
mov dword [ebp - 0xac], 0
je 0x433139
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], 0x4ec614
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 0x15
cmp esi, 0xffffffff
jne 0x433102
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa8], 0x4ec614
push eax
jmp 0x433129
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x433116
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa8], 0x4ec614
test esi, esi
je 0x433139
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 0x4337d0
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.00434960
mov esi, eax
lea ecx, [edi + 0xc]
mov dword [ebp - 0x8c], esi
call fcn.00437ca0
test al, al
je 0x4332ff
call fcn.0042b190
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x4332f0
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x4332f0
call fcn.0042b190
mov dword [ebp - 0x9c], eax
call fcn.004046f0
mov dword [ebp - 0x98], eax
test eax, eax
je 0x4337d0
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4337d0
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4ec684
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.0042b520
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 0x4332c3
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x4332f0
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 0x8c], 0xe0000008
jmp 0x433717
test esi, esi
je 0x4334b0
call fcn.0042b190
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x433442
call fcn.0042b190
test byte [eax + 0x20], 8
je 0x433442
call fcn.0042b190
mov dword [ebp - 0xa4], eax
call fcn.004046f0
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x4337d0
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4337d0
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4ec684
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.0042b520
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 0x43340c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x43343c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
or edi, 0xffffffff
mov esi, dword [ebp - 0x8c]
cmp esi, 0xe0000013
je 0x433717
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xa4]
lea esi, [edx + 0xc]
add edx, 0x18
call fcn.0040eba0
mov byte [ebp - 4], 0x2f
mov ecx, esi
push 0
push dword [ebp - 0x8c]
push dword [eax]
call fcn.00437ac0
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 0x433717
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
jmp 0x433717
mov esi, dword [edi + 8]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], 0x4f1084
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], 0x4f107c
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x34
mov dword [ebp - 0xbc], 0x4f10e4
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 0x433582
test eax, eax
je 0x433582
cmp ecx, eax
je 0x433582
lea edx, [edi + 0x18]
lea ecx, [ebp - 0xa4]
call fcn.0040eba0
mov byte [ebp - 4], 0x36
lea ecx, [edi + 0xc]
push 0
push 0xe0000023
push dword [eax]
call fcn.00437ac0
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 0x433573
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x98]
mov dword [ebp - 0x8c], 0xe0000023
jmp 0x433668
cmp dword [ebp - 0xc4], 1
jne 0x433647
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], 0x4ee37c
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], 0x4ee37c
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 0x43363f
cmp byte [edi + 0x62], al
je 0x43363f
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x52], xmm0
mov esi, dword [ebp - 0x98]
jmp 0x433668
push dword [ebp - 0xac]
mov ecx, edi
push eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x94]
call fcn.004337f0
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x33
mov dword [ebp - 0xbc], 0x4f10e4
mov byte [ebp - 4], 0x3b
cmp dword [ebp - 0xb8], 0
je 0x4336c6
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4336aa
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], 0x4f107c
test eax, eax
je 0x4336ef
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], 0x4f1084
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 0x433772
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
jmp 0x433772
push 0
push 0xe0000005
lea ecx, [edi + 0xc]
push 0
call fcn.00437ac0
mov dword [ebp - 0x8c], 0xe0000005
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x94]
push 0
push esi
mov dword [ebp - 0xd0], 0x4f1084
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.004a1550
mov esp, ebp
pop ebp
ret 8
push 0x8000000b
call fcn.00402720
push 0x80004005
call fcn.00402720
push 0x80070057
call fcn.00402720
int3