Function at 0x1400041e0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x368], rbx
mov rax, qword [0x140020030]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rbx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x28], r13
lea ecx, [r13 + 0x10]
call qword [sym.imp.mfc100u.dll_CTagManager::CTagManager]
test rax, rax
je 0x1400044de
mov qword [rsp + 0x28], rax
mov qword [rax], r13
mov qword [rax + 8], r13
lea rcx, [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov qword [rax], rcx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400042af
lea rcx, [rax - 1]
cmp rax, rcx
ja 0x140004299
lea rcx, str.invalid_string_position
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
cmp qword [rbx + 0x18], 8
jb 0x1400042a5
mov rax, qword [rbx]
jmp 0x1400042a8
mov rax, rbx
cmp word [rax + rcx*2], 0x5c
je 0x1400042c4
mov r8d, 1
lea rdx, [0x140016d10]
mov rcx, rbx
call fcn.140002320
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140008270
mov rdi, rax
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x140004362
cmp qword [rbp - 0x78], 8
jb 0x140004304
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
cmp qword [rdi + 0x18], 8
jae 0x140004337
mov r8, qword [rdi + 0x10]
inc r8
add r8, r8
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR100.dll_memmove]
jmp 0x140004342
mov rax, qword [rdi]
mov qword [rsp + 0x70], rax
mov qword [rdi], r13
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x80], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x78], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r13
mov word [rdi], r13w
cmp qword [rbp - 0x50], 8
jb 0x140004373
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov dword [rbp - 0x40], r13d
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp - 0x3c]
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140004420
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.140006a80
nop
cmp qword [rbp - 0x78], 8
jb 0x1400043cb
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
lea rcx, [rsp + 0x28]
call fcn.140007ad0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsp + 0x28], r13
cmp qword [rsi + 0x18], 8
jb 0x140004407
mov rcx, qword [rsi]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
jmp 0x14000450e
test byte [rbp - 0x40], 0x10
jne 0x140004456
lea r8, [rbp - 0x14]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.1400033b0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140006b30
nop
cmp qword [rbp - 0x50], 8
jb 0x140004456
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140004420
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.140006a80
nop
cmp qword [rbp - 0x78], 8
jb 0x140004490
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
lea rcx, [rsp + 0x28]
call fcn.140007ad0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsp + 0x28], r13
cmp qword [rsi + 0x18], 8
jb 0x1400044cc
mov rcx, qword [rsi]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
jmp 0x14000450e
mov qword [rsp + 0x20], r13
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCR100.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea r11, vtable.std::bad_alloc.0
mov qword [rbp - 0x68], r11
lea rdx, [0x14001deb8]
lea rcx, [rbp - 0x68]
call sub.MSVCR100.dll__CxxThrowException
nop
cmp qword [rbx + 0x18], 8
jb 0x14000451e
mov rcx, qword [rbx]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
mov rax, r12
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140012160
mov rbx, qword [rsp + 0x368]
add rsp, 0x320
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret