Function at 0x419650
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d788
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x726100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x26c], ebx
mov eax, dword [ebp + 0xc]
sub esp, 8
mov edi, esp
mov dword [ebp - 4], ebx
add eax, 0xfffffff0
mov dword [ebp - 0x264], edi
push eax
lea esi, [edi + 4]
mov dword [ebp - 0x264], esi
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x28c]
mov dword [edi], vtable.CPathEx.0
push eax
call fcn.00417b50
add esp, 0xc
mov byte [ebp - 4], 1
test eax, eax
je 0x4196e5
add eax, 4
jmp 0x4196e7
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
call fcn.00409750
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0
call fcn.004117a0
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x419746
sub esp, 8
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x264], edi
push eax
lea esi, [edi + 4]
mov dword [ebp - 0x264], esi
call fcn.00404750
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [edi], vtable.CPathEx.0
call fcn.00414f20
add esp, 8
test al, al
jne 0x419746
xor bl, bl
jmp 0x419b2c
mov eax, dword [ebp - 0x268]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x419b2a
nop word [eax + eax]
mov eax, ecx
test ecx, ecx
je 0x419b57
mov eax, dword [eax + 8]
mov ecx, dword [ecx]
lea esi, [eax - 0x10]
mov dword [ebp - 0x264], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x270], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x419799
cmp ecx, dword [esi]
jne 0x419799
lock inc dword [eax]
jmp 0x4197d7
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x419b52
mov ecx, dword [edi]
mov dword [esi + 4], ecx
mov eax, dword [edi]
lea ecx, [eax*2 + 2]
push ecx
push dword [ebp - 0x270]
lea eax, [eax*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00420890
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x2a4], esi
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
push eax
push ecx
mov ecx, dword [esi - 0x10]
lea edi, [esi - 0x10]
mov dword [ebp - 0x290], esp
mov dword [ebp - 0x274], edi
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x419817
cmp ecx, dword [edi]
jne 0x419817
lock inc dword [eax]
jmp 0x419850
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x419b52
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov eax, dword [esi - 0xc]
lea ecx, [eax*2 + 2]
push ecx
lea eax, [eax*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00420890
add esp, 0x10
mov ecx, dword [ebp - 0x290]
lea eax, [edi + 0x10]
mov dword [ecx], eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp + 8]
call fcn.0040eae0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x29c]
mov esi, eax
mov dword [ebp - 0x294], esi
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4198a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
cmp esi, 0xffffffff
je 0x419af6
nop
test al, al
je 0x419af6
mov ecx, dword [ebp - 0x260]
mov eax, dword [ebp + 0x18]
and ecx, dword [ebp + 0x1c]
and eax, dword [ebp + 0x1c]
cmp ecx, eax
jne 0x419ade
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.00403110
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push 0x6913ac
push eax
call fcn.00413320
add esp, 8
test al, al
je 0x419abc
lea eax, [ebp - 0x268]
push 0x691aac
push eax
call fcn.00413320
add esp, 8
test al, al
je 0x419abc
cmp byte [ebp + 0x20], 0
je 0x4199b5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x270], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x41994f
cmp ecx, dword [esi]
jne 0x41994f
lock inc dword [eax]
jmp 0x41998d
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x419b52
mov eax, dword [edi]
mov dword [esi + 4], eax
mov ecx, dword [edi]
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0x270]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00420890
add esp, 0x10
add esi, 0x10
mov dword [ebp - method.CISPath.virtual_0], vtable.CISPath.0
mov dword [ebp - 0x278], esi
mov esi, dword [ebp - 0x294]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 4
or ebx, 1
jmp 0x4199df
push 0x6910b0
lea ecx, [ebp - 0x280]
call fcn.00403110
mov dword [ebp - method.CISPath.virtual_0], vtable.CISPath.0
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], 5
or ebx, 2
lea eax, [ebp - 0x234]
mov dword [ebp - 0x26c], ebx
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.0040e960
mov dword [ebp - 4], 6
test eax, eax
je 0x419a08
add eax, 4
jmp 0x419a0a
xor eax, eax
mov ecx, dword [ebp - 0x298]
push eax
call fcn.0042b072
mov edx, dword [ebp - 0x288]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419a42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 4
test bl, 2
je 0x419a7f
mov edx, dword [ebp - 0x280]
and ebx, 0xfffffffd
mov dword [ebp - 0x26c], ebx
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419a7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
test bl, 1
je 0x419abc
mov edx, dword [ebp - 0x278]
and ebx, 0xfffffffe
mov dword [ebp - 0x26c], ebx
add edx, 0xfffffff0
mov dword [ebp - method.CStringEx.virtual_0], vtable.CStringEx.0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419abc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419ade
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
jmp 0x4198b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x274]
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419b1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x264]
test ecx, ecx
jne 0x419760
mov bl, 1
lea ecx, [ebp + 8]
call fcn.004117a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f4722
mov esp, ebp
pop ebp
ret
call fcn.00404b10
call fcn.00425820
int3