Function at 0x4560d4
Capabilities:
Enumerate files on windows

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x478
mov ebx, edx
mov dword [esp + 0x470], eax
push 0xfa0
call fcn.004032d4
pop ecx
mov dword [esp + 0x468], eax
test eax, eax
je 0x45664a
push 0x3e8
call fcn.004032d4
pop ecx
mov dword [esp + 0x460], eax
test eax, eax
je 0x45662e
push 0x106
call fcn.0045ec4c
pop ecx
mov ecx, dword [esp + 0x468]
mov dword [ecx], eax
test eax, eax
je 0x456612
mov esi, eax
mov edi, ebx
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x45613b
mov eax, dword [esp + 0x460]
mov byte [eax], 1
mov eax, 1
xor ebx, ebx
mov dword [esp + 0x46c], eax
lea ebp, [ebx + 1]
mov eax, dword [esp + 0x46c]
cmp eax, ebp
jl 0x456527
lea esi, [esp + 0x214]
mov eax, dword [esp + 0x468]
mov edi, dword [eax + ebx*4]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x456180
lea edi, [esp + 0x214]
mov edx, 0x7e42bc
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x4561a0
lea esi, [esp + 4]
lea edi, [esp + 0x214]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x4561b5
lea edi, [esp + 4]
mov edx, 0x7e4a74
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x4561d2
mov esi, dword [esp + 0x460]
movzx esi, byte [esi + ebx]
mov ebx, ebp
lea edx, [esp + 4]
lea eax, [esp + 0x31c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45615d
lea edx, [esi + 1]
mov dword [esp + 0x464], edx
mov dword [esp + 0x474], esi
mov dword [esp + 0x45c], ebx
cmp byte [esp + 0x348], 0x2e
je 0x4565d3
xor edx, edx
test edx, edx
jne 0x4564fd
mov edx, dword [esp + 0x31c]
and edx, 0x10
cmp edx, 0x10
jne 0x456325
mov ecx, dword [esp + 0x474]
mov edx, dword [esp + 0x470]
cmp edx, ecx
jl 0x4564fd
lea edx, [esp + 0x348]
push dword [0x594734]
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x4564fd
mov edx, dword [esp + 0x46c]
cmp edx, 0x3e8
jge 0x4565b7
mov edx, dword [esp + 0x474]
cmp edx, 0x20
jge 0x45659b
push 0x106
call fcn.0045ec4c
pop ecx
mov ebx, dword [esp + 0x46c]
lea ecx, [ebx + ebx]
mov edx, dword [esp + 0x468]
mov dword [edx + ebx*4], eax
test eax, eax
je 0x45657f
mov esi, eax
lea edi, [esp + 0x214]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x4562d1
mov ebx, dword [esp + 0x468]
mov edi, dword [ebx + ecx*2]
lea edx, [esp + 0x348]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x4562f6
mov edx, dword [esp + 0x464]
mov ecx, dword [esp + 0x460]
mov ebx, dword [esp + 0x46c]
mov byte [ebx + ecx], dl
inc ebx
mov dword [esp + 0x46c], ebx
jmp 0x4564fd
lea edi, [esp + 0x348]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x45633e
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x456336
cmp eax, 4
jl 0x4564fd
lea edx, [esp + eax + 0x344]
push 4
push 0x7e4ae4
push edx
call fcn.00461390
add esp, 0xc
test eax, eax
jne 0x4564fd
lea edx, [esp + 0x348]
push 0x7e4a78
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x456386
mov ebx, 1
jmp 0x456388
xor ebx, ebx
lea edx, [esp + 0x348]
push 0x7e4a84
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x4563a6
mov ebx, 2
lea edx, [esp + 0x348]
push 0x7e4a90
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x4563c4
mov ebx, 3
lea edx, [esp + 0x348]
push 0x7e4a9c
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x4563e2
mov ebx, 4
lea edx, [esp + 0x348]
push 0x7e4aa8
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x456400
mov ebx, 5
lea edx, [esp + 0x348]
push 0x7e4ab4
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x45641e
mov ebx, 6
lea edx, [esp + 0x348]
push 0x7e4ac0
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x45643c
mov ebx, 7
lea edx, [esp + 0x348]
push 0x7e4acc
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x45645a
mov ebx, 8
lea edx, [esp + 0x348]
push 0x7e4ad8
push edx
call fcn.0045ed90
add esp, 8
test eax, eax
jne 0x456478
mov ebx, 9
lea esi, [esp + 0x10c]
lea edi, [esp + 0x214]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x456486
lea edi, [esp + 0x10c]
lea edx, [esp + 0x348]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x4564a8
lea eax, [esp + 0x10c]
call fcn.0045667c
test ebx, ebx
jne 0x4564d8
lea eax, [esp + 0x10c]
call fcn.00455df8
test eax, eax
jne 0x456666
jmp 0x4564fd
push 0x105
call fcn.0045ec4c
pop ecx
mov dword [ebx*4 + 0x7de758], eax
mov esi, eax
lea edi, [esp + 0x10c]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x4564f3
lea edx, [esp + 0x31c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45621f
mov ebx, dword [esp + 0x45c]
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x45615d
mov esi, dword [esp + 0x468]
lea ebx, [esi + 0xfa0]
mov eax, dword [esi]
test eax, eax
je 0x456541
push eax
call fcn.0045eeaf
pop ecx
mov dword [esi], 0
add esi, 4
cmp ebx, esi
ja 0x456534
mov eax, dword [esp + 0x468]
test eax, eax
je 0x456560
push eax
call fcn.0045eeaf
pop ecx
mov eax, dword [esp + 0x460]
test eax, eax
je 0x456572
push eax
call fcn.0045eeaf
pop ecx
xor eax, eax
add esp, 0x478
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.0045c674
mov eax, 0xffffffff
add esp, 0x480
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x196af
call fcn.0045c674
mov eax, 0xffffffff
add esp, 0x480
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x196ae
call fcn.0045c674
mov eax, 0xffffffff
add esp, 0x480
pop ebx
pop ebp
pop esi
pop edi
ret
movsx edx, byte [esp + 0x349]
test edx, edx
jne 0x4565e9
mov edx, 1
jmp 0x45622f
cmp edx, 0x2e
je 0x4565f5
xor edx, edx
jmp 0x45622f
movsx edx, byte [esp + 0x34a]
test edx, edx
jne 0x45660b
mov edx, 1
jmp 0x45622f
xor edx, edx
jmp 0x45622f
push 1
push 0x186aa
call fcn.0045c674
mov eax, 0xffffffff
add esp, 0x480
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.0045c648
mov eax, 0xffffffff
add esp, 0x480
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
push 0x186aa
call fcn.0045c648
mov eax, 0xffffffff
add esp, 0x480
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 0xffffffff
add esp, 0x478
pop ebx
pop ebp
pop esi
pop edi
ret