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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x138
mov rdi, qword [rbp - 0x50]
mov ebx, r8d
mov r8, rdx
mov r11, rcx
lea eax, [rbx + 0x11]
mov dword [rbp - 0x18], eax
cmp ebx, eax
jae case.0x180022bac.200
mov r15d, dword [rbp + 0x60]
mov rbx, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
mov r12, qword [rbp - 0x80]
mov r13, qword [rbp + 0x70]
mov r14d, dword [rbp + 0x60]
xor edx, edx
lea eax, [r14 - 0xb8]
lea r10, [0x180000000]
cmp eax, 0x3f
ja case.0x180022bac.201
movzx eax, byte [r10 + rax + 0x233c4]
mov ecx, dword [r10 + rax*4 + 0x2337c]
add rcx, r10
jmp rcx
mov eax, dword [rbp - 0x40]
mov r14d, 0xf3
mov r11, qword [rbp + 0x50]
mov dword [r13 + 0x1c], eax
jmp case.0x180022bac.201
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je case.0x180022bac.201
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r11, qword [rbp + 0x50]
jmp case.0x180022bac.201
mov dword [rbp - 0x78], 0x10a06
mov dword [rbp - 0x74], 0x6030200
mov rax, qword [rbp - 0x78]
mov qword [0x18011e540], rax
mov qword [r13 + 0xe4], rax
jmp case.0x180022bac.201
mov qword [rsp + 0x28], rdx
mov r9, r13
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov edx, 0x100
xor ecx, ecx
call fcn.18008b6e0
mov r11, qword [rbp + 0x50]
jmp case.0x180022bac.201
mov r10, qword [rbp + 0x70]
mov qword [rbp - 0x80], rdx
test r10, r10
jne 0x180022ce2
mov edx, 0x102
cmp edx, 0x102
je 0x180022c6a
cmp edx, 0x193
jne 0x180022cd0
mov r12, qword [rbp - 0x80]
mov r13, r10
mov r11, qword [rbp + 0x50]
mov r14d, 0xf3
jmp case.0x180022bac.201
mov ecx, 0x47
nop
cmp ecx, 0x47
jne 0x180022cc3
movups xmm0, xmmword [str.size_modifiers_not_valid_on_image_variables]
movzx eax, word [0x1800eca48]
movups xmm1, xmmword [0x1800eca30]
mov word [0x1801070e8], ax
movzx eax, byte [0x1800eca4a]
movaps xmmword [0x1801070c0], xmm0
movsd xmm0, qword [0x1800eca40]
movsd qword [0x1801070e0], xmm0
movaps xmmword [0x1801070d0], xmm1
mov byte [0x1801070ea], al
mov byte [0x1801074bf], 0
dec ecx
cmp ecx, 0x45
ja 0x180022c70
mov r15d, 0x1102
add edx, 0x91
cmp edx, 0x224
jb 0x180022c40
mov r8d, 0x71
mov rdx, r10
xor ecx, ecx
call fcn.18008c3e0
mov r11, qword [rbp + 0x50]
mov r12, qword [rbp - 0x80]
mov r13, qword [rbp + 0x70]
jmp case.0x180022bac.201
mov rcx, r12
call fcn.1800b16dc
mov r11, qword [rbp + 0x50]
jmp case.0x180022bac.201
mov qword [rsp + 0xa0], rdx
xor r9d, r9d
mov qword [rsp + 0x98], rdx
xor r8d, r8d
mov qword [rsp + 0x90], rdx
mov ecx, 0xd5
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor edx, edx
call fcn.180080920
mov r11, qword [rbp + 0x50]
jmp case.0x180022bac.201
mov eax, dword [r13 + 0x2c]
mov rcx, qword [r13 + 0x50]
mov rdx, qword [r13 + 0x10]
mov r14, qword [rbp - 0x70]
mov dword [rbp - 0x60], eax
mov eax, dword [r13 + 0x28]
mov dword [rbp - 0x38], eax
mov eax, dword [r13 + 0x24]
mov dword [rbp - 0x48], eax
mov eax, dword [r13 + 0x3c]
mov dword [rbp - 0x20], eax
mov eax, dword [r13 + 0x1c]
mov dword [rbp - 0x30], eax
mov eax, dword [r9]
mov r9, qword [r13 + 8]
mov dword [rbp - 0x28], eax
mov eax, dword [r8]
lea r8, [rbp - 0x68]
mov dword [rbp - 0x58], eax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x28]
mov dword [rsp + 0x40], 0xc6
mov qword [rsp + 0x38], rdx
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x68], 3
call fcn.18009f120
mov r11, qword [rbp + 0x50]
mov r15d, eax
mov r14d, dword [rbp + 0x60]
jmp case.0x180022bac.201
mov rdi, qword [rbp - 0x70]
jmp case.0x180022bac.201
mov r10, qword [rbp + 0x70]
cmp dword [r10 + 0x40], 3
jne 0x180022e68
mov dword [r10 + 0x24], edx
cmp qword [r10 + 0x10], 0
jne 0x180022f84
cmp dword [r10 + 0x24], 0
je 0x180022f84
mov rax, qword [r10 + 8]
lea rcx, [0x1800dc5c4]
cmp rax, rcx
je 0x180022f84
lea rcx, [0x1800e4e34]
cmp rax, rcx
je 0x180022f84
mov rcx, qword [r10 + 0x50]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov qword [rsp + 0x28], rdx
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rbp - 0x60], 2
mov qword [rbp - 0x58], 0x8000
lea r8d, [r9 + 1]
mov qword [rsp + 0x20], rax
call fcn.180090d80
mov r10, qword [rbp + 0x70]
mov qword [r10 + 0x10], rax
test rax, rax
jne 0x180022f76
movzx edx, word [0x1800eca80]
lea ecx, [rax + 0x14]
movups xmm0, xmmword [0x1800eca70]
movups xmm1, xmmword [0x1800eca60]
movups xmm2, xmmword [str.D:drmemory_packagedrltracedrltrace_libcalls.cpp]
nop dword [rax + rax]
mov eax, ecx
sub eax, 0x14
je 0x180022f34
cmp eax, 1
jne 0x180022f6f
mov r11, qword [rbp + 0x50]
mov r15d, 0x1101
mov r13, r10
mov r14d, 0xf3
jmp case.0x180022bac.201
mov eax, 0x47
nop dword [rax]
cmp eax, 0x47
jne 0x180022f68
movaps xmmword [0x1801070c0], xmm2
movaps xmmword [0x1801070d0], xmm1
movaps xmmword [0x1801070e0], xmm0
mov word [0x1801070f0], dx
mov byte [0x1801074bf], 0
dec eax
cmp eax, 0x45
ja 0x180022f40
inc ecx
cmp ecx, 0x16
jb 0x180022f10
mov r11, qword [rbp + 0x50]
xor edx, edx
mov r8, qword [rbp + 0x58]
mov r9, qword [rbp + 0x68]
cmp dword [r10 + 0x48], 3
lea r13, [r10 + 0x48]
je 0x18002317c
mov r12d, 0x126
nop dword [rax]
mov eax, r12d
sub eax, 0x124
je 0x180023124
sub eax, 1
je 0x18002305c
cmp eax, 1
jne 0x180023133
mov eax, dword [r8]
imul eax, dword [r9]
mov r11, qword [r10 + 0x50]
mov r10d, 0x121
lea eax, [rax + rax*2]
movsxd r14, eax
mov qword [rbp - 0x80], r14
nop dword [rax + rax]
cmp r10d, 0xba
je 0x180023009
cmp r10d, 0x1e1
jne 0x180023048
mov rcx, r14
call qword [r11 + 8]
mov rbx, rax
mov r10, qword [rbp + 0x70]
mov qword [rbp - 0x80], rbx
jmp 0x180023133
cmp dword [0], 0
jle 0x180023048
mov r8, r11
lea r9, [rbp - 0x80]
neg r8
mov rcx, r11
add r9, r8
xor esi, esi
nop word [rax + rax]
mov eax, dword [r9 + rcx]
inc edx
sub eax, dword [r8 + rcx]
mov dword [rcx], eax
lea rcx, [rcx + 4]
cmp edx, dword [rsi]
jl 0x180023030
mov rsi, qword [rbp - 0x50]
add r10d, 0xc0
cmp r10d, 0x361
jae 0x180022ffc
xor edx, edx
jmp 0x180022fe0
mov r14, qword [rbp - 0x80]
test r14, r14
jne 0x1800230e2
mov edx, 0xbe
nop word [rax + rax]
mov eax, edx
sub eax, 0xbd
je 0x180023165
cmp eax, 1
jne 0x1800230d8
mov eax, 0x47
cmp eax, 0x47
jne 0x1800230cb
movups xmm0, xmmword [str.sim_events_schedule_after_signal___buffer_overflow]
movzx ecx, word [0x1800ecab8]
movups xmm1, xmmword [0x1800eca98]
mov word [0x1801070f0], cx
movaps xmmword [0x1801070c0], xmm0
movups xmm0, xmmword [0x1800ecaa8]
mov byte [0x1801074bf], 0
movaps xmmword [0x1801070d0], xmm1
movaps xmmword [0x1801070e0], xmm0
dec eax
cmp eax, 0x45
ja 0x180023087
mov r15d, 0x1101
dec edx
cmp edx, 0xbc
ja 0x180023070
mov eax, dword [r9]
lea rcx, [rbp - 0x68]
mov dword [rbp - 0x60], eax
lea r9, [rbp - 0x58]
mov eax, dword [r8]
mov rdx, r14
mov dword [rbp - 0x58], eax
lea r8, [rbp - 0x60]
mov eax, dword [r13]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r11
mov dword [rbp - 0x68], eax
mov dword [rsp + 0x20], 0xc6
call fcn.18000d4f0
mov r10, qword [rbp + 0x70]
mov r15d, eax
jmp 0x180023133
bt r15d, 0xc
jb 0x180023165
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x10], rax
mov r9, qword [rbp + 0x68]
dec r12d
mov r8, qword [rbp + 0x58]
mov edx, 0
mov r11, qword [rbp + 0x50]
cmp r12d, 0x123
ja 0x180022fa0
mov r12, qword [rbp - 0x80]
mov r13, qword [rbp + 0x70]
mov r14d, dword [rbp + 0x60]
jmp case.0x180022bac.201
mov r12, qword [rbp - 0x80]
mov r14d, 0xf3
mov r13, qword [rbp + 0x70]
mov r11, qword [rbp + 0x50]
jmp case.0x180022bac.201
mov r13, qword [rbp + 0x70]
mov qword [rbp - 0x10], r11
jmp case.0x180022bac.201
mov rcx, qword [r13 + 0x10]
call fcn.1800ac99c
mov r11, qword [rbp + 0x50]
jmp case.0x180022bac.201
cmp qword [rbp - 0x70], 0
jne case.0x180022bac.201
mov edx, 0xf8
nop dword [rax + rax]
mov eax, edx
sub eax, 0xf6
je 0x180022c5b
sub eax, 1
je 0x18002321d
cmp eax, 1
jne 0x180023223
mov ecx, 0x47
nop dword [rax]
cmp ecx, 0x47
jne 0x180023214
movups xmm0, xmmword [str.D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET]
movzx eax, word [0x1800ecaf0]
movups xmm1, xmmword [0x1800ecad0]
mov word [0x1801070f0], ax
movaps xmmword [0x1801070c0], xmm0
movups xmm0, xmmword [0x1800ecae0]
mov byte [0x1801074bf], 0
movaps xmmword [0x1801070d0], xmm1
movaps xmmword [0x1801070e0], xmm0
dec ecx
cmp ecx, 0x45
ja 0x1800231d0
jmp 0x180023223
mov r15d, 0x1101
dec edx
cmp edx, 0xf5
ja 0x1800231b0
jmp case.0x180022bac.201
bt r15d, 0xc
jae case.0x180022bac.201
mov r14d, 0x129
mov eax, r14d
sub eax, 0x129
je 0x180023267
cmp eax, 0xa
jne 0x180023270
mov r11, qword [rbp + 0x50]
xor eax, eax
mov qword [rbp - 0x70], rax
mov r14d, 0xf3
jmp case.0x180022bac.201
mov rcx, qword [rbp - 0x70]
call fcn.1800b16dc
add r14d, 0xa
cmp r14d, 0x13d
jb 0x180023243
mov r14d, dword [rbp + 0x60]
mov r11, qword [rbp + 0x50]
jmp case.0x180022bac.201
mov qword [rbp - 0x70], rdx
jmp case.0x180022bac.201
mov eax, dword [r8]
mov r11d, 0x121
imul eax, dword [r9]
mov r10, qword [r13 + 0x50]
movsxd r14, eax
mov qword [rbp - 0x70], r14
nop dword [rax + rax]
cmp r11d, 0xba
je 0x1800232de
cmp r11d, 0x1e1
jne 0x180023321
mov rcx, r14
call qword [r10 + 8]
mov r14d, dword [rbp + 0x60]
mov rsi, rax
mov r11, qword [rbp + 0x50]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x70], rax
jmp case.0x180022bac.201
cmp dword [0], 0
mov r8d, edx
jle 0x180023321
lea r9, [rbp - 0x70]
mov rdx, r10
sub r9, r10
xor r12d, r12d
nop dword [rax + rax]
mov ecx, dword [r9 + rdx]
mov rax, rdx
sub rax, r10
inc r8d
sub ecx, dword [rax]
mov dword [rdx], ecx
add rdx, 4
cmp r8d, dword [r12]
jl 0x180023300
mov r12, qword [rbp - 0x80]
xor edx, edx
add r11d, 0xc0
cmp r11d, 0x361
jb 0x1800232b0
mov r14d, dword [rbp + 0x60]
mov r11, qword [rbp + 0x50]
mov qword [rbp - 0x70], rsi
jmp case.0x180022bac.201
mov r15d, 0x1000
inc r14d
mov dword [rbp + 0x60], r14d
cmp r14d, dword [rbp - 0x18]
jae case.0x180022bac.200
mov r9, qword [rbp + 0x68]
mov r8, qword [rbp + 0x58]
jmp 0x180022b7f
mov rax, rdi
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret