Function at 0x1036dd0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x460], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x1002380
cmp eax, esi
je 0x1036e1f
test byte [eax + 0x1c], 4
je 0x1036e1f
cmp byte [eax + 0x19], 5
jb 0x1036e1f
push ebx
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov eax, dword [0x1078100]
push edi
push dword [eax + 0x5c]
lea eax, [ebp - 0x20c]
push 0x1002c8c
push 0x104
push eax
call fcn.01009a76
add esp, 0x14
test eax, eax
jge 0x1036e71
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x1036e6a
test byte [ecx + 0x1c], 4
je 0x1036e6a
cmp byte [ecx + 0x19], 2
jb 0x1036e6a
push eax
push ebx
push 0x31
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
xor eax, eax
jmp 0x1036ffe
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp eax, 0xffffffff
jne 0x1036ec5
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036ebd
test byte [eax + 0x1c], 4
je 0x1036ebd
cmp byte [eax + 0x19], 3
jb 0x1036ebd
mov ecx, dword [0x1078100]
push dword [ecx + 0x5c]
push edi
push ebx
push 0x32
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100923e
xor eax, eax
inc eax
jmp 0x1036ffe
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x430]
push eax
mov eax, dword [0x1078100]
push dword [eax + 0x5c]
lea eax, [ebp - 0x20c]
push 0x10019a0
push 0x104
push eax
call fcn.01009a76
add esp, 0x14
test eax, eax
jge 0x1036f26
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x1036f93
test byte [ecx + 0x1c], 4
je 0x1036f93
cmp byte [ecx + 0x19], 2
jb 0x1036f93
push eax
push ebx
push 0x33
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
jmp 0x1036f93
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036f50
test byte [eax + 0x1c], 4
je 0x1036f50
cmp byte [eax + 0x19], 5
jb 0x1036f50
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100915e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1036f9d
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036f93
test byte [eax + 0x1c], 4
je 0x1036f93
cmp byte [eax + 0x19], 2
jb 0x1036f93
call edi
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x1075004]
push ebx
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
mov dword [ebp - 0x460], 1
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1036ecb
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1036ff3
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036ff3
test byte [eax + 0x1c], 4
je 0x1036ff3
cmp byte [eax + 0x19], 2
jb 0x1036ff3
call edi
push eax
mov eax, dword [0x1075004]
push ebx
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
xor eax, eax
cmp dword [ebp - 0x460], eax
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105b7af
leave
ret 4