Function at 0x10044000
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fb4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov al, byte [ebp + 8]
mov byte [ebp - 0x6dc], al
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6d0], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x6d4], ecx
cmp dword [eax + 0x10], 0
jne 0x1004405c
xor al, al
jmp 0x10044429
push esi
call fcn.10044920
add esp, 4
test eax, eax
je 0x10044055
mov dword [ebp - 0x6cc], 0
mov dword [ebp - 0x6c8], 0
push 0
push 0
lea ecx, [ebp - 0x6cc]
call fcn.100273b0
mov dword [ebp - 0x6cc], eax
cmp byte [ebp + 0x18], 0
je 0x100440aa
lea eax, [ebp - 0x6cc]
push eax
push esi
call fcn.10043bf0
add esp, 8
jmp 0x100440b6
push esi
lea ecx, [ebp - 0x6cc]
call fcn.10051f90
mov byte [ebp - 0x6bd], 0
mov eax, dword [ebp - 0x6cc]
mov edi, dword [eax]
mov dword [ebp - 0x6d8], edi
cmp edi, eax
je 0x10044418
lea eax, [edi + 8]
cmp dword [eax + 0x14], 8
jb 0x100440de
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.101ef650
add esp, 0xc
push 0x102054a4
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1004411b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x16
call fcn.10003680
add esp, 4
test eax, eax
je 0x10044143
lea ecx, [ebp - 0x6bc]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
call eax
mov ebx, eax
mov dword [ebp - 0x6c4], ebx
jmp 0x1004415f
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x6c4], eax
test esi, esi
je 0x1004416a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x6e0], ebx
cmp ebx, 0xffffffff
je 0x1004440b
lea esp, [esp]
test byte [ebp - 0x6bc], 0x10
jne 0x10044373
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 7
xor eax, eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x690]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100441b3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x690]
push eax
lea ecx, [ebp - 0x43c]
call fcn.100070c0
mov dword [ebp - 4], 0
push 0x100
push dword [ebp - 0x6d0]
lea ecx, [ebp - 0x6f4]
call fcn.1002d910
lea edx, [ebp - 0x43c]
mov ecx, dword [ebp - 0x43c]
cmp dword [ebp - 0x428], 8
jb 0x10044209
mov edx, ecx
mov eax, dword [ebp - 0x42c]
lea eax, [edx + eax*2]
lea edx, [ebp - 0x43c]
jb 0x1004421c
mov edx, ecx
push 0
lea ecx, [ebp - 0x6f4]
push ecx
push eax
push edx
call fcn.100324d0
add esp, 0x10
test al, al
je 0x10044300
lea eax, [edi + 8]
cmp dword [eax + 0x14], 8
jb 0x10044242
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x424]
push eax
call fcn.101ef650
add esp, 0xc
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x454]
call fcn.10020470
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
lea eax, [ebp - 0x454]
push eax
call fcn.100423c0
add esp, 0xc
mov bl, al
lea ecx, [ebp - 0x454]
call fcn.10005250
test bl, bl
je 0x100442fa
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x454]
call fcn.10020470
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x6dc]
lea eax, [ebp - 0x46c]
push eax
call fcn.10040a60
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x6d4]
call fcn.10051f40
lea ecx, [ebp - 0x46c]
call fcn.10005250
lea ecx, [ebp - 0x454]
call fcn.10005250
mov byte [ebp - 0x6bd], 1
mov ebx, dword [ebp - 0x6c4]
lea ecx, [ebp - 0x6f4]
call fcn.100330b0
mov dword [ebp - 4], 0xffffffff
jmp 0x10044333
mov edx, dword [ebp - 0x428]
cmp edx, 8
jb 0x10044373
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x43c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10044369
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10044445
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10044389
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x18
call fcn.10003680
add esp, 4
test eax, eax
je 0x100443a3
lea ecx, [ebp - 0x6bc]
push ecx
push ebx
call eax
jmp 0x100443b1
lea eax, [ebp - 0x6bc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test esi, esi
je 0x100443be
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
mov ebx, dword [ebp - 0x6c4]
jne 0x10044180
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100443e2
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x19
call fcn.10003680
add esp, 4
push dword [ebp - 0x6c4]
test eax, eax
je 0x100443fa
call eax
jmp 0x10044400
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x1004440b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [edi]
mov eax, dword [ebp - 0x6cc]
jmp 0x100440c5
lea ecx, [ebp - 0x6cc]
call fcn.10033170
mov al, byte [ebp - 0x6bd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
call fcn.101e6c40
int3