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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, [rsp + 0x48]
mov rsi, rcx
mov rbx, rdx
mov rbp, r9
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
cmp dword [rsi + 0x34], 0
jne 0x14031bbf8
mov rax, qword [rbx + 0x58]
xor edx, edx
mov dword [rsp + 0x44], edx
movzx eax, word [rax + 4]
movzx r14d, ax
mov dword [rsp + 0x38], eax
mov rdi, rax
imul r14, r14, 0x78
lea rax, [rbx + r14 + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rax
test r8d, r8d
je 0x14031bb57
mov rdx, r14
add rdx, rbx
mov r15, qword [rdx + 0xb0]
test r15, r15
je 0x14031bb57
mov r13d, dword [rdx + 0x68]
mov r12d, dword [rdx + 0x6c]
and r13d, 2
jne 0x14031badd
cmp dword [rsi + 0x34], 0
jne 0x14031ba0b
cmp dword [r15 + 0x14], 0
jne 0x14031ba0b
cmp rbp, qword [r15 + 0x20]
jle 0x14031ba0b
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
mov r12d, dword [r15 + 0x1c]
call fcn.1403157a0
jmp 0x14031b9e4
imul r8, rdi, 0x78
lea r15, [rbx + r8]
cmp dword [r15 + 0x6c], r12d
jge 0x14031bb32
mov rax, qword [r15 + 0x60]
cmp r12d, dword [rax + 8]
jle 0x14031ba33
mov dword [rsi + 0x34], 0x10b
jmp 0x14031bb05
mov rcx, qword [r15 + 0x78]
call fcn.140387c00
xor eax, eax
lea r9d, [r12 - 1]
mov rcx, rsi
mov qword [r15 + 0x78], rax
mov rdx, qword [rsp + 0x20]
mov dword [r15 + 0x6c], r9d
call fcn.14031dd60
cmp dword [rsi + 0x34], 0
jne 0x14031bb05
mov rdx, qword [r15 + 0x70]
test rdx, rdx
je 0x14031bb05
mov rcx, qword [rdx]
mov ax, word [rcx]
xchg al, ah
movzx r9d, ax
cmp dword [rdx + 0xc], r9d
jle 0x14031ba27
cmp r9d, 3
mov dword [rsp + 0x3c], r9d
jle 0x14031ba27
movzx eax, ax
lea rdx, [rbx + r14 + 0xc8]
add rcx, rax
call fcn.140358050
mov r9d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
movzx eax, al
add eax, r9d
cdqe
mov qword [r15 + 0x80], rax
call fcn.14031d880
jmp 0x14031bb05
cmp dword [r15 + 0x14], 0
jne 0x14031bae3
cmp rbp, qword [r15 + 0x20]
jge 0x14031bae3
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call fcn.140315860
cmp dword [rsi + 0x34], 0
je 0x14031bac2
imul rax, rdi, 0x78
mov edx, dword [r15 + 0x1c]
add rax, rbx
cmp edx, dword [rax + 0x6c]
jge 0x14031bb32
inc edx
mov rcx, rsi
mov dword [rax + 0x6c], edx
mov rdx, qword [rsp + 0x20]
call fcn.14031e170
imul rax, rdi, 0x78
add rax, rbx
cmp qword [rax + 0x70], 0
je 0x14031bb78
mov rax, qword [rax + 0xc8]
test r13d, r13d
jne 0x14031bb50
cmp rbp, rax
jle 0x14031bbbd
cmp dword [rsi + 0x34], 0
jne 0x14031bbbd
cmp dword [rsi + 0x34], 0
jne 0x14031bb05
imul rax, rdi, 0x78
mov rdx, qword [rsp + 0x20]
xor r8d, r8d
mov rcx, rsi
call qword [rbx + rax + 0x88]
jmp 0x14031bb05
cmp rbp, rax
jl 0x14031bb28
jmp 0x14031bbbd
imul rdi, rdi, 0x78
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
add rdi, rbx
call qword [rdi + 0x88]
cmp qword [rdi + 0x70], 0
jne 0x14031bbbd
mov r8d, dword [rsp + 0x38]
mov rdx, rbx
mov rcx, rsi
mov r9d, 1
call fcn.14031aad0
mov rcx, rbx
call fcn.14031bce0
mov rax, qword [rbx + 0x58]
movzx edx, word [rax + 4]
mov rax, rdx
imul rdx, rdx, 0x78
imul rax, rax, 0x78
lea rdx, [rbx + rdx + 0x60]
cmp qword [rbx + rax + 0x70], 0
mov qword [rsp + 0x48], rdx
jne 0x14031bbd9
jmp 0x14031bbf8
cmp dword [rsp + 0x44], 0
jne 0x14031bb78
mov r8, qword [rsp + 0x28]
mov edx, dword [rsp + 0x38]
mov rcx, rbx
call fcn.14031a9b0
test eax, eax
jne 0x14031bb78
cmp byte [rbx + 0x48], 0
mov rdx, qword [rsp + 0x48]
je 0x14031bbf1
mov r8d, dword [rdx + 0x70]
test r8d, r8d
je 0x14031b97d
mov rcx, rbx
call qword [rbx + 0x38]
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret