Function at 0x100ddc9c
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push 0x60
mov eax, 0x1014aca7
call fcn.1010191b
push 2
xor ebx, ebx
pop esi
xor eax, eax
push 7
pop ecx
mov byte [ebp - 0x38], bl
lea edi, [ebp - 0x37]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp - 0x68], ebx
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
push 0x10165bcc
push dword [ebp + 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], ebx
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100ddfc8
cmp dword [ebp - 0x44], ebx
je 0x100ddfda
push dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push 0x20
push 1
push eax
call fcn.101034cc
add esp, 0x10
cmp eax, 0x20
jb 0x100ddfc8
mov ecx, esi
mov edi, 0x10165bc0
lea esi, [ebp - 0x38]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x100ddfc8
lea eax, [ebp - 0x30]
push eax
call fcn.100dd7b8
mov edi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.100dd7b8
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
call fcn.100dd7b8
add esp, 0xc
test edi, edi
mov dword [ebp - 0x48], eax
jl 0x100ddfc8
test ebx, ebx
jl 0x100ddfc8
test eax, eax
jl 0x100ddfc8
push dword [ebp - 0x44]
call fcn.10103005
test eax, eax
pop ecx
jne 0x100ddfc8
and dword [ebp - 0x44], eax
mov esi, 0x10153bc8
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100ddfc8
cmp dword [ebp - 0x44], eax
je 0x100ddfda
push eax
push 0x20
push dword [ebp - 0x44]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100ddfc8
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100ddfc8
cmp dword [ebp - 0x54], eax
je 0x100ddfc8
push eax
lea eax, [edi + 0x20]
push eax
push dword [ebp - 0x54]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100ddfc8
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100ddfc8
cmp dword [ebp - 0x50], eax
je 0x100ddfc8
push eax
lea eax, [ebx + edi + 0x20]
push eax
push dword [ebp - 0x50]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100ddfc8
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100ddfc8
xor edi, edi
cmp dword [ebp - 0x3c], edi
je 0x100ddfc8
push 2
push edi
push dword [ebp - 0x3c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100ddfc8
push dword [ebp - 0x3c]
call fcn.101061e8
mov esi, eax
cmp esi, 0xffffffff
pop ecx
mov dword [ebp - 0x5c], esi
je 0x100ddfc8
lea eax, [esi + 1]
push eax
call fcn.10100af4
cmp eax, edi
pop ecx
mov dword [ebp - 0x58], eax
je 0x100ddfc8
push edi
push edi
push dword [ebp - 0x3c]
call fcn.10105fcb
add esp, 0xc
test eax, eax
jne 0x100ddfc8
push dword [ebp - 0x3c]
push esi
push 1
push dword [ebp - 0x58]
call fcn.101034cc
add esp, 0x10
cmp eax, esi
jne 0x100ddfc8
push dword [ebp - 0x3c]
call fcn.10103005
test eax, eax
pop ecx
jne 0x100ddfc8
mov eax, dword [ebp - 0x48]
inc eax
push eax
call fcn.10100af4
cmp eax, edi
pop ecx
mov dword [ebp - 0x4c], eax
je 0x100ddfc8
xor esi, esi
cmp dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
jle 0x100ddfc1
jmp 0x100ddf0f
xor edi, edi
push dword [ebp - 0x44]
lea eax, [ebp - 0x18]
push 8
push 1
push eax
call fcn.101034cc
add esp, 0x10
cmp eax, 8
jne 0x100ddfc1
lea eax, [ebp - 0x18]
push eax
call fcn.100dd7b8
mov dword [ebp + edi*4 - 0x68], eax
inc edi
cmp edi, 2
pop ecx
jle 0x100ddf0f
mov edi, dword [ebp - 0x68]
lea ebx, [edi + esi]
cmp ebx, dword [ebp - 0x48]
jg 0x100ddfc1
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
push edi
add esi, eax
push 1
push esi
call fcn.101034cc
add esp, 0x10
cmp eax, edi
jne 0x100ddfc1
xor eax, eax
test edi, edi
jle 0x100ddf87
mov ecx, dword [ebp - 0x40]
add ecx, eax
js 0x100ddf82
cmp ecx, dword [ebp - 0x5c]
jge 0x100ddf82
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x58]
add ecx, eax
mov cl, byte [ecx + edx]
add byte [esi + eax], cl
inc eax
cmp eax, edi
jl 0x100ddf68
mov esi, dword [ebp - 0x64]
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
jg 0x100ddfc1
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
push esi
add ebx, eax
push 1
push ebx
call fcn.101034cc
add esp, 0x10
cmp eax, esi
jne 0x100ddfc1
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x6c]
add eax, edi
add dword [ebp - 0x40], eax
cmp esi, dword [ebp - 0x48]
jl 0x100ddf0d
mov dword [ebp - 0x40], 1
xor esi, esi
cmp dword [ebp - 0x44], esi
je 0x100ddfdc
push dword [ebp - 0x44]
call fcn.10103005
pop ecx
jmp 0x100ddfdc
xor esi, esi
cmp dword [ebp - 0x54], esi
je 0x100ddfea
push dword [ebp - 0x54]
call fcn.10103005
pop ecx
cmp dword [ebp - 0x50], esi
je 0x100ddff8
push dword [ebp - 0x50]
call fcn.10103005
pop ecx
cmp dword [ebp - 0x3c], esi
je 0x100de006
push dword [ebp - 0x3c]
call fcn.10103005
pop ecx
cmp dword [ebp - 0x40], esi
je 0x100de062
cmp dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], esi
je 0x100de070
cmp dword [ebp - 0x48], esi
je 0x100de062
push 0x1015a88c
push dword [ebp + 0x10]
lea eax, [ebp - 0x3c]
push eax
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100de062
cmp dword [ebp - 0x3c], esi
je 0x100de062
push dword [ebp - 0x3c]
xor edi, edi
push dword [ebp - 0x48]
inc edi
push edi
push dword [ebp - 0x4c]
call fcn.10103ca7
push dword [ebp - 0x3c]
call fcn.10103005
push dword [ebp + 0x10]
call fcn.100da707
add esp, 0x18
cmp eax, dword [ebp + 0x14]
jne 0x100de062
mov dword [ebp - 0x40], edi
cmp dword [ebp - 0x4c], esi
je 0x100de070
push dword [ebp - 0x4c]
call fcn.10100bb6
pop ecx
cmp dword [ebp - 0x58], esi
je 0x100de07e
push dword [ebp - 0x58]
call fcn.10100bb6
pop ecx
cmp dword [ebp - 0x40], esi
jne 0x100de08c
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call fcn.100015d9
lea ecx, [ebp + 0xc]
call fcn.100015d9
lea ecx, [ebp + 0x10]
call fcn.100015d9
mov eax, dword [ebp - 0x40]
call fcn.1010199e
ret