Function at 0x1006eda0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0cf5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1010d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov edx, dword [0x1010d72c]
mov dword [ebp - 0x60], ebx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ede0
sub ecx, esi
mov esi, 0x7fffffff
mov eax, esi
sub eax, edx
cmp eax, ecx
jb 0x1006f28d
cmp dword [0x1010d730], 0x10
mov eax, 0x1010d71c
push ecx
cmovae eax, dword [0x1010d71c]
push ebx
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.1006ff20
mov dword [ebp - 4], 0
mov ebx, dword [str.globals.ini]
mov ecx, ebx
mov edx, dword [0x1010d72c]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ee35
mov eax, esi
sub ecx, edi
sub eax, edx
cmp eax, ecx
jb 0x1006f28d
cmp dword [0x1010d730], 0x10
mov eax, 0x1010d71c
push ecx
cmovae eax, dword [0x1010d71c]
push ebx
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.1006ff20
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov edi, dword [str._ragebot.ini]
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ee93
sub ecx, edx
mov eax, esi
mov edx, dword [ebp - 0x30]
sub eax, edx
cmp eax, ecx
jb 0x1006f28d
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push edi
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.1006ff20
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1005d6d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1006ef06
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006eefc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f25f
push ecx
push edx
call fcn.100bd366
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov edi, dword [0x100db01c]
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ef22
sub ecx, edx
mov eax, esi
mov edx, dword [ebp - 0x30]
sub eax, edx
cmp eax, ecx
jb 0x1006f28d
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push edi
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.1006ff20
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1005d6d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1006ef95
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006ef8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f25f
push ecx
push edx
call fcn.100bd366
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov edi, dword [str._visuals.ini]
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006efb1
sub ecx, edx
mov eax, esi
mov edx, dword [ebp - 0x30]
sub eax, edx
cmp eax, ecx
jb 0x1006f28d
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push edi
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.1006ff20
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1005d6d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1006f024
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f01a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f25f
push ecx
push edx
call fcn.100bd366
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov edi, dword [0x100db024]
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f040
sub ecx, edx
mov eax, esi
mov edx, dword [ebp - 0x30]
sub eax, edx
cmp eax, ecx
jb 0x1006f28d
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push edi
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.1006ff20
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1005d6d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1006f0b3
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f0a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f25f
push ecx
push edx
call fcn.100bd366
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov edi, dword [0x100db028]
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f0d0
sub ecx, edx
mov eax, esi
mov edx, dword [ebp - 0x30]
sub eax, edx
cmp eax, ecx
jb 0x1006f28d
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push edi
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.1006ff20
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1005d6d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1006f143
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f139
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f25f
push ecx
push edx
call fcn.100bd366
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov edi, dword [0x100db02c]
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f160
sub ecx, edx
mov edx, dword [ebp - 0x30]
sub esi, edx
cmp esi, ecx
jb 0x1006f28d
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push edi
push edx
push eax
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.1006ff20
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1005d6d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1006f1d1
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f1c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f25f
push ecx
push edx
call fcn.100bd366
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
add esp, 4
cmp byte [ebp + 0xc], 0
push dword [ebp - 0x60]
je 0x1006f1f2
call fcn.1006e220
jmp 0x1006f1f7
call fcn.1006ec40
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1006f227
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f21d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f25f
push ecx
push edx
call fcn.100bd366
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x1006f26f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f265
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f265
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100bd366
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bceb5
mov esp, ebp
pop ebp
ret 8
call fcn.100442e0
int3