Function at 0x414710
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe4c
mov eax, 0x54533c
call fcn.00506ee8
mov word [ebp - 0x4c], 0x14
lea eax, [ebp - 4]
mov edx, dword [ebp + 0xc]
call fcn.0053d954
inc dword [ebp - 0x40]
mov word [ebp - 0x4c], 8
mov word [ebp - 0x4c], 0x20
lea eax, [ebp - 8]
mov edx, dword [ebp + 0xc]
call fcn.0053d954
inc dword [ebp - 0x40]
mov word [ebp - 0x4c], 8
cmp byte [ebp + 0x14], 0
je 0x414790
mov word [ebp - 0x4c], 0x2c
mov edx, 0x5451d8
lea eax, [ebp - 0xc]
call fcn.0053d954
inc dword [ebp - 0x40]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0053db3c
dec dword [ebp - 0x40]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0053daf8
jmp 0x4147ce
mov word [ebp - 0x4c], 0x38
lea eax, [ebp - 0x10]
call fcn.00402538
mov ecx, eax
inc dword [ebp - 0x40]
mov edx, dword [ebp + 8]
add edx, 0x24
mov eax, 0x5451dd
call fcn.0053de50
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0053db3c
dec dword [ebp - 0x40]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0053daf8
lea ecx, [ebp - 0x1b4]
push ecx
lea eax, [ebp - 8]
call fcn.00402dd4
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
jne 0x41481b
dec dword [ebp - 0x40]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x40]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0053daf8
mov ecx, dword [ebp - 0x5c]
mov dword fs:[0], ecx
jmp 0x414b0a
test byte [ebp - 0x1b4], 0x10
setne al
and eax, 1
mov byte [ebp - 0x65], al
movsx edx, byte [ebp - 0x188]
cmp edx, 0x2e
je 0x414a4d
cmp byte [ebp + 0x14], 0
je 0x414900
cmp byte [ebp - 0x65], 0
je 0x414900
mov word [ebp - 0x4c], 0x44
lea eax, [ebp - 0x18]
call fcn.00402538
push eax
inc dword [ebp - 0x40]
mov edx, 0x5451df
lea eax, [ebp - 0x14]
call fcn.0053d954
mov edx, eax
inc dword [ebp - 0x40]
lea eax, [ebp - 4]
pop ecx
call fcn.0053db50
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
call fcn.00402538
push eax
inc dword [ebp - 0x40]
lea edx, [ebp - 0x188]
lea eax, [ebp - 0x1c]
call fcn.0053d954
inc dword [ebp - 0x40]
lea edx, [ebp - 0x1c]
pop ecx
pop eax
call fcn.0053db50
lea eax, [ebp - 0x20]
call fcn.00402dd4
push eax
push dword [ebp + 8]
call fcn.00414cc0
add esp, 8
dec dword [ebp - 0x40]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x40]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x40]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x40]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0053daf8
jmp 0x414a4d
cmp byte [ebp + 0x14], 0
jne 0x414a4d
push 0x10
call fcn.00504c0c
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x414938
mov word [ebp - 0x4c], 0x5c
mov eax, dword [ebp - 0x24]
call fcn.00402538
inc dword [ebp - 0x40]
dec dword [ebp - 0x40]
mov word [ebp - 0x4c], 0x50
mov edx, dword [ebp - 0x24]
jmp 0x41493b
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov cl, byte [ebp - 0x65]
mov byte [eax + 0xc], cl
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x194]
mov dword [eax + 4], edx
cmp byte [ebp + 0x10], 0
je 0x414a02
mov word [ebp - 0x4c], 0x68
lea eax, [ebp - 0x2c]
call fcn.00402538
push eax
inc dword [ebp - 0x40]
mov edx, 0x5451e1
lea eax, [ebp - 0x28]
call fcn.0053d954
mov edx, eax
inc dword [ebp - 0x40]
lea eax, [ebp - 4]
pop ecx
call fcn.0053db50
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x34]
call fcn.00402538
push eax
inc dword [ebp - 0x40]
lea edx, [ebp - 0x188]
lea eax, [ebp - 0x30]
call fcn.0053d954
inc dword [ebp - 0x40]
lea edx, [ebp - 0x30]
pop ecx
pop eax
call fcn.0053db50
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x64]
call fcn.0053db28
dec dword [ebp - 0x40]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x40]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x40]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0053daf8
jmp 0x414a34
mov word [ebp - 0x4c], 0x74
lea edx, [ebp - 0x188]
lea eax, [ebp - 0x38]
call fcn.0053d954
inc dword [ebp - 0x40]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x64]
call fcn.0053db28
dec dword [ebp - 0x40]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0053daf8
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1b4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call fcn.0046f168
lea edx, [ebp - 0x1b4]
push edx
push dword [ebp - 0x60]
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x41481b
push dword [ebp - 0x60]
call sub.KERNEL32.DLL_FindClose
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x4c], 8
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x414ad3
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call fcn.0046f2c4
cmp byte [eax + 0xc], 0
je 0x414ad0
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call fcn.0046f2c4
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call fcn.0046f2c4
mov ecx, eax
mov edx, dword [ebp - 0x6c]
inc dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.0046f410
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.0046f410
inc dword [ebp - 0x74]
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ecx + 8]
cmp eax, dword [ebp - 0x74]
jg 0x414a7e
dec dword [ebp - 0x40]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x40]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0053daf8
mov ecx, dword [ebp - 0x5c]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret