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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x10032138]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push 0x24c
lea eax, reloc.ADVAPI32.dll_TraceMessage
push esi
push eax
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
call sub.msvcrt.dll_memset
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
test edi, edi
jne 0x100191a8
push reloc.KERNEL32.dll_VerSetConditionMask
pop esi
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1001934c
test byte [eax + 0x1c], 1
je 0x1001934c
push 0x1000bcb8
push 0x79
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000c7e1
jmp 0x1001934c
test ebx, ebx
jne 0x100191d2
push reloc.KERNEL32.dll_VerSetConditionMask
pop esi
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1001934c
test byte [eax + 0x1c], 1
je 0x1001934c
push 0x1000bcb8
push 0x7a
jmp 0x10019198
push edi
push ebx
push 0x10006950
lea eax, reloc.ADVAPI32.dll_TraceMessage
push 0x104
push eax
call fcn.100010fa
mov ecx, eax
add esp, 0x14
test ecx, ecx
jns 0x1001922d
mov esi, ecx
and esi, 0x1000ffff
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1001934c
test byte [eax + 0x1c], 1
je 0x1001934c
push ecx
push 0x1000bcb8
push 0x7b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fead
jmp 0x1001934c
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call sub.KERNEL32.dll_FindFirstFileW
mov edi, eax
cmp edi, reloc.ADVAPI32.dll_TraceMessage
jne 0x1001927f
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1001934c
test byte [eax + 0x1c], 4
je 0x1001934c
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
push 0x1000bcb8
push 0x7c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10013378
jmp 0x1001934c
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x10
je 0x10019331
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ebx
push 0x10006950
lea eax, reloc.ADVAPI32.dll_TraceMessage
push 0x104
push eax
call fcn.100010fa
mov ecx, eax
add esp, 0x14
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ecx
test ecx, ecx
js 0x100192fe
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call sub.KERNEL32.dll_DeleteFileW
test eax, eax
jne 0x10019331
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10019331
test byte [eax + 0x1c], 1
je 0x10019331
push esi
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
push 0x1000bcb8
push 0x7d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fe35
jmp 0x10019331
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10019329
test byte [eax + 0x1c], 1
je 0x10019329
push ecx
push 0x1000bcb8
push 0x7e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fead
mov ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
mov esi, ecx
and esi, 0x1000ffff
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push edi
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
jne 0x1001927f
push edi
call sub.KERNEL32.dll_FindClose
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100024c8
leave
ret 8