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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xf0
mov r10d, dword [rbp + 0x6f]
xor edi, edi
mov r13, qword [rbp + 0x7f]
mov rbx, rcx
mov r15, qword [rbp + 0x77]
mov ecx, 0x201
mov qword [rbp + 0x47], rdi
mov r14, rdx
xorps xmm0, xmm0
lea edx, [rdi + 8]
mov rax, qword [r13 + 0x2f0]
xorps xmm1, xmm1
mov qword [rsp + 0x40], rax
mov r12d, 0x60
lea eax, [r10 - 0x3000]
test eax, 0xffffefff
sete al
test al, al
mov byte [rbp + 0x6f], al
mov rax, qword [r15]
cmovne r12d, ecx
xor r8d, r8d
mov r9d, r12d
mov rcx, qword [rax]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rdi
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rbp - 0x79], xmm1
mov dword [rbp - 0x69], edi
mov qword [rbp - 0x59], rdi
mov dword [rbp - 0x65], r10d
mov qword [rbp - 0x61], rbx
call fcn.14015d4b0
mov esi, dword [rbp + 0x7f]
mov qword [rbp - 0x79], rax
test esi, esi
je 0x140183331
mov rcx, qword [rsp + 0x48]
mov rdx, rax
call fcn.14015d380
mov esi, dword [rbp + 0x7f]
mov eax, edi
mov qword [rbp - 0x79], rax
jmp 0x140183339
mov dword [rbp - 0x69], r12d
mov qword [rbp - 0x71], rax
test esi, esi
jne 0x1401837dd
xor edx, edx
mov r8d, 0xbc
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
cmp byte [rbp + 0x6f], dil
mov eax, 0x30
mov ecx, 0x201
mov dword [rbx + 0x20], 0xff9c0000
cmovne eax, ecx
mov dword [rbx + 0x24], 0x320000
mov dword [rbx + 0xb8], eax
mov dword [rbx + 0x2c], 2
mov dword [rbx + 0x30], 0x10000
mov dword [rbx + 0x3c], 0x10000
mov dword [rbx + 0x9c], 0x2210
mov dword [rbx], 0xffff
mov dword [rbx + 4], 0xffff
mov dword [rbx + 8], 0xffff
mov dword [rbx + 0xc], 0xffff
mov dword [rbx + 0x10], 0xffff
mov dword [rbx + 0x14], 0xffff
mov dword [rbx + 0x80], 0xffff
mov dword [rbx + 0x84], 0xffff
mov dword [rbx + 0x88], 0xffff
mov dword [rbx + 0xac], 0xffff
cmp dword [r14 + 0x10], edi
je 0x14018340e
mov edx, dword [rbp + 0x57]
lea r9, [rbp + 0x7f]
lea r8, [rbp + 0x47]
mov rcx, r14
call fcn.140181640
mov r12, qword [rbp + 0x5f]
mov esi, eax
test eax, eax
jne 0x14018345c
mov eax, dword [rbp + 0x7f]
jmp 0x140183446
mov r12, qword [rbp + 0x5f]
mov edx, dword [r14 + 0x18]
mov rcx, r12
call fcn.14015b300
mov esi, eax
test eax, eax
jne 0x1401837d9
mov edx, dword [r14 + 0x1c]
lea r8, [rbp + 0x47]
mov rcx, r12
call fcn.14015a860
mov esi, eax
test eax, eax
jne 0x1401837d9
mov eax, dword [r14 + 0x1c]
mov rdx, qword [rbp + 0x47]
lea rcx, [rsp + 0x50]
mov r8d, eax
add r8, rdx
call fcn.140182390
mov esi, eax
cmp dword [r14 + 0x10], edi
je 0x14018346d
cmp qword [r14 + 0x28], rdi
jne 0x140183479
mov rcx, qword [r14]
jmp 0x140183470
mov rcx, r12
lea rdx, [rbp + 0x47]
call fcn.14015b2b0
test esi, esi
jne 0x1401837d9
cmp dword [rbx + 0x84], 0xffff
jne 0x1401837d9
mov r12, qword [r15 + 8]
lea r14, [rbx + 0xc0]
mov qword [rbx + 0x240], r15
mov esi, edi
mov byte [rbx + 0x239], sil
mov r15d, 1
cmp dword [rbx + 0x74], edi
je 0x140183641
cmp dword [rbx + 0x78], edi
je 0x140183641
xor edx, edx
mov r8d, 0x178
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbp + 0x77]
mov dword [r14 + 0xc8], 7
mov dword [r14 + 0xcc], r15d
mov dword [r14 + 0x14c], 0xffffffff
mov dword [r14 + 0x154], 0xf5c
mov dword [r14 + 0xc4], 0x27a000
mov qword [r14 + 0x170], rbx
mov dword [rbx + 0x268], edi
mov qword [rbx + 0x270], rdi
movzx eax, byte [r8 + 0x2c]
test al, al
je 0x140183533
mov ecx, dword [r8 + 0x698]
inc ecx
jmp 0x140183538
mov ecx, 0x61
test al, al
mov edx, 0x2000
movzx eax, word [rbx + 0xb2]
mov r9d, 0x5000
mov word [rsp + 0x30], ax
cmovne edx, r9d
movzx eax, word [rbx + 0xb0]
mov r9, qword [r8]
mov r8, r14
mov word [rsp + 0x28], ax
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x49]
call fcn.1401822d0
test eax, eax
jne 0x14018361d
mov rdx, qword [rbp + 0x77]
mov rcx, r12
mov edx, dword [rdx + 0x18]
add edx, dword [rbx + 0x74]
call fcn.14015b300
mov esi, eax
test eax, eax
jne 0x14018361d
mov edx, dword [rbx + 0x78]
mov rcx, r12
call fcn.14015a6f0
mov esi, eax
test eax, eax
jne 0x14018361d
mov r8, qword [r12 + 0x40]
lea rcx, [rbp - 0x49]
mov rdx, qword [r12 + 0x38]
call fcn.140182390
mov rcx, r12
mov esi, eax
call fcn.14015a810
test esi, esi
jne 0x14018361d
and byte [r14], 0xfe
mov eax, dword [r14 + 0x158]
test eax, eax
jns 0x1401835e4
neg eax
mov dword [r14 + 0x158], eax
jmp 0x1401835f1
jne 0x1401835f1
mov dword [r14 + 0x158], 0x3ade68b1
cmp dword [r14 + 0xc8], 0x3e8
jbe 0x140183609
mov dword [r14 + 0xc8], 7
cmp dword [r14 + 0xcc], 0x3e8
jbe 0x14018361d
mov dword [r14 + 0xcc], r15d
mov rcx, qword [rbp - 0x49]
mov rax, qword [rbx + 0x278]
mov rdx, qword [rbp - 0x29]
mov qword [rbx + 0x280], rax
mov dword [rbx + 0x288], edi
mov rcx, qword [rcx]
call fcn.14015d380
test esi, esi
jne 0x1401837d9
cmp byte [rbp + 0x6f], dil
jne 0x1401836da
mov rax, qword [r13 + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x140183691
mov r14, qword [r13 + 0x90]
mov eax, dword [r14 + 0x60]
mov dword [rbx + 0x2c8], eax
mov eax, dword [r14 + 0x60]
test eax, eax
je 0x1401836c6
mov r12, qword [rsp + 0x40]
mov ecx, eax
call qword [r12 + 0x28]
mov dword [r14 + 0x60], eax
test eax, eax
js 0x140183680
jmp 0x1401836c6
mov dword [rbx + 0x2c8], ecx
mov rax, qword [r13 + 0xd0]
cmp dword [rax + 0x5c], edi
je 0x1401836c6
mov r12, qword [rsp + 0x40]
mov ecx, dword [rax + 0x5c]
call qword [r12 + 0x28]
mov rcx, qword [r13 + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [r13 + 0xd0]
cmp dword [rax + 0x5c], edi
jl 0x1401836a8
cmp dword [rbx + 0x2c8], edi
jne 0x1401836da
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov ecx, dword [rbx + 0x21c]
test ecx, ecx
je 0x1401837d9
mov edx, dword [rbp + 0x67]
mov r12, qword [rbp + 0x5f]
add edx, ecx
add edx, dword [rbx + 0x74]
mov rcx, r12
call fcn.14015b300
mov esi, eax
test eax, eax
jne 0x1401837d9
movzx r9d, byte [rbp + 0x6f]
lea r14, [rbx + 0x290]
mov rcx, r14
movzx r8d, r15b
mov rdx, r12
call fcn.140181910
mov esi, eax
test eax, eax
jne 0x1401837d9
mov rax, qword [r14]
mov esi, edi
mov dword [rbp + 0x6f], edi
mov r12, qword [rax + 0x30]
mov qword [rbx + 0x2c0], rdi
cmp qword [r14 + 0x20], rsi
jne 0x140183759
mov rcx, r14
call fcn.140181ac0
mov dword [rbp + 0x6f], eax
mov esi, eax
test eax, eax
jne 0x1401837d9
mov r9d, dword [r14 + 0x10]
test r9d, r9d
je 0x1401837d9
xor r8d, r8d
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
inc r9d
mov rcx, r12
mov qword [rsp + 0x20], rdi
lea edx, [r8 + 8]
call fcn.14015d4b0
mov esi, dword [rbp + 0x6f]
mov r8, rax
test esi, esi
jne 0x1401837d9
mov r9, qword [r14 + 0x28]
mov ecx, edi
add rcx, r9
mov qword [rax], rcx
cmp dword [r14 + 0x10], r15d
jb 0x1401837cf
mov rax, qword [r14 + 0x20]
mov edx, r15d
mov ecx, dword [rax + rdx*4]
dec ecx
cmp ecx, edi
jb 0x1401837bd
cmp ecx, dword [r14 + 0x1c]
cmova ecx, dword [r14 + 0x1c]
mov edi, ecx
mov eax, edi
inc r15d
add rax, r9
mov qword [r8 + rdx*8], rax
cmp r15d, dword [r14 + 0x10]
jbe 0x1401837a2
mov esi, dword [rbp + 0x6f]
mov qword [rbx + 0x2c0], r8
mov rax, qword [rbp - 0x79]
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.14015d380
mov rbx, qword [rsp + 0x138]
mov eax, esi
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret