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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rbx, rdx
mov qword [rsp + 0x80], rbp
lea rdx, [0x140000000]
movaps xmmword [rsp + 0x50], xmm6
mov esi, r8d
mov rdi, rcx
cmp esi, 0x30000
jg 0x140028670
je 0x140028a50
lea eax, [rsi - 0x10000]
cmp eax, 0xd
ja case.0x14002868b.196618
cdqe
mov ecx, dword [rdx + rax*4 + 0x2921c]
add rcx, rdx
jmp rcx
lea eax, [rsi - 0x30001]
cmp eax, 0xc
ja case.0x14002868b.196618
cdqe
mov ecx, dword [rdx + rax*4 + 0x29254]
add rcx, rdx
jmp rcx
movzx r8d, byte [rbx + 0x10]
test r8b, r8b
je 0x140028aac
and esi, 0x20000
or esi, 0x10001
jmp 0x140028645
movzx r8d, byte [rbx + 0x10]
test r8b, r8b
je 0x140028c43
and esi, 0x20000
bts esi, 0x10
jmp 0x140028645
mov rdx, rbx
mov rcx, rdi
call fcn.1400294f0
jmp 0x140029202
lea rsi, [rbx + 0x18]
movsx rax, word [rsi + 0xe00]
cmp eax, 0x63
je 0x140029202
movsx r11, word [rsi + 0xdfe]
add rax, rax
shl r11, 4
add r11, rsi
mov qword [rsp + 0x88], r14
movups xmm1, xmmword [rsi + rax*8]
mov dword [r11 + 0xc], 0xffffffff
movq r14, xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
mov rax, r14
movd ebp, xmm0
shr rax, 0x20
mov dword [r11 + 8], eax
mov dword [r11 + 4], ebp
mov dword [r11], r14d
test ebp, ebp
je 0x14002879b
mov ecx, dword [rsi + 0xe04]
xor r8d, r8d
lea eax, [rcx + rbp]
cmp eax, dword [rsi + 0xe08]
jle 0x140028750
mov qword [r11 + 4], r8
jmp 0x14002878d
mov dword [r11 + 0xc], ecx
add dword [rsi + 0xe04], ebp
cmp dword [r11 + 4], r8d
jle 0x14002878d
mov ecx, dword [r11]
mov r9, qword [rdi + 0x10]
add ecx, r8d
movsxd r10, ecx
mov ecx, dword [r11 + 0xc]
add ecx, r8d
inc r8d
movsxd rdx, ecx
movzx eax, word [r9 + r10*2]
mov word [rsi + rdx*2 + 0x630], ax
cmp r8d, dword [r11 + 4]
jl 0x140028760
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.140027ed0
movdqa xmm0, xmm1
psrldq xmm0, 4
movd ebp, xmm0
test ebp, ebp
je 0x1400287d7
psrldq xmm1, 0xc
mov r9d, ebp
movd eax, xmm1
mov edx, r14d
movsxd rcx, eax
add rcx, 0x318
lea r8, [rsi + rcx*2]
mov rcx, rdi
call fcn.140027fd0
add dword [rsi + 0xe08], ebp
lea eax, [r14 + rbp]
mov r14, qword [rsp + 0x88]
mov dword [rbx], eax
inc word [rsi + 0xdfe]
inc word [rsi + 0xe00]
jmp 0x140029202
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
jne 0x140028876
mov eax, dword [rbx]
test eax, eax
jle 0x140029202
dec eax
mov dword [rbx], eax
jmp 0x140029202
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x140028856
jle 0x14002882f
mov dword [rbx + 8], eax
mov ecx, r8d
mov dword [rbx + 4], r8d
jmp 0x140028834
mov ecx, eax
mov eax, r8d
mov edx, dword [rdi + 0x3c]
cmp ecx, edx
cmovg ecx, edx
cmp eax, edx
jle 0x140028845
mov dword [rbx + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x14002884b
mov dword [rbx], ecx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
jmp 0x14002885a
inc dword [rbx]
mov eax, dword [rbx]
mov ecx, dword [rdi + 0x3c]
cmp eax, ecx
jle 0x140029202
mov dword [rbx], ecx
jmp 0x140029202
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
je 0x140028887
jle 0x14002887d
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
jmp 0x140029202
mov edx, dword [rbx]
mov rcx, rdi
call fcn.140027d50
mov dword [rbx], eax
mov ecx, dword [rdi + 0x3c]
cmp eax, ecx
jle 0x140029206
mov dword [rbx], ecx
jmp 0x140029206
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x1400288e5
jle 0x1400288bf
mov dword [rbx + 8], eax
mov ecx, r8d
mov dword [rbx + 4], r8d
jmp 0x1400288c4
mov ecx, eax
mov eax, r8d
mov edx, dword [rdi + 0x3c]
cmp ecx, edx
cmovg ecx, edx
cmp eax, edx
jle 0x1400288d5
mov dword [rbx + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x1400288db
mov dword [rbx], ecx
mov dword [rbx], eax
mov dword [rbx + 4], eax
jmp 0x140029202
mov edx, dword [rbx]
mov rcx, rdi
call fcn.140027e00
mov dword [rbx], eax
mov ecx, dword [rdi + 0x3c]
cmp eax, ecx
jle 0x140029206
mov dword [rbx], ecx
jmp 0x140029206
xor r8d, r8d
mov qword [rbx + 4], r8
mov dword [rbx], r8d
mov byte [rbx + 0xf], r8b
jmp 0x140029206
mov eax, dword [rdi + 0x3c]
xor r8d, r8d
mov qword [rbx + 4], r8
mov byte [rbx + 0xf], r8b
mov dword [rbx], eax
jmp 0x140029206
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx + 8]
mov eax, dword [rdi + 0x3c]
cmp r8d, ecx
je 0x140028961
mov edx, r8d
cmp r8d, eax
jle 0x140028947
mov dword [rbx + 4], eax
mov edx, eax
mov r9d, ecx
cmp ecx, eax
jle 0x140028954
mov dword [rbx + 8], eax
mov r9d, eax
mov r8d, edx
mov ecx, r9d
cmp edx, r9d
jne 0x140028961
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, eax
jle 0x14002896b
mov dword [rbx], eax
mov edx, eax
cmp r8d, ecx
je 0x140028983
mov edx, r8d
jle 0x14002897a
mov dword [rbx + 4], ecx
mov edx, ecx
mov dword [rbx], edx
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
cmp byte [rbx + 0x10], 0
je 0x140028994
xor r8d, r8d
mov dword [rbx], r8d
jmp 0x140029202
test edx, edx
jle 0x140029202
nop dword [rax]
mov rax, qword [rdi + 0x10]
mov ecx, edx
cmp word [rax + rcx*2 - 2], 0xa
je 0x140029202
dec edx
mov dword [rbx], edx
test edx, edx
jg 0x1400289a0
jmp 0x140029202
mov ecx, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov r8d, dword [rdi + 0x3c]
cmp ecx, eax
je 0x1400289f6
mov edx, ecx
cmp ecx, r8d
jle 0x1400289db
mov dword [rbx + 4], r8d
mov edx, r8d
mov r9d, eax
cmp eax, r8d
jle 0x1400289ea
mov dword [rbx + 8], r8d
mov r9d, r8d
mov ecx, edx
mov eax, r9d
cmp edx, r9d
jne 0x1400289f6
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, r8d
jle 0x140028a03
mov dword [rbx], r8d
mov edx, r8d
cmp ecx, eax
je 0x140028a19
mov edx, ecx
jle 0x140028a10
mov dword [rbx + 4], eax
mov edx, eax
mov dword [rbx], edx
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
cmp byte [rbx + 0x10], 0
jne 0x14002898c
cmp edx, r8d
jge 0x140029202
nop dword [rax]
mov rax, qword [rdi + 0x10]
movsxd rcx, edx
cmp word [rax + rcx*2], 0xa
je 0x140029202
inc edx
mov dword [rbx], edx
cmp edx, r8d
jl 0x140028a30
jmp 0x140029202
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 8]
mov ecx, dword [rdi + 0x3c]
cmp r8d, edx
je 0x140028a86
mov eax, r8d
cmp r8d, ecx
jle 0x140028a6c
mov dword [rbx + 4], ecx
mov eax, ecx
mov r9d, edx
cmp edx, ecx
jle 0x140028a79
mov dword [rbx + 8], ecx
mov r9d, ecx
mov r8d, eax
mov edx, r9d
cmp eax, r9d
jne 0x140028a86
mov dword [rbx], eax
mov eax, dword [rbx]
cmp eax, ecx
cmovg eax, ecx
cmp r8d, edx
jne 0x140028a9a
mov dword [rbx + 8], eax
mov dword [rbx + 4], eax
jmp 0x140028a9c
mov eax, edx
test eax, eax
jle 0x140028aa5
dec eax
mov dword [rbx + 8], eax
mov dword [rbx], eax
jmp 0x140029202
mov ecx, dword [rbx + 4]
mov eax, dword [rbx + 8]
bt esi, 0x11
jae 0x140028b1f
cmp ecx, eax
jne 0x140028b1b
mov ecx, dword [rbx]
mov eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 4], ecx
mov edx, dword [rdi + 0x3c]
cmp ecx, eax
je 0x140028ae5
cmp ecx, edx
jle 0x140028ad6
mov dword [rbx + 4], edx
mov ecx, edx
cmp eax, edx
jle 0x140028adf
mov dword [rbx + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x140028ae5
mov dword [rbx], ecx
mov eax, dword [rbx]
cmp eax, edx
jle 0x140028aef
mov dword [rbx], edx
mov eax, edx
mov r9d, r8d
lea rcx, [rsp + 0x20]
mov r8d, eax
mov rdx, rdi
call fcn.140028320
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x140029206
cmp byte [rbx + 0xf], 0
je 0x140028b56
movss xmm6, dword [rbx + 0x14]
jmp 0x140028b5c
mov dword [rbx], eax
jmp 0x140028ac6
cmp ecx, eax
je 0x140028ac6
mov edx, ecx
jle 0x140028b31
mov edx, eax
mov dword [rbx + 4], eax
mov eax, ecx
mov dword [rbx + 8], ecx
mov ecx, dword [rdi + 0x3c]
cmp edx, ecx
cmovg edx, ecx
cmp eax, ecx
jle 0x140028b42
mov dword [rbx + 8], ecx
mov eax, ecx
cmp edx, eax
jne 0x140028b48
mov dword [rbx], edx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
mov edx, dword [rdi + 0x3c]
jmp 0x140028ae5
movss xmm6, dword [rsp + 0x20]
mov ebp, dword [rsp + 0x2c]
mov rdx, rdi
add ebp, ecx
lea rcx, [rsp + 0x38]
mov r8d, ebp
mov dword [rbx], ebp
call fcn.140027c70
mov r11d, dword [rsp + 0x4c]
xor r8d, r8d
movss xmm2, dword [rsp + 0x38]
test r11d, r11d
jle 0x140028bf9
mov r10, qword [0x14004f330]
movss xmm3, dword [0x140045244]
movsxd rax, ebp
lea r9, [rax + rax]
nop dword [rax]
mov rax, qword [rdi + 0x10]
movzx ecx, word [r9 + rax]
cmp ecx, 0xa
je 0x140028bf9
mov rdx, qword [r10 + 0x18f0]
cmp ecx, dword [rdx + 0x20]
jge 0x140028bc5
mov rax, qword [rdx + 0x28]
movss xmm1, dword [rax + rcx*4]
jmp 0x140028bca
movss xmm1, dword [rdx + 0x48]
movss xmm0, dword [r10 + 0x18f8]
divss xmm0, dword [rdx]
mulss xmm0, xmm1
ucomiss xmm0, xmm3
jp 0x140028be2
je 0x140028bf9
addss xmm2, xmm0
comiss xmm2, xmm6
ja 0x140028bf9
inc dword [rbx]
inc r8d
add r9, 2
cmp r8d, r11d
jl 0x140028ba0
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
mov eax, dword [rdi + 0x3c]
cmp ecx, edx
je 0x140028c1e
cmp ecx, eax
jle 0x140028c0f
mov dword [rbx + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x140028c18
mov dword [rbx + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x140028c1e
mov dword [rbx], ecx
mov ecx, dword [rbx]
cmp ecx, eax
jle 0x140028c28
mov dword [rbx], eax
mov ecx, eax
movss dword [rbx + 0x14], xmm6
mov byte [rbx + 0xf], 1
bt esi, 0x11
jae 0x140029206
mov dword [rbx + 8], ecx
jmp 0x140029206
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
bt esi, 0x11
jae 0x140028cb8
cmp eax, ecx
jne 0x140028cb4
mov eax, dword [rbx]
mov ecx, eax
mov dword [rbx + 8], eax
mov dword [rbx + 4], eax
mov edx, dword [rdi + 0x3c]
cmp eax, ecx
je 0x140028c7c
cmp eax, edx
jle 0x140028c6d
mov dword [rbx + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x140028c76
mov dword [rbx + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x140028c7c
mov dword [rbx], eax
mov eax, dword [rbx]
cmp eax, edx
jle 0x140028c86
mov dword [rbx], edx
mov eax, edx
mov r9d, r8d
lea rcx, [rsp + 0x20]
mov r8d, eax
mov rdx, rdi
call fcn.140028320
mov ebp, dword [rsp + 0x34]
cmp ebp, dword [rsp + 0x2c]
je 0x140029206
cmp byte [rbx + 0xf], 0
je 0x140028cd1
movss xmm6, dword [rbx + 0x14]
jmp 0x140028cd7
mov dword [rbx], ecx
jmp 0x140028c5d
cmp eax, ecx
je 0x140028c5d
jle 0x140028cc3
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov byte [rbx + 0xf], 0
mov edx, dword [rdi + 0x3c]
jmp 0x140028c7c
movss xmm6, dword [rsp + 0x20]
mov r8d, ebp
mov dword [rbx], ebp
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140027c70
mov r11d, dword [rsp + 0x4c]
xor r8d, r8d
movss xmm2, dword [rsp + 0x38]
test r11d, r11d
jle 0x140028bf9
mov r10, qword [0x14004f330]
movss xmm3, dword [0x140045244]
nop
lea eax, [r8 + rbp]
movsxd rcx, eax
mov rax, qword [rdi + 0x10]
movzx r9d, word [rax + rcx*2]
cmp r9d, 0xa
je 0x140028bf9
mov rdx, qword [r10 + 0x18f0]
cmp r9d, dword [rdx + 0x20]
jge 0x140028d43
mov rax, qword [rdx + 0x28]
movss xmm1, dword [rax + r9*4]
jmp 0x140028d48
movss xmm1, dword [rdx + 0x48]
movss xmm0, dword [r10 + 0x18f8]
divss xmm0, dword [rdx]
mulss xmm0, xmm1
ucomiss xmm0, xmm3
jp 0x140028d64
je 0x140028bf9
addss xmm2, xmm0
comiss xmm2, xmm6
ja 0x140028bf9
inc dword [rbx]
inc r8d
cmp r8d, r11d
jl 0x140028d10
jmp 0x140028bf9
mov esi, dword [rbx + 4]
cmp esi, dword [rbx + 8]
jne 0x140028d90
mov esi, dword [rbx]
mov dword [rbx + 8], esi
mov dword [rbx + 4], esi
mov edx, dword [rbx]
mov rcx, rdi
call fcn.140027d50
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov ecx, dword [rdi + 0x3c]
cmp esi, eax
je 0x140028dc2
cmp esi, ecx
jle 0x140028daf
mov dword [rbx + 4], ecx
mov esi, ecx
mov edx, eax
cmp eax, ecx
jle 0x140028dba
mov dword [rbx + 8], ecx
mov edx, ecx
cmp esi, edx
jne 0x140028dc2
mov dword [rbx], esi
mov eax, esi
cmp eax, ecx
jle 0x140029206
mov dword [rbx], ecx
jmp 0x140029206
mov esi, dword [rbx + 4]
cmp esi, dword [rbx + 8]
jne 0x140028de1
mov esi, dword [rbx]
mov dword [rbx + 8], esi
mov dword [rbx + 4], esi
mov edx, dword [rbx]
mov rcx, rdi
call fcn.140027e00
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov ecx, dword [rdi + 0x3c]
cmp esi, eax
je 0x140028e13
cmp esi, ecx
jle 0x140028e00
mov dword [rbx + 4], ecx
mov esi, ecx
mov edx, eax
cmp eax, ecx
jle 0x140028e0b
mov dword [rbx + 8], ecx
mov edx, ecx
cmp esi, edx
jne 0x140028e13
mov dword [rbx], esi
mov eax, esi
cmp eax, ecx
jle 0x140029206
mov dword [rbx], ecx
jmp 0x140029206
mov edx, dword [rbx + 4]
mov eax, dword [rbx + 8]
cmp edx, eax
jne 0x140028e35
mov eax, dword [rbx]
mov edx, eax
mov dword [rbx + 4], eax
jmp 0x140028e37
mov dword [rbx], eax
inc eax
mov dword [rbx + 8], eax
mov ecx, dword [rdi + 0x3c]
cmp edx, eax
je 0x140028e63
cmp edx, ecx
jle 0x140028e4c
mov dword [rbx + 4], ecx
mov edx, ecx
mov r8d, eax
cmp eax, ecx
jle 0x140028e59
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp edx, r8d
mov eax, r8d
cmove eax, r8d
mov dword [rbx], eax
jmp 0x140029202
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x140028ede
mov ecx, dword [rdi + 0x3c]
cmp eax, ecx
jle 0x140028e82
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x140028e8d
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x140028e94
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x140028e9a
mov dword [rbx], ecx
cmp eax, r8d
je 0x140029202
mov rdx, rbx
mov rcx, rdi
jge 0x140028ec6
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.1400284f0
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
mov dword [rbx], eax
jmp 0x140029202
sub eax, r8d
mov r9d, eax
call fcn.1400284f0
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
jmp 0x140029202
mov r8d, dword [rbx]
cmp r8d, dword [rdi + 0x3c]
jge 0x140029202
mov r9d, 1
mov rdx, rbx
mov rcx, rdi
call fcn.1400284f0
jmp 0x140029202
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx + 8]
mov eax, dword [rdi + 0x3c]
cmp ecx, r8d
je 0x140028f78
cmp ecx, eax
jle 0x140028f19
mov dword [rbx + 4], eax
mov ecx, eax
cmp r8d, eax
jle 0x140028f24
mov dword [rbx + 8], eax
mov r8d, eax
cmp ecx, r8d
jne 0x140028f2b
mov dword [rbx], ecx
cmp dword [rbx], eax
jle 0x140028f31
mov dword [rbx], eax
cmp ecx, r8d
je 0x140029202
mov rdx, rbx
jge 0x140028f5d
sub r8d, ecx
mov r9d, r8d
mov r8d, ecx
mov rcx, rdi
call fcn.1400284f0
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
mov dword [rbx], eax
jmp 0x140029202
sub ecx, r8d
mov r9d, ecx
mov rcx, rdi
call fcn.1400284f0
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
jmp 0x140029202
mov r8d, dword [rbx]
cmp r8d, eax
jle 0x140028f85
mov dword [rbx], eax
mov r8d, eax
test r8d, r8d
jle 0x140029202
dec r8d
mov r9d, 1
mov rdx, rbx
mov rcx, rdi
call fcn.1400284f0
dec dword [rbx]
jmp 0x140029202
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x140028fb6
mov eax, dword [rbx]
mov dword [rbx + 4], eax
xor r8d, r8d
mov dword [rbx + 8], r8d
mov dword [rbx], r8d
mov byte [rbx + 0xf], r8b
jmp 0x140029206
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x140028fe6
mov eax, dword [rbx]
mov dword [rbx + 8], eax
mov dword [rbx + 4], eax
mov eax, dword [rdi + 0x3c]
mov dword [rbx + 8], eax
mov dword [rbx], eax
jmp 0x140029202
mov dword [rbx], eax
mov eax, dword [rdi + 0x3c]
mov dword [rbx + 8], eax
mov dword [rbx], eax
jmp 0x140029202
mov r9d, dword [rbx + 4]
mov ecx, dword [rbx + 8]
mov eax, dword [rdi + 0x3c]
cmp r9d, ecx
je 0x14002902b
mov edx, r9d
cmp r9d, eax
jle 0x140029011
mov dword [rbx + 4], eax
mov edx, eax
mov r8d, ecx
cmp ecx, eax
jle 0x14002901e
mov dword [rbx + 8], eax
mov r8d, eax
mov r9d, edx
mov ecx, r8d
cmp edx, r8d
jne 0x14002902b
mov dword [rbx], edx
mov edx, dword [rbx]
mov r8d, edx
cmp edx, eax
jle 0x14002903b
mov dword [rbx], eax
mov edx, eax
mov r8d, eax
cmp r9d, ecx
jne 0x140029048
mov dword [rbx + 8], edx
mov dword [rbx + 4], edx
jmp 0x14002904f
mov dword [rbx], ecx
mov edx, ecx
mov r8d, ecx
cmp byte [rbx + 0x10], 0
je 0x140029064
xor r8d, r8d
mov dword [rbx], r8d
mov dword [rbx + 8], r8d
jmp 0x140029202
test edx, edx
jle 0x14002908d
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov ecx, edx
cmp word [rax + rcx*2 - 2], 0xa
je 0x14002908d
lea r8d, [rdx - 1]
mov dword [rbx], r8d
mov edx, r8d
test r8d, r8d
jg 0x140029070
mov dword [rbx + 8], r8d
jmp 0x140029202
mov ecx, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov r9d, dword [rdi + 0x3c]
cmp ecx, eax
je 0x1400290cd
mov edx, ecx
cmp ecx, r9d
jle 0x1400290b2
mov dword [rbx + 4], r9d
mov edx, r9d
mov r8d, eax
cmp eax, r9d
jle 0x1400290c1
mov dword [rbx + 8], r9d
mov r8d, r9d
mov ecx, edx
mov eax, r8d
cmp edx, r8d
jne 0x1400290cd
mov dword [rbx], edx
mov r8d, dword [rbx]
mov edx, r8d
cmp r8d, r9d
jle 0x1400290e1
mov dword [rbx], r9d
mov r8d, r9d
mov edx, r9d
cmp ecx, eax
jne 0x1400290ef
mov dword [rbx + 8], r8d
mov dword [rbx + 4], r8d
jmp 0x1400290f6
mov dword [rbx], eax
mov r8d, eax
mov edx, eax
cmp byte [rbx + 0x10], 0
je 0x14002910a
mov edx, r9d
mov dword [rbx], r9d
mov dword [rbx + 8], edx
jmp 0x140029202
cmp r8d, r9d
jge 0x14002912c
nop
mov rax, qword [rdi + 0x10]
movsxd rcx, r8d
cmp word [rax + rcx*2], 0xa
je 0x14002912c
lea edx, [r8 + 1]
mov dword [rbx], edx
mov r8d, edx
cmp edx, r9d
jl 0x140029110
mov dword [rbx + 8], edx
jmp 0x140029202
xor r8d, r8d
cmp esi, 0x10000
cmovge esi, r8d
test esi, esi
jle 0x140029206
mov word [rsp + 0x90], si
cmp esi, 0xa
jne 0x140029160
cmp byte [rbx + 0x10], r8b
jne 0x140029206
cmp byte [rbx + 0xc], r8b
je 0x1400291c5
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x1400291c5
movsxd rsi, dword [rbx]
cmp esi, dword [rdi + 0x3c]
jge 0x1400291c5
mov r9d, 1
lea rcx, [rbx + 0x18]
mov r8d, r9d
mov edx, esi
call fcn.140029340
test rax, rax
je 0x14002919a
mov rcx, qword [rdi + 0x10]
movzx edx, word [rcx + rsi*2]
mov word [rax], dx
mov edx, dword [rbx]
mov r8d, 1
mov rcx, rdi
call fcn.140027ed0
mov edx, dword [rbx]
mov r9d, r8d
lea r8, [rsp + 0x90]
mov rcx, rdi
call fcn.140027fd0
test al, al
je 0x140029206
jmp 0x140029200
mov rdx, rbx
mov rcx, rdi
call fcn.140028580
mov edx, dword [rbx]
lea r8, [rsp + 0x90]
mov r9d, 1
mov rcx, rdi
call fcn.140027fd0
test al, al
je 0x140029206
mov edx, dword [rbx]
lea rcx, [rbx + 0x18]
mov r9d, 1
xor r8d, r8d
call fcn.140029340
inc dword [rbx]
mov byte [rbx + 0xf], 0
movaps xmm6, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret