Function at 0x180013bf0
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, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x18006dc48]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov dword [rsp + 0x50], r9d
mov rsi, r8
mov r15, rdx
mov qword [rbp - 0x78], rdx
mov r12, rcx
mov qword [rsp + 0x78], rcx
mov rdi, qword [rbp + 0xb0]
mov qword [rbp - 0x40], rdi
mov r13d, dword [rbp + 0xb8]
mov dword [rsp + 0x58], r13d
mov r14, qword [rbp + 0xe0]
mov qword [rbp - 0x48], r14
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800319a0
xor eax, eax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov ebx, r13d
lea r8, [rsp + 0x40]
mov edx, r13d
lea rcx, [rbp + 8]
call fcn.180013918
nop
xor eax, eax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
lea r8, [rsp + 0x40]
mov edx, r13d
lea rcx, [rbp + 0x30]
call fcn.180013874
nop
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x98]
call qword [case.0x18002be88.0]
mov dword [rsp + 0x4c], eax
movsxd rcx, eax
lea rdx, [rcx + rcx*8]
lea rax, [0x18004fdc0]
lea rax, [rax + rdx*4]
mov qword [rsp + 0x60], rax
mov bl, byte [0x18006e7a4]
mov byte [rsp + 0x40], bl
mov rcx, qword [r15]
mov rax, qword [rcx + 0xf8]
mov rcx, r15
call qword [case.0x18002be88.0]
mov qword [rbp - 0x80], rax
mov rcx, qword [r12 + 0x48b8]
mov edx, dword [rcx + 0x30]
shr edx, 4
test dl, 1
jne 0x180013d22
movabs rcx, 0xffffffff7fffffff
and rax, rcx
mov qword [rbp - 0x80], rax
xor edx, edx
mov ecx, edx
mov dword [rsp + 0x44], edx
test r13d, r13d
je 0x1800142bb
mov eax, edx
test bl, bl
setne al
mov dword [rsp + 0x68], eax
mov qword [rbp - 0x68], rdx
mov edi, edx
mov qword [rbp - 0x70], rdx
add r14, 4
mov qword [rbp - 0x60], r14
add rsi, 0x28
mov qword [rsp + 0x70], rsi
mov ebx, dword [rbp + 0xc0]
mov dword [rsp + 0x54], ebx
mov rax, qword [r15]
mov r8d, ecx
lea rdx, [rbp - 8]
mov rcx, r15
mov rax, qword [rax + 0x58]
call qword [case.0x18002be88.0]
lea rdx, [rbp - 8]
mov r14, qword [rsp + 0x60]
mov rcx, r14
call fcn.18001da10
mov r12d, eax
mov dword [rsp + 0x48], eax
mov rsi, qword [rbp + 0x30]
mov qword [rbp - 0x58], rsi
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x98
mov qword [rbp - 0x50], rax
lea rcx, [rsi + rax]
xor edx, edx
mov r8d, 0x98
call fcn.1800319a0
mov rax, qword [rbp - 0x80]
mov qword [rsi + rdi + 0x30], rax
mov ecx, dword [rsp + 0x4c]
mov dword [rsi + rdi + 0x38], ecx
movsd xmm0, qword [rbp - 8]
movsd qword [rsi + rdi + 0x40], xmm0
mov eax, dword [rbp]
mov dword [rsi + rdi + 0x48], eax
mov eax, dword [rbp + 0xc8]
mov dword [rsi + rdi + 0x4c], eax
xor r9d, r9d
test eax, eax
je 0x180013e06
mov dword [rsi + rdi + 0x88], 1
mov dword [rsi + rdi + 0x8c], 1
jmp 0x180013e0e
mov qword [rsi + rdi + 0x88], r9
mov eax, dword [rbp + 0xd0]
mov dword [rsi + rdi + 0x3c], eax
mov eax, dword [rsp + 0x68]
mov dword [rsi + rdi + 0x68], eax
cmp byte [rsp + 0x40], r9b
je 0x180013f52
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x48b8]
cmp byte [rax + 0x20], r9b
jne 0x180013e7c
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0xf8]
call qword [case.0x18002be88.0]
movabs rcx, 0xf7467484b9
test rcx, rax
jne 0x180013eb0
mov ecx, dword [rsp + 0x4c]
lea eax, [rcx - 1]
cmp eax, 4
jbe 0x180013e70
cmp ecx, 0x61
jne 0x180013eb0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x48b8]
mov eax, dword [rax + 0x30]
shr eax, 4
test al, 1
je 0x180013eba
mov eax, dword [rsi + rdi + 0x30]
mov ecx, 0x80080000
test rcx, rax
je 0x180013eba
mov dword [rsi + rdi + 0x28], 2
mov dword [rsi + rdi + 0x68], 7
mov eax, dword [rbp + 0xd8]
mov dword [rsi + rdi + 0x74], eax
jmp 0x180013ec2
mov dword [rsi + rdi + 0x28], 5
jmp 0x180013ec2
mov dword [rsi + rdi + 0x28], 2
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x98]
call qword [case.0x18002be88.0]
cmp eax, 0x2c
je 0x180013edf
cmp eax, 0x79
jne 0x180013f49
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x98]
call qword [case.0x18002be88.0]
cmp eax, 0x2c
je 0x180013f01
cmp eax, 0x79
je 0x180013f01
xor r14d, r14d
jmp 0x180013f04
mov r14b, 1
lea rdx, [rbp - 8]
mov rcx, qword [rsp + 0x60]
call fcn.18001da10
mov r12d, eax
mov al, r14b
neg al
sbb ecx, ecx
and ecx, 0xf
add r12d, ecx
neg r14b
sbb ecx, ecx
and ecx, 0xf
inc ecx
xor edx, edx
mov eax, r12d
div ecx
sub r12d, edx
mov dword [rsp + 0x48], r12d
mov dword [rbp - 8], r12d
mov dword [rsi + rdi + 0x40], r12d
mov r14, qword [rsp + 0x60]
mov ecx, ebx
shr ecx, 1
xor r9d, r9d
jmp 0x180013f61
mov ecx, ebx
shr ecx, 1
mov eax, ecx
not eax
and eax, 1
mov dword [rsi + rdi + 0x28], eax
test cl, 1
jne 0x18001407a
test bl, 4
jne 0x18001407a
mov r14d, r9d
cmp dword [rsp + 0x44], r9d
ja 0x1800142b4
mov r13d, r9d
cmp dword [rsp + 0x50], r9d
jbe 0x18001405c
mov rsi, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
mov bl, byte [rsp + 0x40]
mov rax, qword [rsi]
mov r8d, r13d
lea rdx, [rbp + 0x20]
mov rcx, rsi
mov rax, qword [rax + 0x58]
call qword [case.0x18002be88.0]
test bl, bl
je 0x180014029
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x98]
call qword [case.0x18002be88.0]
mov r15d, eax
cmp eax, 0x2c
je 0x180013fdc
cmp eax, 0x79
je 0x180013fdc
xor r12d, r12d
jmp 0x180013fdf
mov r12b, 1
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.18001da10
mov r8d, eax
mov al, r12b
neg al
sbb ecx, ecx
and ecx, 0xf
add r8d, ecx
neg r12b
sbb ecx, ecx
and ecx, 0xf
inc ecx
xor edx, edx
mov eax, r8d
div ecx
sub r8d, edx
cmp r15d, 0x2c
je 0x18001401b
cmp r15d, 0x79
jne 0x18001402c
mov eax, dword [rbp + 0x24]
imul eax, r8d
lea eax, [rax + rax*2]
shr eax, 1
jmp 0x180014038
xor r8d, r8d
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.18001dd10
add r14d, eax
inc r13d
cmp r13d, dword [rsp + 0x50]
jb 0x180013f9c
mov ebx, dword [rsp + 0x54]
mov rdi, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x58]
mov r15, qword [rbp - 0x78]
xor r9d, r9d
mov dword [rsi + rdi], r14d
mov r12d, dword [rsp + 0x48]
mov r13d, dword [rsp + 0x58]
cmp byte [rsp + 0x40], r9b
jne 0x1800140a9
or ebx, 1
mov dword [rsp + 0x54], ebx
jmp 0x1800140a9
mov r8d, dword [r14 + 0xc]
mov eax, dword [rbp]
dec eax
add eax, dword [r14 + 0x10]
xor edx, edx
div dword [r14 + 0x10]
mov r14d, eax
mov eax, dword [rbp - 4]
dec eax
add eax, r8d
xor edx, edx
div r8d
imul r14d, eax
imul r14d, r12d
mov dword [rsi + rdi], r14d
mov eax, dword [rbp + 0xc8]
test eax, eax
je 0x1800140bb
imul r14d, eax
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 + 0x70]
mov eax, dword [rcx - 4]
mov dword [rsi + rdi + 0xc], eax
movsd xmm0, qword [rbp - 8]
movsd qword [rsi + rdi + 0x10], xmm0
mov eax, dword [rbp]
mov dword [rsi + rdi + 0x18], eax
mov r14d, ebx
shr r14d, 2
and r14d, 1
je 0x180014110
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], r12d
mov eax, dword [rsp + 0x44]
lea rcx, [rax + rax*4]
mov rax, qword [rbp + 8]
lea rcx, [rax + rcx*8]
xor edx, edx
lea r8d, [rdx + 0x28]
call fcn.1800319a0
mov rcx, qword [rbp - 0x50]
add rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 8]
mov rdx, qword [rbp - 0x68]
mov qword [rax + rdx + 0x10], rcx
mov rax, qword [rbp + 8]
mov r8d, 0x98
mov dword [rax + rdx + 0x18], r8d
mov rsi, qword [rsp + 0x70]
mov ecx, dword [rsi]
mov rax, qword [rbp + 8]
mov dword [rax + rdx + 0x1c], ecx
mov rax, qword [rbp + 8]
and dword [rax + rdx + 0x20], 0xfffffffe
or dword [rax + rdx + 0x20], r14d
mov rax, qword [rbp - 0x60]
or dword [rax], 0xffffffff
mov ecx, dword [rsp + 0x44]
inc ecx
mov dword [rsp + 0x44], ecx
add rdi, r8
mov qword [rbp - 0x70], rdi
add rsi, 0x38
mov qword [rsp + 0x70], rsi
add rdx, 0x28
mov qword [rbp - 0x68], rdx
add rax, 0x60
mov qword [rbp - 0x60], rax
cmp ecx, r13d
jb 0x180013d63
mov r14, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
mov r12, qword [rsp + 0x78]
xor edx, edx
test bl, 8
cmovne rdi, rdx
mov qword [rbp - 0x20], rdi
mov rax, qword [rbp + 8]
mov qword [rbp - 0x10], 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 - 0x14], edx
lea rcx, [r12 + 0x48c0]
lea rdx, [rbp - 0x30]
call fcn.180028060
mov esi, eax
xor r12d, r12d
test eax, eax
js 0x180014278
mov ebx, r12d
test r13d, r13d
je 0x180014278
mov edi, r12d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r12d
lea rax, str.Resource_CreateAllocations
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
mov rdx, r15
mov rax, qword [rbp + 8]
mov ecx, dword [rdi + rax]
call fcn.180010c24
mov ecx, 2
call fcn.180008d00
test al, al
je 0x180014269
mov rax, qword [rbp + 8]
mov r9d, dword [rdi + rax]
mov r8d, ebx
lea rdx, str.CreateAllocations
lea rcx, str._s:_allocation_d_handle0x_x_n
call fcn.180027280
inc ebx
add r14, 0x60
add rdi, 0x28
cmp ebx, r13d
jb 0x180014212
lea rcx, [rbp + 0x30]
call fcn.180014520
nop
lea rcx, [rbp + 8]
call fcn.18001459c
mov eax, esi
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.180030680
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov esi, 0x80070057
jmp 0x180014278
mov ebx, dword [rbp + 0xc0]
jmp 0x1800141b5