Function at 0x100a4e00
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.100a3500
add esp, 4
cmp dword [esi + 0x4c], 0
je 0x100a4f5d
mov eax, dword [esi + 0x4088]
inc eax
push eax
push 0x103fe5c8
call fcn.100a87e0
add esp, 8
lea ebx, [esi + 0x408c]
xor edi, edi
push dword [ebx]
push edi
push 0x103fe5e0
call fcn.100a87e0
inc edi
lea ebx, [ebx + 4]
add esp, 0xc
cmp edi, dword [esi + 0x4088]
jbe 0x100a4e41
mov eax, dword [esi + 0x84]
inc eax
push eax
push 0x103fe604
call fcn.100a87e0
add esp, 8
lea ebx, [esi + 0x88]
xor edi, edi
nop word [eax + eax]
push dword [ebx]
push edi
push 0x103fe61c
call fcn.100a87e0
inc edi
lea ebx, [ebx + 4]
add esp, 0xc
cmp edi, dword [esi + 0x84]
jbe 0x100a4e80
cmp dword [esi + 0x68], 0
jne 0x100a4ea9
push 0x103fe640
jmp 0x100a4eae
push 0x103fe65c
call fcn.100a87e0
add esp, 4
cmp dword [esi + 0x8560], 0
jne 0x100a4ed1
push 0x103fe678
call fcn.100a87e0
add esp, 4
jmp 0x100a4f5d
mov eax, dword [esi + 0x84]
xor ebx, ebx
cmp dword [esi + 0x68], ebx
jne 0x100a4f18
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 0x103fe69c
call fcn.100a87e0
mov eax, dword [esi + 0x84]
inc edi
add esp, 0x10
cmp edi, eax
jbe 0x100a4ee2
inc ebx
cmp ebx, dword [esi + 0x4088]
jbe 0x100a4ee0
jmp 0x100a4f5d
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 0x103fe6e0
call fcn.100a87e0
mov eax, dword [esi + 0x84]
inc edi
add esp, 0x1c
cmp edi, eax
jbe 0x100a4f20
inc ebx
cmp ebx, dword [esi + 0x4088]
jbe 0x100a4f18
push esi
call fcn.100a8a20
push ebp
push esi
call fcn.100a3480
mov ecx, dword [esi + 0x85fc]
add esp, 0xc
test ecx, ecx
je 0x100a522a
mov eax, dword [esi + 0x85d8]
xor edi, edi
mov ebp, dword [esi + 0x7c]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x100a4fab
nop
mov eax, dword [esi + 0x85f8]
push dword [eax + edi*4]
push esi
call fcn.100a3480
inc edi
add esp, 8
cmp edi, dword [esi + 0x85fc]
jb 0x100a4f90
xor edi, edi
cmp dword [esi + 0x85fc], edi
jbe 0x100a4fd2
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 0x100a4fb5
xor edx, edx
cmp dword [esi + 0x68], 1
mov dword [esp + 0x10], edx
jne 0x100a4ff0
cmp dword [esi + 0x8098], 0
je 0x100a4ff0
movzx eax, byte [esi + 0x85bc]
jmp 0x100a4ff5
mov eax, 1
cmp edx, eax
jae 0x100a5120
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 0x100a5037
push dword [eax + ebx*4]
call fcn.100a5aa0
add esp, 0xc
inc edi
jmp 0x100a50f4
movzx ecx, byte [esi + 0x85bc]
imul ecx, ebx
cmp dword [esi + 0x8098], 0
jne 0x100a50de
push dword [eax + ecx*4]
call fcn.100a5aa0
mov cl, byte [esi + 0x85bc]
add esp, 0xc
inc edi
cmp cl, 1
jbe 0x100a5086
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.100a5aa0
add esp, 0xc
inc edi
mov al, byte [esi + 0x85bc]
cmp al, 2
jbe 0x100a50b1
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.100a5aa0
add esp, 0xc
inc edi
mov al, byte [esi + 0x85bc]
cmp al, 3
jbe 0x100a50f4
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.100a5aa0
add esp, 0xc
inc edi
jmp 0x100a50f4
add ecx, edx
push dword [eax + ecx*4]
call fcn.100a5aa0
movzx eax, byte [esi + 0x85bc]
add esp, 0xc
add edi, eax
mov edx, dword [esp + 0x10]
inc ebx
cmp ebx, dword [esi + 0x84]
jbe 0x100a5012
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x4088]
jbe 0x100a5010
inc edx
jmp 0x100a4fd4
mov eax, dword [esi + 0x8620]
xor edi, edi
imul eax, dword [esi + 0x861c]
imul eax, dword [esi + 0x6c]
cmp eax, 0x4000000
jb 0x100a51d8
cmp dword [esi + 0x85fc], edi
jbe 0x100a51b8
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop dword [eax]
mov eax, dword [esi + 0x8868]
test eax, eax
je 0x100a5195
mov eax, dword [eax + edi*4]
test eax, eax
je 0x100a5195
mov eax, dword [eax]
test eax, eax
je 0x100a517f
push eax
call fcn.102019f7
mov eax, dword [esi + 0x886c]
add esp, 4
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x100a51cd
mov eax, dword [esi + 0x8868]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x100a5195
push eax
call fcn.101fc1cd
add esp, 4
mov eax, dword [esi + 0x886c]
test eax, eax
je 0x100a51af
mov eax, dword [eax + edi*4]
test eax, eax
je 0x100a51af
push eax
call fcn.101fc1cd
add esp, 4
inc edi
cmp edi, dword [esi + 0x85fc]
jb 0x100a5150
mov eax, dword [esi + 0x886c]
test eax, eax
je 0x100a5206
push eax
call fcn.101fc1cd
add esp, 4
jmp 0x100a5206
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
cmp dword [esi + 0x85fc], edi
jbe 0x100a5206
mov eax, dword [esi + 0x8868]
test eax, eax
je 0x100a51fd
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
test ecx, ecx
je 0x100a51fd
push eax
mov eax, dword [ecx + 0x14]
call eax
add esp, 4
inc edi
cmp edi, dword [esi + 0x85fc]
jb 0x100a51e0
push dword [esi + 0x8868]
call fcn.101fc1cd
push dword [esi + 0x85f8]
call fcn.101fc1cd
push dword [esi + 0x85d8]
call fcn.101fc1cd
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret