Function at 0x14000f2c0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rsi
push r12
sub rsp, 0x38
cmp byte [0x140143d28], 0
mov r12d, edx
mov rsi, rcx
jne 0x14000f2e1
xor eax, eax
add rsp, 0x38
pop r12
pop rsi
ret
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x30], rdi
mov edi, dword gs:[0x48]
cmp dword [0x1401430c0], edi
je 0x14000f308
mov rcx, qword [0x1401430c8]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor ebp, ebp
mov qword [rsp + 0x50], rbx
cmp word [rsi], bp
jne 0x14000f318
mov ebx, ebp
jmp 0x14000f372
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
lea rcx, [0x140143150]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x20], 3
call fcn.14004d390
mov rbx, rax
test rax, rax
jne 0x14000f372
mov r9d, dword [rsp + 0x68]
mov eax, ebp
lea rcx, [0x140143150]
cmp byte [rsp + 0x60], al
mov rdx, rsi
setne al
xor r8d, r8d
inc eax
mov dword [rsp + 0x20], eax
call fcn.14004d950
mov rbx, rax
test r12d, r12d
je 0x14000f3cf
cmp byte [rbx + 0x23], 4
je 0x14000f501
mov rcx, qword [0x14013df50]
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
call qword [sym.imp.MSVCR100.dll_realloc]
test rax, rax
je 0x14000f4eb
cmp dword [0x1401430c0], edi
mov qword [0x14013df50], rax
je 0x14000f3bf
mov rcx, qword [0x1401430c8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [0x14013df50]
mov rdx, rax
mov rcx, rbx
call fcn.140001000
jmp 0x14000f578
movzx ecx, byte [rbx + 0x23]
cmp cl, 4
je 0x14000f3fb
test cl, cl
jne 0x14000f3e2
mov rax, qword [rbx + 0x10]
jmp 0x14000f3e5
mov rax, rbx
test byte [rax + 0x21], 0xa
jne 0x14000f3fb
cmp qword [rax + 0x10], rbp
setne bpl
test ebp, ebp
je 0x14000f501
mov rax, qword [rbx + 8]
cmp word [rax], 0
jne 0x14000f4bf
cmp cl, 4
jne 0x14000f418
mov rdx, rsi
xor ecx, ecx
call qword [rbx + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x14000f425
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x14000f425
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14013df50]
lea rdx, [rax + 0x101]
call qword [sym.imp.MSVCR100.dll_realloc]
test rax, rax
je 0x14000f4eb
movzx ecx, byte [rbx + 0x23]
mov qword [0x14013df50], rax
cmp cl, 4
jne 0x14000f48e
mov r8, qword [rbx + 0x18]
lea rcx, [0x1400874b0]
mov rdx, rsi
cmp r8, rcx
mov rcx, rax
jne 0x14000f486
add qword [0x14013b0f8], 0x150
call r8
sub qword [0x14013b0f8], 0x150
jmp 0x14000f55c
call r8
jmp 0x14000f55c
test cl, cl
jne 0x14000f4a6
mov rcx, qword [rbx + 0x10]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.140001000
jmp 0x14000f55c
cmp cl, 1
jne 0x14000f55c
mov rcx, qword [rbx]
mov rdx, rax
call fcn.140001000
jmp 0x14000f55c
cmp cl, 4
jne 0x14000f4ce
mov rdx, rsi
xor ecx, ecx
call qword [rbx + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x14000f4d6
mov rax, qword [rbx + 0x10]
add rax, 2
mov rcx, qword [0x14013df50]
mov rdx, rax
call qword [sym.imp.MSVCR100.dll_realloc]
test rax, rax
jne 0x14000f51f
lea rdx, str.Out_of_memory.
lea rcx, [0x140143150]
mov r8, rsi
call fcn.14005f7b0
cmp dword [0x1401430c0], edi
je 0x14000f516
mov rcx, qword [0x1401430c8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rax, [0x1401035ac]
jmp 0x14000f578
movzx ecx, byte [rbx + 0x23]
mov qword [0x14013df50], rax
test cl, cl
jne 0x14000f53c
mov rcx, qword [rbx + 0x10]
mov rdx, rax
call fcn.1400e7270
jmp 0x14000f55c
cmp cl, 1
jne 0x14000f54e
mov rdx, rax
mov rcx, rbx
call fcn.1400e7270
jmp 0x14000f55c
cmp cl, 4
jne 0x14000f55c
mov rdx, rsi
mov rcx, rax
call qword [rbx + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp dword [0x1401430c0], edi
je 0x14000f571
mov rcx, qword [0x1401430c8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [0x14013df50]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rsi
ret