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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0xc], ecx
mov ebx, dword [edi + 0x660]
mov ecx, dword [edi + 0x664]
mov eax, dword [edi + 0x668]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [edi + 0x674], ebx
test ecx, ecx
jne 0x43c797
cmp dword [edi + 0x66c], 2
jne 0x43c797
mov eax, dword [edi + 0x658]
cmp byte [eax + 1], 0x3a
jne 0x43c797
mov word [edi + 0x348], 0x2e
mov byte [ebp + 0x1c], cl
mov ecx, 1
mov dword [edi + 0x664], 1
mov eax, 0x208
lea edx, [edi + 0x140]
sub eax, ebx
add edx, ebx
mov dword [esp + 0x24], eax
cmp ecx, eax
jae 0x43cb52
lea eax, [ecx + 1]
push eax
lea eax, [edi + 0x348]
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [edi + 0x140]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
xor ebx, ebx
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
setne bl
je 0x43c800
mov edx, dword [ebp + 0x18]
mov ecx, edi
call fcn.00455e10
test al, al
je 0x43c800
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, eax
test ebx, ebx
jne 0x43c7e4
mov eax, dword [0x4c8024]
mov edx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [eax + 0x10], edi
test ebx, ebx
je 0x43c9e2
mov ebx, dword [ebp + 0x18]
nop word [eax + eax]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x14]
cmp byte [eax], 0x77
jne 0x43c855
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x14]
push edx
push 2
call fcn.004345d0
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [edi + 0x14]
mov edx, dword [ebp + 8]
cmp ecx, eax
je 0x43c830
mov edi, dword [ebp + 0x20]
jmp 0x43c86a
lea ecx, [esp + 0x14]
push ecx
push edx
push 3
mov ecx, eax
call fcn.004345d0
mov ecx, dword [esp + 0x14]
mov esi, eax
test ecx, ecx
je 0x43c897
cmp esi, 6
jne 0x43c9b1
cmp ecx, dword [esp + 0xc]
je 0x43c8a1
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 1
je 0x43c8a1
cmp esi, 6
jne 0x43c882
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43c917
mov eax, dword [0x4c8024]
mov dword [0x4ccbd4], esi
cmp byte [eax + 0xd9], 0
je 0x43c8ed
mov eax, dword [0x4cb244]
mov dword [eax*4 + 0x4cb888], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4cb244]
mov dword [ecx*4 + 0x4cb248], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4cb244], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00474fa0
mov esi, eax
cmp esi, 1
jne 0x43c882
mov ecx, dword [0x4cbf20]
lea esi, [eax + 4]
call fcn.00468360
test eax, eax
jne 0x43c882
mov esi, dword [esp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x43c9d6
test byte [edi], 0x10
je 0x43c951
cmp ebx, 1
je 0x43c91b
cmp byte [edi + 0x2c], 0x2e
lea edx, [edi + 0x2c]
jne 0x43c959
mov al, byte [edi + 0x2d]
test al, al
je 0x43c91b
cmp al, 0x2e
jne 0x43c959
cmp byte [edi + 0x2e], 0
je 0x43c91b
jmp 0x43c959
cmp ebx, 2
je 0x43c91b
lea edx, [edi + 0x2c]
mov esi, edx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x43c960
sub esi, ecx
mov ecx, dword [edi + 0x674]
lea eax, [ecx + esi]
cmp eax, 0x208
jae 0x43c917
lea eax, [esi + 1]
push eax
lea eax, [ecx + 0x140]
push edx
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 0x674]
add esp, 0xc
mov ecx, dword [esp + 0x20]
add eax, esi
mov edx, dword [ebp + 8]
mov dword [edi + 0x660], eax
add dword [ecx + 8], 1
adc dword [ecx + 0xc], 0
jmp 0x43c820
cmp ecx, dword [esp + 0xc]
jne 0x43c87d
mov eax, dword [ebp + 0xc]
push dword [esp + 0x10]
mov byte [eax], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0x20]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
cmp esi, 0xffffffff
je 0x43c9ee
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x1c], 0
je 0x43cb52
mov eax, dword [esp + 0x18]
push edi
mov word [eax + edi + 0x140], 0x2a
lea eax, [edi + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, 0xffffffff
je 0x43cb52
mov eax, 0x208
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test byte [edi], 0x10
je 0x43cb37
cmp byte [edi + 0x2c], 0x2e
lea ecx, [edi + 0x2c]
jne 0x43ca5b
mov al, byte [edi + 0x2d]
test al, al
je 0x43cb37
cmp al, 0x2e
jne 0x43ca5b
cmp byte [edi + 0x2e], 0
je 0x43cb37
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43ca60
sub esi, edx
lea eax, [esi + 1]
cmp eax, dword [esp + 0x24]
jae 0x43cb37
mov ebx, dword [esp + 0x18]
push esi
add ebx, 0x140
push ecx
add ebx, edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
lea ecx, [edi + 0x130]
inc eax
mov word [esi + ebx], 0x5c
add esp, 0xc
lea edx, [ecx + 1]
add eax, esi
mov dword [edi + 0x660], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cab0
sub ecx, edx
mov ebx, ecx
cmove ebx, esi
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x20]
jae 0x43cb33
mov esi, dword [esp + 0x1c]
test ecx, ecx
mov ecx, 0x130
mov eax, 0x2c
cmovne eax, ecx
add esi, 0x44c
push ebx
add eax, edi
add esi, edi
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc eax
mov word [ebx + esi], 0x5c
add eax, ebx
mov ebx, dword [ebp + 0x10]
push edi
push dword [ebp + 0x1c]
mov dword [edi + 0x668], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043c730
mov esi, eax
cmp esi, 1
jne 0x43cb60
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x43cb47
cmp dword [ebx], 0
jne 0x43cb47
mov ebx, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43ca30
push dword [esp + 0x10]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push dword [esp + 0x10]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c