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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x96c
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x810]
push ecx
call fcn.00532580
add esp, 8
lea edx, [ebp - 0x810]
push edx
call fcn.00532e80
add esp, 4
test eax, eax
jbe 0x4676e6
lea eax, [ebp - 0x810]
push eax
call fcn.00532e80
add esp, 4
movsx ecx, byte [ebp + eax - 0x811]
cmp ecx, 0x5c
jne 0x4676e6
lea edx, [ebp - 0x810]
push edx
call fcn.00532e80
add esp, 4
mov byte [ebp + eax - 0x811], 0
lea eax, [ebp - 0x810]
push eax
push 0x565d30
lea ecx, [ebp - 0x410]
push ecx
call fcn.00532706
add esp, 0xc
lea edx, [ebp - 0x958]
push edx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0xffffffff
je 0x467f67
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + ecx - 0x811]
mov dword [ebp - 0x95c], edx
mov eax, dword [ebp - 0x95c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x467764
mov edx, dword [ebp - 0x95c]
movsx eax, byte [edx]
cmp eax, 0x5c
je 0x467764
mov ecx, dword [ebp - 0x95c]
sub ecx, 1
mov dword [ebp - 0x95c], ecx
jmp 0x467738
mov edx, dword [ebp - 0x95c]
add edx, 1
mov dword [ebp - 0x95c], edx
movsx eax, byte [ebp - 0x92c]
cmp eax, 0x2e
jne 0x467784
jmp 0x467f3e
cmp dword [ebp + 0x18], 2
jne 0x4677be
movsx ecx, byte [ebp - 0x92c]
cmp ecx, 0x30
jne 0x4677be
movsx edx, byte [ebp - 0x92b]
cmp edx, 0x30
jne 0x4677be
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x92a]
push ecx
call fcn.005327a0
add esp, 8
test eax, eax
je 0x4677be
jmp 0x467f3e
mov edx, dword [ebp - 0x958]
and edx, 0x10
je 0x467902
push str.working
lea eax, [ebp - 0x92c]
push eax
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x4677ea
jmp 0x467f3e
push str.defined
lea ecx, [ebp - 0x92c]
push ecx
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x467807
jmp 0x467f3e
push str.profiles
lea edx, [ebp - 0x92c]
push edx
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x467824
jmp 0x467f3e
push 0x565d54
lea eax, [ebp - 0x92c]
push eax
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x467841
jmp 0x467f3e
cmp dword [ebp + 0x18], 0
je 0x4678b8
push 0x565d5c
lea ecx, [ebp - 0x92c]
push ecx
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x467864
jmp 0x467f3e
push 0x565d68
lea edx, [ebp - 0x92c]
push edx
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x467881
jmp 0x467f3e
push 5
push str.texts
lea eax, [ebp - 0x92c]
push eax
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x4678b8
push str.texts.School
lea ecx, [ebp - 0x92c]
push ecx
call fcn.005327a0
add esp, 8
test eax, eax
je 0x4678b8
jmp 0x467f3e
lea edx, [ebp - 0x92c]
push edx
lea eax, [ebp - 0x810]
push eax
push 0x565d90
lea ecx, [ebp - 0x208]
push ecx
call fcn.00532706
add esp, 0x10
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00467670
add esp, 0x18
jmp 0x467f3e
push 0x565d98
lea edx, [ebp - 0x92c]
push edx
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x46791f
jmp 0x467f3e
push 0x565da0
lea eax, [ebp - 0x92c]
push eax
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x46793c
jmp 0x467f3e
push 0x565da8
lea ecx, [ebp - 0x92c]
push ecx
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x467959
jmp 0x467f3e
lea edx, [ebp - 0x92c]
push edx
lea eax, [ebp - 0x810]
push eax
push 0x565db4
lea ecx, [ebp - 0x610]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x610]
push edx
call fcn.0041dea0
add esp, 4
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x467f3e
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
mov dword [ebp - 0x964], ecx
mov dword [ebp - 0x960], 0
cmp dword [ebp - 0x964], 0
je 0x467f3e
push str..rtf
lea edx, [ebp - 0x92c]
push edx
call fcn.00532680
add esp, 8
test eax, eax
je 0x467e2e
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x96c], ecx
mov dword [ebp - 0x968], 0
jmp 0x467a08
mov edx, dword [ebp - 0x968]
add edx, 1
mov dword [ebp - 0x968], edx
mov eax, dword [ebp - 0x968]
cmp eax, dword [ebp - 0x964]
jge 0x467dca
mov ecx, dword [ebp - 0x96c]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x467db6
push 0xa
push 0x565dc4
mov eax, dword [ebp - 0x96c]
add eax, 1
push eax
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x467a66
push 0xa
push 0x565dd0
mov ecx, dword [ebp - 0x96c]
add ecx, 1
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x467ab6
mov edx, dword [ebp - 0x96c]
mov byte [edx], 0x22
mov eax, dword [ebp - 0x964]
sub eax, 0xa
mov dword [ebp - 0x964], eax
mov ecx, dword [ebp - 0x964]
sub ecx, dword [ebp - 0x968]
push ecx
mov edx, dword [ebp - 0x96c]
add edx, 0xb
push edx
mov eax, dword [ebp - 0x96c]
add eax, 1
push eax
call fcn.00533040
add esp, 0xc
mov ecx, dword [ebp - 0x96c]
add ecx, 0xa
mov dword [ebp - 0x96c], ecx
push 0xa
push str.ldblquote_
mov edx, dword [ebp - 0x96c]
add edx, 1
push edx
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x467b2a
push 0xa
push str.rdblquote_
mov eax, dword [ebp - 0x96c]
add eax, 1
push eax
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x467b2a
push 0xa
push str.ldblquote
mov ecx, dword [ebp - 0x96c]
add ecx, 1
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x467b2a
push 0xa
push str.rdblquote
mov edx, dword [ebp - 0x96c]
add edx, 1
push edx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x467b7f
mov eax, dword [ebp - 0x96c]
mov byte [eax], 0x22
mov ecx, dword [ebp - 0x964]
sub ecx, 9
mov dword [ebp - 0x964], ecx
mov edx, dword [ebp - 0x964]
sub edx, dword [ebp - 0x968]
push edx
mov eax, dword [ebp - 0x96c]
add eax, 0xa
push eax
mov ecx, dword [ebp - 0x96c]
add ecx, 1
push ecx
call fcn.00533040
add esp, 0xc
mov edx, dword [ebp - 0x96c]
add edx, 9
mov dword [ebp - 0x96c], edx
jmp 0x467db6
push 7
push 0x565e0c
mov eax, dword [ebp - 0x96c]
add eax, 1
push eax
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x467bb9
push 7
push 0x565e14
mov ecx, dword [ebp - 0x96c]
add ecx, 1
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x467c0e
mov edx, dword [ebp - 0x96c]
mov byte [edx], 0x27
mov eax, dword [ebp - 0x964]
sub eax, 7
mov dword [ebp - 0x964], eax
mov ecx, dword [ebp - 0x964]
sub ecx, dword [ebp - 0x968]
push ecx
mov edx, dword [ebp - 0x96c]
add edx, 8
push edx
mov eax, dword [ebp - 0x96c]
add eax, 1
push eax
call fcn.00533040
add esp, 0xc
mov ecx, dword [ebp - 0x96c]
add ecx, 7
mov dword [ebp - 0x96c], ecx
jmp 0x467db6
push 7
push str.lquote
mov edx, dword [ebp - 0x96c]
add edx, 1
push edx
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x467c48
push 7
push str.rquote
mov eax, dword [ebp - 0x96c]
add eax, 1
push eax
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x467c9d
mov ecx, dword [ebp - 0x96c]
mov byte [ecx], 0x22
mov edx, dword [ebp - 0x964]
sub edx, 7
mov dword [ebp - 0x964], edx
mov eax, dword [ebp - 0x964]
sub eax, dword [ebp - 0x968]
push eax
mov ecx, dword [ebp - 0x96c]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x96c]
add edx, 1
push edx
call fcn.00533040
add esp, 0xc
mov eax, dword [ebp - 0x96c]
add eax, 7
mov dword [ebp - 0x96c], eax
jmp 0x467db6
push 0xd
push str.lquotelquote
mov ecx, dword [ebp - 0x96c]
add ecx, 1
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x467cd7
push 0xd
push str.rquote_rquote
mov edx, dword [ebp - 0x96c]
add edx, 1
push edx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x467d2c
mov eax, dword [ebp - 0x96c]
mov byte [eax], 0x22
mov ecx, dword [ebp - 0x964]
sub ecx, 0xd
mov dword [ebp - 0x964], ecx
mov edx, dword [ebp - 0x964]
sub edx, dword [ebp - 0x968]
push edx
mov eax, dword [ebp - 0x96c]
add eax, 0xe
push eax
mov ecx, dword [ebp - 0x96c]
add ecx, 1
push ecx
call fcn.00533040
add esp, 0xc
mov edx, dword [ebp - 0x96c]
add edx, 0xd
mov dword [ebp - 0x96c], edx
jmp 0x467db6
push 7
push str.lquote_
mov eax, dword [ebp - 0x96c]
add eax, 1
push eax
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x467d66
push 7
push str.rquote_
mov ecx, dword [ebp - 0x96c]
add ecx, 1
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
jne 0x467db6
mov edx, dword [ebp - 0x96c]
mov byte [edx], 0x27
mov eax, dword [ebp - 0x964]
sub eax, 6
mov dword [ebp - 0x964], eax
mov ecx, dword [ebp - 0x964]
sub ecx, dword [ebp - 0x968]
push ecx
mov edx, dword [ebp - 0x96c]
add edx, 7
push edx
mov eax, dword [ebp - 0x96c]
add eax, 1
push eax
call fcn.00533040
add esp, 0xc
mov ecx, dword [ebp - 0x96c]
add ecx, 6
mov dword [ebp - 0x96c], ecx
mov edx, dword [ebp - 0x96c]
add edx, 1
mov dword [ebp - 0x96c], edx
jmp 0x4679f9
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x964]
cmp ecx, dword [eax]
je 0x467e2e
push 0x565e5c
lea edx, [ebp - 0x610]
push edx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x467e2e
mov eax, dword [ebp - 0x210]
push eax
push 1
mov ecx, dword [ebp - 0x964]
push ecx
mov edx, dword [ebp - 0x20c]
mov eax, dword [edx + 4]
push eax
call fcn.005337fa
add esp, 0x10
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.00431d50
add esp, 4
mov edx, dword [ebp - 0x964]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
push ecx
call fcn.00465b60
add esp, 8
mov dword [ebp - 0x960], eax
mov edx, dword [ebp - 0x20c]
push edx
call fcn.0041e310
add esp, 4
push 0x5c
lea eax, [ebp - 0x810]
push eax
call fcn.005350b0
add esp, 8
test eax, eax
je 0x467eb6
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + ecx - 0x811]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x467e94
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x467e7e
lea eax, [ebp - 0x92c]
push eax
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push 0x565e60
lea edx, [ebp - 0x610]
push edx
call fcn.00532706
add esp, 0x10
lea eax, [ebp - 0x610]
push eax
mov ecx, dword [ebp - 0x960]
push ecx
mov edx, dword [ebp - 0x964]
push edx
push str._010ld__010lu__s
lea eax, [ebp - 0x410]
push eax
call fcn.00532706
add esp, 0x14
cmp dword [ebp + 0x10], 0
je 0x467f3e
push 0x565e7c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x467f3e
mov edx, dword [ebp - 0x210]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.00534f64
add esp, 8
mov ecx, dword [ebp - 0x210]
push ecx
push 0x565e80
call fcn.00534f64
add esp, 8
mov edx, dword [ebp - 0x210]
push edx
call fcn.00431d50
add esp, 4
lea eax, [ebp - 0x958]
push eax
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x467773
mov edx, dword [ebp - 0x814]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret