Function at 0x43c6c0
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 0x43c727
cmp dword [edi + 0x66c], 2
jne 0x43c727
mov eax, dword [edi + 0x658]
cmp byte [eax + 1], 0x3a
jne 0x43c727
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 0x43cae2
lea eax, [ecx + 1]
push eax
lea eax, [edi + 0x348]
push eax
push edx
call fcn.004b4620
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 0x43c790
mov edx, dword [ebp + 0x18]
mov ecx, edi
call fcn.00455c40
test al, al
je 0x43c790
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, eax
test ebx, ebx
jne 0x43c774
mov eax, dword [0x4e88cc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [eax + 0x10], edi
test ebx, ebx
je 0x43c972
mov ebx, dword [ebp + 0x18]
nop word [eax + eax]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x14]
cmp byte [eax], 0x77
jne 0x43c7e5
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x14]
push edx
push 2
call fcn.004345c0
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [edi + 0x14]
mov edx, dword [ebp + 8]
cmp ecx, eax
je 0x43c7c0
mov edi, dword [ebp + 0x20]
jmp 0x43c7fa
lea ecx, [esp + 0x14]
push ecx
push edx
push 3
mov ecx, eax
call fcn.004345c0
mov ecx, dword [esp + 0x14]
mov esi, eax
test ecx, ecx
je 0x43c827
cmp esi, 6
jne 0x43c941
cmp ecx, dword [esp + 0xc]
je 0x43c831
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 0x43c831
cmp esi, 6
jne 0x43c812
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43c8a7
mov eax, dword [0x4e88cc]
mov dword [0x4edbbc], esi
cmp byte [eax + 0xd9], 0
je 0x43c87d
mov eax, dword [0x4ec22c]
mov dword [eax*4 + 0x4ec870], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4ec22c]
mov dword [ecx*4 + 0x4ec230], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4ec22c], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00474c20
mov esi, eax
cmp esi, 1
jne 0x43c812
mov ecx, dword [0x4ecf08]
lea esi, [eax + 4]
call fcn.00468090
test eax, eax
jne 0x43c812
mov esi, dword [esp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x43c966
test byte [edi], 0x10
je 0x43c8e1
cmp ebx, 1
je 0x43c8ab
cmp byte [edi + 0x2c], 0x2e
lea edx, [edi + 0x2c]
jne 0x43c8e9
mov al, byte [edi + 0x2d]
test al, al
je 0x43c8ab
cmp al, 0x2e
jne 0x43c8e9
cmp byte [edi + 0x2e], 0
je 0x43c8ab
jmp 0x43c8e9
cmp ebx, 2
je 0x43c8ab
lea edx, [edi + 0x2c]
mov esi, edx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x43c8f0
sub esi, ecx
mov ecx, dword [edi + 0x674]
lea eax, [ecx + esi]
cmp eax, 0x208
jae 0x43c8a7
lea eax, [esi + 1]
push eax
lea eax, [ecx + 0x140]
push edx
add eax, edi
push eax
call fcn.004b4620
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 0x43c7b0
cmp ecx, dword [esp + 0xc]
jne 0x43c80d
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 0x43c97e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x1c], 0
je 0x43cae2
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 0x43cae2
mov eax, 0x208
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test byte [edi], 0x10
je 0x43cac7
cmp byte [edi + 0x2c], 0x2e
lea ecx, [edi + 0x2c]
jne 0x43c9eb
mov al, byte [edi + 0x2d]
test al, al
je 0x43cac7
cmp al, 0x2e
jne 0x43c9eb
cmp byte [edi + 0x2e], 0
je 0x43cac7
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43c9f0
sub esi, edx
lea eax, [esi + 1]
cmp eax, dword [esp + 0x24]
jae 0x43cac7
mov ebx, dword [esp + 0x18]
push esi
add ebx, 0x140
push ecx
add ebx, edi
push ebx
call fcn.004b4620
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 0x43ca40
sub ecx, edx
mov ebx, ecx
cmove ebx, esi
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x20]
jae 0x43cac3
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 fcn.004b4620
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.0043c6c0
mov esi, eax
cmp esi, 1
jne 0x43caf0
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x43cad7
cmp dword [ebx], 0
jne 0x43cad7
mov ebx, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43c9c0
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