Function at 0x4103a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41556c
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x41b00c]
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 0x41b754
call fcn.004038e0
call fcn.00407ee0
add esp, 0x18
test al, al
je 0x410e02
sub esp, 0x18
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x58], xmm0
push 0x41b754
call fcn.004038e0
lea ecx, [ebp - 0x58]
call fcn.00406e00
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 0x4104b2
mov ecx, dword [ebp - 0x80]
add eax, edi
cmp esi, ecx
je 0x410483
mov al, byte [eax]
mov byte [esi], al
inc esi
mov dword [ebp - 0x48], esi
jmp 0x41049b
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.00404d40
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 0x410473
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 0x410568
nop
add eax, edi
cmp esi, dword [ebp - 0x80]
je 0x410541
mov al, byte [eax]
mov byte [esi], al
inc esi
mov dword [ebp - 0x48], esi
jmp 0x410557
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.00404d40
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 0x410530
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 - 0xdc]
mov dword [ebp - 0x70], ecx
add edx, 2
add edx, eax
cmp eax, edx
je 0x41059f
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 - 0xdc]
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 0x41061a
cmp esi, 0x7fffffff
ja 0x410e41
push esi
mov ecx, edi
call fcn.00405460
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.0040f4b0
mov byte [ebp - 4], 4
mov ecx, dword [0x41b7dc]
push eax
cmp ecx, dword [0x41b7e0]
je 0x410651
call fcn.0040f400
add dword [0x41b7dc], 0x28
jmp 0x410657
push ecx
call fcn.0040f1e0
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 2
call fcn.0040bf60
sub esp, 0x18
mov byte [ebp - 0x71], 1
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0x41b73c
call fcn.004038e0
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 0x4106e1
cmp esi, 0x7fffffff
ja 0x410e41
push esi
mov ecx, eax
call fcn.00405460
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.00405910
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 0x410700
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x178]
call fcn.00404c20
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 0x410741
push ecx
lea eax, [ebp - 0x2b]
push eax
push esi
lea ecx, [ebp - 0x160]
call fcn.00404c20
mov ecx, dword [ebp - 0x68]
lea esi, [ebp - 0x13]
mov byte [ebp - 4], 8
test ecx, ecx
jns 0x4107d0
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 0x410795
dec esi
mov byte [esi], 0x2d
jmp 0x4107fe
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 0x4107d0
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x100]
call fcn.00404c20
push 0xc
push str.load_tasks:
push ecx
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 9
call fcn.00404950
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x8c]
mov eax, edx
mov ecx, dword [ebp - 0x90]
sub eax, ecx
cmp eax, 1
jb 0x4108ac
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0xa0]
jmp 0x4108cd
push 1
push 0x416c68
mov byte [ebp - 0xe0], 0
lea ecx, [ebp - 0xa0]
push dword [ebp - 0xe0]
push 1
call fcn.004047e0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x148], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x138], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xd8]
call fcn.00409c20
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xc4]
mov eax, edx
mov ecx, dword [ebp - 0xc8]
sub eax, ecx
cmp eax, 1
jb 0x410958
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0xd8]
jmp 0x410979
push 1
push 0x416c68
mov byte [ebp - 0xe4], 0
lea ecx, [ebp - 0xd8]
push dword [ebp - 0xe4]
push 1
call fcn.004047e0
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 - 0xa4]
lea ecx, [ebp - 0xc0]
call fcn.00409c20
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xac]
mov eax, edx
mov ecx, dword [ebp - 0xb0]
sub eax, ecx
cmp eax, 1
jb 0x410a04
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 0x410a25
push 1
push 0x416c68
mov byte [ebp - 0xe8], 0
lea ecx, [ebp - 0xc0]
push dword [ebp - 0xe8]
push 1
call fcn.004047e0
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 - 0xa4]
call fcn.00409c20
mov cl, byte [ebp - 0x71]
mov byte [ebp - 4], 0x19
call fcn.004078b0
mov byte [ebp - 4], 0x18
add esp, 0x30
mov ecx, dword [ebp - 0x104]
cmp ecx, 0x10
jb 0x410ab9
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410aaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x410af7
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410aed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp ecx, 0x10
jb 0x410b50
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410b46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0x10
jb 0x410b8e
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410b84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
cmp ecx, 0x10
jb 0x410be7
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410bdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x410c25
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410c1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp ecx, 0x10
jb 0x410c7e
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410c74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
cmp ecx, 0x10
jb 0x410cd7
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410ccd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x164]
cmp ecx, 0x10
jb 0x410d15
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410d0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x410d53
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410d49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
add esp, 8
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 4], 0
test edx, edx
je 0x410d9c
mov ecx, dword [ebp - 0x80]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x410d7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410df0
push ecx
push edx
call fcn.0041342f
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 0x410422
cmp dword [0x41b768], 0x10
mov eax, 0x41b754
cmovae eax, dword [0x41b754]
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 0x410e26
mov ecx, dword [ebp - 0x50]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x410df6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x410df6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041342f
add esp, 8
jmp 0x410e26
xor ecx, ecx
mov dword [ebp - 0xa8], 0
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
call fcn.00411da0
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.00412ed8
mov esp, ebp
pop ebp
ret
call fcn.00404fe0
int3