Function at 0x140056400
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f]
sub rsp, 0x90
xor ebx, ebx
lea rax, [0x140144f30]
lea rdx, [0x14016b200]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rdx
mov esi, ebx
mov byte [rbp - 1], bl
mov r12d, ebx
mov qword [rbp - 0x29], rbx
mov r13, r9
mov qword [rbp - 0x39], rbx
mov r14, r8
mov qword [rbp - 0x19], rbx
mov rdi, rcx
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x14005649e
test byte [rcx + 0x1c], 1
je 0x14005649e
cmp byte [rcx + 0x19], 4
jb 0x14005649e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x220
call fcn.14000c0e8
mov rcx, qword [0x14016a048]
lea rdx, [0x14016b200]
mov r15, qword [rbp + 0x87]
test r15, r15
jne 0x1400564b4
mov ebx, 0x80004003
jmp 0x1400567a7
test r13, r13
je 0x1400564aa
mov rcx, rdx
mov qword [r15], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov byte [rbp - 1], 1
cmp qword [rdi + 0x10], rbx
jne 0x1400564df
mov ebx, 0x8078000a
jmp 0x1400567a0
test r14, r14
cmove r14, qword [rdi + 0x10]
cmp byte [rdi + 0x18], bl
je 0x14005653c
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x140056532
test byte [rcx + 0x1c], 1
je 0x140056532
cmp byte [rcx + 0x19], 2
jb 0x140056532
mov eax, dword [rdi + 8]
lea r8, [0x14014b118]
mov r9d, dword [rdi + 0x38]
mov edx, 0x221
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14004075c
mov rcx, qword [0x14016a048]
mov ebx, 0x80780017
jmp 0x1400567ae
lea rcx, [rbp - 0x29]
call fcn.14004641c
mov ebx, eax
test eax, eax
jns 0x14005659b
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x140056592
test byte [rcx + 0x1c], 1
je 0x140056592
cmp byte [rcx + 0x19], 2
jb 0x140056592
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x222
mov r9d, eax
call fcn.14000c114
mov rcx, qword [0x14016a048]
mov rsi, qword [rbp - 0x29]
jmp 0x1400567ae
mov rsi, qword [rbp - 0x29]
jmp 0x1400567ae
mov rsi, qword [rbp - 0x29]
lea r12, [rsi + 0x88]
mov rax, qword [r12]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
mov rcx, r12
call qword [vtable.H_MA8HI.0]
mov rdx, r14
mov rcx, rsi
call fcn.14000ba78
mov rdx, qword [rbp + 0x77]
mov rcx, rsi
call fcn.14000bad8
mov ebx, eax
test eax, eax
js 0x14005679c
mov rax, qword [r12]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rbp - 0x39]
lea rdx, [0x14015a628]
mov rcx, r12
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
jns 0x140056654
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x14005664b
test byte [rcx + 0x1c], 1
je 0x14005664b
cmp byte [rcx + 0x19], 2
jb 0x14005664b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x223
mov r9d, eax
call fcn.14000c114
mov rcx, qword [0x14016a048]
mov r12, qword [rbp - 0x19]
jmp 0x1400567ae
mov rax, qword [rbp + 0x3f]
lea r8, [rbp - 0x29]
mov r9, r13
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
mov eax, dword [rbp + 0x7f]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x67]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x6f]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x5f]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x57]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x29], xmm0
call fcn.140076f00
xor r13d, r13d
mov ebx, eax
test eax, eax
js 0x14005679c
mov qword [rsp + 0x28], r13
lea r8, [0x1400757d0]
mov r9, rsi
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov r12, rax
test rax, rax
jne 0x14005672f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
cmp rcx, r14
je 0x14005671c
test byte [rcx + 0x1c], 1
je 0x14005671c
cmp byte [rcx + 0x19], 2
jb 0x14005671c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x224
mov r9d, eax
call fcn.14000c23c
mov rcx, qword [0x14016a048]
test ebx, ebx
jle 0x1400567ae
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1400567ae
lea r14, [rdi + 0x30]
mov byte [rdi + 0x18], 1
cmp qword [rdi + 0x28], r13
jne 0x140056742
cmp qword [r14], r13
je 0x14005675a
lea r8, str.m_pAsyncHelper__NULL__m_pAsyncRef__NULL
mov edx, 0x2c24
lea rcx, str.base_stor_blbengine_serviceengine.cpp
call fcn.140088f60
mov rcx, qword [rbp - 0x39]
mov qword [rdi + 0x28], rsi
mov rsi, r13
mov qword [r14], rcx
mov rax, qword [rcx]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [vtable.H_MA8HI.0]
mov rax, qword [rbp - 0x39]
lea rcx, [rbp - 0x11]
mov dword [rdi + 0x38], 6
mov qword [r15], rax
mov qword [rbp - 0x39], r13
call fcn.140054a84
jmp 0x1400567a0
mov r12, qword [rbp - 0x19]
mov rcx, qword [0x14016a048]
lea r14, [0x14016a048]
mov rdx, qword [rbp - 0x39]
test rdx, rdx
je 0x1400567d8
mov rax, qword [rdx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, rdx
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x14016a048]
test r12, r12
je 0x1400567f3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
test rsi, rsi
je 0x14005681d
lea rcx, [rsi + 0x88]
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [vtable.H_MA8HI.0]
mov rcx, qword [0x14016a048]
test ebx, ebx
jns 0x140056851
cmp rcx, r14
je 0x140056877
test byte [rcx + 0x1c], 1
je 0x140056851
cmp byte [rcx + 0x19], 2
jb 0x140056851
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x225
mov r9d, ebx
call fcn.14000c114
mov rcx, qword [0x14016a048]
cmp rcx, r14
je 0x140056877
test byte [rcx + 0x1c], 1
je 0x140056877
cmp byte [rcx + 0x19], 4
jb 0x140056877
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b118]
mov edx, 0x226
call fcn.14000c0e8
lea rcx, [rbp - 0x11]
call fcn.14004197c
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret