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

Disassembly:
push rbp
push rbx
push rdi
push r15
mov rbp, rsp
sub rsp, 0x48
xor r15d, r15d
mov rbx, rcx
mov edi, r15d
cmp byte [rcx + 0x13], dil
je 0x14002f267
mov eax, dword [rcx + 0x2c]
test eax, eax
jne 0x14002f773
mov qword [rsp + 0x80], rsi
cmp qword [rcx + 0x118], rdi
jne 0x14002f671
cmp byte [rcx + 0x14], dil
jne 0x14002f671
mov esi, 1
mov dword [rbp + 0x28], esi
nop
movzx eax, byte [rbx + 0x15]
mov edi, r15d
cmp al, sil
jb 0x14002f2a0
cmp al, 5
jne 0x14002f2d8
cmp byte [rbx + 0x11], dil
jne 0x14002f2b8
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x14002f2c2
cmp byte [rbx + 0x15], 5
je 0x14002f2d8
mov byte [rbx + 0x15], sil
cmp edi, 5
jne 0x14002f2d8
mov rcx, qword [rbx + 0xe8]
call qword [rbx + 0xe0]
test eax, eax
jne 0x14002f290
test edi, edi
jne 0x14002f45d
cmp byte [rbx + 0x15], sil
ja 0x14002f2ff
lea rdx, [rbp + 0x28]
mov rcx, rbx
call fcn.14002f010
mov edi, eax
test eax, eax
jne 0x14002f45d
mov esi, dword [rbp + 0x28]
test esi, esi
je 0x14002f46a
cmp byte [rbx + 0x12], r15b
je 0x14002f31f
mov rcx, rbx
mov edi, 0x308
call fcn.14002ca60
jmp 0x14002f769
movzx eax, byte [rbx + 0x15]
mov edi, r15d
cmp al, 4
jb 0x14002f32e
cmp al, 5
jne 0x14002f34f
cmp byte [rbx + 0x11], dil
jne 0x14002f349
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x14002f34f
mov byte [rbx + 0x15], 4
jmp 0x14002f357
test edi, edi
jne 0x14002f45d
mov rax, qword [rbx + 0x50]
cmp qword [rax], r15
jne 0x14002f3cb
mov rsi, qword [rbx]
lea r9, [rbp + 0x30]
mov rdx, qword [rbx + 0xd8]
xor r8d, r8d
mov rcx, rsi
call qword [rsi + 0x38]
mov edi, eax
test eax, eax
jne 0x14002f3cb
cmp dword [rbp + 0x30], r15d
je 0x14002f3cb
mov r8, qword [rbx + 0x50]
lea rax, [rbp + 0x28]
mov rdx, qword [rbx + 0xd8]
mov r9d, 0x802
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x28], r15d
call qword [rsi + 0x28]
mov edi, eax
test eax, eax
jne 0x14002f3cb
test byte [rbp + 0x28], 1
je 0x14002f3cb
mov rsi, qword [rbx + 0x50]
lea edi, [rax + 0xe]
mov rax, qword [rsi]
test rax, rax
je 0x14002f3cb
mov rcx, rsi
call qword [rax + 8]
mov qword [rsi], r15
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x14002f412
cmp byte [rbx + 0xb], r15b
jne 0x14002f3eb
mov edx, 2
call qword [rax + 0x28]
mov edi, eax
test eax, eax
jne 0x14002f3fb
mov rcx, qword [rbx + 0x50]
lea rdx, [rbx + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edi, eax
test edi, edi
jne 0x14002f440
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.14002d690
mov edi, eax
mov byte [rbx + 0x14], r15b
jmp 0x14002f43c
cmp byte [rbx + 8], r15b
jne 0x14002f43c
mov rcx, qword [rbx + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x14002f43c
cmp byte [rbx + 0x11], r15b
jne 0x14002f432
mov edx, 1
call qword [rax + 0x40]
cmp byte [rbx + 0x15], 5
je 0x14002f43c
mov byte [rbx + 0x15], 1
test edi, edi
je 0x14002f46a
movzx eax, dil
cmp eax, 0xd
je 0x14002f44e
cmp eax, 0xa
jne 0x14002f455
mov dword [rbx + 0x2c], edi
mov byte [rbx + 0x14], 6
test edi, edi
je 0x14002f765
mov rcx, rbx
call fcn.14002ca60
jmp 0x14002f769
cmp byte [rbx + 0x10], r15b
jne 0x14002f54d
cmp byte [rbx + 0x1b], r15b
je 0x14002f54d
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x14002f498
cmp word [rax + 0x3c], r15w
jl 0x14002f498
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14002f4cf
mov rcx, qword [rbx + 0x48]
mov rax, r15
mov qword [rbp + 0x28], rax
mov r8, qword [rcx]
test r8, r8
je 0x14002f4bd
lea rdx, [rbp + 0x28]
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x14002f45d
mov rax, qword [rbp + 0x28]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x14002f4dd
mov dword [rbx + 0xc0], eax
test eax, eax
je 0x14002f50c
mov rcx, qword [rbx + 0x48]
lea rdx, [rbp - 0x18]
mov r9d, 0x18
mov rax, qword [rcx]
lea r8d, [r9 - 8]
call qword [rax + 0x10]
mov edi, eax
test eax, eax
je 0x14002f513
cmp eax, 0x20a
jne 0x14002f45d
jmp 0x14002f513
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov rax, qword [rbx + 0x88]
cmp rax, qword [rbp - 0x18]
jne 0x14002f52d
mov rax, qword [rbx + 0x90]
cmp rax, qword [rbp - 0x10]
je 0x14002f54d
mov rcx, rbx
call fcn.14002c860
cmp byte [rbx + 0x1a], r15b
je 0x14002f54d
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov edi, r15d
cmp byte [rbx + 0x10], dil
jne 0x14002f671
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x14002f573
cmp word [rax + 0x3c], di
jl 0x14002f573
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14002f5ae
mov rcx, qword [rbx + 0x48]
mov rax, r15
mov qword [rbp + 0x30], rax
mov r8, qword [rcx]
test r8, r8
je 0x14002f59c
lea rdx, [rbp + 0x30]
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x14002f671
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x14002f5bc
mov dword [rbx + 0xc0], eax
mov r10, qword [rbx]
xor r8d, r8d
mov rdx, qword [rbx + 0x120]
mov rcx, r10
test eax, eax
jne 0x14002f5e7
call qword [r10 + 0x30]
mov edi, eax
cmp eax, 0x170a
mov eax, r15d
cmove edi, r15d
mov dword [rbp + 0x28], eax
jmp 0x14002f5f4
lea r9, [rbp + 0x28]
call qword [r10 + 0x38]
mov edi, eax
mov eax, dword [rbp + 0x28]
test edi, edi
jne 0x14002f671
test eax, eax
je 0x14002f667
mov edi, r15d
cmp byte [rbx + 0x10], dil
jne 0x14002f65a
cmp qword [rbx + 0x118], rdi
jne 0x14002f65a
cmp byte [rbx + 8], dil
jne 0x14002f62d
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax]
cmp dword [rcx], 2
jl 0x14002f626
cmp qword [rcx + 0x68], rdi
jne 0x14002f62d
mov edi, 0xe
jmp 0x14002f671
mov rdi, qword [rbx + 0x50]
mov rax, qword [rdi]
test rax, rax
je 0x14002f642
mov rcx, rdi
call qword [rax + 8]
mov qword [rdi], r15
mov rcx, rbx
call fcn.140031270
mov edi, eax
test eax, eax
jne 0x14002f671
mov byte [rbx + 9], 5
mov byte [rbx + 0x14], r15b
jmp 0x14002f671
mov dword [0], 1
jmp 0x14002f671
cmp byte [rbx + 9], 5
jne 0x14002f671
mov byte [rbx + 9], r15b
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x14002f6ea
mov qword [rsp + 0x40], r14
mov dword [rbp + 0x28], r15d
call fcn.1400331c0
mov r14, qword [rbx + 0x118]
mov esi, r15d
nop word [rax + rax]
inc esi
lea rdx, [rbp + 0x28]
mov r9d, esi
xor r8d, r8d
mov rcx, r14
call fcn.140032ed0
mov edi, eax
cmp eax, 0xffffffff
je 0x14002f6a0
mov r14, qword [rsp + 0x40]
test eax, eax
jne 0x14002f6ca
cmp dword [rbp + 0x28], r15d
je 0x14002f6ea
mov rcx, rbx
call fcn.14002c860
cmp byte [rbx + 0x1a], r15b
je 0x14002f6ea
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x14], r15b
jne 0x14002f455
test edi, edi
jne 0x14002f45d
mov rax, qword [rbx + 0x118]
test rax, rax
je 0x14002f716
cmp word [rax + 0x3c], r15w
jl 0x14002f716
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x14002f751
mov rcx, qword [rbx + 0x48]
mov rax, r15
mov qword [rbp + 0x28], rax
mov r8, qword [rcx]
test r8, r8
je 0x14002f73f
lea rdx, [rbp + 0x28]
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x14002f45d
mov rax, qword [rbp + 0x28]
movsxd rcx, dword [rbx + 0xbc]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xc0]
jbe 0x14002f75f
mov dword [rbx + 0xc0], eax
mov dword [rbx + 0x1c], eax
mov edi, r15d
mov byte [rbx + 0x14], 1
mov rsi, qword [rsp + 0x80]
mov eax, edi
add rsp, 0x48
pop r15
pop rdi
pop rbx
pop rbp
ret