Function at 0x40b850
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b867
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x45f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x1c9], dl
push ecx
lea ecx, [ebp - 0x58]
call fcn.00408f90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
mov ecx, 2
mov dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x48], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1e8], xmm0
cmovb ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 0xf
push ecx
cmova eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x1e8]
push eax
mov dword [ebp - 0x1d4], 0
call fcn.00409b20
mov edi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1e8]
mov esi, dword [ebp - 0x1e8]
cmp edi, 0xf
mov edx, dword [ebp - 0x1d8]
push 2
cmova ecx, esi
push 0x456a98
call fcn.0040ac50
add esp, 8
mov byte [ebp - 0x1ca], al
cmp edi, 0xf
jbe 0x40b952
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40b942
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
push ecx
push esi
call fcn.0042980f
mov al, byte [ebp - 0x1ca]
add esp, 8
test al, al
je 0x40b968
cmp dword [ebp - 0x48], 0x104
jae 0x40c12f
jmp 0x40b9f2
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x103
jb 0x40b9f2
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 4
jb 0x40c17f
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
push ecx
cmova eax, dword [ebp - 0x58]
push eax
push 4
push str.__
push ecx
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x88]
call fcn.00409ec0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x40b9dd
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
push ecx
push edx
call fcn.0042980f
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0x48], xmm0
lea eax, [ebp - 0x58]
push eax
call fcn.00407a90
test al, al
je 0x40c12f
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
push 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004297df
lea ecx, [ebp - 0x28]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40ba6a
push ecx
call fcn.0040c9f0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x1c], ecx
lea edi, [esi + ecx]
mov ecx, dword [ebp - 0x24]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x40baa3
push 0x18
call fcn.004297df
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
lea eax, [edx - 1]
and eax, edi
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ecx + eax*4]
call fcn.00408f90
add dword [ebp - 0x18], 1
je 0x40c127
nop
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
dec ecx
and ecx, dword [ebp - 0x1c]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x40]
call fcn.00408f90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
dec ecx
and ecx, dword [ebp - 0x1c]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x40bb19
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x40bb0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
mov eax, edx
push ecx
push eax
call fcn.0042980f
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
sub dword [ebp - 0x18], 1
jne 0x40bb39
mov dword [ebp - 0x1c], 0
jmp 0x40bb3c
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 2
jb 0x40c17f
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push 2
cmova eax, dword [ebp - 0x40]
push 0x456aa4
push ecx
push eax
push ecx
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1e8]
call fcn.00409ec0
cmp dword [ebp - 0x1d4], 0xf
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x1e8]
cmova eax, dword [ebp - 0x1e8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebp - 0x1d4]
mov edi, eax
mov dword [ebp - 0x1d0], edi
cmp ecx, 0xf
jbe 0x40bbd9
mov edx, dword [ebp - 0x1e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bbcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
push ecx
push edx
call fcn.0042980f
add esp, 8
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0xf
mov byte [ebp - 0x1e8], 0
cmp edi, 0xffffffff
je 0x40c0e9
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmova ecx, dword [ebp - 0x40]
add eax, ecx
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
cmova ecx, dword [ebp - 0x40]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040b5a0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0041c3a0
nop word [eax + eax]
mov ecx, 0x456960
lea eax, [ebp - 0x19c]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40bc70
test dl, dl
je 0x40bc6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40bc70
add eax, 2
add ecx, 2
test dl, dl
jne 0x40bc50
xor eax, eax
jmp 0x40bc75
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c08b
mov eax, 0x456964
lea ecx, [ebp - 0x19c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40bca8
test dl, dl
je 0x40bca4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40bca8
add ecx, 2
add eax, 2
test dl, dl
jne 0x40bc88
xor eax, eax
jmp 0x40bcad
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c08b
mov ecx, dword [ebp - 0x30]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x40c17f
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push 1
cmova eax, dword [ebp - 0x40]
push 0x456aa8
push ecx
push eax
push ecx
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x21c]
call fcn.00409ec0
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x21c]
call fcn.00408e90
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x208]
cmp ecx, 0xf
jbe 0x40bd79
mov edx, dword [ebp - 0x21c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bd6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
push ecx
push edx
call fcn.0042980f
add esp, 8
test byte [ebp - 0x1c8], 0x10
lea eax, [ebp - 0x70]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0xf
mov byte [ebp - 0x21c], 0
push eax
je 0x40be26
call fcn.00407a90
test al, al
je 0x40c053
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40bdce
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040c9f0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x1c], ecx
lea edi, [esi + ecx]
mov ecx, dword [ebp - 0x24]
and eax, edi
cmp dword [ecx + eax*4], 0
lea esi, [eax*4]
jne 0x40be07
push 0x18
call fcn.004297df
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
lea eax, [edx - 1]
and eax, edi
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ecx + eax*4]
call fcn.00408f90
inc dword [ebp - 0x18]
mov edi, dword [ebp - 0x1d0]
jmp 0x40c053
call fcn.00407840
test al, al
je 0x40c053
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x204]
push eax
call fcn.00408f90
cmp byte [ebx + 8], 0
mov al, byte [ebp - 0x1c9]
mov byte [ebp - 0x1ec], al
je 0x40bf53
xorps xmm0, xmm0
mov byte [ebp - 0x22c], al
movups xmmword [ebp - 0x244], xmm0
lea eax, [ebp - 0x248]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__public:_static_bool___cdecl_FileUtils::process_directory_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___bool__bool_::_40::_lambda_1___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__public:_static_bool___cdecl_FileUtils::process_directory_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___bool__bool_::_40::_lambda_1___void___.0
movups xmm0, xmmword [ebp - 0x204]
mov byte [ebp - 0x204], 0
mov dword [ebp - 0x224], eax
movups xmmword [ebp - 0x244], xmm0
movq xmm0, qword [ebp - 0x1f4]
movq qword [ebp - 0x234], xmm0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0xf
mov byte [ebp - 4], 8
mov eax, 1
mov ecx, 0x462cfc
lock xadd dword [ecx], eax
push 0x28
call fcn.004297df
mov esi, eax
add esp, 4
xorps xmm0, xmm0
lea eax, [ebp - 0x248]
mov ecx, esi
movups xmmword [esi], xmm0
push eax
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
call fcn.00427200
push 0
push esi
push 0
push dword [0x462cf0]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x40bf3a
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x40bf23
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
push 0x28
push esi
call fcn.0042980f
add esp, 8
or eax, 0xffffffff
mov ecx, 0x462cfc
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x40c053
lea eax, [ebp - 0x248]
jmp 0x40c045
xorps xmm0, xmm0
mov byte [ebp - 0x254], al
movups xmmword [ebp - 0x26c], xmm0
lea eax, [ebp - 0x270]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__public:_static_bool___cdecl_FileUtils::process_directory_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___bool__bool_::_42::_lambda_2___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__public:_static_bool___cdecl_FileUtils::process_directory_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___bool__bool_::_42::_lambda_2___void___.0
movups xmm0, xmmword [ebp - 0x204]
mov byte [ebp - 0x204], 0
mov dword [ebp - 0x24c], eax
movups xmmword [ebp - 0x26c], xmm0
movq xmm0, qword [ebp - 0x1f4]
movq qword [ebp - 0x25c], xmm0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0xf
mov byte [ebp - 4], 0xa
mov eax, 1
mov ecx, 0x462ce8
lock xadd dword [ecx], eax
push 0x28
call fcn.004297df
mov esi, eax
add esp, 4
xorps xmm0, xmm0
lea eax, [ebp - 0x270]
mov ecx, esi
movups xmmword [esi], xmm0
push eax
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
call fcn.00427200
push 0
push esi
push 0
push dword [0x462cdc]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x40c035
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x40c01e
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
push 0x28
push esi
call fcn.0042980f
add esp, 8
or eax, 0xffffffff
mov ecx, 0x462ce8
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x40c053
lea eax, [ebp - 0x270]
mov edx, dword [ecx]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x40c08b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c081
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
push ecx
push edx
call fcn.0042980f
add esp, 8
lea eax, [ebp - 0x1c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40bc40
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x40c0e9
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c0df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
push ecx
push edx
call fcn.0042980f
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40c11d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c113
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
push ecx
push edx
call fcn.0042980f
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x40bac0
lea ecx, [ebp - 0x28]
call fcn.0040c5b0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x40c15f
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c155
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c184
push ecx
push edx
call fcn.0042980f
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004297d1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402150
call fcn.0042e68f
int3