Function at 0x44e590
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x264
push ebx
push esi
mov esi, dword [esp + 0x270]
push edi
mov edi, dword [esp + 0x27c]
xor ebx, ebx
mov dword [esp + 0xc], edi
mov word [esi + edi*2], 0x2a
mov word [esi + edi*2 + 2], bx
call fcn.00441130
test eax, eax
jne 0x44e5d3
call fcn.004410d0
test eax, eax
jne 0x44e5d3
call fcn.00441150
test eax, eax
je 0x44e5fb
call fcn.00460840
mov eax, dword [0x50076c]
cmp eax, ebx
je 0x44e5fb
mov ecx, dword [esp + 0x290]
mov edx, dword [esp + 0x280]
push 2
push ecx
push ebx
push edx
push 1
push esi
call eax
jmp 0x44e60a
mov eax, dword [esp + 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x44e622
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x264
ret
mov eax, dword [esp + 0x278]
push ebp
sub eax, edi
mov word [esi + edi*2], bx
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x284]
mov ebx, dword [eax]
add eax, 0x2c
push eax
call fcn.00417ba8
mov edi, eax
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x1c], edi
lea ecx, [edi + 2]
mov ebp, 1
cmp eax, ecx
jae 0x44e72b
mov eax, dword [esp + 0x27c]
cmp eax, 0x104
jne 0x44e683
mov dword [esp + 0x27c], 0x400
jmp 0x44e6a9
cmp eax, 0x400
jne 0x44e697
mov dword [esp + 0x27c], 0x1000
jmp 0x44e6a9
cmp eax, 0x1000
jne 0x44e6a9
mov dword [esp + 0x27c], 0x7fff
mov edx, dword [esp + 0x27c]
lea eax, [edx + edx]
push eax
call fcn.004ae8ff
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x44e9cc
push 4
push 0x4ebcf8
push esi
mov edi, eax
call fcn.00469436
add esp, 0xc
test eax, eax
je 0x44e6f1
push 4
push 0x4ebcf8
push edi
call fcn.00417bc5
add esp, 0xc
add edi, 8
mov ecx, dword [esp + 0x10]
push ecx
push esi
push edi
call fcn.00417bc5
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp edi, esi
mov word [edi + ecx*2], 0
je 0x44e719
add ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x27c]
mov edi, dword [esp + 0x1c]
sub eax, ecx
dec eax
mov dword [esp + 0x20], eax
test bl, 0x10
je 0x44e904
mov edx, dword [esp + 0x284]
cmp word [edx + 0x2c], 0x2e
lea ecx, [edx + 0x2c]
jne 0x44e763
mov ax, word [edx + 0x2e]
test ax, ax
je 0x44e9b0
cmp ax, 0x2e
jne 0x44e763
cmp word [edx + 0x30], 0
je 0x44e9b0
push ecx
push esi
call fcn.00417c02
mov al, byte [esp + 0x290]
add esp, 8
test al, 0x10
je 0x44e7fc
mov ebx, dword [esp + 0x294]
test ebx, ebx
je 0x44e7c2
test esi, esi
je 0x44e7fc
push 0x5c
push ebx
call fcn.00417fac
add esp, 8
test eax, eax
je 0x44e79e
push ebx
push esi
jmp 0x44e7b6
push 0x5c
push esi
call fcn.00417cca
add esp, 8
test eax, eax
je 0x44e7b2
add eax, 2
jmp 0x44e7b4
mov eax, esi
push ebx
push eax
call fcn.0047aa50
add esp, 8
test eax, eax
je 0x44e7fc
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x290]
mov ecx, dword [esp + 0x284]
push eax
lea edx, [edi + ebx]
push ecx
push edx
push esi
call dword [esp + 0x29c]
mov ebp, eax
test ebp, ebp
je 0x44e9e0
cmp ebp, 2
jne 0x44e800
mov word [esi + ebx*2], 0
jmp 0x44e9b0
mov ebx, dword [esp + 0x10]
test byte [esp + 0x288], 0x40
jne 0x44e86e
lea eax, [edi + ebx]
mov ecx, 0x93
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0
mov word [esi + eax*2], 0x5c
lea edx, [eax + 1]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x294]
mov ecx, dword [esp + 0x290]
push eax
mov eax, dword [esp + 0x290]
push ecx
mov ecx, dword [esp + 0x290]
push eax
lea eax, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28c]
push eax
push edx
push ecx
push esi
mov word [esi + edx*2], 0
call fcn.0044e590
mov edi, dword [esp + 0x3c]
add esp, 0x20
mov ebp, eax
test ebp, ebp
je 0x44e9e0
test byte [esp + 0x288], 0x20
je 0x44e8f1
mov eax, dword [esp + 0x294]
test eax, eax
je 0x44e8d4
test esi, esi
je 0x44e8f1
push 0x5c
push eax
call fcn.00417fac
add esp, 8
test eax, eax
je 0x44e8a9
mov edx, dword [esp + 0x294]
push edx
push esi
jmp 0x44e8c8
push 0x5c
push esi
call fcn.00417cca
add esp, 8
test eax, eax
je 0x44e8bd
add eax, 2
jmp 0x44e8bf
mov eax, esi
mov ecx, dword [esp + 0x294]
push ecx
push eax
call fcn.0047aa50
add esp, 8
test eax, eax
je 0x44e8f1
mov edx, dword [esp + 0x290]
mov eax, dword [esp + 0x284]
push edx
add edi, ebx
push eax
push edi
push esi
call dword [esp + 0x29c]
mov ebp, eax
test ebp, ebp
je 0x44e9e0
mov word [esi + ebx*2], 0
jmp 0x44e9b0
test byte [esp + 0x288], 0x80
jne 0x44e9b0
mov ecx, dword [esp + 0x284]
lea edi, [ecx + 0x2c]
push edi
push esi
call fcn.00417c02
mov ebx, dword [esp + 0x29c]
add esp, 8
test ebx, ebx
je 0x44e97d
push 0x5c
push ebx
call fcn.00417fac
add esp, 8
test eax, eax
je 0x44e942
mov edi, esi
test edi, edi
je 0x44e9a6
push 0x5c
push ebx
call fcn.00417fac
add esp, 8
test eax, eax
je 0x44e959
push ebx
push edi
jmp 0x44e971
push 0x5c
push edi
call fcn.00417cca
add esp, 8
test eax, eax
je 0x44e96d
add eax, 2
jmp 0x44e96f
mov eax, edi
push ebx
push eax
call fcn.0047aa50
add esp, 8
test eax, eax
je 0x44e9a6
mov edx, dword [esp + 0x290]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x284]
push edx
mov edx, dword [esp + 0x14]
push eax
add ecx, edx
push ecx
push esi
call dword [esp + 0x29c]
mov ebp, eax
test ebp, ebp
je 0x44e9e0
mov eax, dword [esp + 0x10]
mov word [esi + eax*2], 0
mov ecx, dword [esp + 0x284]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44e9e0
jmp 0x44e639
push 8
xor ebp, ebp
mov dword [0x500048], 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44e9fc
push eax
call fcn.004ae928
add esp, 4
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x264
ret