Function at 0x4462dc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffac0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
mov dword [ebp - 0x10], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
test eax, eax
je 0x44634a
cmp byte [eax], 0x2d
jne 0x44634a
push 0x6f
push eax
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x446327
mov dword [ebp - 0x10], 1
push 0x61
mov edx, dword [ebp + 0xc]
push dword [edx + 4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x446349
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 1
inc edi
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + edi*4], 0
jne 0x446368
push 0
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479438
jmp 0x446725
push 0
push 0x104
push ebx
push edi
push dword [ebp + 0xc]
call fcn.004e648f
mov edi, eax
test edi, edi
jge 0x446394
push 3
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479438
jmp 0x446725
push ebx
push ebx
call fcn.0042cf68
test eax, eax
jne 0x4463b4
push 3
push 0
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push 0
call fcn.00479438
jmp 0x446725
push 0
push 0x104
push esi
inc edi
push edi
push dword [ebp + 0xc]
call fcn.004e648f
mov edi, eax
test edi, edi
jge 0x4463e1
push 3
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479438
jmp 0x446725
push 0x588ce3
push 0x588be3
push 0x588ae3
push 0x588ae0
push esi
call fcn.0050e5fc
add esp, 0x14
cmp byte [0x588ae0], 0
jne 0x446463
cmp byte [0x588ae3], 0x5c
je 0x446463
cmp byte [0x588ae3], 0x2f
je 0x446463
cmp byte [0x588ae3], 0
je 0x446446
push 0x588ce3
push 0x588be3
push 0x588ae3
push 0x581f80
push 0x561f57
push esi
call sub.USER32.dll_wsprintfA
add esp, 0x18
jmp 0x446463
push 0x588ce3
push 0x588be3
push 0x581f80
push 0x561f61
push esi
call sub.USER32.dll_wsprintfA
add esp, 0x14
cmp byte [0x588be3], 0
jne 0x446482
cmp byte [0x588ce3], 0
jne 0x446482
push esi
call fcn.0042e6d8
mov dword [ebp - 0x14], 1
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 0x540]
push ecx
push ebx
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4464a9
mov dword [ebp - 8], 1
jmp 0x4466c2
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4466c2
test byte [ebp - 0x540], 0x10
je 0x4464df
lea edx, [ebp - 0x540]
push edx
push dword [ebp - 0x18]
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x4466c2
mov dword [ebp - 8], 1
jmp 0x4466c2
cmp dword [ebp - 0x14], 0
je 0x446521
push 0x588ce3
push 0x588be3
push 0x588ae3
push 0x588ae0
push esi
call fcn.0050e5fc
add esp, 0x14
lea ecx, [ebp - 0x514]
push ecx
push 0x588ae3
push 0x588ae0
push 0x561f69
push esi
call sub.USER32.dll_wsprintfA
add esp, 0x14
cmp dword [ebp - 0x10], 0
jne 0x4465a3
push 3
push esi
call fcn.0042cbc2
test eax, eax
je 0x4465a3
cmp dword [ebp - 4], 1
jge 0x446547
push dword [0x5618e8]
push dword [ebp + 8]
call fcn.004ef455
push esi
push 0
push 0x2cf
call fcn.0042c771
push eax
lea eax, [ebp - 0x400]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor edx, edx
mov dword [0x56cd18], edx
push dword [0x5618e8]
lea ecx, [ebp - 0x400]
push ecx
push dword [ebp + 8]
call fcn.004ef55b
lea eax, [ebp - 0x540]
push eax
push dword [ebp - 0x18]
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x44659b
mov dword [ebp - 8], 1
inc dword [ebp - 4]
jmp 0x4466c2
push 0x588ce3
push 0x588be3
push 0x588ae3
push 0x588ae0
push ebx
call fcn.0050e5fc
add esp, 0x14
lea edx, [ebp - 0x514]
push edx
push 0x588ae3
push 0x588ae0
push 0x561f71
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x14
push dword [ebp - 0xc]
push esi
push ebx
call fcn.0042d3d9
mov edi, eax
test edi, edi
jle 0x446634
push dword [ebp - 0x18]
call sub.KERNEL32.dll_FindClose
mov dword [ebp - 0x18], 0xffffffff
cmp edi, 1
jne 0x446617
push 1
push ebx
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479438
jmp 0x446725
cmp edi, 2
jne 0x4466cc
push 4
push esi
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479438
jmp 0x446725
inc dword [ebp - 4]
cmp dword [ebp + 0x18], 0
je 0x446677
push esi
push ebx
push 0
push 0x2d0
call fcn.0042c771
push eax
lea ecx, [ebp - 0x400]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
mov dword [0x56cd18], eax
push dword [0x5618e8]
lea edx, [ebp - 0x400]
push edx
push dword [ebp + 8]
call fcn.004ef55b
push 0x588ce3
push 0x588be3
push 0x588ae3
push 0x588ae0
push 0x561f79
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x18
cmp dword [ebp - 0x14], 0
jne 0x4466a8
mov dword [ebp - 8], 1
jmp 0x4466cc
lea ecx, [ebp - 0x540]
push ecx
push dword [ebp - 0x18]
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x4466c2
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x4464b3
cmp dword [ebp - 0x18], 0xffffffff
je 0x4466da
push dword [ebp - 0x18]
call sub.KERNEL32.dll_FindClose
cmp dword [ebp - 4], 0
jle 0x4466f4
cmp dword [ebp + 0x18], 0
je 0x4466f4
push dword [0x5618e8]
push dword [ebp + 8]
call fcn.004ef455
cmp dword [ebp - 4], 0
je 0x446707
cmp dword [ebp - 8], 0
je 0x446707
mov eax, 1
jmp 0x446725
push esi
push ebx
push 0
push 0x2d1
call fcn.0042c771
push eax
push 0x5803c4
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14