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

Disassembly:
push rbx
push rbp
push r13
sub rsp, 0x30
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x28], r14
je 0x140019287
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov eax, dword [rcx + 0x24]
mov rdx, qword [rcx]
mov dword [rdx + 0x2c], eax
mov rax, qword [rcx]
call qword [rax]
mov qword [rsp + 0x58], rdi
mov rcx, rbx
mov qword [rsp + 0x20], r15
call fcn.140016430
mov edx, dword [rbx + 0x38]
lea r15, [rbx + 0x184]
mov r11, qword [rbx + 0x120]
xor r12d, r12d
mov r14d, r12d
lea ebp, [r12 + 4]
lea r13d, [r12 + 1]
test edx, edx
jle 0x1400193fc
mov qword [rsp + 0x50], rsi
lea r12d, [rbp + 4]
add r11, 0x24
nop
cmp byte [rbx + 0x60], 0
mov r10d, ebp
mov r9d, dword [rbx + 0x188]
mov r8d, r13d
cmovne r10d, r12d
cmp r9d, r10d
jg 0x140019314
mov edi, dword [r11 - 0x1c]
mov esi, dword [rbx + 0x180]
mov ecx, edi
mov eax, esi
imul ecx, r8d
cdq
add ecx, ecx
idiv ecx
test edx, edx
jne 0x140019314
add r8d, r8d
mov eax, r9d
imul eax, r8d
cmp eax, r10d
jle 0x1400192f4
imul r9d, r8d
mov r10d, ebp
mov r8d, r13d
mov dword [r11], r9d
cmp byte [rbx + 0x60], 0
mov r9d, dword [rbx + 0x18c]
cmovne r10d, r12d
cmp r9d, r10d
jg 0x140019360
mov edi, dword [r11 - 0x18]
mov esi, dword [r15]
nop dword [rax]
mov ecx, edi
mov eax, esi
imul ecx, r8d
cdq
add ecx, ecx
idiv ecx
test edx, edx
jne 0x140019360
add r8d, r8d
mov eax, r9d
imul eax, r8d
cmp eax, r10d
jle 0x140019340
mov ecx, dword [r11]
imul r9d, r8d
mov dword [r11 + 4], r9d
lea eax, [r9 + r9]
cmp ecx, eax
jle 0x140019378
mov dword [r11], eax
jmp 0x140019384
lea eax, [rcx + rcx]
cmp r9d, eax
jle 0x140019384
mov dword [r11 + 4], eax
mov edx, dword [rbx + 0x38]
inc r14d
add r11, 0x60
cmp r14d, edx
jl 0x1400192d0
mov rsi, qword [rsp + 0x50]
mov r12d, 0
mov rdi, qword [rbx + 0x120]
test edx, edx
jle 0x1400193fc
add rdi, 8
mov ecx, dword [rdi + 0x1c]
imul ecx, dword [rdi]
mov edx, dword [rbx + 0x20c]
imul edx, dword [rbx + 0x180]
imul ecx, dword [rbx + 0x30]
call fcn.140015d10
mov ecx, dword [rdi + 0x20]
imul ecx, dword [rdi + 4]
mov dword [rdi + 0x24], eax
mov edx, dword [rbx + 0x20c]
imul edx, dword [r15]
imul ecx, dword [rbx + 0x34]
call fcn.140015d10
mov dword [rdi + 0x28], eax
lea rdi, [rdi + 0x60]
mov edx, dword [rbx + 0x38]
inc r12d
cmp r12d, edx
jl 0x1400193b1
mov r8d, dword [rbx + 0x40]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
lea eax, [r8 - 1]
cmp eax, 6
ja case.default.0x14001942c
lea r9, [0x140000000]
cdqe
mov ecx, dword [r9 + rax*4 + 0x19530]
add rcx, r9
jmp rcx
mov ebp, r13d
jmp case.0x14001942c.4
mov ebp, 3
jmp case.0x14001942c.4
mov ebp, edx
mov dword [rbx + 0x7c], ebp
mov eax, ebp
cmp byte [rbx + 0x62], 0
cmovne eax, r13d
cmp byte [rbx + 0x60], 0
mov dword [rbx + 0x80], eax
jne 0x140019518
cmp byte [rbx + 0x170], 0
jne 0x140019518
cmp dword [rbx + 0x3c], 3
jne 0x140019518
cmp dword [rbx + 0x38], 3
jne 0x140019518
cmp r8d, 2
jne 0x140019518
cmp ebp, 3
jne 0x140019518
cmp dword [rbx + 0x16c], 0
jne 0x140019518
mov rax, qword [rbx + 0x120]
cmp dword [rax + 8], r8d
jne 0x140019518
cmp dword [rax + 0x68], r13d
jne 0x140019518
cmp dword [rax + 0xc8], r13d
jne 0x140019518
cmp dword [rax + 0xc], r8d
jg 0x140019518
cmp dword [rax + 0x6c], r13d
jne 0x140019518
cmp dword [rax + 0xcc], r13d
jne 0x140019518
mov ecx, dword [rbx + 0x188]
cmp dword [rax + 0x24], ecx
jne 0x140019518
cmp dword [rax + 0x84], ecx
jne 0x140019518
cmp dword [rax + 0xe4], ecx
jne 0x140019518
mov ecx, dword [rbx + 0x18c]
cmp dword [rax + 0x28], ecx
jne 0x140019518
cmp dword [rax + 0x88], ecx
jne 0x140019518
cmp dword [rax + 0xe8], ecx
jne 0x140019518
mov eax, dword [r15]
mov dword [rbx + 0x84], eax
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r13
pop rbp
pop rbx
ret
mov dword [rbx + 0x84], r13d
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r13
pop rbp
pop rbx
ret