Function at 0x10023802
Capabilities:
Delete file

Disassembly:
push 0x90
mov eax, 0x10045ada
call fcn.1002eac6
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov eax, dword [esi + 0x150]
mov edi, dword [eax]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], edi
cmp edi, eax
je 0x100238e3
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001716
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
jae 0x1002385c
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.10030548
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x1002386f
mov dword [edi + 0x28], ebx
jmp 0x100238bb
push dword [ebp - 0x70]
lea eax, [ebp - 0x2c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call fcn.10001716
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.1002296e
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3c], ebx
je 0x100238b0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x94]
mov dword [edi + 0x28], 1
call fcn.10003df5
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.100012ee
inc dword [ebp - 0x70]
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100012ee
lea ecx, [ebp - 0x6c]
call fcn.10021d5d
mov edi, dword [ebp - 0x6c]
cmp edi, dword [esi + 0x150]
jne 0x10023840
push ecx
mov dword [ebp - 0x98], esp
lea eax, [ebp - 0x71]
mov dword [ebp - 0x98], esp
push eax
lea ecx, [ebp - 0x84]
call fcn.10023e20
mov edi, dword [ebp - 0x94]
mov byte [ebp - 4], 3
jmp 0x1002399e
push edi
lea ecx, [ebp - 0x4c]
call fcn.10001716
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.10022063
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x80]
je 0x1002393b
inc dword [eax + 0x28]
jmp 0x1002398c
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10001608
mov dword [ebp - 0x14], ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.10024c04
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x84]
call fcn.100248f2
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.100012ee
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.100012ee
add edi, 0x1c
cmp edi, dword [ebp - 0x90]
jne 0x1002390e
push 0x10047689
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x6c], ebx
call fcn.10002b9d
mov eax, dword [ebp - 0x80]
mov edi, dword [eax]
mov byte [ebp - 4], 6
mov dword [ebp - 0x70], edi
cmp edi, eax
je 0x100239f7
mov eax, dword [ebp - 0x6c]
cmp dword [edi + 0x28], eax
jle 0x100239e7
push 0xffffffffffffffff
lea eax, [edi + 0xc]
push ebx
push eax
lea ecx, [ebp - 0x68]
call fcn.10001608
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x70]
call fcn.10021d5d
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x80]
jne 0x100239ca
cmp dword [ebp - 0x7c], 1
jne 0x10023a19
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
lea edi, [esi + 0xec]
push eax
mov ecx, edi
call fcn.10001608
mov dword [esi + 0x148], ebx
jmp 0x10023a85
cmp dword [ebp - 0x7c], ebx
jne 0x10023a67
lea ecx, [ebp - 0x6c]
call fcn.10027b2b
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.10028078
lea edi, [esi + 0xec]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.10001979
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.100012ee
lea ecx, [ebp - 0x6c]
mov dword [esi + 0x148], ebx
mov byte [ebp - 4], 6
call fcn.10027b34
jmp 0x10023a85
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
lea edi, [esi + 0xec]
push eax
mov ecx, edi
call fcn.10001608
mov dword [esi + 0x148], 1
cmp dword [esi + 0xfc], ebx
jne 0x10023b22
lea ecx, [ebp - 0x70]
call fcn.10027b2b
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.10028078
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.10001979
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.100012ee
mov eax, dword [esi + 0x150]
mov dword [esi + 0x148], ebx
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
cmp ecx, eax
je 0x10023b16
lea eax, [ecx + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001716
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10023af1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100012ee
lea ecx, [ebp - 0x6c]
call fcn.10021d5d
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [esi + 0x150]
jne 0x10023ad9
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.10027b34
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.100012ee
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.100250e8
lea ecx, [ebp - 0x94]
call fcn.100034b0
call fcn.1002eb49
ret