Function at 0x140210110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x140302028]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rsi, r9
mov dword [rsp + 0x48], r8d
mov r13, rdx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x88], r9
xor edi, edi
mov dword [rsp + 0x50], edi
mov rax, qword [rdx + 0x10]
mov ecx, edi
mov edx, 3
test rax, rax
cmove ecx, edx
je 0x1402106cc
lea r12, [0x14023f1d0]
test r9, r9
je 0x140210195
mov dword [r9], edi
mov byte [r9 + 4], dil
mov qword [r9 + 8], r12
mov qword [rsp + 0x30], rdi
mov ecx, 0x40
test rsi, rsi
jne 0x14021032c
call fcn.14009f0b0
mov rbx, rax
test rax, rax
je 0x1402101e8
mov dword [rax], edi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], 7
mov word [rax + 8], di
mov dword [rax + 0x28], edi
mov qword [rax + 0x2c], 0xffff
mov dword [rax + 0x34], 0xffff
mov qword [rax + 0x38], rdi
mov eax, 1
lock xadd dword [rbx], eax
jmp 0x1402101eb
mov rbx, rdi
mov qword [rsp + 0x30], rbx
movdqa xmm0, xmmword [0x140239780]
movdqu xmmword [rsp + 0xd8], xmm0
mov word [rsp + 0xc8], di
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], 0xffff
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x44], 0xffff
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x14021022f
mov rdx, qword [r13]
movdqa xmm0, xmmword [0x140239780]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + reloc.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_], di
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp word [rdx + r8*2], 0
jne 0x140210252
lea rcx, [rsp + reloc.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
call fcn.140074a60
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
lea r8, [rsp + reloc.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
lea rdx, [rbx + 0x38]
lea rcx, [rsp + 0x70]
call fcn.14020fdf0
nop
lea rcx, [rsp + reloc.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
call fcn.140074800
nop
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x14021045b
mov dword [rsp + 0x60], reloc.WS2_32.dll_listen
mov byte [rsp + 0x64], 1
lea rax, [0x14023f1e0]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
call qword [rax + 0x18]
test al, al
jne 0x1402102fe
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + 0x70]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x140210309
test byte [rsp + 0x48], 1
jne 0x1402103c9
mov ecx, dword [rsp + 0x70]
test ecx, ecx
jne 0x1402103b6
test rsi, rsi
je 0x1402103c9
mov dword [rsi], edi
mov byte [rsi + 4], cl
mov qword [rsi + 8], r12
jmp 0x1402103c9
lea rdx, [0x14030df18]
call fcn.14022e1a4
mov rbx, rax
test rax, rax
je 0x140210373
mov dword [rax], edi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], 7
mov word [rax + 8], di
mov dword [rax + 0x28], edi
mov qword [rax + 0x2c], 0xffff
mov dword [rax + 0x34], 0xffff
mov qword [rax + 0x38], rdi
mov eax, 1
lock xadd dword [rbx], eax
jmp 0x140210376
mov rbx, rdi
mov qword [rsp + 0x30], rbx
test rbx, rbx
jne 0x1402101f0
mov dword [rsp + 0x98], send
mov byte [rsp + 0x9c], 1
lea rax, [0x14023f1e0]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi], xmm0
jmp 0x1402106de
lea r9, str.boost::filesystem::directory_iterator::construct
mov r8, rsi
mov rdx, r13
call fcn.140211340
nop
mov rdx, qword [rsp + 0xe0]
cmp rdx, 8
jb 0x140210415
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14021040f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14021040f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f0ec
nop
test rbx, rbx
je 0x140210456
lock xadd dword [rbx], r15d
lea eax, [r15 - 1]
test eax, eax
jne 0x140210456
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14021043a
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx + 0x38], rdi
mov rbx, qword [rsp + 0x30]
lea rcx, [rbx + 8]
call fcn.140074800
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14009f0ec
jmp 0x1402106de
mov r14, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xe0]
cmp qword [rbx + 0x38], 0
je 0x14021063d
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov qword [rcx], rbx
mov rbx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf8], xmm0
lea rcx, [rsp + 0xc8]
cmp r12, 8
cmovae rcx, r14
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0xd8]
cmp rax, 8
jae 0x1402104dc
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], 7
jmp 0x140210557
or rax, 7
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
cmova rax, rcx
mov qword [rsp + 0x80], rax
lea rdx, [rax + 1]
lea rcx, [rsp + 0xe8]
call fcn.140074890
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0xd8]
lea r8, [r8*2 + 2]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
mov rdx, r13
lea rcx, [rsp + 0x108]
call fcn.140086800
mov dword [rsp + 0x50], 1
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x108]
call fcn.14020d100
mov rax, qword [rsp + 0x58]
mov r13, qword [rax]
add r13, 8
lea rax, [rsp + 0x108]
cmp r13, rax
je 0x1402105c7
lea rdx, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rdx, qword [rsp + 0x108]
mov r8, qword [rsp + 0x118]
mov rcx, r13
call fcn.140074a60
mov eax, dword [rsp + 0x38]
mov dword [r13 + 0x20], eax
mov eax, dword [rsp + 0x3c]
mov dword [r13 + 0x24], eax
mov eax, dword [rsp + 0x40]
mov dword [r13 + 0x28], eax
mov eax, dword [rsp + 0x44]
mov dword [r13 + 0x2c], eax
lea rcx, [rsp + 0x108]
call fcn.140074800
nop
lea rcx, [rsp + 0xe8]
call fcn.140074800
nop
lea rax, [rsp + 0xc8]
cmp r12, 8
cmovae rax, r14
cmp word [rax], 0x2e
jne 0x14021063d
movzx edx, word [rax + 2]
test dx, dx
je 0x14021062f
cmp dx, 0x2e
jne 0x14021063d
cmp word [rax + 4], 0
jne 0x14021063d
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.140210710
nop
cmp r12, 8
jb 0x14021067c
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140210673
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140210673
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14009f0ec
nop
jmp 0x140210689
test rbx, rbx
je 0x1402106de
lock xadd dword [rbx], r15d
lea eax, [r15 - 1]
test eax, eax
jne 0x1402106de
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1402106b3
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx + 0x38], rdi
lea rcx, [rbx + 8]
call fcn.140074800
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14009f0ec
jmp 0x1402106de
lea r9, str.boost::filesystem::directory_iterator::construct
mov r8, rsi
mov rdx, r13
call fcn.140211340
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14009f440
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret