Function at 0x10007d73
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1fc
mov eax, dword [0x100eed78]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x100f55b4
mov dword [esp + 0x18], edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x1c]
mov ecx, dword [0x100f55cc]
inc ecx
mov dword [0x100f55cc], ecx
mov eax, dword [eax + 0x5c]
cmp dword [eax + 8], 0
jg 0x100080a7
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x5c]
cmp dword [eax + 8], 0
jg 0x100080a7
mov eax, dword [0x100f55b0]
xor esi, esi
inc esi
mov ecx, esi
lock xadd dword [eax + 0x2c], ecx
inc ecx
mov ebx, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
cmp ecx, esi
jne 0x10007f66
lea ecx, [esp + 0x18]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
push 0
lea eax, [esp + 0x1c]
xor edx, edx
push eax
xor ecx, ecx
call fcn.1005ddeb
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4804]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5730]
lea ecx, [esp + 0x30]
call dword [sym.imp.fpsrvutl.dll_Ordinal_974]
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x10007f5a
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.kernel32.dll_GetSystemTime]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
add dword [esp + 0x30], 0x1e6e0000
mov edi, dword [esp + 0x10]
adc dword [esp + 0x34], 0xffffa1b4
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.kernel32.dll_CompareFileTime]
test eax, eax
jns 0x10007f38
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
push 0x100afe24
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3585]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4872]
lea ecx, [esp + 0x70]
call dword [sym.imp.fpsrvutl.dll_Ordinal_974]
lea ecx, [esp + 0x24]
call ebx
push esi
push 0
push dword [esp + 0x28]
lea ecx, [esp + 0x8c]
call fcn.10001533
push 4
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x88]
call fcn.10001533
lea ecx, [esp + 0x80]
call fcn.1001d7b4
cmp dword [esp + 0x2c], 4
jne 0x10007f26
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
pop ecx
lea ecx, [esp + 0x80]
call fcn.10001533
lea ecx, [esp + 0x20]
call ebx
lea eax, [esp + 0xc0]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10007e81
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
call ebx
lea ecx, [esp + 0x18]
call ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.1005ddeb
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
call ebx
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 4], 0
jne 0x10007fc2
mov esi, 0x80004005
jmp 0x10008099
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x10007fd7
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x30], edx
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
je 0x10008099
push esi
push 0
push ecx
lea ecx, [esp + 0x4c]
call fcn.10001533
lea ecx, [esp + 0x28]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
push 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
call fcn.10001533
cmp dword [esp + 0x14], 4
je 0x10008015
push 0xb
pop esi
jmp 0x1000808a
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
call fcn.10001533
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0xc]
add eax, 4
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
mov eax, dword [esp + 0xc]
mov ecx, 0x824
sub ecx, dword [eax - 4]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.10001533
lea ecx, [esp + 0xc]
call ebx
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x40]
push eax
call fcn.10043cfa
cmp dword [esp + 0x68], 0
je 0x1000806b
mov eax, dword [edi + 0x1c]
jmp 0x10008082
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x40]
push eax
call fcn.10043cfa
cmp dword [esp + 0x68], 0
je 0x10008088
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
xor esi, esi
lea ecx, [esp + 0x28]
call ebx
lea ecx, [esp + 0x40]
call fcn.10001533
lea ecx, [esp + 0x1c]
call ebx
mov ecx, dword [0x100f55cc]
jmp 0x100080aa
xor esi, esi
inc esi
dec ecx
push 0x100f55b4
mov dword [0x100f55cc], ecx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x204]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100012b5
mov esp, ebp
pop ebp
ret 4