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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
push edi
mov eax, dword [esi + 0x2046c]
mov ebx, dword [esi + 0x20464]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x20468]
mov ecx, eax
mov dword [esp + 0x20], ebx
mov dword [esi + 0x20478], ebx
test eax, eax
jne 0x44a968
cmp dword [esi + 0x20470], 2
jne 0x44a968
mov eax, dword [esi + 0x2045c]
cmp word [eax + 2], 0x3a
jne 0x44a968
mov dword [esi + 0x10250], 0x2e
mov byte [esp + 0x48], cl
mov ecx, 1
mov dword [esi + 0x20468], 1
mov eax, 0x8000
lea edx, [esi + 0x250]
sub eax, ebx
lea edx, [edx + ebx*2]
mov dword [esp + 0x30], eax
cmp ecx, eax
jb 0x44a98f
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10250]
push eax
push edx
call fcn.0049c720
add esp, 0xc
lea eax, [esi + 0x250]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
setne bl
je 0x44a9e9
nop dword [eax + eax]
mov edx, dword [esp + 0x44]
mov ecx, esi
call fcn.00450c20
test al, al
je 0x44a9e9
push esi
push edi
call ebp
mov ebx, eax
test ebx, ebx
jne 0x44a9d0
mov eax, dword [0x4e37f8]
mov ebp, 4
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], eax
mov dword [eax + 8], esi
test ebx, ebx
je 0x44aaf7
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 3
jne 0x44aa4b
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x18]
push eax
push edx
push 2
call fcn.00448550
mov ecx, dword [edi + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], ebp
cmp eax, ecx
je 0x44aa20
jmp 0x44aa66
lea eax, [esp + 0x18]
push eax
push edx
push 3
call fcn.00448550
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], ebp
mov ecx, ebp
test eax, eax
je 0x44aa75
cmp ecx, 6
jne 0x44aae7
cmp eax, edi
jne 0x44aae7
cmp ecx, 6
jne 0x44aa89
mov ebp, 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], ebp
jmp 0x44aa8e
cmp ebp, 1
jne 0x44aaf3
mov eax, dword [esp + 0x40]
test eax, eax
je 0x44aaae
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call fcn.0044a270
mov ebp, dword [esp + 0x4c]
test al, al
jne 0x44aaf3
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x44aacb
mov edx, dword [esp + 0x44]
mov ecx, esi
call fcn.00450c20
test al, al
jne 0x44aab2
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
add dword [eax], 1
adc dword [eax + 4], 0
test edi, edi
je 0x44aaf3
mov edx, dword [esp + 0x38]
jmp 0x44aa14
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [ebx], eax
jmp 0x44aafb
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
cmp edi, 0xffffffff
je 0x44ab07
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebp, 1
je 0x44ab15
cmp ebp, 4
jne 0x44acb2
cmp dword [ebx], 0
jne 0x44acb2
cmp byte [esp + 0x48], 0
je 0x44acb2
mov ecx, dword [esp + 0x20]
lea eax, [esi + ecx*2]
mov dword [eax + 0x250], 0x2a
lea eax, [esi + 0x250]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x4c], edi
cmp edi, 0xffffffff
je 0x44acb2
mov eax, 0x8000
sub eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
test byte [esi], 0x10
je 0x44ac98
cmp word [esi + 0x2c], 0x2e
lea ecx, [esi + 0x2c]
jne 0x44ab94
movzx eax, word [esi + 0x2e]
test ax, ax
je 0x44ac98
cmp eax, 0x2e
jne 0x44ab94
cmp word [esi + 0x30], 0
je 0x44ac98
mov ebx, ecx
lea edx, [ebx + 2]
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x44aba0
sub ebx, edx
sar ebx, 1
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x30]
jae 0x44ac98
lea edi, [ebx + ebx]
push edi
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x128
lea eax, [esi + ecx*2]
push eax
call fcn.0049c720
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esi + ecx*2]
mov dword [edi + eax + 0x250], 0x5c
lea eax, [ecx + 1]
add eax, ebx
lea ecx, [esi + 0x234]
mov dword [esi + 0x20464], eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ac00
sub ecx, edx
sar ecx, 1
mov edx, ecx
cmove edx, ebx
mov dword [esp + 0x1c], edx
lea eax, [edx + 1]
cmp eax, dword [esp + 0x2c]
jae 0x44ac94
test ecx, ecx
lea edi, [edx + edx]
mov ecx, 0x234
mov eax, 0x2c
cmovne eax, ecx
add eax, esi
push edi
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x822c
lea ebx, [esi + eax*2]
push ebx
call fcn.0049c720
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [edi + ebx], 0x5c
add eax, ecx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
push esi
push dword [esp + 0x4c]
mov dword [esi + 0x2046c], eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push ebx
push dword [esp + 0x4c]
call fcn.0044a900
cmp eax, 4
je 0x44ac94
mov ebp, eax
cmp eax, 1
jne 0x44aca8
cmp dword [ebx], 0
jne 0x44aca8
mov edi, dword [esp + 0x4c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44ab64
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x24
ret 0x18