Function at 0x1400b9110
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140148058]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, r8
mov rbx, rdx
mov r15, rcx
lea rax, [0x140148ea8]
mov edi, 5
mov rcx, qword [0x140148ea8]
cmp rcx, rax
je 0x1400b9185
test byte [rcx + 0x1c], 1
je 0x1400b9185
cmp byte [rcx + 0x19], dil
jb 0x1400b9185
lea edx, [rdi + 0xd]
mov r9, rbx
lea r8, [0x1400090b8]
mov rcx, qword [rcx + 0x10]
call fcn.14000fda0
lea rcx, [r15 + 0x60]
cmp qword [rcx], rbx
je 0x1400b9196
mov rdx, rbx
call fcn.140028f10
lea r13, [r15 + 0x68]
mov rcx, r13
call qword [sym.imp.wmpmde.dll_MFCreateNetVRoot]
mov esi, eax
mov r14d, 2
mov rax, qword [0x140148ea8]
lea rcx, [0x140148ea8]
cmp rax, rcx
je 0x1400b91eb
test byte [rax + 0x1c], r14b
je 0x1400b91eb
movzx edx, byte [rax + 0x19]
mov ecx, r14d
test esi, esi
cmovns ecx, edi
cmp edx, ecx
jl 0x1400b91eb
lea edx, [r14 + 0x11]
mov r9d, esi
lea r8, [0x1400090b8]
mov rcx, qword [rax + 0x10]
call fcn.14000fd64
mov dword [r12], 0xc00d3813
test esi, esi
js 0x1400b9600
and qword [rbp - 0x50], 0
mov rdi, qword [r13]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140015690]
lea r8, [rbp - 0x50]
lea rdx, [0x140001288]
mov rcx, rdi
call rbx
mov esi, eax
mov r10, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp r10, rax
je 0x1400b926c
test byte [r10 + 0x1c], r14b
je 0x1400b926c
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test esi, esi
mov edx, 5
cmovns eax, edx
cmp ecx, eax
jl 0x1400b926c
mov edx, reloc.Cabinet.dll_FDICreate
mov r9d, esi
lea r8, [0x1400090b8]
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
mov dword [r12], 0xc00d3813
test esi, esi
js 0x1400b931f
movups xmm0, xmmword [0x1400019d8]
movdqu xmmword [rbp - 0x28], xmm0
and dword [rbp - 0x18], 0
xor eax, eax
mov qword [rbp - 0x46], rax
mov qword [rbp - 0x3e], rax
mov dword [rbp - 0x36], eax
mov word [rbp - 0x32], ax
mov eax, reloc.WSOCK32.dll_inet_ntoa
mov word [rbp - 0x48], ax
or eax, 0xffffffff
mov word [rbp - 0x40], ax
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x30]
mov rcx, rdi
call qword [fcn.140015690]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call rdi
mov esi, eax
mov r10, qword [0x140148ea8]
lea rax, [0x140148ea8]
cmp r10, rax
je 0x1400b9317
test byte [r10 + 0x1c], r14b
je 0x1400b9317
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test esi, esi
mov edx, 5
cmovns eax, edx
cmp ecx, eax
jl 0x1400b9317
mov edx, reloc.OLEAUT32.dll_SafeArrayUnlock
mov r9d, esi
lea r8, [0x1400090b8]
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
mov dword [r12], 0xc00d3813
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x1400b933d
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140015690]
mov rcx, rbx
call rdi
test esi, esi
js 0x1400b95fb
mov rsi, qword [r13]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.140015690]
lea r8, [r15 + 0x40]
mov edx, 0x252f
mov rcx, rsi
call rdi
mov esi, eax
mov r10, qword [0x140148ea8]
lea rax, [0x140148ea8]
mov edi, 5
cmp r10, rax
je 0x1400b93ae
test byte [r10 + 0x1c], r14b
je 0x1400b93ae
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test esi, esi
cmovns eax, edi
cmp ecx, eax
jl 0x1400b93ae
lea edx, [rdi + 0x11]
mov r9d, esi
lea r8, [0x1400090b8]
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
mov dword [r12], 0xc00d3814
test esi, esi
js 0x1400b9600
mov rsi, qword [r13]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.140015690]
lea r8, [r15 + 0x48]
mov edx, 0x2531
mov rcx, rsi
call rdi
mov esi, eax
mov r10, qword [0x140148ea8]
lea rax, [0x140148ea8]
mov edi, 5
cmp r10, rax
je 0x1400b9427
test byte [r10 + 0x1c], r14b
je 0x1400b9427
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test esi, esi
cmovns eax, edi
cmp ecx, eax
jl 0x1400b9427
lea edx, [rdi + 0x12]
mov r9d, esi
lea r8, [0x1400090b8]
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
mov dword [r12], 0xc00d3814
test esi, esi
js 0x1400b9600
mov rsi, qword [r13]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.140015690]
lea r8, [r15 + 0x50]
mov edx, 0x253b
mov rcx, rsi
call rdi
mov esi, eax
mov r10, qword [0x140148ea8]
lea r13, [0x140148ea8]
mov edi, 5
cmp r10, r13
je 0x1400b94a0
test byte [r10 + 0x1c], r14b
je 0x1400b94a0
movzx ecx, byte [r10 + 0x19]
mov eax, r14d
test esi, esi
cmovns eax, edi
cmp ecx, eax
jl 0x1400b94a0
lea edx, [rdi + 0x13]
mov r9d, esi
lea r8, [0x1400090b8]
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
mov dword [r12], 0xc00d3814
test esi, esi
js 0x1400b9607
lea rdx, [0x1400b9680]
lea rcx, [r15 + 0x78]
call fcn.1400157a0
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x1400b94f1
test byte [rcx + 0x1c], r14b
je 0x1400b94f1
cmp byte [rcx + 0x19], 4
jb 0x1400b94f1
mov edx, DispGetParam
mov r9, qword [r15 + 0x78]
lea r8, [0x1400090b8]
mov rcx, qword [rcx + 0x10]
call fcn.14000fcd0
mov rcx, r15
call fcn.1400bc4b0
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x1400b9526
test byte [rcx + 0x1c], r14b
je 0x1400b9526
cmp byte [rcx + 0x19], 4
jb 0x1400b9526
mov edx, DispGetParam
lea r8, [0x1400090b8]
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
mov rax, qword [r15]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
mov rcx, r15
call rbx
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x1400b9568
test byte [rcx + 0x1c], r14b
je 0x1400b9568
cmp byte [rcx + 0x19], 4
jb 0x1400b9568
mov edx, reloc.OLEAUT32.dll_DispGetParam
lea r8, [0x1400090b8]
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
lea rax, [r15 + 0x100]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, r15
lea r8, [0x1400bcc40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r15 + 0xf8], rax
test rax, rax
jne 0x1400b9607
mov rax, qword [0x140148ea8]
cmp rax, r13
je 0x1400b95e4
test byte [rax + 0x1c], r14b
je 0x1400b95e4
cmp byte [rax + 0x19], r14b
jb 0x1400b95e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
mov edx, 0x1c
lea r8, [0x1400090b8]
mov rcx, qword [0x140148ea8]
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
mov rax, qword [r15]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140015690]
mov rcx, r15
call rbx
jmp 0x1400b9607
mov edi, 5
lea r13, [0x140148ea8]
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x1400b9648
test byte [rcx + 0x1c], 1
je 0x1400b9648
movzx eax, byte [rcx + 0x19]
test esi, esi
cmovns r14d, edi
cmp eax, r14d
jl 0x1400b9648
mov edx, 0x1d
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1400090b8]
mov rcx, qword [rcx + 0x10]
call fcn.140011e38
mov eax, esi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140001000
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret