Function at 0x44cb80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x5b00cc]
xor eax, esp
mov dword [esp + 0x270], eax
mov eax, dword [0x5f4dcc]
test eax, eax
push ebx
push esi
push edi
mov edi, eax
je 0x44cc11
mov ebx, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, edi
mov eax, dword [eax]
mov dword [0x5f4dcc], eax
mov esi, dword [edi + 4]
test esi, esi
je 0x44cbfd
cmp byte [0x5f49d5], 0
jne 0x44cbd9
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call ebx
test esi, esi
je 0x44cbf2
add dword [esi], 0xffffffff
jne 0x44cbf2
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push edi
call fcn.0056612f
mov eax, dword [0x5f4dcc]
add esp, 4
test eax, eax
mov edi, eax
jne 0x44cbb0
lea ebx, [ebp + 8]
mov edi, 0x5f4dc8
mov dword [0x5f4dd0], 0
call fcn.004abdf0
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.0041a360
test al, al
lea edi, [ebx + 4]
mov esi, str..
je 0x44cddc
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.004ab970
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x44cc5f
mov dword [esi + 0x10], 0x600
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004ac650
add esp, 0xc
cmp esi, ebx
je 0x44cc7e
call fcn.004ab850
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
call fcn.004abc10
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.004abdf0
mov esi, dword [esp + 0x14]
xor edi, edi
cmp esi, edi
je 0x44cca6
call fcn.004ab850
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x44ccdf
cmp dword [esi + 0x10], 0x100
jne 0x44ccbf
mov eax, dword [esi + 4]
add eax, 1
jmp 0x44cce4
xor esi, esi
push 0x2cf
push str.........UniversalREALstring.cpp
mov edx, 0x57e0a8
lea ecx, [esi + 4]
call fcn.004f1fc0
mov esi, dword [esp + 0x18]
add esp, 8
mov eax, 0x5f4c08
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44cda9
jmp 0x44cd00
lea eax, [esp + 0x54]
push eax
mov edx, 0x57e72c
call fcn.0044c9f0
add esp, 4
test eax, eax
je 0x44cd8e
lea ecx, [esp + 0x54]
push ecx
mov edx, 0x583868
call fcn.0044c9f0
add esp, 4
test eax, eax
je 0x44cd8e
push 8
call fcn.005662c8
add esp, 4
cmp eax, edi
je 0x44cd41
mov dword [eax + 4], edi
mov esi, eax
jmp 0x44cd43
xor esi, esi
lea eax, [esp + 0x54]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44cd50
sub eax, edx
sar eax, 1
lea edx, [esi + 4]
lea ecx, [esp + 0x54]
call fcn.004ab9d0
mov eax, dword [esp + 0x18]
cmp eax, edi
mov dword [esi], edi
je 0x44cd79
mov dword [eax], esi
jmp 0x44cd7f
mov dword [0x5f4dcc], esi
add dword [0x5f4dd0], 1
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x44cd00
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp esi, edi
je 0x44cdb2
call fcn.004ab850
xor ebx, ebx
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x44cdc0
call fcn.004ab850
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x5f4dc8
call fcn.00566120
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.004ab970
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x44cdf8
mov dword [eax + 0x10], 0x600
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push ecx
push ecx
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov eax, esp
mov dword [eax], ecx
je 0x44ce11
add dword [ecx], 1
lea edx, [esp + 0x30]
push edx
call fcn.00529430
add esp, 8
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004ac650
mov eax, dword [eax]
add esp, 0xc
cmp eax, ebx
je 0x44ce3a
mov eax, dword [eax + 4]
add eax, 1
jmp 0x44ce3f
mov eax, 0x57e81c
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov edi, eax
mov dword [esp + 0x20], edi
je 0x44ce59
call fcn.004ab850
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x44ce66
call fcn.004ab850
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x44ce73
call fcn.004ab850
cmp edi, 0xffffffff
je 0x44cdb4
lea esp, [esp]
lea ecx, [esp + 0x54]
push 0x57e72c
push ecx
call fcn.00567846
add esp, 8
test eax, eax
je 0x44cf5c
lea edx, [esp + 0x54]
push 0x583868
push edx
call fcn.00567846
add esp, 8
test eax, eax
je 0x44cf5c
push 8
call fcn.005662c8
add esp, 4
cmp eax, ebx
je 0x44cecb
mov dword [eax + 4], ebx
mov dword [esp + 0x10], eax
jmp 0x44cecf
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x54]
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x44cee0
sub eax, edx
mov edi, eax
lea esi, [esp + 0x54]
lea eax, [esp + 0x14]
call fcn.004ab970
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x44cf09
mov dword [esi + 0x10], 0x600
mov edi, dword [esp + 0x10]
add edi, 4
lea ebx, [esp + 0x14]
call fcn.004abdf0
test esi, esi
je 0x44cf22
call fcn.004ab850
call fcn.005293c0
mov edi, dword [edi]
test edi, edi
je 0x44cf30
mov dword [edi + 0x10], eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [eax], 0
je 0x44cf46
mov dword [ecx], eax
jmp 0x44cf4b
mov dword [0x5f4dcc], eax
add dword [0x5f4dd0], 1
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
xor ebx, ebx
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x44ce80
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x44cdb4