Function at 0x445dc0
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 0x445e17
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 0x445e26
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 0x445fc7
jmp 0x445e70
mov ecx, 0x522874
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445ea6
test dx, dx
je 0x445ea2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445ea6
add eax, 4
add ecx, 4
test dx, dx
jne 0x445e80
xor eax, eax
jmp 0x445eab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445fa4
mov ecx, 0x527e74
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445ee6
test dx, dx
je 0x445ee2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445ee6
add eax, 4
add ecx, 4
test dx, dx
jne 0x445ec0
xor eax, eax
jmp 0x445eeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445fa4
cmp byte [ebp + 0xc], 0
mov al, byte [esp + 0x20]
jne 0x445f05
test al, 2
jne 0x445fa4
test al, 0x10
jne 0x445fa4
cmp byte [ebp + 8], 0
je 0x445f70
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 0x445f65
call fcn.004145f0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov dword [edx + ecx*4], ebx
jmp 0x445f9c
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 0x445f93
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 0x445e70
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 0x445fdb
add edi, 4
jmp 0x445fdd
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