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

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
sub rsp, 0x60
mov qword [rax + 8], rdi
mov rbx, rdx
mov qword [rax + 0x10], r14
lea rdx, [0x180000000]
movaps xmmword [rax - 0x28], xmm6
mov ebp, r8d
mov rsi, rcx
cmp ebp, 0x600000
jg 0x18004eac1
je 0x18004ef04
lea eax, [rbp - 0x200000]
cmp eax, 0xd
ja case.0x18004eadc.6291466
cdqe
mov ecx, dword [rdx + rax*4 + 0x4f6b4]
add rcx, rdx
jmp rcx
lea eax, [rbp - 0x600001]
cmp eax, 0xc
ja case.0x18004eadc.6291466
cdqe
mov ecx, dword [rdx + rax*4 + 0x4f6ec]
add rcx, rdx
jmp rcx
cmp byte [rbx + 0x10], 0
je 0x18004ef7a
and ebp, 0x400000
or ebp, 0x200001
jmp 0x18004ea96
movzx r8d, byte [rbx + 0x10]
test r8b, r8b
je 0x18004f117
and ebp, 0x400000
bts ebp, 0x15
jmp 0x18004ea96
mov rdx, rbx
mov rcx, rsi
call fcn.18004e440
mov byte [rbx + 0xf], 0
jmp 0x18004f695
lea rbp, [rbx + 0x18]
movsx rax, word [rbp + 0xe00]
cmp eax, 0x63
je 0x18004f3e4
movsx r8, word [rbp + 0xdfe]
add rax, rax
shl r8, 4
add r8, rbp
movups xmm6, xmmword [rbp + rax*8]
mov dword [r8 + 0xc], 0xffffffff
movq r14, xmm6
movdqa xmm0, xmm6
psrldq xmm0, 8
mov rax, r14
movd r10d, xmm0
shr rax, 0x20
mov dword [r8 + 8], eax
mov dword [r8 + 4], r10d
mov dword [r8], r14d
test r10d, r10d
je 0x18004ebe8
mov ecx, dword [rbp + 0xe04]
xor edi, edi
lea eax, [r10 + rcx]
cmp eax, dword [rbp + 0xe08]
jle 0x18004eb9c
mov qword [r8 + 4], rdi
jmp 0x18004ebda
mov dword [r8 + 0xc], ecx
add dword [rbp + 0xe04], r10d
cmp dword [r8 + 4], edi
jle 0x18004ebda
nop dword [rax]
mov eax, dword [r8]
mov rdx, qword [rsi + 0x18]
add eax, edi
movsxd r9, eax
mov eax, dword [r8 + 0xc]
add eax, edi
inc edi
movsxd rcx, eax
movzx eax, word [rdx + r9*2]
mov word [rbp + rcx*2 + 0x630], ax
cmp edi, dword [r8 + 4]
jl 0x18004ebb0
mov r8d, r10d
mov edx, r14d
mov rcx, rsi
call fcn.18004baa0
movdqa xmm0, xmm6
psrldq xmm0, 4
movd edi, xmm0
test edi, edi
je 0x18004ec24
psrldq xmm6, 0xc
lea r8, [rbp + 0x630]
movd eax, xmm6
mov r9d, edi
mov edx, r14d
movsxd rcx, eax
lea r8, [r8 + rcx*2]
mov rcx, rsi
call fcn.18004bb40
add dword [rbp + 0xe08], edi
lea eax, [r14 + rdi]
mov dword [rbx], eax
inc word [rbp + 0xdfe]
inc word [rbp + 0xe00]
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
je 0x18004ec60
jle 0x18004ec52
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov eax, dword [rbx]
test eax, eax
jle 0x18004f3e4
dec eax
mov byte [rbx + 0xf], 0
mov dword [rbx], eax
jmp 0x18004f695
mov r10d, dword [rbx + 8]
lea r9, [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r10d
je 0x18004ecd5
lea rcx, [rsi + 4]
jle 0x18004ec9d
mov dword [r9], eax
lea r11, [rbx + 8]
mov dword [rbx + 4], r10d
mov r8d, r10d
jmp 0x18004eca6
mov r8d, eax
mov r11, r9
mov eax, r10d
mov edx, dword [rcx]
cmp r8d, edx
jle 0x18004ecb7
mov r8d, edx
lea rcx, [rsi + 4]
mov r9, r11
cmp eax, edx
jle 0x18004ecc0
mov dword [r9], edx
mov eax, edx
cmp r8d, eax
jne 0x18004ecc8
mov dword [rbx], r8d
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
mov edx, dword [rcx]
jmp 0x18004ecdc
inc dword [rbx]
mov eax, dword [rbx]
mov edx, dword [rsi + 4]
cmp eax, edx
jle 0x18004f3e4
mov dword [rbx], edx
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
je 0x18004ed0e
jle 0x18004ed00
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18004bd40
mov dword [rbx], eax
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x18004f695
mov dword [rbx], ecx
jmp 0x18004f695
mov r9d, dword [rbx + 8]
lea r8, [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r9d
je 0x18004ed7f
jle 0x18004ed4e
mov dword [r8], eax
lea r10, [rbx + 8]
mov dword [rbx + 4], r9d
mov edx, r9d
jmp 0x18004ed56
mov edx, eax
mov r10, r8
mov eax, r9d
mov ecx, dword [rsi + 4]
cmp edx, ecx
jle 0x18004ed62
mov edx, ecx
mov r8, r10
cmp eax, ecx
jle 0x18004ed6b
mov dword [r8], ecx
mov eax, ecx
cmp edx, eax
jne 0x18004ed71
mov dword [rbx], edx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18004bdf0
mov dword [rbx], eax
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x18004f695
mov dword [rbx], ecx
jmp 0x18004f695
xor edi, edi
mov qword [rbx + 4], rdi
mov dword [rbx], edi
jmp 0x18004f691
mov eax, dword [rsi + 4]
xor edi, edi
mov qword [rbx + 4], rdi
mov dword [rbx], eax
jmp 0x18004f691
mov r8d, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov ecx, dword [rsi + 4]
cmp r8d, eax
je 0x18004edf0
mov edx, r8d
cmp r8d, ecx
jle 0x18004edd6
mov dword [rbx + 4], ecx
mov edx, ecx
mov r9d, eax
cmp eax, ecx
jle 0x18004ede3
mov dword [rbx + 8], ecx
mov r9d, ecx
mov r8d, edx
mov eax, r9d
cmp edx, r9d
jne 0x18004edf0
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, ecx
jle 0x18004edfa
mov dword [rbx], ecx
mov edx, ecx
cmp r8d, eax
je 0x18004ee12
mov edx, r8d
jle 0x18004ee09
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
je 0x18004ee25
xor edi, edi
mov dword [rbx], edi
mov byte [rbx + 0xf], dil
jmp 0x18004f695
test edx, edx
jle 0x18004f3e4
movzx r8d, word [0x1800694d8]
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
mov ecx, edx
cmp word [rax + rcx*2 - 2], r8w
je 0x18004f3e4
dec edx
mov dword [rbx], edx
test edx, edx
jg 0x18004ee40
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov ecx, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov r8d, dword [rsi + 4]
cmp ecx, eax
je 0x18004ee9a
mov edx, ecx
cmp ecx, r8d
jle 0x18004ee7f
mov dword [rbx + 4], r8d
mov edx, r8d
mov r9d, eax
cmp eax, r8d
jle 0x18004ee8e
mov dword [rbx + 8], r8d
mov r9d, r8d
mov ecx, edx
mov eax, r9d
cmp edx, r9d
jne 0x18004ee9a
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, r8d
jle 0x18004eea7
mov dword [rbx], r8d
mov edx, r8d
cmp ecx, eax
je 0x18004eebd
mov edx, ecx
jle 0x18004eeb4
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
je 0x18004eecf
mov dword [rbx], r8d
mov byte [rbx + 0xf], 0
jmp 0x18004f695
cmp edx, r8d
jge 0x18004f3e4
movzx r9d, word [0x1800694d8]
mov rax, qword [rsi + 0x18]
movsxd rcx, edx
cmp word [rax + rcx*2], r9w
je 0x18004f3e4
inc edx
mov dword [rbx], edx
cmp edx, r8d
jl 0x18004eee0
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov r10d, dword [rbx + 4]
lea r8, [rbx + 8]
mov r9d, dword [r8]
lea rdx, [rbx + 4]
mov ecx, dword [rsi + 4]
cmp r10d, r9d
je 0x18004ef50
mov eax, r10d
mov rdi, r8
cmp r10d, ecx
jle 0x18004ef32
mov dword [rdx], ecx
lea rdi, [rbx + 8]
lea rdx, [rbx + 4]
mov eax, ecx
mov r11d, r9d
cmp r9d, ecx
jle 0x18004ef40
mov dword [r8], ecx
mov r11d, ecx
mov r10d, eax
mov r9d, r11d
mov r8, rdi
cmp eax, r11d
jne 0x18004ef50
mov dword [rbx], eax
mov eax, dword [rbx]
cmp eax, ecx
cmovg eax, ecx
cmp r10d, r9d
jne 0x18004ef63
mov dword [r8], eax
mov dword [rdx], eax
jmp 0x18004ef66
mov eax, r9d
test eax, eax
jle 0x18004ef6f
dec eax
mov dword [r8], eax
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov eax, dword [rbx + 8]
lea r9, [rbx + 8]
mov ecx, dword [rbx + 4]
bt ebp, 0x16
jae 0x18004eff3
cmp ecx, eax
jne 0x18004efef
mov ecx, dword [rbx]
mov eax, ecx
mov dword [r9], ecx
mov dword [rbx + 4], ecx
mov edx, dword [rsi + 4]
cmp ecx, eax
je 0x18004efb7
cmp ecx, edx
jle 0x18004efa8
mov dword [rbx + 4], edx
mov ecx, edx
cmp eax, edx
jle 0x18004efb1
mov dword [rbx + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x18004efb7
mov dword [rbx], ecx
mov r8d, dword [rbx]
cmp r8d, edx
jle 0x18004efc4
mov dword [rbx], edx
mov r8d, edx
movzx r9d, byte [rbx + 0x10]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.18004e8a0
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x18004f695
cmp byte [rbx + 0xf], 0
je 0x18004f02e
movss xmm6, dword [rbx + 0x14]
jmp 0x18004f034
mov dword [rbx], eax
jmp 0x18004ef98
cmp ecx, eax
je 0x18004ef98
mov edx, ecx
jle 0x18004f009
mov edx, eax
mov dword [r9], ecx
mov dword [rbx + 4], eax
lea r9, [rbx + 8]
mov eax, ecx
mov ecx, dword [rsi + 4]
cmp edx, ecx
cmovg edx, ecx
cmp eax, ecx
jle 0x18004f01a
mov dword [r9], ecx
mov eax, ecx
cmp edx, eax
jne 0x18004f020
mov dword [rbx], edx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
mov edx, dword [rsi + 4]
jmp 0x18004efb7
movss xmm6, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x3c]
mov rdx, rsi
add r14d, ecx
lea rcx, [rsp + 0x30]
mov r8d, r14d
mov dword [rbx], r14d
call fcn.18004bc60
mov r10d, dword [rsp + 0x44]
xor edi, edi
movss xmm1, dword [rsp + 0x30]
test r10d, r10d
jle 0x18004f0cd
movss xmm3, dword [0x18005b44c]
movsxd rax, r14d
lea r8, [rax + rax]
mov rax, qword [rsi + 0x18]
movzx ecx, word [r8 + rax]
cmp ecx, 0xa
je 0x18004f0cd
mov r9, qword [0x18006a120]
mov rdx, qword [r9 + 0x19a0]
cmp ecx, dword [rdx]
jge 0x18004f09b
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x18004f0a0
movss xmm2, dword [rdx + 0x10]
movss xmm0, dword [r9 + 0x19a8]
divss xmm0, dword [rdx + 0x14]
mulss xmm0, xmm2
ucomiss xmm0, xmm3
je 0x18004f0cd
addss xmm1, xmm0
comiss xmm1, xmm6
ja 0x18004f0cd
inc dword [rbx]
inc edi
add r8, 2
cmp edi, r10d
jl 0x18004f070
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
mov eax, dword [rsi + 4]
cmp ecx, edx
je 0x18004f0f2
cmp ecx, eax
jle 0x18004f0e3
mov dword [rbx + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x18004f0ec
mov dword [rbx + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x18004f0f2
mov dword [rbx], ecx
mov ecx, dword [rbx]
cmp ecx, eax
jle 0x18004f0fc
mov dword [rbx], eax
mov ecx, eax
movss dword [rbx + 0x14], xmm6
mov byte [rbx + 0xf], 1
bt ebp, 0x16
jae 0x18004f695
mov dword [rbx + 8], ecx
jmp 0x18004f695
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
bt ebp, 0x16
jae 0x18004f18f
cmp eax, ecx
jne 0x18004f18b
mov eax, dword [rbx]
mov ecx, eax
mov dword [rbx + 8], eax
mov dword [rbx + 4], eax
mov edx, dword [rsi + 4]
cmp eax, ecx
je 0x18004f150
cmp eax, edx
jle 0x18004f141
mov dword [rbx + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x18004f14a
mov dword [rbx + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x18004f150
mov dword [rbx], eax
mov eax, dword [rbx]
cmp eax, edx
jle 0x18004f15a
mov dword [rbx], edx
mov eax, edx
movzx r9d, r8b
lea rcx, [rsp + 0x30]
mov r8d, eax
mov rdx, rsi
call fcn.18004e8a0
mov r14d, dword [rsp + 0x44]
cmp r14d, dword [rsp + 0x3c]
je 0x18004f695
cmp byte [rbx + 0xf], 0
je 0x18004f1ad
movss xmm6, dword [rbx + 0x14]
jmp 0x18004f1b3
mov dword [rbx], ecx
jmp 0x18004f131
cmp eax, ecx
je 0x18004f131
jle 0x18004f19f
movzx r8d, byte [rbx + 0x10]
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 [rsi + 4]
jmp 0x18004f150
movss xmm6, dword [rsp + 0x30]
mov r8d, r14d
mov dword [rbx], r14d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.18004bc60
mov r10d, dword [rsp + 0x44]
xor edi, edi
movss xmm1, dword [rsp + 0x30]
test r10d, r10d
jle 0x18004f0cd
movss xmm3, dword [0x18005b44c]
nop dword [rax]
nop dword [rax + rax]
lea eax, [rdi + r14]
movsxd rcx, eax
mov rax, qword [rsi + 0x18]
movzx r8d, word [rax + rcx*2]
cmp r8d, 0xa
je 0x18004f0cd
mov r9, qword [0x18006a120]
mov rdx, qword [r9 + 0x19a0]
cmp r8d, dword [rdx]
jge 0x18004f229
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + r8*4]
jmp 0x18004f22e
movss xmm2, dword [rdx + 0x10]
movss xmm0, dword [r9 + 0x19a8]
divss xmm0, dword [rdx + 0x14]
mulss xmm0, xmm2
ucomiss xmm0, xmm3
je 0x18004f0cd
addss xmm1, xmm0
comiss xmm1, xmm6
ja 0x18004f0cd
inc dword [rbx]
inc edi
cmp edi, r10d
jl 0x18004f1f0
jmp 0x18004f0cd
mov edi, dword [rbx + 4]
lea r14, [rbx + 8]
cmp edi, dword [r14]
jne 0x18004f27e
mov edi, dword [rbx]
lea rbp, [rbx + 8]
mov dword [r14], edi
mov dword [rbx + 4], edi
jmp 0x18004f281
mov rbp, r14
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18004bd40
mov dword [rbx], eax
mov dword [r14], eax
mov ecx, dword [rsi + 4]
cmp edi, eax
je 0x18004f2b6
cmp edi, ecx
jle 0x18004f2a3
mov dword [rbx + 4], ecx
mov edi, ecx
mov r14, rbp
mov edx, eax
cmp eax, ecx
jle 0x18004f2ae
mov dword [r14], ecx
mov edx, ecx
cmp edi, edx
jne 0x18004f2b6
mov dword [rbx], edi
mov eax, edi
cmp eax, ecx
jle 0x18004f695
mov dword [rbx], ecx
jmp 0x18004f695
mov edi, dword [rbx + 4]
lea r14, [rbx + 8]
cmp edi, dword [r14]
jne 0x18004f2df
mov edi, dword [rbx]
lea rbp, [rbx + 8]
mov dword [r14], edi
mov dword [rbx + 4], edi
jmp 0x18004f2e2
mov rbp, r14
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18004bdf0
mov dword [rbx], eax
mov dword [r14], eax
mov ecx, dword [rsi + 4]
cmp edi, eax
je 0x18004f317
cmp edi, ecx
jle 0x18004f304
mov dword [rbx + 4], ecx
mov edi, ecx
mov r14, rbp
mov edx, eax
cmp eax, ecx
jle 0x18004f30f
mov dword [r14], ecx
mov edx, ecx
cmp edi, edx
jne 0x18004f317
mov dword [rbx], edi
mov eax, edi
cmp eax, ecx
jle 0x18004f695
mov dword [rbx], ecx
jmp 0x18004f695
mov edx, dword [rbx + 4]
mov eax, dword [rbx + 8]
cmp edx, eax
jne 0x18004f339
mov eax, dword [rbx]
mov edx, eax
mov dword [rbx + 4], eax
jmp 0x18004f33b
mov dword [rbx], eax
inc eax
mov dword [rbx + 8], eax
mov ecx, dword [rsi + 4]
cmp edx, eax
je 0x18004f367
cmp edx, ecx
jle 0x18004f350
mov dword [rbx + 4], ecx
mov edx, ecx
mov r8d, eax
cmp eax, ecx
jle 0x18004f35d
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp edx, r8d
mov eax, r8d
cmove eax, r8d
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x18004f3a5
mov r8d, dword [rbx]
cmp r8d, dword [rsi + 4]
jge 0x18004f3e4
mov r9d, 1
mov rdx, rbx
mov rcx, rsi
call fcn.18004e6c0
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
je 0x18004f3b9
mov rdx, rbx
mov rcx, rsi
call fcn.18004e750
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov eax, dword [rsi + 4]
mov r8d, dword [rbx]
cmp r8d, eax
jle 0x18004f3c9
mov dword [rbx], eax
mov r8d, eax
test r8d, r8d
jle 0x18004f3e4
dec r8d
mov r9d, 1
mov rdx, rbx
mov rcx, rsi
call fcn.18004e6c0
dec dword [rbx]
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x18004f3fa
mov eax, dword [rbx]
mov dword [rbx + 4], eax
xor edi, edi
mov dword [rbx + 8], edi
mov dword [rbx], edi
jmp 0x18004f691
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x18004f427
mov eax, dword [rbx]
mov dword [rbx + 8], eax
mov dword [rbx + 4], eax
mov eax, dword [rsi + 4]
mov dword [rbx + 8], eax
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov dword [rbx], eax
mov eax, dword [rsi + 4]
mov dword [rbx + 8], eax
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov r9d, dword [rbx + 4]
lea r8, [rbx + 8]
mov ecx, dword [r8]
lea rdx, [rbx + 4]
mov eax, dword [rsi + 4]
cmp r9d, ecx
je 0x18004f487
mov r10d, r9d
mov rdi, r8
cmp r9d, eax
jle 0x18004f469
mov dword [rdx], eax
lea rdi, [rbx + 8]
lea rdx, [rbx + 4]
mov r10d, eax
mov r11d, ecx
cmp ecx, eax
jle 0x18004f476
mov dword [r8], eax
mov r11d, eax
mov r9d, r10d
mov ecx, r11d
mov r8, rdi
cmp r10d, r11d
jne 0x18004f487
mov dword [rbx], r10d
mov edi, dword [rbx]
cmp edi, eax
jle 0x18004f491
mov dword [rbx], eax
mov edi, eax
cmp r9d, ecx
jne 0x18004f49d
mov dword [r8], edi
mov dword [rdx], edi
jmp 0x18004f4a1
mov dword [rbx], ecx
mov edi, ecx
cmp byte [rbx + 0x10], 0
je 0x18004f4b7
xor edi, edi
mov dword [rbx], edi
mov dword [rbx + 8], edi
mov byte [rbx + 0xf], dil
jmp 0x18004f695
test edi, edi
jle 0x18004f4eb
movzx r8d, word [0x1800694d8]
mov edx, edi
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
mov edi, edx
mov ecx, edx
cmp word [rax + rcx*2 - 2], r8w
je 0x18004f4eb
lea edi, [rdx - 1]
mov dword [rbx], edi
mov edx, edi
test edi, edi
jg 0x18004f4d0
mov dword [rbx + 8], edi
mov byte [rbx + 0xf], 0
jmp 0x18004f695
mov r10d, dword [rbx + 4]
lea r8, [rbx + 8]
mov eax, dword [r8]
lea rcx, [rbx + 4]
mov r9d, dword [rsi + 4]
cmp r10d, eax
je 0x18004f546
mov edx, r10d
mov rdi, r8
cmp r10d, r9d
jle 0x18004f528
mov dword [rcx], r9d
lea rdi, [rbx + 8]
lea rcx, [rbx + 4]
mov edx, r9d
mov r11d, eax
cmp eax, r9d
jle 0x18004f536
mov dword [r8], r9d
mov r11d, r9d
mov r10d, edx
mov eax, r11d
mov r8, rdi
cmp edx, r11d
jne 0x18004f546
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, r9d
jle 0x18004f553
mov dword [rbx], r9d
mov edx, r9d
cmp r10d, eax
jne 0x18004f55f
mov dword [r8], edx
mov dword [rcx], edx
jmp 0x18004f563
mov dword [rbx], eax
mov edx, eax
cmp byte [rbx + 0x10], 0
je 0x18004f57b
mov edx, r9d
mov dword [rbx], r9d
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
jmp 0x18004f695
cmp edx, r9d
jge 0x18004f5af
movzx r10d, word [0x1800694d8]
mov r8d, edx
nop dword [rax + rax]
mov rax, qword [rsi + 0x18]
mov edx, r8d
movsxd rcx, r8d
cmp word [rax + rcx*2], r10w
je 0x18004f5af
lea edx, [r8 + 1]
mov dword [rbx], edx
mov r8d, edx
cmp edx, r9d
jl 0x18004f590
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
jmp 0x18004f695
xor edi, edi
cmp ebp, 0x200000
cmovge ebp, edi
test ebp, ebp
jle 0x18004f695
mov word [rsp + 0x90], bp
cmp ebp, 0xa
jne 0x18004f5e5
cmp byte [rbx + 0x10], dil
jne 0x18004f695
cmp byte [rbx + 0xc], dil
je 0x18004f643
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x18004f643
mov r8d, dword [rbx]
cmp r8d, dword [rsi + 4]
jge 0x18004f643
mov r9d, 1
mov dword [rsp + 0x20], 1
mov rdx, rbx
mov rcx, rsi
call fcn.18004e3d0
mov edx, dword [rbx]
mov r8d, 1
mov rcx, rsi
call fcn.18004baa0
mov edx, dword [rbx]
lea r8, [rsp + 0x90]
mov r9d, 1
mov rcx, rsi
call fcn.18004bb40
test al, al
je 0x18004f695
jmp 0x18004f68f
mov rdx, rbx
mov rcx, rsi
call fcn.18004e750
mov edx, dword [rbx]
lea r8, [rsp + 0x90]
mov r9d, 1
mov rcx, rsi
call fcn.18004bb40
test al, al
je 0x18004f695
mov esi, dword [rbx]
lea rcx, [rbx + 0x18]
xor edx, edx
call fcn.18004e050
test rax, rax
je 0x18004f68f
mov dword [rax], esi
mov dword [rax + 4], edi
mov dword [rax + 8], 1
mov dword [rax + 0xc], 0xffffffff
inc dword [rbx]
mov byte [rbx + 0xf], dil
movaps xmm6, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
pop rbp
pop rbx
ret