Function at 0x10371dd
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 0x103722c
test byte [eax + 0x1c], 4
je 0x103722c
cmp byte [eax + 0x19], 5
jb 0x103722c
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.01009acc
add esp, 0x14
test eax, eax
jge 0x103727e
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x1037277
test byte [ecx + 0x1c], 4
je 0x1037277
cmp byte [ecx + 0x19], 2
jb 0x1037277
push eax
push ebx
push 0x31
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
xor eax, eax
jmp 0x103740b
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 0x10372d2
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10372ca
test byte [eax + 0x1c], 4
je 0x10372ca
cmp byte [eax + 0x19], 3
jb 0x10372ca
mov ecx, dword [0x1078100]
push dword [ecx + 0x5c]
push edi
push ebx
push 0x32
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009225
xor eax, eax
inc eax
jmp 0x103740b
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.01009acc
add esp, 0x14
test eax, eax
jge 0x1037333
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x10373a0
test byte [ecx + 0x1c], 4
je 0x10373a0
cmp byte [ecx + 0x19], 2
jb 0x10373a0
push eax
push ebx
push 0x33
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
jmp 0x10373a0
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103735d
test byte [eax + 0x1c], 4
je 0x103735d
cmp byte [eax + 0x19], 5
jb 0x103735d
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10373aa
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10373a0
test byte [eax + 0x1c], 4
je 0x10373a0
cmp byte [eax + 0x19], 2
jb 0x10373a0
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.0100a6e9
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 0x10372d8
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1037400
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1037400
test byte [eax + 0x1c], 4
je 0x1037400
cmp byte [eax + 0x19], 2
jb 0x1037400
call edi
push eax
mov eax, dword [0x1075004]
push ebx
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
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.0105bb63
leave
ret 4