Function at 0x42d770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ccc8
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
push ebx
push esi
push edi
mov eax, dword [0x5bf364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], 0
mov esi, dword [ebx + 0x14]
mov eax, dword [esi + 8]
test eax, eax
jne 0x42d7ba
call fcn.004b16b0
mov dword [esi + 8], eax
lea ecx, [ebp + 8]
push ecx
push 0x200002
push eax
call fcn.004b1690
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, 0xffffff38
cmp eax, 0xc7
ja 0x42e08d
push 0x140
mov ecx, 0x5c6708
call fcn.0049a190
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42d805
mov ecx, eax
call fcn.00432cc0
jmp 0x42d807
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
push eax
call fcn.00434c30
mov dword [ebp - 4], 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0xb8]
mov esi, dword [ebx + 0xbc]
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0xb8], ecx
mov dword [ebp - 0x18], esi
mov dword [ebx + 0xbc], edx
mov byte [ebp - 4], 1
or edi, 0xffffffff
test esi, esi
je 0x42d893
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42d893
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x42d893
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x42d8c2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42d8c2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x42d8c2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0xb8]
test ecx, ecx
je 0x42e08d
lea eax, [ebx + 0x48]
add ecx, 0xbc
push eax
call fcn.004072a0
mov eax, dword [ebx + 0xb8]
xor edi, edi
test dword [eax + 0xe0], 0xfffffffc
jbe 0x42da9c
lea ecx, [ebp - 0x48]
call fcn.00405c90
mov dword [ebp - 4], 3
mov eax, dword [ebx + 0xb8]
cmp dword [eax + 0xe0], 0
jne 0x42d919
xor edx, edx
jmp 0x42d91f
mov edx, dword [eax + 0xd8]
mov edx, dword [edx + edi*4]
lea ecx, [ebp - 0xa4]
call fcn.00405c90
mov byte [ebp - 4], 4
test edx, edx
mov eax, 0x580994
mov dword [ebp - 0xa4], vtable.CWString.0
cmovne eax, edx
lea ecx, [ebp - 0xa4]
push eax
call fcn.0049c380
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x48]
call dword [eax + 0x44]
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
call dword [eax + 0x44]
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x38]
call fcn.00405870
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x94]
call fcn.00405c00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xa4], vtable.CVolObject.0
call fcn.00405c90
mov byte [ebp - 4], 8
mov dword [ebp - 0x74], vtable.CWConstString.0
mov dword [ebp - 0x68], str.Accept_Ranges
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x68]
test edx, edx
jne 0x42d9e0
cmp dword [ebp - 0x50], 0
mov edx, 0x580994
cmovne edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x3c]
test esi, esi
jne 0x42d9f4
cmp dword [ebp - 0x24], 0
mov esi, 0x580994
cmovne esi, dword [ebp - 0x2c]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42da00
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
push esi
call fcn.005221d8
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00405c00
mov byte [ebp - 4], 3
mov dword [ebp - 0x74], vtable.CVolObject.0
test esi, esi
je 0x42da6f
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x38]
call fcn.00405c00
mov dword [ebp - 4], 0xffffffff
inc edi
mov eax, dword [ebx + 0xb8]
mov dword [ebp - 0x48], vtable.CVolObject.0
mov eax, dword [eax + 0xe0]
shr eax, 2
cmp edi, eax
jl 0x42d8f7
jmp 0x42da9c
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x84], 1
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.00405c00
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x48], vtable.CVolObject.0
call fcn.0049e590
mov eax, dword [ebx + 0xb8]
movsd qword [eax + 0x70], xmm0
xorps xmm0, xmm0
mov esi, dword [ebx + 0x14]
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [esi + 8]
test eax, eax
jne 0x42dac6
call fcn.004b16b0
mov dword [esi + 8], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x60000f
push eax
call fcn.004b1690
mov eax, dword [ebx + 0xb8]
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x78], ecx
mov ecx, ebx
mov dword [eax + 0x7c], edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00428fa0
mov dword [ebp - 4], 0x11
lea edx, [ebx + 0x74]
push eax
lea ecx, [ebp - 0x74]
call fcn.0049d790
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x12
mov esi, dword [ebx + 0xb8]
mov edx, dword [esi + 0x44]
lea ecx, [esi + 0x44]
call dword [edx + 0x44]
mov eax, dword [edi + 4]
lea ecx, [esi + 0x54]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x54]
call dword [eax + 0x44]
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x54]
call fcn.00405870
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x64]
call fcn.00405c00
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x74], vtable.CVolObject.0
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x94]
call fcn.00405c00
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x74]
push eax
mov ecx, ebx
mov dword [ebp - 0xa4], vtable.CVolObject.0
call fcn.0043ed10
mov edi, eax
mov dword [ebp - 4], 0x17
mov esi, dword [ebx + 0xb8]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x18]
call dword [edx + 0x44]
mov eax, dword [edi + 4]
lea ecx, [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x28]
call dword [eax + 0x44]
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x28]
call fcn.00405870
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x64]
call fcn.00405c00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0xb8]
add ecx, 0x44
mov dword [ebp - 0x74], vtable.CVolObject.0
call fcn.00444bb0
mov ecx, dword [ebx + 0xb8]
mov dword [ecx + 0x80], eax
mov eax, dword [ebx + 0xb8]
cmp dword [eax + 0x80], 0xffffffff
je 0x42ddba
cmp dword [eax + 0x84], 0
mov edi, 1
mov ecx, eax
je 0x42dda4
lea ecx, [ebp - 0x38]
call fcn.00498a50
mov dword [ebp - 4], 0x1a
lea ecx, [ebp - 0x74]
mov edx, dword [ebx + 0xb8]
push str..curldownload
add edx, 0x44
call fcn.0049d910
add esp, 4
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x42dc6c
cmp dword [eax + 0x24], ecx
mov ecx, 0x580994
je 0x42dc6c
mov ecx, dword [eax + 0x1c]
push ecx
push ecx
lea ecx, [ebp - 0x38]
call fcn.00499a10
mov esi, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x64]
call fcn.00405c00
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x74], vtable.CVolObject.0
cmp esi, 0x4c
jl 0x42dd8f
mov eax, dword [ebp - 0x24]
cmp eax, 8
jge 0x42dcc7
xor ecx, ecx
xorps xmm0, xmm0
test eax, eax
movlpd qword [ebp - 0x1c], xmm0
cmovs eax, ecx
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push eax
call fcn.00510fc0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x42dccf
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 0x4c525543
jne 0x42dd8f
cmp eax, 0x4c44
jne 0x42dd8f
lea ecx, [ebp - 0x1ec]
call fcn.00432cc0
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x1ec]
call fcn.00439480
mov esi, dword [ebx + 0xb8]
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x7c]
cmp dword [ebp - 0x174], eax
jne 0x42dd7b
cmp dword [ebp - 0x170], edi
jne 0x42dd7b
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.00411d10
test eax, eax
je 0x42dd7b
mov eax, dword [esi + 0x80]
cdq
cmp eax, dword [esi + 0x78]
jne 0x42df6c
cmp edx, edi
jne 0x42df6c
push str..curldownload
lea edx, [esi + 0x44]
lea ecx, [ebp - 0x74]
call fcn.0049d910
add esp, 4
mov byte [ebp - 4], 0x1f
mov ecx, eax
call fcn.00412280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x74]
call fcn.00405240
mov edi, 1
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1ec]
call fcn.004281a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405c00
mov ecx, dword [ebx + 0xb8]
mov eax, ecx
cmp edi, 1
jne 0x42ddba
lea eax, [ecx + 0x44]
push eax
call fcn.0042e0f0
mov eax, dword [ebx + 0xb8]
mov edi, dword [eax + 0x50]
test edi, edi
jne 0x42ddce
cmp dword [eax + 0x68], edi
mov edi, 0x580994
je 0x42ddce
mov edi, dword [eax + 0x60]
mov eax, dword [ebx + 0xb4]
cmp eax, 0xffffffff
je 0x42ddea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xb4], 0xffffffff
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0xb4], eax
mov byte [ebx + 0xb0], 1
cmp eax, 0xffffffff
je 0x42e08d
sub esp, 0xc
lea ecx, [ebx + 0xb0]
call fcn.00435630
mov eax, dword [ebx + 0x74]
lea ecx, [ebx + 0x74]
mov edi, dword [ebx + 0xb8]
call dword [eax + 0x44]
mov eax, dword [edi + 0x48]
lea ecx, [ebx + 0x84]
mov dword [ebx + 0x78], eax
mov eax, dword [edi + 0x4c]
mov dword [ebx + 0x7c], eax
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x80], eax
mov eax, dword [ebx + 0x84]
call dword [eax + 0x44]
lea eax, [edi + 0x54]
push eax
lea ecx, [ebx + 0x84]
call fcn.00405870
lea ecx, [ebx + 0x54]
call fcn.00492860
push ecx
mov ecx, ebx
call fcn.0043dd70
mov esi, dword [ebx + 0x14]
mov eax, dword [esi + 8]
test eax, eax
jne 0x42de8b
call fcn.004b16b0
mov dword [esi + 8], eax
push ebx
push 0x2749
push eax
call fcn.004b8f70
add esp, 0xc
test eax, eax
jne 0x42dec0
mov eax, dword [esi + 8]
test eax, eax
jne 0x42dead
call fcn.004b16b0
mov dword [esi + 8], eax
push 0x42cd20
push 0x4efb
push eax
call fcn.004b8f70
add esp, 0xc
mov esi, dword [ebx + 0x14]
mov eax, dword [esi + 8]
test eax, eax
jne 0x42ded2
call fcn.004b16b0
mov dword [esi + 8], eax
push ebx
push 0x2711
push eax
call fcn.004b8f70
add esp, 0xc
test eax, eax
jne 0x42df07
mov eax, dword [esi + 8]
test eax, eax
jne 0x42def4
call fcn.004b16b0
mov dword [esi + 8], eax
push 0x42cce0
push 0x4e2b
push eax
call fcn.004b8f70
add esp, 0xc
mov esi, dword [ebx + 0x14]
mov eax, dword [esi + 8]
test eax, eax
jne 0x42df19
call fcn.004b16b0
mov dword [esi + 8], eax
push 0
push 0x2c
push eax
call fcn.004b8f70
mov edx, dword [ebx + 0xb8]
lea ecx, [ebp - 0x74]
add esp, 0xc
add edx, 0x44
push str..curldownload
call fcn.0049d910
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0x21
lea ecx, [ebp - 0x38]
mov edx, dword [ebx + 0xb8]
call fcn.00439330
mov byte [ebp - 4], 0x22
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42dfad
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], eax
jmp 0x42dfd3
lea ecx, [ebp - 0x74]
call fcn.00405c90
mov byte [ebp - 4], 0x20
mov ecx, dword [ebx + 0xb8]
push dword [ecx + 0x80]
push 0x58a43c
push eax
call fcn.0049d2c0
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0043e6b0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x74]
call fcn.00405240
xor edi, edi
jmp 0x42dd80
cmp dword [esi + 0x24], 0
jne 0x42dfc3
mov esi, dword [eax + 0x14]
mov ecx, 0x580994
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], eax
jmp 0x42dfd3
mov ecx, dword [esi + 0x1c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x42e006
cmp word [ecx], 0
je 0x42e006
test esi, esi
js 0x42e006
push 0x5938f8
push ecx
call fcn.00522150
mov edi, eax
add esp, 8
test edi, edi
je 0x42e006
push edi
push esi
push 1
push dword [ebp + 8]
call fcn.00521e13
push edi
call fcn.005212cd
add esp, 0x14
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x38]
call fcn.00405c00
mov dword [ebp - 4], 0x23
lea ecx, [ebp - 0x64]
call fcn.00405c00
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x74], vtable.CVolObject.0
mov eax, dword [esi + 8]
test eax, eax
jne 0x42e041
call fcn.004b16b0
mov dword [esi + 8], eax
mov edi, dword [ebp - 0x78]
push eax
push dword [edi + 0xe4]
call fcn.004b34c0
mov esi, dword [ebx + 0x14]
add esp, 8
mov eax, dword [esi + 8]
test eax, eax
jne 0x42e065
call fcn.004b16b0
mov dword [esi + 8], eax
push eax
push dword [edi + 0xe4]
call fcn.004b2ed0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x80], 0
add ebx, 0x84
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x42e0ac
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
cmp word [0x580994], 0
je 0x42e0d7
push 0x580994
mov ecx, ebx
call fcn.004993c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4