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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b1299
mov eax, dword fs:[0]
push eax
sub esp, 0x3e0
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x3a1], 0
lea ecx, [ebp + 8]
call fcn.00461a70
push eax
push 0x6db3e0
lea eax, [ebp - 0x218]
push eax
call fcn.0065c981
add esp, 0xc
lea ecx, [ebp - 0x3a0]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3c0], eax
cmp dword [ebp - 0x3c0], 0xffffffff
jne 0x596eaf
mov al, byte [ebp - 0x3a1]
mov byte [ebp - 0x3aa], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00462020
mov al, byte [ebp - 0x3aa]
jmp 0x597427
movzx ecx, byte [ebp - 0x3a1]
test ecx, ecx
je 0x596ebf
jmp 0x5973f9
lea edx, [ebp - 0x374]
mov dword [ebp - 0x3b4], edx
push 0x6db3e8
mov eax, dword [ebp - 0x3b4]
push eax
call fcn.0065cc50
add esp, 8
test eax, eax
je 0x596efb
push 0x6db3ec
mov ecx, dword [ebp - 0x3b4]
push ecx
call fcn.0065cc50
add esp, 8
test eax, eax
jne 0x596f00
jmp 0x5973dd
mov edx, dword [ebp - 0x3a0]
and edx, 0x10
je 0x596f76
mov eax, dword [ebp - 0x3b4]
push eax
push 0x6db3f0
lea ecx, [ebp + 8]
call fcn.00461a70
push eax
push str._s_s_s
lea ecx, [ebp - 0x114]
push ecx
call fcn.0065c981
add esp, 0x14
xor edx, edx
je 0x596f4c
lea eax, [ebp - 0x114]
push eax
push str.sub__s
call fcn.005aaeb0
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3d4], esp
lea edx, [ebp - 0x114]
push edx
call fcn.00461700
mov dword [ebp - 0x3dc], eax
call fcn.00596e10
add esp, 0x18
jmp 0x5973dd
xor eax, eax
je 0x596f8e
mov ecx, dword [ebp - 0x3b4]
push ecx
push 0x6db404
call fcn.005aaeb0
add esp, 8
mov edx, dword [ebp - 0x3b4]
push edx
lea ecx, [ebp - 0x248]
call fcn.00461700
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3b4]
push eax
push 0x6db410
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x260]
push edx
call fcn.00461440
add esp, 0xc
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x3c4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c4]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.004619d0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.00462020
mov byte [ebp - 0x3ac], 0x2f
mov byte [ebp - 0x3ae], 0x5c
lea eax, [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x3ae]
push ecx
lea edx, [ebp - 0x3e4]
push edx
lea ecx, [ebp - 0x230]
call fcn.00460de0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00460e20
mov edx, dword [eax]
push edx
call fcn.00598d00
add esp, 0x10
xor eax, eax
je 0x597069
lea ecx, [ebp - 0x230]
call fcn.00461a70
push eax
push 0x6db414
call fcn.005aaeb0
add esp, 8
push fcn.00661136
lea ecx, [ebp - 0x3e8]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00460e20
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x248]
call fcn.00460de0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x3e0]
push edx
lea ecx, [ebp - 0x248]
call fcn.00460e20
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3d8]
push ecx
call fcn.00596610
add esp, 0x14
xor edx, edx
je 0x5970d9
lea ecx, [ebp - 0x248]
call fcn.00461a70
push eax
push str.verify__s
call fcn.005aaeb0
add esp, 8
mov byte [ebp - 0x3a2], 0
push 0x79eeb0
call fcn.0051ad50
add esp, 4
mov dword [ebp - 0x3a8], eax
push 0x79eeb0
call fcn.00598cf0
add esp, 4
mov dword [ebp - 0x3cc], eax
jmp 0x597117
mov eax, dword [ebp - 0x3a8]
add eax, 0x20
mov dword [ebp - 0x3a8], eax
mov ecx, dword [ebp - 0x3a8]
cmp ecx, dword [ebp - 0x3cc]
jae 0x59736a
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x3a8]
call fcn.00463030
test eax, eax
jne 0x597365
xor eax, eax
je 0x59716c
lea ecx, [ebp - 0x248]
call fcn.00461a70
push eax
mov ecx, dword [ebp - 0x3a8]
call fcn.00461a70
push eax
push 0x6db428
call fcn.005aaeb0
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.00461a70
push eax
call fcn.005affd0
add esp, 4
mov dword [ebp - 0x3bc], eax
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x3b8], ecx
mov edx, dword [ebp - 0x3a8]
mov eax, dword [edx + 0x18]
cmp eax, dword [ebp - 0x3b8]
je 0x597242
xor ecx, ecx
je 0x5971c9
mov edx, dword [ebp - 0x3b8]
push edx
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [eax + 0x18]
push ecx
push 0x6db438
call fcn.005aaeb0
add esp, 0xc
mov byte [ebp - 0x3a1], 1
mov edx, 1
test edx, edx
je 0x5971f9
lea ecx, [ebp - 0x230]
call fcn.00461a70
push eax
mov eax, dword [ebp - 0x3b8]
push eax
push 0x6db44c
call fcn.005aaeb0
add esp, 0xc
mov cl, byte [ebp - 0x3a1]
mov byte [ebp - 0x3ab], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00462020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00462020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00462020
mov al, byte [ebp - 0x3ab]
jmp 0x597427
mov edx, dword [ebp - 0x3a8]
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebp - 0x3bc]
je 0x5972ed
xor ecx, ecx
je 0x597279
mov edx, dword [ebp - 0x3bc]
push edx
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [eax + 0x1c]
push ecx
push 0x6db464
call fcn.005aaeb0
add esp, 0xc
mov byte [ebp - 0x3a1], 1
mov edx, 1
test edx, edx
je 0x5972a9
lea ecx, [ebp - 0x230]
call fcn.00461a70
push eax
mov eax, dword [ebp - 0x3bc]
push eax
push 0x6db478
call fcn.005aaeb0
add esp, 0xc
mov cl, byte [ebp - 0x3a1]
mov byte [ebp - 0x3ad], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00462020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00462020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00462020
mov al, byte [ebp - 0x3ad]
jmp 0x597427
xor edx, edx
je 0x59730f
mov eax, dword [ebp - 0x3b8]
push eax
mov ecx, dword [ebp - 0x3a8]
mov edx, dword [ecx + 0x18]
push edx
push 0x6db490
call fcn.005aaeb0
add esp, 0xc
xor eax, eax
je 0x597331
mov ecx, dword [ebp - 0x3bc]
push ecx
mov edx, dword [ebp - 0x3a8]
mov eax, dword [edx + 0x1c]
push eax
push 0x6db4a4
call fcn.005aaeb0
add esp, 0xc
xor ecx, ecx
je 0x59735c
mov edx, dword [ebp - 0x3bc]
push edx
mov eax, dword [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00461a70
push eax
push str.___s____u___u_
call fcn.005aaeb0
add esp, 0x10
mov byte [ebp - 0x3a2], 1
jmp 0x59736a
jmp 0x597108
movzx ecx, byte [ebp - 0x3a2]
test ecx, ecx
jne 0x597392
xor edx, edx
je 0x597392
lea ecx, [ebp - 0x248]
call fcn.00461a70
push eax
push 0x6db4cc
call fcn.005aaeb0
add esp, 8
xor eax, eax
je 0x5973bf
movzx ecx, byte [ebp - 0x3a2]
push ecx
movzx edx, byte [ebp - 0x3a1]
push edx
lea ecx, [ebp - 0x248]
call fcn.00461a70
push eax
push str.skipping_file__s__hack__u__found__u_
call fcn.005aaeb0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00462020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00462020
lea eax, [ebp - 0x3a0]
push eax
mov ecx, dword [ebp - 0x3c0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x596eaf
mov edx, dword [ebp - 0x3c0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x3a1]
mov byte [ebp - 0x3a9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00462020
mov al, byte [ebp - 0x3a9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret