Function at 0x1800037b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3d0
mov rax, qword [0x180046010]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r14d, r14d
mov dword [rbp - 0x80], r14d
lea rbx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x18], rbx
lea r15, vtable.CVolObject.0
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r12, vtable.CVolMem.0
mov qword [rbp - 0x18], r12
mov qword [rbp], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r14
mov qword [rbp + 0x18], 0x40
mov dword [rsp + 0xa8], WSACleanup
mov dword [rsp + 0xa0], 3
mov dword [rsp + 0x98], 0x40
mov dword [rsp + 0x90], WSACleanup
mov dword [rsp + 0x88], 0x40
mov dword [rsp + 0x80], 0xa8
mov dword [rsp + 0x78], 0xbb
mov dword [rsp + 0x70], 0xa8
mov dword [rsp + 0x68], WSACleanup
mov dword [rsp + 0x60], 0x77
mov dword [rsp + 0x58], 0x79
mov dword [rsp + 0x50], 0xa7
mov dword [rsp + 0x48], 0xb5
mov dword [rsp + 0x40], 0xa4
mov dword [rsp + 0x38], 0xb8
mov dword [rsp + 0x30], 0x8a
mov dword [rsp + 0x28], 0x96
mov dword [rsp + 0x20], 3
lea edx, [r14 + 0x14]
lea r9d, [r14 + 0x63]
lea r8d, [r14 + 0x73]
lea rcx, [rbp - 0x18]
call fcn.180014e50
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.180006360
mov rsi, rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea rax, vtable.CWString.0
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x20], 0x40
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x20], 0xfe
mov dword [rbp - 0x80], 1
mov word [rbp + 0x80], r14w
mov r8d, 0x104
lea rdx, [rbp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdi, [0x18003cf5c]
test eax, eax
je 0x180003a03
lea edx, [r14 + 0x5c]
lea rcx, [rbp + 0x80]
call fcn.1800185b0
test rax, rax
lea rbx, [rbp + 0x80]
je 0x18000399d
lea rbx, [rax + 2]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1800039af
mov rdx, rax
jmp 0x1800039bb
mov rdx, rdi
cmp qword [rbp - 0x28], 0
cmovne rdx, rcx
cmp rbx, rdx
je 0x180003a0b
mov rax, r14
mov qword [rbp - 0x58], rax
test rcx, rcx
je 0x1800039de
mov rdx, rcx
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax + 0x18]
mov rax, qword [rbp - 0x58]
mov rcx, r14
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r14
test rbx, rbx
je 0x180003a0b
cmp word [rbx], cx
je 0x180003a0b
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.180014ec0
mov rax, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rsi + 0x18]
test rdx, rdx
jne 0x180003a21
cmp qword [rsi + 0x48], rdx
mov rdx, rdi
je 0x180003a21
mov rdx, qword [rsi + 0x38]
test rax, rax
jne 0x180003a31
cmp qword [rbp - 0x28], rax
cmovne rdi, rcx
mov rax, rdi
sub rdx, rax
movzx ebx, word [rax]
movzx ecx, word [rax + rdx]
sub ebx, ecx
jne 0x180003a47
add rax, 2
test ecx, ecx
jne 0x180003a34
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x80], eax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x50], r12
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x180003a72
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax + 0x18]
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x70], r15
lea rax, [rbp + 0x40]
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x40], r12
mov rdx, qword [rbp + 0x58]
test rdx, rdx
je 0x180003aa6
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x40]
call qword [rax + 0x18]
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x20], r15
mov qword [rbp - 0x18], r12
mov rdx, qword [rbp]
test rdx, rdx
je 0x180003ad2
lea rcx, [rbp - 0x18]
mov rax, qword [rbp - 0x18]
call qword [rax + 0x18]
mov qword [rbp], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 8], r14
mov qword [rbp - 0x18], r15
test ebx, ebx
jne 0x180003b46
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x1800026a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180003b16
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x180005ef0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180003b46
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.180016710
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret