Function at 0x432840
Capabilities:
Get file size
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf922
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.004370d0
lea ecx, [edi + 0x18]
push esi
call fcn.00409970
lea eax, [edi + 0x18]
push eax
lea ecx, [edi + 0x1c]
call fcn.00409970
push 5
push str..part
lea ecx, [edi + 0x1c]
call fcn.004025d0
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 0x432ad7
xor esi, esi
test eax, eax
jle 0x43298a
nop
test esi, esi
js 0x4333b6
cmp esi, eax
jge 0x4333b6
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 0x432951
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x432ae1
mov eax, dword [ebp - 0x9c]
jmp 0x43295a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x9c], eax
cmp eax, 5
jne 0x432968
mov byte [edi + 0x8c], 0
jmp 0x43297b
cmp eax, 3
je 0x43297b
cmp eax, 4
je 0x43297b
cmp eax, 1
jne 0x432ad7
mov eax, dword [edi + 0x24]
lea ecx, [edi + 0x20]
inc esi
cmp esi, eax
jl 0x4328e0
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004341f0
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x432c27
call fcn.0042ad70
cmp byte [eax + 0x1c], 0
je 0x432acc
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x432acc
call fcn.0042ad70
mov dword [ebp - 0x98], eax
call fcn.00404710
mov edi, eax
test edi, edi
je 0x4333c0
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.004025d0
call fcn.00404710
mov edi, eax
test edi, edi
je 0x4333c0
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.004025d0
push ecx
lea eax, [ebp - 0x94]
push eax
push ecx
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x90]
push eax
call fcn.0042b100
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 0x432a9e
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 0x432acc
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 0x433399
mov dword [ebp - 0x90], 0x2ee6
call fcn.0042ad70
cmp byte [eax + 0x1c], 0
je 0x432c07
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x432c07
call fcn.0042ad70
mov dword [ebp - 0x9c], eax
call fcn.00404710
mov edi, eax
test edi, edi
je 0x4333c0
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.004025d0
call fcn.00404710
mov edi, eax
test edi, edi
je 0x4333c0
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.004025d0
push ecx
lea eax, [ebp - 0x8c]
push eax
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x94]
push eax
call fcn.0042b100
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 0x432bd9
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 0x432c07
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.004376b0
mov eax, esi
jmp 0x433399
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 0x432c58
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 0x433347
test ecx, ecx
js 0x4333ca
cmp word [edx], 0x5c
jne 0x432c87
cmp ecx, 1
jl 0x4333ca
cmp word [edx + 2], 0x5c
jne 0x432c90
jmp 0x432c9b
cmp ecx, 1
jl 0x4333ca
cmp word [edx + 2], 0x3a
jne 0x433347
cmp byte [edi + 0x40], 0
mov dword [ebp - 0xac], 0
je 0x432d29
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 0x432cf2
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa8], 0x4ec614
push eax
jmp 0x432d19
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x432d06
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa8], 0x4ec614
test esi, esi
je 0x432d29
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.00404710
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x4333c0
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.00434550
mov esi, eax
lea ecx, [edi + 0xc]
mov dword [ebp - 0x8c], esi
call fcn.00437890
test al, al
je 0x432eef
call fcn.0042ad70
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x432ee0
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x432ee0
call fcn.0042ad70
mov dword [ebp - 0x9c], eax
call fcn.00404710
mov dword [ebp - 0x98], eax
test eax, eax
je 0x4333c0
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.004025d0
call fcn.00404710
mov dword [ebp - 0x98], eax
test eax, eax
je 0x4333c0
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.004025d0
push ecx
lea eax, [ebp - 0x8c]
push eax
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x90]
push eax
call fcn.0042b100
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 0x432eb3
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 0x432ee0
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 0x433307
test esi, esi
je 0x4330a0
call fcn.0042ad70
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x433032
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x433032
call fcn.0042ad70
mov dword [ebp - 0xa4], eax
call fcn.00404710
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x4333c0
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.004025d0
call fcn.00404710
mov dword [ebp - 0x90], eax
test eax, eax
je 0x4333c0
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.004025d0
push ecx
lea eax, [ebp - 0x9c]
push eax
push ecx
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x90]
push eax
call fcn.0042b100
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 0x432ffc
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 0x43302c
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 0x433307
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xa4]
lea esi, [edx + 0xc]
add edx, 0x18
call fcn.0040ebb0
mov byte [ebp - 4], 0x2f
mov ecx, esi
push 0
push dword [ebp - 0x8c]
push dword [eax]
call fcn.004376b0
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 0x433307
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 0x433307
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 0x433172
test eax, eax
je 0x433172
cmp ecx, eax
je 0x433172
lea edx, [edi + 0x18]
lea ecx, [ebp - 0xa4]
call fcn.0040ebb0
mov byte [ebp - 4], 0x36
lea ecx, [edi + 0xc]
push 0
push 0xe0000023
push dword [eax]
call fcn.004376b0
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 0x433163
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 0x433258
cmp dword [ebp - 0xc4], 1
jne 0x433237
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 0x43322f
cmp byte [edi + 0x62], al
je 0x43322f
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x52], xmm0
mov esi, dword [ebp - 0x98]
jmp 0x433258
push dword [ebp - 0xac]
mov ecx, edi
push eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x94]
call fcn.004333e0
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 0x4332b6
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x43329a
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 0x4332df
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 0x433362
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 0x433362
push 0
push 0xe0000005
lea ecx, [edi + 0xc]
push 0
call fcn.004376b0
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.004a0c30
mov esp, ebp
pop ebp
ret 8
push 0x8000000b
call fcn.00402740
push 0x80004005
call fcn.00402740
push 0x80070057
call fcn.00402740
int3