Function at 0x445b70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
call fcn.0040a600
mov esi, eax
lea edi, [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
cmp dword [eax + 0x20], 0
push edi
jbe 0x445bc7
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x10], esi
jmp 0x445bd6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x3c]
call ecx
mov dword [esp + 0x10], eax
mov eax, ebx
call fcn.00443760
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [edx + 0xd0]
push 1
push 0
mov ecx, ebx
mov dword [esp + 0x24], esi
call eax
mov edx, dword [esi]
lea ecx, [esp + 0x20]
mov edi, eax
mov eax, dword [edx + 0x50]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x445d77
jmp 0x445c20
mov ecx, 0x522874
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445c56
test dx, dx
je 0x445c52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445c56
add eax, 4
add ecx, 4
test dx, dx
jne 0x445c30
xor eax, eax
jmp 0x445c5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445d54
mov ecx, 0x527e74
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445c96
test dx, dx
je 0x445c92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445c96
add eax, 4
add ecx, 4
test dx, dx
jne 0x445c70
xor eax, eax
jmp 0x445c9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445d54
cmp byte [ebp + 0xc], 0
mov al, byte [esp + 0x20]
jne 0x445cb5
test al, 2
jne 0x445d54
test al, 0x10
je 0x445d54
cmp byte [ebp + 8], 0
je 0x445d20
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov esi, dword [edi]
mov eax, dword [edx + 0x2c]
add esi, 0x30
call eax
mov edx, dword [esi]
add eax, 1
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x1d0]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
mov ecx, edi
call edx
push eax
call fcn.0040b2c0
mov esi, dword [esp + 0x14]
add esi, 8
mov ebx, eax
mov eax, dword [esi + 0x20]
add esp, 4
cmp eax, dword [esi + 0x24]
jne 0x445d15
call fcn.004145f0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov dword [edx + ecx*4], ebx
jmp 0x445d4c
lea eax, [esp + 0x4c]
push eax
call fcn.0040b2c0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x28]
add esi, 8
add esp, 4
cmp ecx, dword [esi + 0x24]
mov ebx, eax
jne 0x445d43
call fcn.004145f0
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [eax + edx*4], ebx
mov ebx, dword [esp + 0x14]
add dword [esi + 0x20], 1
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x445c20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [esi + 4]
call eax
test edi, edi
je 0x445d8b
add edi, 4
jmp 0x445d8d
xor edi, edi
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x274]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b8e16
mov esp, ebp
pop ebp
ret 8