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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x18007dc58]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x48], r9d
mov rsi, r8
mov r15, rdx
mov qword [rbp - 0x60], rcx
mov rdi, qword [rbp + 0x90]
mov qword [rbp - 0x68], rdi
mov r12d, dword [rbp + 0x98]
mov dword [rsp + 0x54], r12d
mov r14, qword [rbp + 0xc0]
mov qword [rbp - 0x70], r14
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp - 0x50]
call fcn.18003b8a0
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
lea r8, [rsp + 0x40]
mov edx, r12d
lea rcx, [rbp - 0x18]
call fcn.180017f00
nop
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
lea r8, [rsp + 0x40]
mov edx, r12d
lea rcx, [rbp]
call fcn.180017e5c
nop
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x88]
call qword [0x18005c388]
mov dword [rsp + 0x50], eax
movsxd rcx, eax
lea rdx, [rcx + rcx*8]
lea rcx, [0x18005ce00]
lea rdx, [rcx + rdx*4]
mov qword [rsp + 0x60], rdx
lea ecx, [rax - 1]
xor r13d, r13d
cmp ecx, 0x98
jbe 0x180018577
test eax, eax
jne 0x180018993
cmp dword [rdx], eax
jne 0x1800189ad
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0xe8]
call qword [0x18005c388]
mov qword [rsp + 0x78], rax
mov ecx, 0x80000000
test rcx, rax
jne 0x18001895f
mov ecx, r13d
mov dword [rsp + 0x44], ecx
mov ebx, dword [rbp + 0xa0]
test r12d, r12d
je 0x180018859
mov qword [rsp + 0x68], r13
xor edi, edi
add r14, 4
mov qword [rsp + 0x70], r14
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x58], rdx
mov rax, qword [r15]
mov r8d, ecx
lea rdx, [rbp - 0x28]
mov rcx, r15
mov rax, qword [rax + 0x48]
call qword [0x18005c388]
lea rdx, [rbp - 0x28]
mov r14, qword [rsp + 0x60]
mov rcx, r14
call fcn.180026d10
mov dword [rsp + 0x4c], eax
mov rsi, qword [rbp]
mov qword [rbp - 0x80], rsi
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x98
mov qword [rbp - 0x78], rax
lea rcx, [rax + rsi]
xor edx, edx
mov r8d, 0x98
call fcn.18003b8a0
mov rax, qword [rsp + 0x78]
mov qword [rsi + rdi + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsi + rdi + 0x38], eax
movsd xmm0, qword [rbp - 0x28]
movsd qword [rsi + rdi + 0x40], xmm0
mov eax, dword [rbp - 0x20]
mov dword [rsi + rdi + 0x48], eax
mov r9d, dword [rbp + 0xa8]
mov dword [rsi + rdi + 0x4c], r9d
xor r10d, r10d
test r9d, r9d
je 0x180018678
mov dword [rsi + rdi + 0x88], 1
mov dword [rsi + rdi + 0x8c], 1
jmp 0x180018680
mov qword [rsi + rdi + 0x88], r10
mov eax, dword [rbp + 0xb0]
mov dword [rsi + rdi + 0x3c], eax
cmp dword [rsi + rdi + 0x90], r10d
jne 0x180018979
mov dword [rsi + rdi + 0x68], r10d
mov ecx, ebx
shr ecx, 1
mov eax, ecx
not eax
and eax, 1
mov dword [rsi + rdi + 0x28], eax
test cl, 1
jne 0x180018727
test bl, 4
jne 0x180018727
mov r14d, r10d
cmp dword [rsp + 0x44], r10d
ja 0x180018958
mov r12d, r10d
cmp dword [rsp + 0x48], r10d
jbe 0x180018719
mov rsi, qword [rsp + 0x60]
mov r13d, dword [rsp + 0x48]
mov rax, qword [r15]
mov r8d, r12d
lea rdx, [rbp + 0x18]
mov rcx, r15
mov rax, qword [rax + 0x48]
call qword [0x18005c388]
xor r8d, r8d
lea rdx, [rbp + 0x18]
mov rcx, rsi
call fcn.1800273c0
add r14d, eax
inc r12d
cmp r12d, r13d
jb 0x1800186d8
mov rsi, qword [rbp - 0x80]
mov r13, qword [rsp + 0x68]
mov r9d, dword [rbp + 0xa8]
or ebx, 1
mov r12d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x4c]
jmp 0x180018756
mov r8d, dword [r14 + 0x10]
mov eax, dword [rbp - 0x24]
dec eax
add eax, dword [r14 + 0xc]
xor edx, edx
div dword [r14 + 0xc]
mov r14d, eax
mov eax, dword [rbp - 0x20]
dec eax
add eax, r8d
xor edx, edx
div r8d
imul r14d, eax
mov edx, dword [rsp + 0x4c]
imul r14d, edx
mov dword [rsi + rdi], r14d
test r9d, r9d
je 0x180018767
imul r14d, r9d
mov dword [rsi + rdi], r14d
and dword [rsi + rdi + 4], 0xfffffffe
mov eax, ebx
and eax, 1
or dword [rsi + rdi + 4], eax
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx - 4]
mov dword [rsi + rdi + 0xc], eax
movsd xmm0, qword [rbp - 0x28]
movsd qword [rsi + rdi + 0x10], xmm0
mov eax, dword [rbp - 0x20]
mov dword [rsi + rdi + 0x18], eax
mov r14d, ebx
shr r14d, 2
and r14d, 1
je 0x1800187bb
mov dword [rsi + rdi + 0x1c], 1
mov eax, dword [rcx]
mov dword [rsi + rdi + 0x58], eax
mov rax, qword [rcx + 4]
mov qword [rsi + rdi + 0x5c], rax
mov dword [rsi + rdi + 0x20], edx
mov eax, dword [rsp + 0x44]
lea rcx, [rax + rax*4]
mov rax, qword [rbp - 0x18]
lea rcx, [rax + rcx*8]
xor edx, edx
lea r8d, [rdx + 0x28]
call fcn.18003b8a0
mov rcx, qword [rbp - 0x78]
add rcx, qword [rbp]
mov rax, qword [rbp - 0x18]
mov qword [rax + r13 + 0x10], rcx
mov rax, qword [rbp - 0x18]
mov r8d, 0x98
mov dword [rax + r13 + 0x18], r8d
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rdx]
mov rax, qword [rbp - 0x18]
mov dword [rax + r13 + 0x1c], ecx
mov rax, qword [rbp - 0x18]
and dword [rax + r13 + 0x20], 0xfffffffe
or dword [rax + r13 + 0x20], r14d
mov rax, qword [rsp + 0x70]
or dword [rax], 0xffffffff
mov ecx, dword [rsp + 0x44]
inc ecx
mov dword [rsp + 0x44], ecx
add rdi, r8
add rdx, 0x38
mov qword [rsp + 0x58], rdx
add r13, 0x28
mov qword [rsp + 0x68], r13
add rax, 0x68
mov qword [rsp + 0x70], rax
cmp ecx, r12d
jb 0x1800185d4
mov r14, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
xor r13d, r13d
test bl, 8
cmovne rdi, r13
mov qword [rbp - 0x40], rdi
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp - 0x10]
sub rcx, rax
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rbp - 0x34], edx
mov rcx, qword [rbp - 0x60]
add rcx, 0x48c0
lea rdx, [rbp - 0x50]
call fcn.1800349c0
mov esi, eax
test eax, eax
js 0x18001891c
mov ebx, r13d
test r12d, r12d
je 0x18001891c
mov rdi, r13
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r13d
lea rax, str.Resource_CreateAllocations
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
mov rdx, r15
mov rax, qword [rbp - 0x18]
mov ecx, dword [rax + rdi]
call fcn.180015670
mov ecx, 2
call fcn.18000be60
test al, al
je 0x18001890d
mov rax, qword [rbp - 0x18]
mov r9d, dword [rax + rdi]
mov r8d, ebx
lea rdx, str.CreateAllocations
lea rcx, str._s:_allocation_d_handle0x_x_n
call fcn.180033750
inc ebx
add r14, 0x68
add rdi, 0x28
cmp ebx, r12d
jb 0x1800188b6
lea rcx, [rbp]
call fcn.180018b70
nop
lea rcx, [rbp - 0x18]
call fcn.180018bec
mov eax, esi
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.18003a580
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov esi, 0x80070057
jmp 0x18001891c
mov r8d, 0x544
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srcusermode_resource.cpp
lea rcx, str.ASSERT__s:_d_n
call fcn.1800335c0
int3
mov r8d, 0x55b
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_srcusermode_resource.cpp
lea rcx, str.ASSERT__s:_d_n
call fcn.1800335c0
int3
mov r8d, 0x544
lea rdx, str.d:_buildob_bora_18379147_borapublic_svga3d_surfacedefs.h
lea rcx, str.ASSERT__s:_d_n
call fcn.1800335c0
int3
mov r8d, 0x545
lea rdx, str.d:_buildob_bora_18379147_borapublic_svga3d_surfacedefs.h
lea rcx, str.ASSERT__s:_d_n
call fcn.1800335c0
int3