Function at 0x100a35e0
Capabilities:
Delete file

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov ebp, dword [esi + 0x85c8]
push ebp
call fcn.100a1d30
add esp, 4
cmp dword [esi + 0x4c], 0
je 0x100a373d
mov eax, dword [esi + 0x4088]
inc eax
push eax
push 0x103be5c0
call fcn.100a6fc0
add esp, 8
lea ebx, [esi + 0x408c]
xor edi, edi
push dword [ebx]
push edi
push 0x103be5d8
call fcn.100a6fc0
inc edi
lea ebx, [ebx + 4]
add esp, 0xc
cmp edi, dword [esi + 0x4088]
jbe 0x100a3621
mov eax, dword [esi + 0x84]
inc eax
push eax
push 0x103be5fc
call fcn.100a6fc0
add esp, 8
lea ebx, [esi + 0x88]
xor edi, edi
nop word [eax + eax]
push dword [ebx]
push edi
push 0x103be614
call fcn.100a6fc0
inc edi
lea ebx, [ebx + 4]
add esp, 0xc
cmp edi, dword [esi + 0x84]
jbe 0x100a3660
cmp dword [esi + 0x68], 0
jne 0x100a3689
push 0x103be638
jmp 0x100a368e
push 0x103be654
call fcn.100a6fc0
add esp, 4
cmp dword [esi + 0x8560], 0
jne 0x100a36b1
push 0x103be670
call fcn.100a6fc0
add esp, 4
jmp 0x100a373d
mov eax, dword [esi + 0x84]
xor ebx, ebx
cmp dword [esi + 0x68], ebx
jne 0x100a36f8
nop
xor edi, edi
lea ecx, [eax + 1]
mov eax, dword [esi + 0x85d8]
imul ecx, ebx
add ecx, edi
push dword [eax + ecx*4]
push edi
push ebx
push 0x103be694
call fcn.100a6fc0
mov eax, dword [esi + 0x84]
inc edi
add esp, 0x10
cmp edi, eax
jbe 0x100a36c2
inc ebx
cmp ebx, dword [esi + 0x4088]
jbe 0x100a36c0
jmp 0x100a373d
xor edi, edi
nop word [eax + eax]
inc eax
imul eax, ebx
add eax, edi
shl eax, 4
add eax, dword [esi + 0x85d8]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push edi
push ebx
push 0x103be6d8
call fcn.100a6fc0
mov eax, dword [esi + 0x84]
inc edi
add esp, 0x1c
cmp edi, eax
jbe 0x100a3700
inc ebx
cmp ebx, dword [esi + 0x4088]
jbe 0x100a36f8
push esi
call fcn.100a7200
push ebp
push esi
call fcn.100a1cb0
mov ecx, dword [esi + 0x85fc]
add esp, 0xc
test ecx, ecx
je 0x100a3a0a
mov eax, dword [esi + 0x85d8]
xor edi, edi
mov ebp, dword [esi + 0x7c]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x100a378b
nop
mov eax, dword [esi + 0x85f8]
push dword [eax + edi*4]
push esi
call fcn.100a1cb0
inc edi
add esp, 8
cmp edi, dword [esi + 0x85fc]
jb 0x100a3770
xor edi, edi
cmp dword [esi + 0x85fc], edi
jbe 0x100a37b2
mov eax, dword [esi + 0x8868]
push 0
mov eax, dword [eax + edi*4]
push eax
mov eax, dword [eax + 0x24]
call eax
inc edi
add esp, 8
cmp edi, dword [esi + 0x85fc]
jb 0x100a3795
xor edx, edx
cmp dword [esi + 0x68], 1
mov dword [esp + 0x10], edx
jne 0x100a37d0
cmp dword [esi + 0x8098], 0
je 0x100a37d0
movzx eax, byte [esi + 0x85bc]
jmp 0x100a37d5
mov eax, 1
cmp edx, eax
jae 0x100a3900
mov dword [esp + 0x14], 0
mov edi, edx
nop word [eax + eax]
xor ebx, ebx
cmp dword [esi + 0x68], 0
mov eax, dword [esp + 0x1c]
push dword [eax + edi*4]
mov eax, dword [esi + 0x8868]
push ebp
jne 0x100a3817
push dword [eax + ebx*4]
call fcn.100a4280
add esp, 0xc
inc edi
jmp 0x100a38d4
movzx ecx, byte [esi + 0x85bc]
imul ecx, ebx
cmp dword [esi + 0x8098], 0
jne 0x100a38be
push dword [eax + ecx*4]
call fcn.100a4280
mov cl, byte [esi + 0x85bc]
add esp, 0xc
inc edi
cmp cl, 1
jbe 0x100a3866
mov eax, dword [esp + 0x1c]
movzx ecx, cl
imul ecx, ebx
push dword [eax + edi*4]
mov eax, dword [esi + 0x8868]
push ebp
push dword [eax + ecx*4 + 4]
call fcn.100a4280
add esp, 0xc
inc edi
mov al, byte [esi + 0x85bc]
cmp al, 2
jbe 0x100a3891
mov ecx, dword [esp + 0x1c]
push dword [ecx + edi*4]
movzx ecx, al
mov eax, dword [esi + 0x8868]
imul ecx, ebx
push ebp
push dword [eax + ecx*4 + 8]
call fcn.100a4280
add esp, 0xc
inc edi
mov al, byte [esi + 0x85bc]
cmp al, 3
jbe 0x100a38d4
mov ecx, dword [esp + 0x1c]
push dword [ecx + edi*4]
movzx ecx, al
mov eax, dword [esi + 0x8868]
imul ecx, ebx
push ebp
push dword [eax + ecx*4 + 0xc]
call fcn.100a4280
add esp, 0xc
inc edi
jmp 0x100a38d4
add ecx, edx
push dword [eax + ecx*4]
call fcn.100a4280
movzx eax, byte [esi + 0x85bc]
add esp, 0xc
add edi, eax
mov edx, dword [esp + 0x10]
inc ebx
cmp ebx, dword [esi + 0x84]
jbe 0x100a37f2
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x4088]
jbe 0x100a37f0
inc edx
jmp 0x100a37b4
mov eax, dword [esi + 0x8620]
xor edi, edi
imul eax, dword [esi + 0x861c]
imul eax, dword [esi + 0x6c]
cmp eax, 0x4000000
jb 0x100a39b8
cmp dword [esi + 0x85fc], edi
jbe 0x100a3998
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop dword [eax]
mov eax, dword [esi + 0x8868]
test eax, eax
je 0x100a3975
mov eax, dword [eax + edi*4]
test eax, eax
je 0x100a3975
mov eax, dword [eax]
test eax, eax
je 0x100a395f
push eax
call fcn.101e879a
mov eax, dword [esi + 0x886c]
add esp, 4
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x100a39ad
mov eax, dword [esi + 0x8868]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x100a3975
push eax
call fcn.101e2e6d
add esp, 4
mov eax, dword [esi + 0x886c]
test eax, eax
je 0x100a398f
mov eax, dword [eax + edi*4]
test eax, eax
je 0x100a398f
push eax
call fcn.101e2e6d
add esp, 4
inc edi
cmp edi, dword [esi + 0x85fc]
jb 0x100a3930
mov eax, dword [esi + 0x886c]
test eax, eax
je 0x100a39e6
push eax
call fcn.101e2e6d
add esp, 4
jmp 0x100a39e6
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
cmp dword [esi + 0x85fc], edi
jbe 0x100a39e6
mov eax, dword [esi + 0x8868]
test eax, eax
je 0x100a39dd
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
test ecx, ecx
je 0x100a39dd
push eax
mov eax, dword [ecx + 0x14]
call eax
add esp, 4
inc edi
cmp edi, dword [esi + 0x85fc]
jb 0x100a39c0
push dword [esi + 0x8868]
call fcn.101e2e6d
push dword [esi + 0x85f8]
call fcn.101e2e6d
push dword [esi + 0x85d8]
call fcn.101e2e6d
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret