Function at 0x100298f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006330a
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x1007f070]
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 edi, ecx
sub esp, 0x18
lea edx, [edi + 0x40]
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10029940
mov eax, dword [ecx]
jmp 0x10029942
mov eax, ecx
push 0xffffffffffffffff
push 0
push edx
mov byte [eax], 0
call fcn.1000e1a0
lea ecx, [ebp - 0x58]
call fcn.10034900
add esp, 0x18
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x10029ca3
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 1
push esi
push ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.1002a620
cmp eax, 0xffffffff
jne 0x100299cd
push eax
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.10019340
jmp 0x10029a3f
sub esi, eax
lea ecx, [ebp - 0x58]
dec esi
inc eax
push esi
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.1002a390
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10029a1d
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10029a00
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.100207e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x10029a3f
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.10019260
push 1
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.1002a6a0
mov esi, eax
cmp esi, 0xffffffff
je 0x10029b49
push esi
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002a390
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x10029a75
mov eax, dword [eax]
lea ecx, [ebp - 0x15c]
push 3
mov dword [ebp - 0x160], ecx
lea ecx, [ebp - 0x160]
push eax
call fcn.1002a540
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
push dword [ebp - 0x160]
call fcn.1000ac30
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
cmp eax, ecx
je 0x10029aba
push eax
call fcn.1004480c
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xac]
cmp eax, 8
jb 0x10029adc
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.10019260
push 0xa
sub esp, 8
mov dword [ebp - 0xac], 7
xor eax, eax
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0x40]
mov word [ebp - 0xc0], ax
call fcn.100208c0
cmp eax, 0xffffffff
sete al
test al, al
jne 0x10029b84
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10029b37
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1000e830
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10029b5e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.100297d0
xor bl, bl
jmp 0x10029ca5
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10049df2
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add esp, 4
sub eax, esi
mov dword [ebp - 0x74], edx
dec eax
push eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.1002a390
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa8]
call fcn.100185a0
push eax
lea ecx, [ebp - 0x70]
call fcn.1000ab30
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x10029bf0
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.1000e830
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 8
call fcn.10018ff0
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xa8]
cmovae edx, dword [ebp - 0x58]
call fcn.1001ca70
push eax
lea ecx, [ebp - 0x90]
call fcn.1000ab30
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x10029c5a
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.1000e830
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0x24]
call fcn.1002a4a0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10029c7e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1000e830
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.10018ff0
lea ecx, [ebp - 0x90]
call fcn.100297d0
mov bl, 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x10029cba
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.10019260
mov al, bl
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.10037fa1
mov esp, ebp
pop ebp
ret