Function at 0x416f60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d3bc
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x42400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov ecx, esp
push 0x42493c
call fcn.00404570
call fcn.00408450
add esp, 0x18
test al, al
je 0x41796b
sub esp, 0x18
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x58], xmm0
push 0x42493c
call fcn.00404570
lea ecx, [ebp - 0x58]
call fcn.00407760
add esp, 0x18
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x6c], edi
movzx eax, byte [edi]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
xor esi, esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 1
mov eax, 3
movzx ecx, byte [edi + 1]
movzx edx, byte [edi + 2]
shl ecx, 8
add edx, 3
add edx, ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], edx
cmp edx, eax
jbe 0x417072
mov ecx, dword [ebp - 0x80]
add eax, edi
cmp esi, ecx
je 0x417043
mov al, byte [eax]
mov byte [esi], al
inc esi
mov dword [ebp - 0x48], esi
jmp 0x41705b
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.00405800
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x70], eax
cmp eax, edx
jl 0x417033
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x7c], eax
movzx ecx, byte [edx + edi]
xorps xmm0, xmm0
movzx eax, byte [edx + edi + 1]
shl ecx, 8
add ecx, eax
movq qword [ebp - 0x64], xmm0
movzx eax, byte [edx + edi + 2]
shl ecx, 8
add ecx, eax
mov dword [ebp - 0x5c], 0
movzx eax, byte [edx + edi + 3]
lea edi, [edx + 4]
shl ecx, 8
add ecx, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov al, byte [ecx + edi]
mov dl, byte [ecx + edi + 1]
lea ecx, [edi + 2]
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], ecx
movzx ecx, al
movzx eax, dl
lea edx, [edi + 2]
mov edi, dword [ebp - 0x70]
shl ecx, 8
add edx, ecx
add edx, eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x78], edx
cmp edi, edx
jae 0x417128
nop
add eax, edi
cmp esi, dword [ebp - 0x80]
je 0x417101
mov al, byte [eax]
mov byte [esi], al
inc esi
mov dword [ebp - 0x48], esi
jmp 0x417117
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.00405800
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
inc edi
cmp edi, edx
jl 0x4170f0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], ecx
cmp byte [eax + edx + 1], 0
movzx ecx, byte [eax + edx]
setne byte [ebp - 0xc4]
mov dword [ebp - 0x70], ecx
add edx, 2
add edx, eax
cmp eax, edx
je 0x41715f
mov edi, dword [ebp - 0x54]
sub edi, edx
push edi
push edx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov ecx, dword [ebp - 0x70]
add eax, edi
mov dword [ebp - 0x54], eax
push dword [ebp - 0xc4]
push ecx
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x84], esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x68]
push eax
sub esp, 0xc
mov byte [ebp - 4], 3
mov edi, esp
mov dword [ebp - 0x78], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
sub esi, dword [ebp - 0x7c]
je 0x4171da
cmp esi, 0x7fffffff
ja 0x4179aa
push esi
mov ecx, edi
call fcn.00406030
mov edi, dword [edi]
push esi
push dword [ebp - 0x7c]
push edi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x78]
lea eax, [esi + edi]
add esp, 0xc
mov dword [ecx + 4], eax
mov edi, dword [ebp - 0x88]
lea ecx, [ebp - 0x1a0]
push edi
mov byte [ebp - 4], 2
call fcn.004161f0
mov byte [ebp - 4], 4
mov ecx, dword [0x4249d0]
push eax
cmp ecx, dword [0x4249d4]
je 0x417211
call fcn.004155f0
add dword [0x4249d0], 0x28
jmp 0x417217
push ecx
call fcn.004153f0
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 2
call fcn.00412b30
sub esp, 0x18
mov byte [ebp - 0x71], 1
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x424924
call fcn.00404570
mov byte [ebp - 4], 5
sub esp, 0x18
mov dword [ebp - 0x84], esp
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x6c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
test esi, esi
je 0x4172a1
cmp esi, 0x7fffffff
ja 0x4179aa
push esi
mov ecx, eax
call fcn.00406030
mov eax, dword [ebp - 0x6c]
push esi
push dword [ebp - 0x7c]
mov edi, dword [eax]
push edi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x6c]
lea eax, [esi + edi]
mov edi, dword [ebp - 0x88]
add esp, 0xc
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x190]
call fcn.00406490
add esp, 0xc
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 6
lea esi, [ebp - 0x13]
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul dword [ebp - 0x70]
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x70]
add cl, cl
sub al, cl
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x4172c0
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x178]
call fcn.004056e0
mov byte [ebp - 4], 7
lea esi, [ebp - 0x2b]
mov eax, 0xcccccccd
dec esi
mul edi
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
mov edi, edx
add cl, al
mov eax, dword [ebp - 0x88]
add cl, cl
sub al, cl
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x417301
push ecx
lea eax, [ebp - 0x2b]
push eax
push esi
lea ecx, [ebp - 0x160]
call fcn.004056e0
mov ecx, dword [ebp - 0x68]
lea esi, [ebp - 0x13]
mov byte [ebp - 4], 8
test ecx, ecx
jns 0x417390
neg ecx
mov dword [ebp - 0x68], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x68]
add cl, cl
sub al, cl
mov ecx, eax
mov dword [ebp - 0x68], eax
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x417355
dec esi
mov byte [esi], 0x2d
jmp 0x4173be
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x68]
add cl, cl
sub al, cl
mov ecx, eax
mov dword [ebp - 0x68], eax
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x417390
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0xe8]
call fcn.004056e0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 9
push eax
mov edx, str.load_tasks:
lea ecx, [ebp - 0x100]
call fcn.00404c40
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0xa
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x417419
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x417411
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x417436
push 1
push 0x41ea68
mov byte [ebp - 0xc8], 0
push dword [ebp - 0xc8]
push 1
call fcn.00405350
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x148], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x138], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xc0]
call fcn.0040a2f0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xac]
mov eax, edx
mov ecx, dword [ebp - 0xb0]
sub eax, ecx
cmp eax, 1
jb 0x4174c1
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0xc0]
jmp 0x4174e2
push 1
push 0x41ea68
mov byte [ebp - 0xcc], 0
lea ecx, [ebp - 0xc0]
push dword [ebp - 0xcc]
push 1
call fcn.00405350
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x120], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xa8]
call fcn.0040a2f0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x94]
mov eax, edx
mov ecx, dword [ebp - 0x98]
sub eax, ecx
cmp eax, 1
jb 0x41756d
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa8]
cmovae eax, dword [ebp - 0xa8]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0xa8]
jmp 0x41758e
push 1
push 0x41ea68
mov byte [ebp - 0xd0], 0
lea ecx, [ebp - 0xa8]
push dword [ebp - 0xd0]
push 1
call fcn.00405350
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x108], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x78]
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call fcn.0040a2f0
mov cl, byte [ebp - 0x71]
mov byte [ebp - 4], 0x19
call fcn.00407f30
mov byte [ebp - 4], 0x18
add esp, 0x30
mov ecx, dword [ebp - 0x104]
cmp ecx, 0x10
jb 0x417622
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417618
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x417660
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417656
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp ecx, 0x10
jb 0x4176b9
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4176af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x4176f7
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4176ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp ecx, 0x10
jb 0x417750
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417746
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xec]
cmp ecx, 0x10
jb 0x41778e
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417784
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
cmp ecx, 0x10
jb 0x4177e7
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4177dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
cmp ecx, 0x10
jb 0x417840
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417836
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x164]
cmp ecx, 0x10
jb 0x41787e
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417874
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x4178bc
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4178b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 4], 0
test edx, edx
je 0x417905
mov ecx, dword [ebp - 0x80]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x4178e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417959
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x6c], edi
sub eax, edi
jne 0x416fe2
cmp dword [0x424950], 0x10
mov eax, 0x42493c
cmovae eax, dword [0x42493c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov edx, dword [ebp - 0x58]
add esp, 4
test edx, edx
je 0x41798f
mov ecx, dword [ebp - 0x50]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x41795f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41795f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041aa32
add esp, 8
jmp 0x41798f
xor ecx, ecx
mov dword [ebp - 0x90], 0
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
call fcn.004188a0
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.0041a4dc
mov esp, ebp
pop ebp
ret
call fcn.00405aa0
int3