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

Disassembly:
push 0x488
mov eax, 0x1002f9fc
call fcn.1002b85a
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor esi, esi
lea eax, reloc.advapi32.dll_TraceMessage
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - reloc.advapi32.dll_TraceMessage], esi
mov dword [ebp - reloc.advapi32.dll_TraceMessage], esi
cmp dword [edi + 4], esi
jne 0x1002395e
mov eax, 0x80004005
jmp 0x10023e04
cmp dword [edi + reloc.advapi32.dll_TraceMessage], esi
jne 0x10023970
test byte [ebp + 0x14], 0x20
jne 0x100239f4
lea eax, reloc.advapi32.dll_TraceMessage
push eax
push 0x10023e0c
push 0x100030b8
push 0x80000002
call fcn.10003a3d
test eax, eax
je 0x10023999
mov ecx, esi
mov dword [ebp - reloc.advapi32.dll_TraceMessage], ecx
jmp 0x1002399f
mov ecx, dword [ebp - reloc.advapi32.dll_TraceMessage]
xor eax, eax
test ecx, ecx
sete al
mov dword [edi + reloc.advapi32.dll_TraceMessage], eax
lea eax, reloc.advapi32.dll_TraceMessage
push eax
push 0x10023e48
push 0x100030b8
push 0x80000002
call fcn.10003a3d
test eax, eax
je 0x100239d5
mov eax, esi
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
jmp 0x100239db
mov eax, dword [ebp - reloc.advapi32.dll_TraceMessage]
cmp dword [edi + reloc.advapi32.dll_TraceMessage], esi
je 0x100239eb
test eax, eax
jne 0x100239eb
mov eax, esi
jmp 0x100239ee
xor eax, eax
inc eax
mov dword [edi + reloc.advapi32.dll_TraceMessage], eax
push dword [edi + 0x294]
push dword [edi + 0x290]
call fcn.10003a3d
test eax, eax
jne 0x10023a37
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023a2d
test byte [eax + 0x1c], 4
je 0x10023a2d
push 0x1000c0b0
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
mov eax, 0x1000010c
jmp 0x10023e04
push ebx
push 0x104
lea eax, reloc.advapi32.dll_TraceMessage
push eax
call fcn.10003a3d
mov esi, eax
test esi, esi
jns 0x10023a7e
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023a74
test byte [eax + 0x1c], 1
je 0x10023a74
push esi
push 0x1000c0b0
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
mov eax, 0x80070057
jmp 0x10023e04
cmp dword [ebp - reloc.advapi32.dll_TraceMessage], 0
jne 0x10023ab4
mov eax, dword [ebp - reloc.advapi32.dll_TraceMessage]
test eax, eax
je 0x10023aae
push reloc.kernel32.dll_VerSetConditionMask
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
test eax, eax
mov eax, dword [0x100324a8]
pop ecx
je 0x10023aae
mov eax, dword [ebp - reloc.advapi32.dll_TraceMessage]
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
lea eax, [edi + 0x28]
push eax
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
call sub.kernel32.dll_EnterCriticalSection
cmp dword [edi + 4], 0
jne 0x10023af7
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023aed
test byte [eax + 0x1c], 1
je 0x10023aed
push 0x1000c0b0
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
mov esi, 0x8000ffff
jmp 0x10023df7
lea eax, reloc.advapi32.dll_TraceMessage
push eax
call dword [0x100327b0]
lea edx, reloc.advapi32.dll_TraceMessage
mov ecx, eax
sub ecx, edx
sar ecx, 1
mov edx, 0x103
sub edx, ecx
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
mov dword [ebp - reloc.advapi32.dll_TraceMessage], edx
test eax, eax
jne 0x10023b55
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023b4b
test byte [eax + 0x1c], 1
je 0x10023b4b
push 0x1000c0b0
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
mov esi, 0x80070057
jmp 0x10023df7
lea eax, reloc.advapi32.dll_TraceMessage
push eax
push ebx
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
cmp eax, reloc.advapi32.dll_TraceMessage
jne 0x10023b9c
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023b92
test byte [eax + 0x1c], 1
je 0x10023b92
push ebx
push 0x1000c0b0
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
mov esi, 0x90080108
jmp 0x10023df7
cmp dword [ebp - reloc.advapi32.dll_TraceMessage], 0x10
je 0x10023d18
lea eax, reloc.advapi32.dll_TraceMessage
push eax
push dword [ebp - 0x494]
push dword [ebp - 0x490]
call fcn.10003a3d
mov esi, eax
test esi, esi
jns 0x10023bf9
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023d18
test byte [eax + 0x1c], 1
je 0x10023d18
push esi
push 0x1000c0b0
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
jmp 0x10023d18
push 0x138
call fcn.10003a3d
pop ecx
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10023c1d
mov ecx, eax
call fcn.100231a2
mov ebx, eax
jmp 0x10023c1f
xor ebx, ebx
or dword [ebp - 4], reloc.advapi32.dll_TraceMessage
mov dword [ebp - reloc.advapi32.dll_TraceMessage], ebx
test ebx, ebx
je 0x10023d69
and dword [ebp - reloc.advapi32.dll_TraceMessage], 0
lea eax, reloc.advapi32.dll_TraceMessage
push eax
push dword [ebp + 0x1c]
lea eax, reloc.advapi32.dll_TraceMessage
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp - 0x46c]
push dword [ebp - 0x470]
push eax
push ebx
call fcn.100254ee
mov esi, eax
mov eax, dword [ebp - reloc.advapi32.dll_TraceMessage]
test esi, esi
jns 0x10023c77
test eax, eax
je 0x10023d59
test eax, eax
je 0x10023d3b
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023ce1
test byte [eax + 0x1c], 4
je 0x10023cb5
mov ecx, ebx
call fcn.1000476f
push eax
mov eax, dword [0x100320c8]
push 0x1000c0b0
push reloc.advapi32.dll_UnregisterTraceGuids
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023ce1
test byte [eax + 0x1c], 4
je 0x10023ce1
mov ecx, ebx
call fcn.1000476f
push eax
mov eax, dword [0x100320c8]
push 0x1000c0b0
push reloc.advapi32.dll_RegisterTraceGuidsW
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
cmp dword [ebx + 0xf8], 0
je 0x10023cf5
mov ecx, dword [ebx + 0xf8]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, ebx
call fcn.1000476f
push eax
call sub.kernel32.dll_DeleteFileW
push ebx
mov ecx, edi
call fcn.10003a3d
mov ecx, ebx
call fcn.10023224
push ebx
call fcn.10003a3d
pop ecx
lea eax, reloc.advapi32.dll_TraceMessage
push eax
push dword [ebp - 0x480]
call sub.kernel32.dll_FindNextFileW
mov ebx, dword [ebp + 0x14]
test eax, eax
je 0x10023d9a
test bl, 2
je 0x10023d9a
jmp 0x10023b9c
test byte [ebx + 0x88], 8
jne 0x10023cb0
lea eax, reloc.advapi32.dll_TraceMessage
push eax
lea ecx, [edi + 0xc]
call fcn.1000f2a1
mov esi, eax
test esi, esi
js 0x10023d02
mov eax, dword [ebp - reloc.advapi32.dll_TraceMessage]
inc dword [eax]
xor esi, esi
jmp 0x10023d18
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023d92
test byte [eax + 0x1c], 1
je 0x10023d92
push 0x138
push 0x1000c0b0
push UnregisterTraceGuids
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003a3d
mov ebx, dword [ebp + 0x14]
mov esi, 0x8007000e
push dword [ebp - 0x480]
call sub.kernel32.dll_FindClose
mov eax, dword [ebp - reloc.advapi32.dll_TraceMessage]
cmp dword [eax], 0
jbe 0x10023df7
cmp dword [edi + 8], 0
jne 0x10023df7
push dword [ebp - 0x470]
lea ecx, [edi + 0x64]
call fcn.1000503e
push dword [ebp - 0x46c]
lea ecx, [edi + 0x70]
call fcn.1000503e
mov eax, dword [ebp - reloc.advapi32.dll_TraceMessage]
and dword [edi + 0x7c], 0
cmp dword [eax], 0x20
jb 0x10023de9
test bl, 0x10
je 0x10023dee
and ebx, 0xffffffef
test bl, 0x10
jne 0x10023df7
mov ecx, edi
call fcn.10023e87
mov esi, eax
push dword [ebp - 0x48c]
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.1002b897
ret 0x1c