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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x70
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x60], rsi
mov rsi, rcx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14003f434
call qword [0x140144aa8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x14003f44c
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x14003f44c
call fcn.140033ca0
mov rdx, qword [rsi]
test rdx, rdx
je 0x14003f466
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x14003f466
call qword [0x140144aa8]
mov rdx, qword [rsi]
mov ebx, dword [rsi + 0x30]
test ebx, ebx
je 0x14003f479
lea eax, [rbx - 5]
cmp eax, 1
ja 0x14003fac2
mov rax, qword [rsi + 0x28]
mov r8, qword [rsi + 8]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x58], rdi
mov rcx, qword [rax + 8]
mov rax, qword [r8 + 8]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
mov rdi, qword [rcx]
mov r13, qword [rax]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0x90], 0
test rdx, rdx
je 0x14003f4da
cmp byte [rcx + 0x24], 2
jne 0x14003f4da
mov ebx, 5
jmp 0x14003f589
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jne 0x14003f56b
lea edx, [rbx + 2]
mov rcx, r8
call fcn.1400360e0
mov ebx, eax
test eax, eax
jne 0x14003f589
mov rdi, qword [rsi + 8]
mov dword [rsi + 0x14], 1
mov rbp, qword [rdi + 8]
cmp byte [rdi + 0x11], al
je 0x14003f51e
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], al
jne 0x14003f51e
mov rcx, rdi
call fcn.140033ca0
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 0x50]
movzx eax, byte [rdx + 0x2a]
movzx r8d, byte [rdx + 0x29]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 0x2b]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 0x28]
shl eax, 0x18
or r8d, eax
mov dword [rsi + 0x10], r8d
cmp byte [rdi + 0x11], 0
je 0x14003f563
sub dword [rdi + 0x14], 1
jne 0x14003f563
mov rcx, rdi
call fcn.140033c50
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x10], 0
jne 0x14003f589
xor edx, edx
call fcn.1400360e0
mov ebx, eax
mov dword [rsp + 0x90], 1
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [rsi + 8]
mov edx, dword [rcx + 0x30]
mov rax, qword [rax + 8]
mov dword [rsp + 0x88], edx
mov r8d, dword [rax + 0x30]
mov rax, qword [rax]
mov dword [rsp + 0x80], r8d
movzx r12d, byte [rax + 9]
test ebx, ebx
jne 0x14003f5cc
cmp r12b, 5
jne 0x14003f5cc
cmp edx, r8d
mov eax, 8
cmovne ebx, eax
mov r15d, dword [rcx + 0x3c]
xor r14d, r14d
cmp r14d, 0x7fffffff
jge 0x14003f64d
mov ebp, dword [rsi + 0x18]
cmp ebp, r15d
ja 0x14003f64d
test ebx, ebx
jne 0x14003f692
mov rax, qword [rsi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, 0x40000000
div dword [rcx + 0x30]
inc eax
cmp ebp, eax
je 0x14003f63d
lea r9d, [rbx + 2]
mov edx, ebp
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14002f7a0
mov ebx, eax
test eax, eax
jne 0x14003f63d
mov rdi, qword [rsp + 0x28]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
mov r8, qword [rdi + 8]
call fcn.14003f270
mov rcx, rdi
mov ebx, eax
call fcn.14002fcb0
inc dword [rsi + 0x18]
mov rdi, qword [rsp + 0x98]
inc r14d
jmp 0x14003f5d3
test ebx, ebx
jne 0x14003f692
mov eax, r15d
mov dword [rsi + 0x38], r15d
sub eax, dword [rsi + 0x18]
inc eax
mov dword [rsi + 0x34], eax
cmp dword [rsi + 0x18], r15d
ja 0x14003f69b
cmp dword [rsi + 0x3c], ebx
jne 0x14003fa70
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rsi + 0x40], rax
mov qword [rdx + 0x70], rsi
mov dword [rsi + 0x3c], 1
jmp 0x14003fa70
cmp ebx, 0x65
jne 0x14003fa70
test r15d, r15d
jne 0x14003f6f8
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x11], r15b
je 0x14003f6bb
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r15b
jne 0x14003f6bb
mov rcx, rdi
call fcn.140033ca0
mov rax, qword [rdi + 8]
mov dword [rax + 0x3c], 0
mov rcx, qword [rdi + 8]
call fcn.140035fd0
cmp byte [rdi + 0x11], 0
mov ebx, eax
je 0x14003f6e5
sub dword [rdi + 0x14], 1
jne 0x14003f6e5
mov rcx, rdi
call fcn.140033c50
mov r15d, 1
test ebx, ebx
je 0x14003f6f8
cmp ebx, 0x65
jne 0x14003fa70
mov rdi, qword [rsi + 8]
mov ebp, dword [rsi + 0x10]
inc ebp
cmp byte [rdi + 0x11], 0
mov rbx, qword [rdi + 8]
je 0x14003f71c
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x14003f71c
mov rcx, rdi
call fcn.140033ca0
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x68]
mov r14, qword [rax + 0x50]
mov rdx, qword [rcx + 0x20]
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x14003f741
call fcn.1400303b0
jmp 0x14003f746
call fcn.1400300b0
mov ebx, eax
test eax, eax
jne 0x14003f76b
mov eax, ebp
mov byte [r14 + 0x2b], bpl
shr eax, 0x18
mov byte [r14 + 0x28], al
mov eax, ebp
shr eax, 0x10
mov byte [r14 + 0x29], al
mov eax, ebp
shr eax, 8
mov byte [r14 + 0x2a], al
cmp byte [rdi + 0x11], 0
je 0x14003f77f
sub dword [rdi + 0x14], 1
jne 0x14003f77f
mov rcx, rdi
call fcn.140033c50
test ebx, ebx
jne 0x14003fa70
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003f794
call fcn.14005f1b0
cmp r12b, 5
jne 0x14003f837
mov rbx, qword [rsi + 8]
mov r14d, 0xffef
xor edx, edx
mov rcx, rbx
mov rdi, qword [rbx + 8]
and word [rdi + 0x26], r14w
call fcn.1400360e0
mov r8d, eax
test eax, eax
jne 0x14003f826
mov rax, qword [rdi + 0x18]
mov rbp, qword [rax + 0x50]
cmp byte [rbp + 0x12], 2
jne 0x14003f7d6
cmp byte [rbp + 0x13], 2
je 0x14003f826
mov edx, 2
mov rcx, rbx
call fcn.1400360e0
mov r8d, eax
test eax, eax
jne 0x14003f826
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x68]
mov rdx, qword [rcx + 0x20]
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x14003f80b
call fcn.1400303b0
jmp 0x14003f810
call fcn.1400300b0
mov r8d, eax
mov ebx, eax
test eax, eax
jne 0x14003f826
mov word [rbp + 0x12], 0x202
and word [rdi + 0x26], r14w
jmp 0x14003f837
and word [rdi + 0x26], r14w
mov ebx, r8d
test r8d, r8d
jne 0x14003fa70
movsxd rdi, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
cmp edi, ecx
jge 0x14003fa39
mov r10, qword [rsp + 0x20]
mov eax, ecx
cdq
movsxd r13, r15d
idiv edi
mov r14d, dword [r10 + 0x1c]
mov r12, rdi
mov ecx, eax
dec eax
add eax, r15d
mov r15, qword [r10 + 0x48]
cdq
idiv ecx
xor edx, edx
mov r8d, eax
mov rax, qword [rsi + 8]
imul r13, rdi
mov rcx, qword [rax + 8]
lea ebp, [r8 - 1]
mov eax, 0x40000000
div dword [rcx + 0x30]
inc eax
cmp r8d, eax
cmovne ebp, r8d
cmp ebp, r14d
ja 0x14003f90b
mov rax, qword [rsi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, 0x40000000
div dword [rcx + 0x30]
inc eax
cmp ebp, eax
je 0x14003f900
xor r9d, r9d
lea r8, [rsp + 0x28]
mov edx, ebp
mov rcx, r10
call fcn.14002f7a0
mov ebx, eax
test eax, eax
jne 0x14003f8fb
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, rdi
jbe 0x14003f8ec
call fcn.1400303b0
jmp 0x14003f8f1
call fcn.1400300b0
mov rcx, rdi
mov ebx, eax
call fcn.14002fcb0
mov r10, qword [rsp + 0x20]
inc ebp
test ebx, ebx
je 0x14003f896
jmp 0x14003fa70
test ebx, ebx
jne 0x14003f91f
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, r10
call fcn.140030610
mov ebx, eax
mov eax, dword [rsp + 0x80]
add eax, 0x40000000
movsxd r14, eax
mov eax, dword [rsp + 0x88]
cmp r14, r13
cmovge r14, r13
add eax, 0x40000000
movsxd rdi, eax
test ebx, ebx
jne 0x14003fa70
nop dword [rax]
cmp rdi, r14
jge 0x14003f9c5
mov rcx, qword [rsp + 0x98]
lea r8, [rsp + 0x80]
mov rax, rdi
mov qword [rsp + 0x80], 0
cqo
xor r9d, r9d
idiv r12
lea edx, [rax + 1]
call fcn.14002f7a0
mov rbp, qword [rsp + 0x80]
mov ebx, eax
test eax, eax
jne 0x14003f9ac
mov rax, qword [r15]
mov r9, rdi
mov r8d, dword [rsp + 0x88]
mov rcx, r15
mov rdx, qword [rbp + 8]
call qword [rax + 0x18]
mov ebx, eax
test rbp, rbp
je 0x14003f9b9
mov rcx, rbp
call fcn.14002fcb0
add rdi, r12
test ebx, ebx
je 0x14003f950
jmp 0x14003fa70
mov rax, qword [r15]
lea rdx, [rsp + 0x80]
mov rcx, r15
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x14003f9f4
cmp qword [rsp + 0x80], r13
jle 0x14003f9f4
mov rax, qword [r15]
mov rdx, r13
mov rcx, r15
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x14003fa70
mov r13, qword [rsp + 0x20]
mov rcx, qword [r13 + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x14003fa21
xor r8d, r8d
lea edx, [rbx + 0x15]
call qword [rax + 0x50]
mov ebx, eax
cmp eax, 0xc
jne 0x14003fa1d
xor ebx, ebx
jmp 0x14003fa21
test eax, eax
jne 0x14003fa55
cmp byte [r13 + 0xb], 0
jne 0x14003fa55
mov rcx, qword [r13 + 0x48]
movzx edx, byte [r13 + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14003fa53
mov eax, edi
xor r8d, r8d
cdq
idiv ecx
xor edx, edx
mov rcx, r13
imul eax, r15d
mov dword [r13 + 0x1c], eax
call fcn.140030610
mov ebx, eax
test ebx, ebx
jne 0x14003fa70
mov rcx, qword [rsi + 8]
xor edx, edx
call fcn.1400372c0
mov ebx, eax
mov eax, 0x65
test ebx, ebx
cmove ebx, eax
cmp dword [rsp + 0x90], 0
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
je 0x14003faae
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.1400370f0
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.1400372c0
mov rdx, qword [rsi]
cmp ebx, 0xc0a
mov eax, 7
cmove ebx, eax
mov dword [rsi + 0x30], ebx
test rdx, rdx
je 0x14003fad6
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x14003fad6
call qword [0x140144ab8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x14003faeb
sub dword [rcx + 0x14], 1
jne 0x14003faeb
call fcn.140033c50
mov rcx, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14003fb03
call qword [0x140144ab8]
mov eax, ebx
add rsp, 0x70
pop rbx
ret