Function at 0x22db9e120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x160], xmm7
cmp qword [rsp + 0x200], 0
mov r14, qword [rsp + 0x1e8]
mov r15, rcx
mov rbp, rdx
mov r12, r8
mov esi, r9d
je 0x22db9e171
mov rax, qword [rsp + 0x200]
mov qword [rax], 0
test r15, r15
je 0x22db9e881
mov rax, rbp
or rax, r12
mov qword [rsp + 0x38], rax
jne 0x22db9e18f
test esi, esi
je 0x22db9e881
test r14, r14
je 0x22db9e1a0
mov r8d, dword [r14]
test r8d, r8d
je 0x22db9e881
mov ebx, dword [r15 + 0x3c]
and ebx, 2
jne 0x22db9e520
test esi, esi
je 0x22db9e530
mov rcx, qword [r15 + 0x68]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [r15 + 0x60]
test rbx, rbx
je 0x22db9e203
mov eax, dword [rbx]
cmp esi, eax
jne 0x22db9e1f6
jmp 0x22db9e560
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x22db9e203
mov rbx, rax
mov eax, dword [rax]
cmp eax, esi
je 0x22db9e560
cmp esi, eax
jb 0x22db9e1e0
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x22db9e1e9
mov rax, qword [r15 + 8]
test rax, rax
je 0x22db9e695
mov rdx, qword [r15]
mov ecx, 0x70
movq xmm6, r15
call rax
movq xmm0, rax
mov r13, rax
punpcklqdq xmm6, xmm0
test rax, rax
je 0x22db9e695
lea rax, [rax + 8]
lea rdi, [r13 + 0x10]
and rdi, 0xfffffffffffffff8
mov rcx, rax
mov qword [rsp + 0x40], rax
xor eax, eax
sub rcx, rdi
mov qword [r13 + 8], 0
add ecx, 0x68
mov qword [r13 + 0x68], 0
shr ecx, 3
rep stosq qword [rdi], rax
mov dword [r13], esi
mov dword [r13 + 4], 1
test r14, r14
je 0x22db9e648
movdqu xmm1, xmmword [r14]
movups xmmword [r13 + 0x18], xmm1
movdqu xmm2, xmmword [r14 + 0x10]
movups xmmword [r13 + 0x28], xmm2
movdqu xmm3, xmmword [r14 + 0x20]
movups xmmword [r13 + 0x38], xmm3
movdqu xmm4, xmmword [r14 + 0x30]
movups xmmword [r13 + 0x48], xmm4
test esi, esi
je 0x22db9e5e8
test rbx, rbx
je 0x22db9e60b
mov eax, dword [rbx]
cmp dword [r13], eax
jae 0x22db9e5b8
cmp qword [rbx + 0x60], 0
je 0x22db9e2e4
mov r8d, 0xfaf8
lea rdx, [0x22dd84800]
lea rcx, str.pInsertPoint__pChildLo____void__0_
call qword [sym.imp.msvcrt.dll__assert]
mov qword [rbx + 0x60], r13
mov ecx, dword [r13 + 0x14]
mov qword [r13 + 0x58], rbx
test ecx, ecx
je 0x22db9e4b8
test byte [rsp + 0x1e0], 4
je 0x22db9e4b8
mov rdx, r15
test rbp, rbp
je 0x22db9e89a
mov rcx, rbp
call fcn.22db5c6b0
mov qword [rsp + 0x48], 0
mov rbx, rax
movq xmm7, rbx
movhps xmm7, qword [rsp + 0x48]
test rax, rax
je 0x22db9e67f
mov esi, dword [rsp + 0x1e0]
and esi, 8
jne 0x22db9e8b0
mov rax, qword [rsp + 0x1f0]
lea rdx, [rax + 8]
test rax, rax
je 0x22db9e371
mov eax, dword [rdx]
mov ecx, eax
add ecx, 1
js 0x22db9e8f3
lock cmpxchg dword [rdx], ecx
jne 0x22db9e954
mov rax, qword [rsp + 0x1f8]
lea rdx, [rax + 8]
test rax, rax
je 0x22db9e399
mov eax, dword [rdx]
mov ecx, eax
add ecx, 1
js 0x22db9e912
lock cmpxchg dword [rdx], ecx
jne 0x22db9e996
lea rdx, [rsp + 0x70]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rsp + 0x70], 0xffff0002
mov qword [rsp + 0x78], 0xffffffffffffffff
movdqa xmm5, xmmword [rsp + 0x70]
mov rcx, qword [rsp + 0xd0]
movdqa xmm1, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0xe0], xmm5
movdqa xmm5, xmmword [rsp + 0x80]
mov qword [rsp + 0x140], rcx
mov ecx, 1
movaps xmmword [rsp + 0xf0], xmm5
movdqa xmm5, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x130], xmm1
movaps xmmword [rsp + 0x100], xmm5
movdqa xmm5, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x110], xmm5
movdqa xmm5, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x120], xmm5
lock xadd dword [r13 + 0xc], ecx
mov edi, dword [rsp + 0x1e0]
mov dword [rsp + 0x80], ecx
test esi, esi
lea rcx, [rsp + 0x50]
cmove rcx, rax
mov rax, qword [rsp + 0x1f0]
mov dword [rsp + 0xa8], edi
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0xb0], rcx
lea rcx, [r15 + 0x270]
mov qword [rsp + 0xc8], rax
movups xmmword [rsp + 0x88], xmm6
movups xmmword [rsp + 0x98], xmm7
call fcn.22db5fcc0
mov edi, eax
test eax, eax
jne 0x22db9e7de
nop dword [rax]
test byte [r15 + 0x3c], 2
je 0x22db9e660
cmp qword [rsp + 0x38], 0
je 0x22db9e6aa
mov edx, dword [r13 + 0x14]
test edx, edx
je 0x22db9e618
test byte [rsp + 0x1e0], 4
jne 0x22db9e721
test byte [rsp + 0x1e0], 2
jne 0x22db9e75f
mov r9, r12
mov r8, rbp
mov rdx, r13
mov rcx, r15
call fcn.22db9d3d0
mov edi, eax
test eax, eax
jne 0x22db9e6c4
xchg dword [r13 + 8], eax
jmp 0x22db9e6da
and dword [rsp + 0x1e0], 0xfffffffb
test esi, esi
jne 0x22db9e1c4
test rbp, rbp
je 0x22db9e739
mov rcx, rbp
call sub.msvcrt.dll_strlen
mov rcx, rbp
mov edx, eax
call fcn.22dcde750
mov esi, eax
test ebx, ebx
jne 0x22db9e1c4
jmp 0x22db9e1b5
lock add dword [rbx + 4], 1
xor edi, edi
mov r13, rbx
test byte [r15 + 0x3c], 2
je 0x22db9e670
cmp qword [rsp + 0x200], 0
je 0x22db9e58b
mov rax, qword [rsp + 0x200]
mov qword [rax], r13
movaps xmm6, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
mov eax, edi
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [rbx + 0x68], 0
je 0x22db9e5d9
mov r8d, 0xfafb
lea rdx, [0x22dd84800]
lea rcx, str.pInsertPoint__pChildHi____void__0_
call qword [sym.imp.msvcrt.dll__assert]
mov qword [rbx + 0x68], r13
jmp 0x22db9e2e8
mov r8d, 0xfaf0
lea rdx, [0x22dd84800]
lea rcx, str.pDataBufferNode__hashedName32___0
call qword [sym.imp.msvcrt.dll__assert]
test rbx, rbx
jne 0x22db9e2b7
mov qword [r15 + 0x60], r13
jmp 0x22db9e2e8
xor edi, edi
test r14, r14
jne 0x22db9e575
mov r8d, 0x10017
lea rdx, [0x22dd84800]
lea rcx, str.pExistingData_____void__0_
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x22db9e6da
mov dword [r13 + 8], 0xffffffed
mov dword [r13 + 0x14], 1
jmp 0x22db9e2a6
mov rcx, qword [r15 + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x22db9e4c3
mov rcx, qword [r15 + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x22db9e575
mov rdx, r13
mov rcx, r15
call fcn.22db9b1a0
mov rdx, r15
mov rcx, r13
call fcn.22db8ff50
test byte [r15 + 0x3c], 2
je 0x22db9e88b
mov edi, 0xfffffffc
jmp 0x22db9e58b
mov rcx, qword [r15 + 0x20]
mov edx, 2
mov edi, 0xfffffffd
lea r8, str.Cloning_data_buffer_node_failed_because_the_source_node_was_released._The_source_node_must_remain_valid_until_the_cloning_has_completed._n
call fcn.22dcdc940
mov rdx, r13
mov rcx, r15
call fcn.22db9b1a0
mov rdx, r15
mov rcx, r13
call fcn.22db8ff50
mov eax, dword [r13 + 0x14]
test eax, eax
je 0x22db9e575
mov eax, dword [rsp + 0x1e0]
and eax, 0xc
cmp eax, 0xc
jne 0x22db9e575
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x22db9e8d4
test byte [rbx + 0x3c], 2
jne 0x22db9e575
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x22db9e575
xor edi, edi
test byte [rsp + 0x1e0], 8
je 0x22db9e6e6
lea rcx, [rsp + 0x50]
call fcn.22db9c1f0
jmp 0x22db9e6da
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call sub.msvcrt.dll_wcslen
mov rcx, rdi
lea edx, [rax + rax]
call fcn.22dcde750
mov ebx, dword [r15 + 0x3c]
mov esi, eax
and ebx, 2
jmp 0x22db9e54d
mov r9, r12
mov r8, rbp
mov rdx, r13
mov rcx, r15
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x20], eax
call fcn.22db9d960
mov r12, qword [rsp + 0xe0]
mov edi, eax
test eax, eax
jne 0x22db9e6c4
nop word [rax + rax]
mov r8, r12
mov rdx, r13
mov rcx, r15
call fcn.22db9de80
mov edi, eax
test eax, eax
je 0x22db9e7a0
cmp eax, 0xffffffef
je 0x22db9e931
mov rcx, r12
call fcn.22db94dc0
mov rdx, r15
mov rcx, r12
call fcn.22db8ff50
mov rax, qword [rsp + 0x40]
mov edx, edi
xchg dword [rax], edx
jmp 0x22db9e6c4
mov ecx, eax
call fcn.22db91200
mov rcx, qword [r15 + 0x20]
mov edx, 1
lea r8, str.Failed_to_post_MA_JOB_TYPE_RESOURCE_MANAGER_LOAD_DATA_BUFFER_NODE_job.__s._n
mov r9, rax
call fcn.22db5cd60
cmp qword [rsp + 0x1f0], 0
je 0x22db9e815
mov rcx, qword [rsp + 0x1f0]
call fcn.22db5eec0
cmp qword [rsp + 0x1f8], 0
je 0x22db9e82d
mov rcx, qword [rsp + 0x1f8]
call fcn.22db5eec0
test esi, esi
jne 0x22db9e8c2
mov rdx, r15
mov rcx, rbx
call fcn.22db8ff50
mov rcx, qword [rsp + 0x48]
mov rdx, r15
call fcn.22db8ff50
mov rdx, r13
mov rcx, r15
call fcn.22db9b1a0
mov rdx, r15
mov rcx, r13
call fcn.22db8ff50
test byte [r15 + 0x3c], 2
je 0x22db9e97e
cmp edi, 0xfffffff8
jne 0x22db9e58b
xor r13d, r13d
xor edi, edi
jmp 0x22db9e575
mov edi, 0xfffffffe
jmp 0x22db9e58b
mov rcx, qword [r15 + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x22db9e6a0
mov rcx, qword [rsp + 0x38]
xor ebx, ebx
call fcn.22db5c750
mov qword [rsp + 0x48], rax
jmp 0x22db9e326
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.22db98390
jmp 0x22db9e349
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.22db98390
jmp 0x22db9e835
mov r8d, 0xfc15
lea rdx, [0x22dd84800]
lea rcx, str.pResourceManager_____void__0_
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x22db9e707
mov r8d, 0x3ec5
lea rdx, [0x22dd84800]
lea rcx, [0x22dd84d06]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x22db9e371
mov r8d, 0x3ec5
lea rdx, [0x22dd84800]
lea rcx, [0x22dd84d06]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x22db9e399
mov rcx, r12
call fcn.22db94dc0
mov rdx, r15
mov rcx, r12
call fcn.22db8ff50
mov rdi, qword [rsp + 0x40]
xor eax, eax
xchg dword [rdi], eax
xor edi, edi
jmp 0x22db9e6da
cmp eax, 0x7fffffff
jne 0x22db9e35a
mov r8d, 0x3ecd
lea rdx, [0x22dd84800]
lea rcx, [0x22dd84d06]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x22db9e371
mov rcx, qword [r15 + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp edi, 0xfffffff8
jne 0x22db9e58b
jmp 0x22db9e877
cmp eax, 0x7fffffff
jne 0x22db9e382
mov r8d, 0x3ecd
lea rdx, [0x22dd84800]
lea rcx, [0x22dd84d06]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x22db9e399