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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], edx
mov esi, ecx
mov dword [ebp - 0x290], esi
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x294], eax
mov edi, edx
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
test esi, esi
je 0x407268
cmp word [esi], ax
je 0x407268
inc eax
cmp word [esi + eax*2], 0
jne 0x407260
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp word [ecx*2 + 0x4bfbc8], 0
jne 0x407270
add ecx, eax
test edx, edx
je 0x40729a
xor eax, eax
cmp word [edx], ax
je 0x407298
nop dword [eax]
inc eax
cmp word [edx + eax*2], 0
jne 0x407290
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x284], ecx
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a28e
add esp, 4
mov dword [ebp - 0x28c], eax
mov edx, eax
test esi, esi
je 0x4072f1
movzx ecx, word [esi]
mov eax, ecx
mov dword [ebp - 0x280], eax
mov eax, edx
test cx, cx
je 0x4072f1
movzx ecx, cx
sub esi, eax
nop
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x4072e0
mov esi, 0x4bfbc8
mov ecx, 0x5c
sub esi, edx
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x407300
mov esi, dword [ebp - 0x290]
mov eax, edi
test eax, eax
je 0x407338
movzx eax, word [eax]
mov ecx, eax
test ax, ax
je 0x407338
mov word [edx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
add edx, 2
test ax, ax
jne 0x407327
mov edi, dword [ebp - 0x28c]
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dl, al
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x284], 1
and dl, 4
mov byte [ebp - 0x14], 1
and ecx, 0xfffffffb
mov byte [ebp - 0x285], dl
test dl, dl
push 0x250
cmove ecx, eax
lea eax, [ebp - 0x27c]
push 0
push eax
mov dword [ebp - 0x280], ecx
movups xmmword [ebp - 0x2c], xmm0
call fcn.0048b9e0
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x4073ca
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x28], 0
call fcn.00401370
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
jne 0x407441
mov ecx, dword [ebp - 0x280]
test cl, 2
je 0x407624
mov eax, dword [ebp - 0x294]
push dword [eax + 4]
push 5
push ecx
push esi
mov ecx, eax
call fcn.00403ca0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x14], 1
cmp eax, 0xffffffff
je 0x407409
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x40761e
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x28], 0
call fcn.00401370
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x40761e
xor eax, eax
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x1c], 0
lea edi, [ebp - 0x250]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
test esi, esi
je 0x407478
cmp word [esi], ax
je 0x407478
nop word [eax + eax]
inc eax
cmp word [esi + eax*2], 0
jne 0x407470
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp word [ecx*2 + 0x4bfbc8], 0
jne 0x407480
add ecx, eax
xor eax, eax
cmp word [ebp - 0x250], ax
je 0x4074ac
nop dword [eax]
inc eax
cmp word [ebp + eax*2 - 0x250], 0
jne 0x4074a0
add ecx, eax
mov edx, 2
mov dword [ebp - 0x29c], ecx
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a28e
add esp, 4
mov dword [ebp - 0x28c], eax
test esi, esi
je 0x4074f7
movzx ecx, word [esi]
mov edx, ecx
test cx, cx
je 0x4074f7
sub esi, eax
mov word [eax], dx
add eax, 2
movzx ecx, word [esi + eax]
mov edx, ecx
test cx, cx
jne 0x4074e6
mov esi, 0x4bfbc8
mov edx, 0x5c
sub esi, eax
mov word [eax], dx
add eax, 2
movzx ecx, word [esi + eax]
mov edx, ecx
test cx, cx
jne 0x407503
mov ecx, dword [ebp - 0x250]
test cx, cx
je 0x407533
movzx ecx, cx
mov word [eax], cx
lea edi, [edi + 2]
movzx ecx, word [edi]
add eax, 2
test cx, cx
jne 0x407522
mov edi, dword [ebp - 0x28c]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x40755d
push eax
call fcn.00489ed3
add esp, 4
mov eax, dword [ebp - 0x27c]
mov ecx, edi
mov byte [ebp - 0x14], 1
push dword [ebp - 0x294]
test al, 0x10
je 0x40759a
test eax, 0x400
je 0x407587
mov edx, dword [ebp - 0x280]
call fcn.00407730
jmp 0x4075a5
push dword [ebp - 0x280]
mov edx, dword [ebp - 0x298]
call fcn.00407200
jmp 0x4075a5
mov edx, dword [ebp - 0x280]
call fcn.004076a0
test eax, eax
jne 0x4075b1
mov dword [ebp - 0x284], eax
jmp 0x4075cc
mov esi, dword [ebp - 0x284]
test esi, esi
je 0x4075cc
cmp eax, 2
mov eax, 2
cmove esi, eax
mov dword [ebp - 0x284], esi
call fcn.00403550
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x407618
lea ecx, [ebp - 0x27c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x407609
lea ecx, [ebp - 0x27c]
call fcn.00401370
mov esi, dword [ebp - 0x290]
test al, al
jne 0x407441
mov eax, dword [ebp - 0x2c]
jmp 0x40761e
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x280]
cmp byte [ebp - 0x285], 0
jne 0x407661
push dword [ebp - 0x294]
mov edx, ecx
mov ecx, esi
call fcn.00407730
test eax, eax
jne 0x407647
xor esi, esi
mov eax, dword [ebp - 0x2c]
jmp 0x407667
mov esi, dword [ebp - 0x284]
test esi, esi
je 0x407642
cmp eax, 2
mov eax, 2
cmove esi, eax
mov eax, dword [ebp - 0x2c]
jmp 0x407667
mov esi, dword [ebp - 0x284]
cmp eax, 0xffffffff
je 0x407673
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x407680
push edi
call fcn.00489ed3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489ec5
mov esp, ebp
pop ebp
ret 8