Function at 0x100f5e0
Capabilities:
Create directory
Delete file

Disassembly:
push 0x30
mov eax, 0x103994c
call fcn.010372df
mov ebx, ecx
or dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov word [ebp - 0x3c], ax
lea edi, [ebp - 0x3a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
mov dword [ebp - 0x20], esi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
stosd dword es:[edi], eax
call fcn.01014810
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
jne 0x100f663
cmp dword [ebp + 0xc], esi
jne 0x100f663
mov eax, dword [section..data]
cmp eax, section..data
je 0x100f648
test byte [eax + 0x1c], 1
je 0x100f648
push 0x1002cfc
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
mov esi, 0x80070057
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01014822
mov eax, esi
call fcn.010373cb
ret 8
mov ecx, ebx
call fcn.0100f295
mov edi, eax
cmp edi, esi
je 0x100f824
cmp word [edi], si
je 0x100f824
call fcn.0100eadb
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x100f6b4
mov esi, 0x80004005
mov eax, dword [section..data]
cmp eax, section..data
je 0x100f84d
test byte [eax + 0x1c], 1
je 0x100f84d
push 0x1002cfc
push 0x14
jmp 0x100f842
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100f713
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x100f713
mov eax, dword [section..data]
cmp eax, section..data
je 0x100f704
test byte [eax + 0x1c], 1
je 0x100f704
push edi
push 0x1002cfc
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008bcd
call esi
push eax
call fcn.0100968c
mov esi, eax
jmp 0x100f84d
mov ecx, ebx
call fcn.0100f2af
dec eax
push eax
push 0x1002da0
push edi
call fcn.010118b9
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor ebx, ebx
inc ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
movzx eax, word [ebp - 0x3c]
push 0x64
pop ecx
cdq
idiv ecx
movzx eax, word [ebp - 0x36]
push edx
push eax
movzx eax, word [ebp - 0x3a]
push eax
push edi
lea eax, [ebp - 0x2c]
push 0x1002d60
push eax
call fcn.010157db
mov esi, eax
add esp, 0x20
test esi, esi
jl 0x100f7a4
push 0
push 0x80
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0x40040000
lea ecx, [ebp - 0x2c]
call fcn.01015d45
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x100f7d3
inc ebx
cmp ebx, 0x64
jb 0x100f734
mov esi, 0x80004005
jmp 0x100f84d
mov eax, dword [section..data]
cmp eax, section..data
je 0x100f84d
test byte [eax + 0x1c], 1
je 0x100f84d
push esi
push 0x1002cfc
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x100f84d
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100f805
lea eax, [ebp - 0x2c]
push eax
call fcn.0101565e
mov esi, eax
test esi, esi
jge 0x100f805
mov eax, dword [section..data]
cmp eax, section..data
je 0x100f84d
test byte [eax + 0x1c], 1
je 0x100f84d
push esi
push 0x1002cfc
push 0x17
jmp 0x100f7c6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100f813
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
jmp 0x100f820
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x10], 0
xor esi, esi
jmp 0x100f84d
mov esi, 0x80004005
mov eax, dword [section..data]
cmp eax, section..data
je 0x100f84d
test byte [eax + 0x1c], 1
je 0x100f84d
push 0x1002cfc
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
cmp dword [ebp - 0x14], 0
je 0x100f85c
lea eax, [ebp - 0x14]
push eax
call fcn.0100ec76
test esi, esi
jge 0x100f64d
cmp dword [ebp - 0x10], 0
je 0x100f879
cmp dword [ebp - 0x10], 0xffffffff
je 0x100f879
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.01014b17
test eax, eax
je 0x100f64d
lea ecx, [ebp - 0x2c]
call fcn.01015d45
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100f64d