Function at 0x435bf0
Capabilities:
Get file size
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506102
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x569080]
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.0043a4f0
lea ecx, [edi + 0x18]
push esi
call fcn.00409df0
lea eax, [edi + 0x18]
push eax
lea ecx, [edi + 0x1c]
call fcn.00409df0
push 5
push str..part
lea ecx, [edi + 0x1c]
call fcn.00402660
mov dword [edi + 4], 0
lea edx, [edi + 0x20]
mov dword [edi + 8], 0
mov byte [edi + 0x8c], 1
mov eax, dword [edx + 4]
mov dword [ebp - 0x94], 0
test eax, eax
je 0x435d47
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
test eax, eax
jle 0x435e97
mov esi, dword [ebp - 0xa4]
nop dword [eax + eax]
cmp ecx, eax
jge 0x436773
mov eax, dword [edx]
xorps xmm0, xmm0
lea edx, [ebp - 0x4c]
movlpd qword [ebp - 0x48], xmm0
push edx
push 0
mov eax, dword [eax + ecx*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 0x435cff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x435d51
jmp 0x435d02
mov esi, dword [ebp - 0x40]
cmp esi, 5
jne 0x435d10
mov byte [edi + 0x8c], 0
jmp 0x435d1f
cmp esi, 3
je 0x435d1f
cmp esi, 4
je 0x435d1f
cmp esi, 1
jne 0x435d47
mov ecx, dword [ebp - 0x9c]
lea edx, [edi + 0x20]
mov eax, dword [edx + 4]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, eax
jge 0x435e97
test ecx, ecx
js 0x436773
jmp 0x435ca0
mov dword [ebp - 0x90], 0x2ee6
call fcn.0042b830
cmp byte [eax + 0x1c], 0
je 0x435e77
call fcn.0042b830
test byte [eax + 0x20], 8
je 0x435e77
call fcn.0042b830
mov dword [ebp - 0x9c], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x43677d
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x525578]
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.00402660
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x43677d
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
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 0x530654
call fcn.00402660
push ecx
lea eax, [ebp - 0x8c]
push eax
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x94]
push eax
call fcn.0042bba0
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 0x435e49
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x435e77
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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.0043aad0
mov eax, esi
jmp 0x436756
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004375b0
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x435fe4
call fcn.0042b830
cmp byte [eax + 0x1c], 0
je 0x435fd9
call fcn.0042b830
test byte [eax + 0x20], 8
je 0x435fd9
call fcn.0042b830
mov dword [ebp - 0x98], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x43677d
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x525578]
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.00402660
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x43677d
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
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 0x530654
call fcn.00402660
push ecx
lea eax, [ebp - 0x94]
push eax
push ecx
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x90]
push eax
call fcn.0042bba0
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 0x435fab
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x435fd9
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x9c]
jmp 0x436756
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd0], 0x535bac
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 0x14
lea ecx, [edi + 0x7c]
cmp dword [ecx], 0
jbe 0x436015
push 4
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [edi + 0x18]
mov ecx, dword [eax - 0xc]
cmp ecx, 2
jb 0x436704
test ecx, ecx
js 0x436787
cmp word [eax], 0x5c
jne 0x436044
cmp ecx, 1
jl 0x436787
cmp word [eax + 2], 0x5c
je 0x436058
jmp 0x43604d
cmp ecx, 1
jl 0x436787
cmp word [eax + 2], 0x3a
jne 0x436704
cmp byte [edi + 0x40], 0
mov dword [ebp - 0xac], 0
je 0x4360e6
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], 0x5305e4
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 0x15
cmp esi, 0xffffffff
jne 0x4360af
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa8], 0x5305e4
push eax
jmp 0x4360d6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4360c3
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa8], 0x5305e4
test esi, esi
je 0x4360e6
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.004047f0
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x43677d
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
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.00437910
mov esi, eax
lea ecx, [edi + 0xc]
mov dword [ebp - 0x8c], esi
call fcn.0043acb0
test al, al
je 0x4362ac
call fcn.0042b830
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x43629d
call fcn.0042b830
test byte [eax + 0x20], 8
je 0x43629d
call fcn.0042b830
mov dword [ebp - 0x9c], eax
call fcn.004047f0
mov dword [ebp - 0x98], eax
test eax, eax
je 0x43677d
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x525578]
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.00402660
call fcn.004047f0
mov dword [ebp - 0x98], eax
test eax, eax
je 0x43677d
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
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 0x530654
call fcn.00402660
push ecx
lea eax, [ebp - 0x8c]
push eax
push ecx
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x90]
push eax
call fcn.0042bba0
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 0x436270
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x43629d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov dword [ebp - 0x8c], 0xe0000008
jmp 0x4366c4
test esi, esi
je 0x43645d
call fcn.0042b830
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x4363ef
call fcn.0042b830
test byte [eax + 0x20], 8
je 0x4363ef
call fcn.0042b830
mov dword [ebp - 0xa4], eax
call fcn.004047f0
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x43677d
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x525578]
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.00402660
call fcn.004047f0
mov dword [ebp - 0x90], eax
test eax, eax
je 0x43677d
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
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 0x530654
call fcn.00402660
push ecx
lea eax, [ebp - 0x9c]
push eax
push ecx
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x90]
push eax
call fcn.0042bba0
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 0x4363b9
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x4363e9
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
or edi, 0xffffffff
mov esi, dword [ebp - 0x8c]
cmp esi, 0xe0000013
je 0x4366c4
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xa4]
lea esi, [edx + 0xc]
add edx, 0x18
call fcn.0040ef50
mov byte [ebp - 4], 0x2f
mov ecx, esi
push 0
push dword [ebp - 0x8c]
push dword [eax]
call fcn.0043aad0
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 0x4366c4
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
jmp 0x4366c4
mov esi, dword [edi + 8]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], 0x535bac
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], 0x535ba4
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x34
mov dword [ebp - 0xbc], 0x535c20
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 0x43652f
test eax, eax
je 0x43652f
cmp ecx, eax
je 0x43652f
lea edx, [edi + 0x18]
lea ecx, [ebp - 0xa4]
call fcn.0040ef50
mov byte [ebp - 4], 0x36
lea ecx, [edi + 0xc]
push 0
push 0xe0000023
push dword [eax]
call fcn.0043aad0
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 0x436520
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x98]
mov dword [ebp - 0x8c], 0xe0000023
jmp 0x436615
cmp dword [ebp - 0xc4], 1
jne 0x4365f4
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], 0x53234c
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], 0x53234c
mov word [ebp - 0x4c], 0x101
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x58], 1
mov byte [ebp - 0x5a], 1
call fcn.00401fe0
mov esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
jne 0x4365ec
cmp byte [edi + 0x62], al
je 0x4365ec
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x52], xmm0
mov esi, dword [ebp - 0x98]
jmp 0x436615
push dword [ebp - 0xac]
mov ecx, edi
push eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x94]
call fcn.004367a0
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x33
mov dword [ebp - 0xbc], 0x535c20
mov byte [ebp - 4], 0x3b
cmp dword [ebp - 0xb8], 0
je 0x436673
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x436657
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], 0x535ba4
test eax, eax
je 0x43669c
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], 0x535bac
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 0x43671f
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
jmp 0x43671f
push 0
push 0xe0000005
lea ecx, [edi + 0xc]
push 0
call fcn.0043aad0
mov dword [ebp - 0x8c], 0xe0000005
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x94]
push 0
push esi
mov dword [ebp - 0xd0], 0x535bac
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.004d3ce9
mov esp, ebp
pop ebp
ret 8
push 0x8000000b
call fcn.004027d0
push 0x80004005
call fcn.004027d0
push 0x80070057
call fcn.004027d0
int3