Function at 0x10005c30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005b818
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x10076658]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x10076658]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
lea eax, [esp + 0x44]
call fcn.1001ea00
push eax
xor ebx, ebx
mov eax, str._settings.dat
lea ecx, [esp + 0x64]
mov dword [esp + 0x124], ebx
call fcn.10003910
add esp, 4
mov esi, 8
mov byte [esp + 0x120], 2
cmp dword [esp + 0x58], esi
jb 0x10005cb4
mov eax, dword [esp + 0x44]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov edi, 7
lea eax, [esp + 0x60]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], cx
call fcn.10007b10
test al, al
je 0x1000606a
push 0x96
mov esi, 0xf
push str.Nu4w.rHXhIL4Q579vMJODuEi0b6uuI.Gpqgf3R_QsiGp5Mw8MSfjeh__DUgpOjJMNlrXcnU_sCONs1_w.IM9ozMI5qe_2bPa7BsqHHevbe_5XSHJ_AA6v3YUfS8SvaawIFNO_Q2U_xMOAsaB
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10006530
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x128], 3
call fcn.10013a90
add esp, 8
mov byte [esp + 0x120], 5
cmp dword [esp + 0x3c], 0x10
jb 0x10005d3a
mov edx, dword [esp + 0x28]
push edx
call fcn.1004076b
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], ax
push 4
mov eax, str.vars
lea esi, [esp + 0x48]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
call fcn.10003430
mov ecx, esi
push ecx
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x128], 6
call fcn.10013160
lea esi, [esp + 0x18]
mov ecx, eax
call fcn.10013590
mov byte [esp + 0x120], 8
cmp dword [esp + 0x58], 8
jb 0x10005da4
mov eax, dword [esp + 0x44]
push eax
call fcn.1004076b
add esp, 4
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], cx
mov dword [esp + 0x14], edx
nop
cmp edi, dword [esp + 0x14]
je 0x10005f64
xor eax, eax
mov word [esp + 0xbc], ax
push 0xe
mov eax, str.SchedulerQueue
lea esi, [esp + 0xc0]
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
call fcn.10003430
mov byte [esp + 0x120], 9
xor ecx, ecx
push 4
mov eax, str.vars
lea esi, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
call fcn.10003430
push edi
push ecx
mov edx, esi
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x130], 0xa
call fcn.10013160
add esp, 4
push eax
call fcn.10013160
push eax
lea esi, [esp + 0xdc]
call fcn.100134d0
lea esi, [esp + 0xf4]
mov byte [esp + 0x120], 0xb
call fcn.1001e9e0
mov esi, eax
lea edx, [esp + 0xbc]
mov ecx, edi
mov byte [esp + 0x120], 0xc
call fcn.1000f460
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
push ecx
lea edx, [esp + 0xdc]
push edx
push edi
mov ecx, esi
mov edx, 0x80000002
call fcn.1000bf10
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x108], esi
jb 0x10005ec4
mov eax, dword [esp + 0xf4]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], cx
cmp dword [esp + 0xec], esi
jb 0x10005ef9
mov edx, dword [esp + 0xd8]
push edx
call fcn.1004076b
add esp, 4
xor eax, eax
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], ax
cmp dword [esp + 0x3c], esi
jb 0x10005f28
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1004076b
add esp, 4
xor edx, edx
mov byte [esp + 0x120], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], dx
cmp dword [esp + 0xd0], esi
jb 0x10005f5c
mov eax, dword [esp + 0xbc]
push eax
call fcn.1004076b
add esp, 4
add edi, 0x1c
jmp 0x10005dc0
mov eax, dword [esp + 0x60]
mov esi, 8
cmp dword [esp + 0x74], esi
jae 0x10005f77
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10005f9c
mov edi, dword [esp + 0x1c]
call fcn.10003370
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1004076b
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea edx, [esp + 0xac]
mov dword [esp + 0x14], edx
mov byte [esp + 0x120], 0xf
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
push eax
push ecx
call fcn.10013830
mov eax, dword [esp + 0xac]
cmp eax, ebx
je 0x10005fe4
push eax
call fcn.1004076b
add esp, 4
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
cmp eax, ebx
je 0x10006020
mov edi, dword [esp + 0xa0]
call fcn.10003370
mov edx, dword [esp + 0x9c]
push edx
call fcn.1004076b
add esp, 4
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
cmp dword [esp + 0x94], esi
jb 0x1000604e
mov eax, dword [esp + 0x80]
push eax
call fcn.1004076b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], cx
cmp dword [esp + 0x74], esi
jb 0x1000607d
mov edx, dword [esp + 0x60]
push edx
call fcn.1004076b
add esp, 4
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10040061
mov esp, ebp
pop ebp
ret