Function at 0x442d20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x80], eax
mov edi, edi
mov al, byte [esi]
test al, al
jne 0x442ec3
cmp dword [esi + 0x2a0], 0
je 0x4430b2
test al, al
jne 0x442ec3
mov ecx, dword [esi + 0x2a0]
xor eax, eax
add ecx, dword [esi + 0x29c]
mov edx, dword [esi + 0x290]
test edx, edx
je 0x442d7f
mov edx, dword [edx]
test edx, edx
je 0x442d7f
mov eax, dword [edx]
lea edx, [ecx - 1]
test eax, eax
je 0x442d96
mov eax, dword [eax]
test eax, eax
je 0x442d96
mov eax, dword [eax]
test eax, eax
je 0x442d96
mov eax, dword [eax]
jmp 0x442d98
xor eax, eax
mov ecx, dword [eax + 8]
lea edi, [esi + 0x258]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push dword [eax + ecx*4]
mov ecx, edi
call fcn.0043c1e0
mov eax, dword [esi + 0x2a0]
mov ecx, dword [esi + 0x29c]
dec eax
add ecx, eax
mov eax, dword [esi + 0x298]
dec eax
and ecx, eax
mov eax, dword [esi + 0x294]
mov ecx, dword [eax + ecx*4]
call fcn.0043c140
dec dword [esi + 0x2a0]
jne 0x442de9
mov dword [esi + 0x29c], 0
push edi
lea ecx, [ebp - 0x34]
call fcn.0043c0a0
cmp dword [esi + 0x288], 0
jne 0x442e52
push 1
xor eax, eax
mov dword [ebp - 8], 7
push 0x4b7928
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.004046e6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0043c3e0
push eax
lea ecx, [ebp - 0x34]
call fcn.0043c1e0
lea ecx, [ebp - 0x7c]
call fcn.0043c140
cmp dword [ebp - 8], 8
jb 0x442e76
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
jmp 0x442e76
lea eax, [esi + 0x278]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0043c3e0
push eax
lea ecx, [ebp - 0x34]
call fcn.0043c1e0
lea ecx, [ebp - 0x7c]
call fcn.0043c140
call fcn.0044d690
cmp eax, 4
lea ebx, [esi + 4]
lea eax, [ebp - 0x34]
jl 0x442ea0
cmp dword [ebp - 0x20], 8
push 2
cmovae eax, dword [ebp - 0x34]
push 0
push 0
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
jmp 0x442eb0
cmp dword [ebp - 0x20], 8
push ebx
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea ecx, [ebp - 0x34]
mov dword [esi + 0x254], eax
mov byte [esi], 1
call fcn.0043c140
jmp 0x442eed
lea ebx, [esi + 4]
push ebx
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x442eed
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [esi + 0x254], 0xffffffff
xor eax, eax
cmp dword [esi + 0x254], 0xffffffff
jne 0x442f82
mov byte [esi], al
lea edi, [esi + 0x278]
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
cmp edi, eax
je 0x442d40
cmp dword [edi + 0x14], 8
jb 0x442f2d
push dword [edi]
call fcn.004835e0
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jae 0x442f6f
mov eax, dword [ebp - 0x3c]
inc eax
je 0x442f74
add eax, eax
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.00486f40
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x442d40
mov eax, dword [ebp - 0x4c]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x442d40
lea edi, [esi + 0x30]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [edi], ax
jne 0x442fa0
xor ecx, ecx
jmp 0x442fb4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442fa5
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.004046e6
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.0043c0d0
cmp dword [ebp - 8], 8
jb 0x442fdb
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00454ce0
test al, al
je 0x442ff7
lea ecx, [ebp - 0x64]
call fcn.0043c140
jmp 0x442d40
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [edi], ax
jne 0x443014
xor ecx, ecx
jmp 0x44302f
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443020
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.004046e6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [esi + 0x258]
call fcn.0043c3e0
push eax
lea ecx, [ebp - 0x64]
call fcn.0043c1e0
lea ecx, [ebp - 0x7c]
call fcn.0043c140
cmp dword [ebp - 8], 8
jb 0x44306e
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
mov eax, dword [ebx]
test al, 0x10
je 0x44309c
cmp byte [esi + 0x270], 0
je 0x443093
test eax, 0x400
jne 0x443093
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x290]
call fcn.004432f0
test byte [esi + 0x274], 2
jmp 0x4430a3
test byte [esi + 0x274], 1
jne 0x4430bc
lea ecx, [ebp - 0x64]
call fcn.0043c140
jmp 0x442d40
mov ecx, dword [ebp - 0x80]
call fcn.0043c120
jmp 0x4430d0
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push eax
call fcn.0043c0a0
lea ecx, [ebp - 0x64]
call fcn.0043c140
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret 4