Function at 0x100096c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011d4a5
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x1016b2e8]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x1016b2e8]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
mov eax, 0x1000
mov dword [esp + 0x14], 0
cmp byte [edi + 0x88], 0
mov dword [esp + 0x18], eax
je 0x10009759
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
cmp dword [edi + 0xc], eax
jbe 0x10009731
call fcn.10061d20
mov esi, dword [edi + 0xc]
mov ebx, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x10009740
call fcn.10061d20
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push ecx
push ebx
push esi
push eax
lea ebx, [esp + 0x34]
mov esi, edi
call fcn.10003910
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [edi + 0x18], eax
push eax
mov eax, edi
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
call fcn.10003840
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
sub esi, ebx
cmp esi, 4
jbe 0x10009780
mov esi, 4
jmp 0x10009784
test esi, esi
je 0x100097ab
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
cmp ebx, edx
jb 0x10009793
call fcn.10061d20
mov ecx, dword [edi + 0xc]
push esi
lea eax, [esp + 0x1c]
push eax
add ecx, ebx
push esi
push ecx
call fcn.100618da
add esp, 0x10
add dword [edi + 0x1c], esi
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
sub esi, ebx
cmp esi, 2
jbe 0x100097bf
mov esi, 2
jmp 0x100097c3
test esi, esi
je 0x100097e9
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
cmp ebx, edx
jb 0x100097d2
call fcn.10061d20
mov ecx, dword [edi + 0xc]
push esi
lea eax, [ebp + 8]
push eax
add ecx, ebx
push esi
push ecx
call fcn.100618da
add esp, 0x10
add dword [edi + 0x1c], esi
call fcn.10001530
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
movzx edx, word [eax + 0x28]
add eax, 8
sub esi, ebx
mov dword [esp + 0x1c], edx
cmp esi, 2
jbe 0x1000980d
mov esi, 2
jmp 0x10009811
test esi, esi
je 0x10009838
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
cmp ebx, eax
jb 0x10009820
call fcn.10061d20
mov edx, dword [edi + 0xc]
push esi
lea ecx, [esp + 0x20]
push ecx
add edx, ebx
push esi
push edx
call fcn.100618da
add esp, 0x10
add dword [edi + 0x1c], esi
call fcn.10001530
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
add eax, 8
movzx eax, word [eax + 0x22]
sub esi, ebx
mov dword [esp + 0x1c], eax
cmp esi, 2
jbe 0x1000985c
mov esi, 2
jmp 0x10009860
test esi, esi
je 0x10009887
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
cmp ebx, ecx
jb 0x1000986f
call fcn.10061d20
mov eax, dword [edi + 0xc]
push esi
lea edx, [esp + 0x20]
push edx
add eax, ebx
push esi
push eax
call fcn.100618da
add esp, 0x10
add dword [edi + 0x1c], esi
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
sub esi, ebx
cmp esi, 2
jbe 0x1000989b
mov esi, 2
jmp 0x1000989f
test esi, esi
je 0x100098c5
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
cmp ebx, ecx
jb 0x100098ae
call fcn.10061d20
mov eax, dword [edi + 0xc]
push esi
lea edx, [ebp + 0xc]
push edx
add eax, ebx
push esi
push eax
call fcn.100618da
add esp, 0x10
add dword [edi + 0x1c], esi
call fcn.10001530
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
add eax, 9
sub esi, ebx
mov dword [esp + 0x10], eax
cmp esi, 0x10
jbe 0x100098e5
mov esi, 0x10
jmp 0x100098e9
test esi, esi
je 0x10009914
test eax, eax
je 0x10009914
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
cmp ebx, ecx
jb 0x10009900
call fcn.10061d20
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0xc]
push esi
push eax
add edx, ebx
push esi
push edx
call fcn.100618da
add esp, 0x10
add dword [edi + 0x1c], esi
call fcn.10001530
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
add eax, 0x4a
sub esi, ebx
mov dword [esp + 0x10], eax
cmp esi, 0x10
jbe 0x10009934
mov esi, 0x10
jmp 0x10009938
test esi, esi
je 0x10009966
cmp dword [esp + 0x10], 0
je 0x10009966
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
cmp ebx, eax
jb 0x1000994e
call fcn.10061d20
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0xc]
push esi
push ecx
add edx, ebx
push esi
push edx
call fcn.100618da
add esp, 0x10
add dword [edi + 0x1c], esi
mov ax, word [ebp + 8]
cmp ax, 1
jne 0x10009aee
call fcn.10001530
add eax, 8
lea esi, [esp + 0x48]
call fcn.10002870
mov eax, esi
push eax
mov eax, edi
mov dword [esp + 0x10c], 0
call fcn.10009400
call fcn.10001530
add eax, 8
lea esi, [esp + 0x2c]
call fcn.10002900
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x114], 1
call fcn.10001c70
mov ebx, 0x10
mov byte [esp + 0x108], 0
cmp dword [esp + 0x44], ebx
jb 0x100099e1
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100618cf
add esp, 4
lea edx, [esp + 0x48]
push edx
mov eax, edi
call fcn.10009400
call fcn.10001530
add eax, 8
lea esi, [esp + 0x2c]
call fcn.10002950
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x114], 2
call fcn.10001c70
mov byte [esp + 0x108], 0
cmp dword [esp + 0x44], ebx
jb 0x10009a2f
mov eax, dword [esp + 0x30]
push eax
call fcn.100618cf
add esp, 4
lea ecx, [esp + 0x48]
push ecx
mov eax, edi
call fcn.10009400
call fcn.10001530
add eax, 8
lea esi, [esp + 0x2c]
call fcn.10002c00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x114], 3
call fcn.10001c70
mov byte [esp + 0x108], 0
cmp dword [esp + 0x44], ebx
jb 0x10009a7d
mov edx, dword [esp + 0x30]
push edx
call fcn.100618cf
add esp, 4
lea eax, [esp + 0x48]
push eax
mov eax, edi
call fcn.10009400
call fcn.10001530
add eax, 8
lea esi, [esp + 0x2c]
call fcn.100028b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x114], 4
call fcn.10001c70
cmp dword [esp + 0x44], ebx
jb 0x10009ac3
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100618cf
add esp, 4
lea edx, [esp + 0x48]
push edx
mov eax, edi
call fcn.10009400
mov dword [esp + 0x108], 0xffffffff
cmp dword [esp + 0x60], ebx
jb 0x10009cbb
mov eax, dword [esp + 0x4c]
push eax
jmp 0x10009cb3
cmp ax, 3
jne 0x10009cbb
lea ecx, [esp + 0xac]
push ecx
call fcn.100131a0
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x10c], 5
call fcn.100131a0
lea eax, [esp + 0x64]
push eax
push 3
mov byte [esp + 0x110], 6
call fcn.100015d0
add eax, 4
lea ebx, [esp + 0xb4]
call fcn.1001b090
test al, al
je 0x10009cd5
cmp dword [esp + 0xe0], 0x10
mov edx, dword [esp + 0xcc]
jae 0x10009b5d
lea edx, [esp + 0xcc]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10009b74
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.10002270
lea ecx, [esp + 0x2c]
push ecx
mov eax, edi
call fcn.10009400
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x10009bac
mov edx, dword [esp + 0x30]
push edx
call fcn.100618cf
add esp, 4
mov edx, dword [esp + 0x84]
cmp dword [esp + 0x98], esi
jae 0x10009bc3
lea edx, [esp + 0x84]
mov eax, edx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10009bd8
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.10002270
lea eax, [esp + 0x2c]
push eax
mov eax, edi
call fcn.10009400
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x10009c10
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100618cf
add esp, 4
cmp dword [esp + 0x98], esi
jb 0x10009c29
mov edx, dword [esp + 0x84]
push edx
call fcn.100618cf
add esp, 4
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0x7c], esi
jb 0x10009c55
mov eax, dword [esp + 0x68]
push eax
call fcn.100618cf
add esp, 4
mov dword [esp + 0x108], 0xffffffff
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0xe0], esi
jb 0x10009c89
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.100618cf
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
cmp dword [esp + 0xc4], esi
jb 0x10009cbb
mov edx, dword [esp + 0xb0]
push edx
call fcn.100618cf
add esp, 4
mov esi, dword [edi + 0x1c]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x10009d89
mov ecx, eax
shr ecx, 1
add eax, ecx
jmp 0x10009713
mov esi, 0x10
cmp dword [esp + 0x98], esi
jb 0x10009cf3
mov edx, dword [esp + 0x84]
push edx
call fcn.100618cf
add esp, 4
xor ebx, ebx
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0x7c], esi
jb 0x10009d21
mov eax, dword [esp + 0x68]
push eax
call fcn.100618cf
add esp, 4
mov dword [esp + 0x108], 0xffffffff
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0xe0], esi
jb 0x10009d55
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.100618cf
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
cmp dword [esp + 0xc4], esi
jb 0x10009dcd
mov edx, dword [esp + 0xb0]
push edx
call fcn.100618cf
add esp, 4
jmp 0x10009dcd
xor ebx, ebx
push esi
mov eax, edi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
call fcn.10003840
mov eax, dword [edi + 0x10]
sub esi, 4
sub eax, dword [edi + 0xc]
je 0x10009db3
cmp eax, ebx
ja 0x10009db0
call fcn.10061d20
mov eax, dword [edi + 0xc]
mov dword [eax], esi
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
je 0x10009dc9
cmp eax, ebx
ja 0x10009dc6
call fcn.10061d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
cmp byte [ebp + 0x10], 0
je 0x10009e45
lea esi, [esp + 0x2c]
call fcn.10009e70
mov dword [esp + 0x108], 7
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x10009df6
lea eax, [esp + 0x30]
push 0
push eax
call fcn.10062018
add esp, 8
test eax, eax
jne 0x10009e28
lea edi, [esp + 0x2c]
call fcn.10015df0
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x10009e1d
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
call fcn.10014920
cmp dword [esp + 0x44], 0x10
jb 0x10009e45
mov eax, dword [esp + 0x30]
push eax
call fcn.100618cf
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.10061731
mov esp, ebp
pop ebp
ret 0xc