Function at 0x18000daf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x100
movzx ebx, byte [rbp + 0x77]
lea eax, [r9 + 7]
mov dword [rsp + 0x30], eax
mov rdi, r8
mov r13, rdx
mov r8, rcx
cmp r9d, eax
jae case.0x18000db7c.2
mov r12, qword [rbp + 0x7f]
lea edx, [r9 - 0x6b]
mov r14, qword [rbp - 0x59]
lea rsi, [0x180000000]
mov r15, qword [rbp - 0x59]
mov ecx, eax
mov dword [rsp + 0x34], edx
mov byte [rbp + 0x77], bl
lea r11, str.writeUcs2String
lea r10, str.Block_Layout
lea r9, [0x18002da2c]
cmp edx, 0x15
ja case.default.0x18000db7c
mov ecx, dword [rsi + rdx*4 + 0xdfc0]
add rcx, rsi
jmp rcx
mov qword [rsp + 0x28], 0
lea r8, [0x18000d5d0]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi], rax
test rax, rax
jne 0x18000df84
jmp 0x18000dfa5
cmp dword [r8], 5
je 0x18000dbc3
test byte [rdi], 2
je case.0x18000db7c.3
mov ebx, dword [rsp + 0x58]
mov esi, 0xfe
nop dword [rax]
cmp esi, 0xfe
je 0x18000dc94
cmp esi, 0x2da4
jne 0x18000dd20
test bl, 1
je 0x18000dbfe
lea rcx, str.pc_____void__0_
call fcn.180025240
jmp 0x18000dd20
mov edi, 0x126
mov eax, edi
sub eax, 0x125
je 0x18000dc71
cmp eax, 1
jne 0x18000dc81
mov ecx, dword [r12]
lea r8, [rbp - 0x51]
add ecx, dword [0x180037cbc]
lea rdx, [rsp + 0x38]
movsd xmm0, qword [rbp - 0x41]
mov dword [rsp + 0x38], ecx
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x20], r9
lea r9d, [rax + 0x2d]
movsd qword [rbp - 0x49], xmm0
call fcn.18000a260
cmp dword [0x18003ae38], 0
lea rdx, str.file:nbdssl:nbd
mov r14, rax
lea rcx, str._s:__s_n
lea rax, str.VSGLayoutObject.__vecDelDtor
mov r8, r14
cmovne rdx, rax
call fcn.180025240
jmp 0x18000dc7a
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r9, [0x18002da2c]
dec edi
cmp edi, 0x124
ja 0x18000dc03
jmp 0x18000dd20
movsd xmm0, qword [r13]
lea r9, [rbp - 0x31]
mov eax, dword [r13 + 8]
xor r8d, r8d
xor ecx, ecx
movsd qword [rbp - 0x31], xmm0
mov dword [rbp - 0x29], eax
lea edx, [r8 + 0x7e]
call fcn.18000fa70
movsd xmm0, qword [r13]
lea rdx, [rbp - 0x21]
mov eax, dword [r13 + 8]
mov r9d, 0x64
xor r8d, r8d
movsd qword [rbp - 0x21], xmm0
xor ecx, ecx
mov dword [rbp - 0x19], eax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 4
call fcn.18000ae60
mov dword [rsp + 0x50], eax
lea r8, [rbp + 0xf]
lea rax, [rbp - 0x41]
mov r9d, 0x43
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.180024000
mov ebx, eax
add esi, 0x2ca6
lea r9, [0x18002da2c]
cmp esi, 0x594c
jbe 0x18000dbd0
mov dword [rsp + 0x58], ebx
jmp 0x18000df75
mov rcx, qword [rdi + 0x10]
call fcn.180025494
jmp 0x18000df84
mov ebx, 0x2b
mov eax, ebx
sub eax, 0x27
je 0x18000dd8e
sub eax, 1
je 0x18000dd95
sub eax, 3
je 0x18000dd86
cmp eax, 4
jne 0x18000dd8e
mov rax, qword [0x18003ae08]
test rax, rax
je 0x18000dd8e
mov rcx, qword [rdi]
xor edx, edx
mov r8d, 0x8000
call rax
jmp 0x18000dd8e
mov eax, 1
xchg dword [rdi + 0xc], eax
inc ebx
cmp ebx, 0x2f
jb 0x18000dd55
mov bl, 1
mov byte [rbp + 0x77], bl
jmp 0x18000df84
mov dword [rdi + 4], 0
jmp case.0x18000db7c.3
mov eax, dword [r8]
cmp eax, 6
je 0x18000ddc5
test byte [rdi], 4
je case.0x18000db7c.3
cmp eax, 5
je case.0x18000db7c.3
mov ebx, dword [rbp - 0x61]
mov esi, 0x1e
nop dword [rax]
cmp esi, 0x1e
je 0x18000df27
cmp esi, 0x1446
je 0x18000dec3
cmp esi, 0x286e
jne 0x18000df4b
test bl, 1
je 0x18000de07
lea rcx, str.vid_04f2pid_b368
call fcn.180025240
jmp 0x18000df4b
mov edi, 0x95
nop dword [rax]
mov eax, edi
sub eax, 0x95
je 0x18000de63
cmp eax, 1
jne 0x18000deb0
mov eax, dword [0x18003ae38]
lea r9, [0x180031c10]
mov r8d, dword [0x180037cb8]
lea rdx, str.Havdalah
test eax, eax
mov qword [rsp + 0x20], r15
lea rcx, str.428_429_FWAA
cmovne r9, r10
cmovne rdx, r11
call fcn.180025240
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000de9b
mov ecx, dword [r12]
lea r8, [rbp - 0x4d]
add ecx, dword [0x180037cb8]
lea rdx, [rsp + 0x60]
movsd xmm0, qword [rbp - 0x59]
mov dword [rsp + 0x60], ecx
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x20], r9
mov r9d, 0x2e
movsd qword [rbp - 0x39], xmm0
call fcn.18000a260
mov r15, rax
lea r11, str.writeUcs2String
lea r10, str.Block_Layout
lea r9, [0x18002da2c]
inc edi
cmp edi, 0x97
jb 0x18000de10
jmp 0x18000df4b
movsd xmm0, qword [r13]
lea rdx, [rbp - 0x11]
mov eax, dword [r13 + 8]
mov r9d, 0x64
xor r8d, r8d
movsd qword [rbp - 0x11], xmm0
xor ecx, ecx
mov dword [rbp - 9], eax
mov dword [rbp - 0x79], 0
mov dword [rbp - 0x71], 4
call fcn.18000ae60
mov dword [rbp - 0x69], eax
lea r8, [rbp + 0x17]
lea rax, [rbp - 0x59]
mov r9d, 0x43
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x71]
lea rax, [rbp - 0x79]
lea rcx, [rbp - 0x69]
mov qword [rsp + 0x20], rax
call fcn.180024000
mov ebx, eax
jmp 0x18000df4b
movsd xmm0, qword [r13]
lea r9, [rbp - 1]
mov eax, dword [r13 + 8]
xor r8d, r8d
xor ecx, ecx
movsd qword [rbp - 1], xmm0
mov dword [rbp + 7], eax
lea edx, [r8 + 0x7e]
call fcn.18000fa70
add esi, 0x1428
lea r9, [0x18002da2c]
lea r10, str.Block_Layout
lea r11, str.writeUcs2String
cmp esi, 0x3c78
jbe 0x18000ddd0
mov dword [rbp - 0x61], ebx
mov rdi, qword [rbp + 0x6f]
lea rsi, [0x180000000]
movzx ebx, byte [rbp + 0x77]
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
inc edx
mov dword [rsp + 0x34], edx
lea eax, [rdx + 0x6b]
cmp eax, ecx
jae case.0x18000db7c.2
mov r8, qword [rbp + 0x5f]
jmp 0x18000db54
movzx eax, bl
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret