Function at 0x1403f41f0
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 0x1403f44da
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 0x1403f4439
mov rdx, r14
add rdx, rbx
mov r15, qword [rdx + 0xb0]
test r15, r15
je 0x1403f4439
mov r13d, dword [rdx + 0x68]
mov r12d, dword [rdx + 0x6c]
and r13d, 2
jne 0x1403f43af
cmp dword [rsi + 0x34], 0
jne 0x1403f42ab
cmp dword [r15 + 0x14], 0
jne 0x1403f42ab
cmp rbp, qword [r15 + 0x20]
jle 0x1403f42ab
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
mov r12d, dword [r15 + 0x1c]
call fcn.1403edfc0
jmp 0x1403f4284
imul r8, rdi, 0x78
lea r15, [rbx + r8]
cmp dword [r15 + 0x6c], r12d
jl 0x1403f42c8
cmp dword [rsi + 0x34], 0
je 0x1403f4410
jmp 0x1403f4380
mov rax, qword [r15 + 0x60]
cmp r12d, dword [rax + 8]
jle 0x1403f42f7
imul rax, rdi, 0x78
mov dword [rsi + 0x34], 0x10b
add rax, rbx
cmp qword [rax + 0x70], 0
je 0x1403f445a
mov rax, qword [rax + 0xc8]
jmp 0x1403f43fd
mov rcx, qword [r15 + 0x78]
call fcn.140489690
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.1403f6730
cmp dword [rsi + 0x34], 0
jne 0x1403f4380
mov rdx, qword [r15 + 0x70]
test rdx, rdx
je 0x1403f445a
mov rcx, qword [rdx]
mov ax, word [rcx]
xchg al, ah
movzx r9d, ax
cmp dword [rdx + 0xc], r9d
jle 0x1403f42d2
cmp r9d, 3
mov dword [rsp + 0x3c], r9d
jle 0x1403f42d2
movzx eax, ax
lea rdx, [rbx + r14 + 0xc8]
add rcx, rax
call fcn.1404591c0
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.1403f6230
cmp qword [r15 + 0x70], 0
je 0x1403f445a
mov rax, qword [r15 + 0xc8]
jmp 0x1403f43fd
cmp dword [r15 + 0x14], 0
jne 0x1403f43b5
cmp rbp, qword [r15 + 0x20]
jge 0x1403f43b5
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call fcn.1403ee080
cmp dword [rsi + 0x34], 0
je 0x1403f4394
imul r14, rdi, 0x78
mov eax, dword [r15 + 0x1c]
add r14, rbx
cmp eax, dword [r14 + 0x6c]
jl 0x1403f43ce
cmp dword [rsi + 0x34], 0
je 0x1403f4410
jmp 0x1403f43e1
inc eax
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
mov dword [r14 + 0x6c], eax
call fcn.1403f6b40
cmp qword [r14 + 0x70], 0
je 0x1403f445a
mov rax, qword [r14 + 0xc8]
jmp 0x1403f4432
mov rax, qword [r14 + 0xc8]
test r13d, r13d
jne 0x1403f4432
cmp rbp, rax
jle 0x1403f449f
cmp dword [rsi + 0x34], 0
jne 0x1403f449f
imul r14, rdi, 0x78
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
add r14, rbx
call qword [r14 + 0x88]
cmp qword [r14 + 0x70], 0
jne 0x1403f43f1
jmp 0x1403f445a
cmp rbp, rax
jl 0x1403f4406
jmp 0x1403f449f
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 0x1403f449f
mov r8d, dword [rsp + 0x38]
mov rdx, rbx
mov rcx, rsi
mov r9d, 1
call fcn.1403f3340
mov rcx, rbx
call fcn.1403f45c0
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 0x1403f44bb
jmp 0x1403f44da
cmp dword [rsp + 0x44], 0
jne 0x1403f445a
mov r8, qword [rsp + 0x28]
mov edx, dword [rsp + 0x38]
mov rcx, rbx
call fcn.1403f3220
test eax, eax
jne 0x1403f445a
cmp byte [rbx + 0x48], 0
mov rdx, qword [rsp + 0x48]
je 0x1403f44d3
mov r8d, dword [rdx + 0x70]
test r8d, r8d
je 0x1403f421d
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