Function at 0x140083840
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, 0xe0
mov r10d, dword [rbp + 0x6f]
mov rbx, rcx
mov r12, qword [rbp + 0x77]
mov rsi, rdx
mov r14, qword [rbp + 0x7f]
xor edx, edx
mov qword [rbp + 0x47], rdx
mov ecx, 0x201
lea eax, [r10 - 0x3000]
xorps xmm0, xmm0
test eax, 0xffffefff
xorps xmm1, xmm1
mov r15, qword [r14 + 0x2f0]
mov r13d, 0x60
sete al
test al, al
mov byte [rbp + 0x6f], al
mov rax, qword [r12]
cmovne r13d, ecx
xor r8d, r8d
mov r9d, r13d
mov rcx, qword [rax]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x48], rdx
mov dword [rbp - 0x69], edx
mov qword [rbp - 0x59], rdx
lea edx, [r8 + 8]
mov qword [rbp + 0x77], rcx
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rbp - 0x79], xmm1
mov dword [rbp - 0x65], r10d
mov qword [rbp - 0x61], rbx
call fcn.14005d340
mov edi, dword [rbp + 0x7f]
mov qword [rbp - 0x79], rax
test edi, edi
je 0x14008391c
mov rcx, qword [rbp + 0x77]
mov rdx, rax
call fcn.14005d2e0
mov edi, dword [rbp + 0x7f]
xor eax, eax
mov qword [rbp - 0x79], rax
jmp 0x140083924
mov dword [rbp - 0x69], r13d
mov qword [rbp - 0x71], rax
test edi, edi
jne 0x140083d14
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 [rsi + 0x10], edi
je 0x1400839f8
mov edx, dword [rbp + 0x57]
lea r9, [rbp + 0x7f]
lea r8, [rbp + 0x47]
mov rcx, rsi
call fcn.140081870
mov r13, qword [rbp + 0x5f]
mov edi, eax
test eax, eax
jne 0x140083a4d
mov eax, dword [rbp + 0x7f]
jmp 0x140083a2d
mov r13, qword [rbp + 0x5f]
mov edx, dword [rsi + 0x18]
mov rcx, r13
call fcn.14005b280
mov edi, eax
test eax, eax
jne 0x140083d10
mov edx, dword [rsi + 0x1c]
lea r8, [rbp + 0x47]
mov rcx, r13
call fcn.14005a770
mov edi, eax
test eax, eax
jne 0x140083d10
mov eax, dword [rsi + 0x1c]
mov rdx, qword [rbp + 0x47]
test rdx, rdx
je 0x140083a3e
mov r8d, eax
add r8, rdx
jmp 0x140083a41
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.1400827d0
mov edi, eax
cmp dword [rsi + 0x10], 0
je 0x140083a5f
cmp qword [rsi + 0x28], 0
jne 0x140083a6b
mov rcx, qword [rsi]
jmp 0x140083a62
mov rcx, r13
lea rdx, [rbp + 0x47]
call fcn.14005b230
test edi, edi
jne 0x140083d10
cmp dword [rbx + 0x84], 0xffff
jne 0x140083d10
mov r13, qword [r12 + 8]
lea rsi, [rbx + 0xc0]
mov qword [rbx + 0x240], r12
mov byte [rbx + 0x239], dil
cmp dword [rbx + 0x74], edi
je 0x140083c24
cmp dword [rbx + 0x78], edi
je 0x140083c24
xor edx, edx
mov r8d, 0x178
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsi + 0xc8], 7
mov dword [rsi + 0xcc], 1
mov dword [rsi + 0x14c], 0xffffffff
mov dword [rsi + 0x154], 0xf5c
mov dword [rsi + 0xc4], 0x27a000
mov qword [rsi + 0x170], rbx
mov dword [rbx + 0x268], eax
mov qword [rbx + 0x270], rax
movzx eax, byte [r12 + 0x2c]
test al, al
je 0x140083b1d
mov ecx, dword [r12 + 0x698]
inc ecx
jmp 0x140083b22
mov ecx, 0x61
mov r9, qword [r12]
test al, al
movzx eax, word [rbx + 0xb2]
mov edx, 0x2000
mov word [rsp + 0x30], ax
mov r8d, 0x5000
movzx eax, word [rbx + 0xb0]
cmovne edx, r8d
mov word [rsp + 0x28], ax
mov r8, rsi
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x49]
call fcn.140082710
test eax, eax
jne 0x140083bfc
mov edx, dword [r12 + 0x18]
mov rcx, r13
add edx, dword [rbx + 0x74]
call fcn.14005b280
mov edi, eax
test eax, eax
jne 0x140083bfc
mov edx, dword [rbx + 0x78]
mov rcx, r13
call fcn.14005a600
mov edi, eax
test eax, eax
jne 0x140083bfc
mov r8, qword [r13 + 0x40]
lea rcx, [rbp - 0x49]
mov rdx, qword [r13 + 0x38]
call fcn.1400827d0
mov rcx, r13
mov edi, eax
call fcn.14005a720
test edi, edi
jne 0x140083bfc
and byte [rsi], 0xfe
mov eax, dword [rsi + 0x158]
test eax, eax
jns 0x140083bc4
neg eax
mov dword [rsi + 0x158], eax
jmp 0x140083bd0
jne 0x140083bd0
mov dword [rsi + 0x158], 0x3ade68b1
cmp dword [rsi + 0xc8], 0x3e8
jbe 0x140083be6
mov dword [rsi + 0xc8], 7
cmp dword [rsi + 0xcc], 0x3e8
jbe 0x140083bfc
mov dword [rsi + 0xcc], 1
mov rcx, qword [rbp - 0x49]
mov rax, qword [rbx + 0x278]
mov rdx, qword [rbp - 0x29]
mov qword [rbx + 0x280], rax
mov dword [rbx + 0x288], 0
mov rcx, qword [rcx]
call fcn.14005d2e0
test edi, edi
jne 0x140083d10
movzx r12d, byte [rbp + 0x6f]
test r12b, r12b
jne 0x140083cb5
mov rax, qword [r14 + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x140083c6f
mov rsi, qword [r14 + 0x90]
mov eax, dword [rsi + 0x60]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rsi + 0x60]
test eax, eax
je 0x140083ca0
mov ecx, eax
call qword [r15 + 0x28]
mov dword [rsi + 0x60], eax
test eax, eax
js 0x140083c60
jmp 0x140083ca0
mov dword [rbx + 0x2c8], ecx
mov rax, qword [r14 + 0xd0]
cmp dword [rax + 0x5c], 0
je 0x140083ca0
mov ecx, dword [rax + 0x5c]
call qword [r15 + 0x28]
mov rcx, qword [r14 + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [r14 + 0xd0]
cmp dword [rax + 0x5c], 0
jl 0x140083c82
cmp dword [rbx + 0x2c8], 0
jne 0x140083cb5
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rbx + 0x21c]
test eax, eax
je 0x140083d10
mov edx, dword [rbx + 0x74]
mov r14, qword [rbp + 0x5f]
add edx, eax
add edx, dword [rbp + 0x67]
mov rcx, r14
call fcn.14005b280
mov edi, eax
test eax, eax
jne 0x140083d10
movzx r9d, r12b
lea rcx, [rbx + 0x290]
mov r8b, 1
mov rdx, r14
call fcn.140081d50
mov edi, eax
test eax, eax
jne 0x140083d10
lea rdx, [rbx + 0x2c0]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbx + 0x290]
call fcn.140081b00
mov edi, eax
mov rax, qword [rbp - 0x79]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.14005d2e0
mov rbx, qword [rsp + 0x128]
mov eax, edi
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret