Function at 0x40ee20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a50b1
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x4cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4dc]
push 0x206
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x2c2]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2c8], ax
call fcn.00455040
mov eax, 7
xor edx, edx
add esp, 0xc
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
mov dword [esp + 0x4d4], ebx
mov dword [esp + 0x4c], eax
xor eax, eax
mov word [esp + 0x38], ax
mov eax, edi
mov dword [esp + 0x48], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40eeb5
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x38]
call fcn.004093f0
mov byte [esp + 0x4d4], 1
mov eax, dword [esp + 0x48]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x40eee8
call fcn.0044ea2b
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x40eef7
lea eax, [esp + 0x38]
cmp word [eax + esi*2], 0x5c
je 0x40ef0e
push 1
mov eax, 0x4b60e8
lea ecx, [esp + 0x38]
call fcn.00409310
push 0x250
lea ecx, [esp + 0x70]
push ebx
push ecx
call fcn.00455040
lea edx, [esp + 0x2c8]
add esp, 0xc
mov eax, edi
sub edx, edi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x40ef30
lea eax, [esp + 0x2bc]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x40ef50
mov edx, dword [0x4b60ec]
mov ecx, dword [0x4b60f0]
mov dword [eax], edx
mov dx, word [0x4b60f4]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x2c0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
jne 0x40efe0
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x40efae
mov edx, dword [esp + 0x38]
push edx
call fcn.00442977
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
cmp dword [esp + 0x68], esi
jb 0x40efd4
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00442977
add esp, 4
xor eax, eax
jmp 0x40f161
cmp word [esp + 0x98], 0x2e
je 0x40f0ae
lea edx, [esp + 0x98]
push str..VOB
push edx
call fcn.0044ea67
add esp, 8
test eax, eax
jne 0x40f025
lea eax, [esp + 0x98]
push str..vob
push eax
call fcn.0044ea67
add esp, 8
test eax, eax
je 0x40f0ae
lea ecx, [esp + 0x98]
push str.VTS_
push ecx
call fcn.0044ea67
add esp, 8
test eax, eax
jne 0x40f057
lea edx, [esp + 0x98]
push str.vts_
push edx
call fcn.0044ea67
add esp, 8
test eax, eax
je 0x40f0ae
lea eax, [esp + 0x34]
push eax
lea ebx, [esp + 0x9c]
lea esi, [esp + 0x1c]
call fcn.0040b8f0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x4dc], 2
call fcn.004083f0
mov byte [esp + 0x4d4], 1
cmp dword [esp + 0x30], 8
jb 0x40f0a0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00442977
add esp, 4
lea edx, [esp + 0x50]
push edx
mov ebx, ebp
call fcn.00407b30
xor ebx, ebx
lea eax, [esp + 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40efe0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
jb 0x40f113
cmp edi, esi
jbe 0x40f0ed
call fcn.0044ea2b
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp]
cmp edi, dword [ebp + 0x10]
jbe 0x40f0fd
call fcn.0044ea2b
mov eax, dword [ebp]
push esi
push ebx
push edi
push eax
push 0x40dc90
call fcn.00411130
add esp, 0x14
xor ebx, ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x40f136
mov eax, dword [esp + 0x38]
push eax
call fcn.00442977
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
cmp dword [esp + 0x68], esi
jb 0x40f15c
mov edx, dword [esp + 0x54]
push edx
call fcn.00442977
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x4cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0044e200
add esp, 0x4c4
ret 4