Function at 0x1800615c0
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 0x180061611
je 0x180061a44
lea eax, [rbp - 0x200000]
cmp eax, 0xd
ja case.0x18006162c.6291466
cdqe
mov ecx, dword [rdx + rax*4 + 0x621f0]
add rcx, rdx
jmp rcx
lea eax, [rbp - 0x600001]
cmp eax, 0xc
ja case.0x18006162c.6291466
cdqe
mov ecx, dword [rdx + rax*4 + 0x62228]
add rcx, rdx
jmp rcx
cmp byte [rbx + 0x10], 0
je 0x180061aba
and ebp, 0x400000
or ebp, 0x200001
jmp 0x1800615e6
movzx r8d, byte [rbx + 0x10]
test r8b, r8b
je 0x180061c57
and ebp, 0x400000
bts ebp, 0x15
jmp 0x1800615e6
mov rdx, rbx
mov rcx, rsi
call fcn.180060f90
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
lea rbp, [rbx + 0x18]
movsx rax, word [rbp + 0xe00]
cmp eax, 0x63
je 0x180061f24
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 r11d, xmm0
shr rax, 0x20
mov dword [r8 + 8], eax
mov dword [r8 + 4], r11d
mov dword [r8], r14d
test r11d, r11d
je 0x180061738
mov ecx, dword [rbp + 0xe04]
xor edi, edi
lea eax, [rcx + r11]
cmp eax, dword [rbp + 0xe08]
jle 0x1800616ec
mov qword [r8 + 4], rdi
jmp 0x18006172a
mov dword [r8 + 0xc], ecx
add dword [rbp + 0xe04], r11d
cmp dword [r8 + 4], edi
jle 0x18006172a
nop dword [rax]
mov ecx, dword [r8]
mov r9, qword [rsi + 0x18]
add ecx, edi
movsxd r10, ecx
mov ecx, dword [r8 + 0xc]
add ecx, edi
inc edi
movsxd rdx, ecx
movzx eax, word [r9 + r10*2]
mov word [rbp + rdx*2 + 0x630], ax
cmp edi, dword [r8 + 4]
jl 0x180061700
mov r8d, r11d
mov edx, r14d
mov rcx, rsi
call fcn.18005e310
movdqa xmm0, xmm6
psrldq xmm0, 4
movd edi, xmm0
test edi, edi
je 0x180061774
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.18005e3b0
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 0x1800621d3
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
je 0x1800617b0
jle 0x1800617a2
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov eax, dword [rbx]
test eax, eax
jle 0x180061f24
dec eax
mov byte [rbx + 0xf], 0
mov dword [rbx], eax
jmp 0x1800621d3
mov r9d, dword [rbx + 8]
lea r8, [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r9d
je 0x180061817
jle 0x1800617e9
mov dword [r8], eax
lea r10, [rbx + 8]
mov dword [rbx + 4], r9d
mov edx, r9d
jmp 0x1800617f1
mov edx, eax
mov r10, r8
mov eax, r9d
mov ecx, dword [rsi + 4]
cmp edx, ecx
jle 0x1800617fd
mov edx, ecx
mov r8, r10
cmp eax, ecx
jle 0x180061806
mov dword [r8], ecx
mov eax, ecx
cmp edx, eax
jne 0x18006180c
mov dword [rbx], edx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
jmp 0x18006181b
inc dword [rbx]
mov eax, dword [rbx]
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x180061f24
mov dword [rbx], ecx
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
je 0x180061850
jle 0x180061842
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18005e5b0
mov dword [rbx], eax
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x1800621d3
mov dword [rbx], ecx
jmp 0x1800621d3
mov r9d, dword [rbx + 8]
lea r8, [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r9d
je 0x1800618c1
jle 0x180061890
mov dword [r8], eax
lea r10, [rbx + 8]
mov dword [rbx + 4], r9d
mov edx, r9d
jmp 0x180061898
mov edx, eax
mov r10, r8
mov eax, r9d
mov ecx, dword [rsi + 4]
cmp edx, ecx
jle 0x1800618a4
mov edx, ecx
mov r8, r10
cmp eax, ecx
jle 0x1800618ad
mov dword [r8], ecx
mov eax, ecx
cmp edx, eax
jne 0x1800618b3
mov dword [rbx], edx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18005e660
mov dword [rbx], eax
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x1800621d3
mov dword [rbx], ecx
jmp 0x1800621d3
xor edi, edi
mov qword [rbx + 4], rdi
mov dword [rbx], edi
jmp 0x1800621cf
mov eax, dword [rsi + 4]
xor edi, edi
mov qword [rbx + 4], rdi
mov dword [rbx], eax
jmp 0x1800621cf
mov r8d, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov ecx, dword [rsi + 4]
cmp r8d, eax
je 0x180061932
mov edx, r8d
cmp r8d, ecx
jle 0x180061918
mov dword [rbx + 4], ecx
mov edx, ecx
mov r9d, eax
cmp eax, ecx
jle 0x180061925
mov dword [rbx + 8], ecx
mov r9d, ecx
mov r8d, edx
mov eax, r9d
cmp edx, r9d
jne 0x180061932
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, ecx
jle 0x18006193c
mov dword [rbx], ecx
mov edx, ecx
cmp r8d, eax
je 0x180061954
mov edx, r8d
jle 0x18006194b
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 0x180061967
xor edi, edi
mov dword [rbx], edi
mov byte [rbx + 0xf], dil
jmp 0x1800621d3
test edx, edx
jle 0x180061f24
movzx r8d, word [0x180201bd8]
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
mov ecx, edx
cmp word [rax + rcx*2 - 2], r8w
je 0x180061f24
dec edx
mov dword [rbx], edx
test edx, edx
jg 0x180061980
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov ecx, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov r8d, dword [rsi + 4]
cmp ecx, eax
je 0x1800619da
mov edx, ecx
cmp ecx, r8d
jle 0x1800619bf
mov dword [rbx + 4], r8d
mov edx, r8d
mov r9d, eax
cmp eax, r8d
jle 0x1800619ce
mov dword [rbx + 8], r8d
mov r9d, r8d
mov ecx, edx
mov eax, r9d
cmp edx, r9d
jne 0x1800619da
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, r8d
jle 0x1800619e7
mov dword [rbx], r8d
mov edx, r8d
cmp ecx, eax
je 0x1800619fd
mov edx, ecx
jle 0x1800619f4
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 0x180061a0f
mov dword [rbx], r8d
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
cmp edx, r8d
jge 0x180061f24
movzx r9d, word [0x180201bd8]
mov rax, qword [rsi + 0x18]
movsxd rcx, edx
cmp word [rax + rcx*2], r9w
je 0x180061f24
inc edx
mov dword [rbx], edx
cmp edx, r8d
jl 0x180061a20
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
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 0x180061a90
mov eax, r10d
mov rdi, r8
cmp r10d, ecx
jle 0x180061a72
mov dword [rdx], ecx
lea rdi, [rbx + 8]
lea rdx, [rbx + 4]
mov eax, ecx
mov r11d, r9d
cmp r9d, ecx
jle 0x180061a80
mov dword [r8], ecx
mov r11d, ecx
mov r10d, eax
mov r9d, r11d
mov r8, rdi
cmp eax, r11d
jne 0x180061a90
mov dword [rbx], eax
mov eax, dword [rbx]
cmp eax, ecx
cmovg eax, ecx
cmp r10d, r9d
jne 0x180061aa3
mov dword [r8], eax
mov dword [rdx], eax
jmp 0x180061aa6
mov eax, r9d
test eax, eax
jle 0x180061aaf
dec eax
mov dword [r8], eax
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov eax, dword [rbx + 8]
lea r9, [rbx + 8]
mov ecx, dword [rbx + 4]
bt ebp, 0x16
jae 0x180061b33
cmp ecx, eax
jne 0x180061b2f
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 0x180061af7
cmp ecx, edx
jle 0x180061ae8
mov dword [rbx + 4], edx
mov ecx, edx
cmp eax, edx
jle 0x180061af1
mov dword [rbx + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x180061af7
mov dword [rbx], ecx
mov r8d, dword [rbx]
cmp r8d, edx
jle 0x180061b04
mov dword [rbx], edx
mov r8d, edx
movzx r9d, byte [rbx + 0x10]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1800613f0
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x1800621d3
cmp byte [rbx + 0xf], 0
je 0x180061b6e
movss xmm6, dword [rbx + 0x14]
jmp 0x180061b74
mov dword [rbx], eax
jmp 0x180061ad8
cmp ecx, eax
je 0x180061ad8
mov edx, ecx
jle 0x180061b49
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 0x180061b5a
mov dword [r9], ecx
mov eax, ecx
cmp edx, eax
jne 0x180061b60
mov dword [rbx], edx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
mov edx, dword [rsi + 4]
jmp 0x180061af7
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.18005e4d0
mov r10d, dword [rsp + 0x44]
xor edi, edi
movss xmm1, dword [rsp + 0x30]
test r10d, r10d
jle 0x180061c0d
movss xmm3, dword [0x18006ea4c]
movsxd rax, r14d
lea r8, [rax + rax]
mov rax, qword [rsi + 0x18]
movzx ecx, word [r8 + rax]
cmp ecx, 0xa
je 0x180061c0d
mov r9, qword [0x180202968]
mov rdx, qword [r9 + 0x19a0]
cmp ecx, dword [rdx]
jge 0x180061bdb
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x180061be0
movss xmm2, dword [rdx + 0x10]
movss xmm0, dword [r9 + 0x19a8]
divss xmm0, dword [rdx + 0x14]
mulss xmm0, xmm2
ucomiss xmm0, xmm3
je 0x180061c0d
addss xmm1, xmm0
comiss xmm1, xmm6
ja 0x180061c0d
inc dword [rbx]
inc edi
add r8, 2
cmp edi, r10d
jl 0x180061bb0
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
mov eax, dword [rsi + 4]
cmp ecx, edx
je 0x180061c32
cmp ecx, eax
jle 0x180061c23
mov dword [rbx + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x180061c2c
mov dword [rbx + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x180061c32
mov dword [rbx], ecx
mov ecx, dword [rbx]
cmp ecx, eax
jle 0x180061c3c
mov dword [rbx], eax
mov ecx, eax
movss dword [rbx + 0x14], xmm6
mov byte [rbx + 0xf], 1
bt ebp, 0x16
jae 0x1800621d3
mov dword [rbx + 8], ecx
jmp 0x1800621d3
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
bt ebp, 0x16
jae 0x180061ccf
cmp eax, ecx
jne 0x180061ccb
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 0x180061c90
cmp eax, edx
jle 0x180061c81
mov dword [rbx + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x180061c8a
mov dword [rbx + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x180061c90
mov dword [rbx], eax
mov eax, dword [rbx]
cmp eax, edx
jle 0x180061c9a
mov dword [rbx], edx
mov eax, edx
movzx r9d, r8b
lea rcx, [rsp + 0x30]
mov r8d, eax
mov rdx, rsi
call fcn.1800613f0
mov r14d, dword [rsp + 0x44]
cmp r14d, dword [rsp + 0x3c]
je 0x1800621d3
cmp byte [rbx + 0xf], 0
je 0x180061ced
movss xmm6, dword [rbx + 0x14]
jmp 0x180061cf3
mov dword [rbx], ecx
jmp 0x180061c71
cmp eax, ecx
je 0x180061c71
jle 0x180061cdf
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 0x180061c90
movss xmm6, dword [rsp + 0x30]
mov r8d, r14d
mov dword [rbx], r14d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.18005e4d0
mov r10d, dword [rsp + 0x44]
xor edi, edi
movss xmm1, dword [rsp + 0x30]
test r10d, r10d
jle 0x180061c0d
movss xmm3, dword [0x18006ea4c]
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 0x180061c0d
mov r9, qword [0x180202968]
mov rdx, qword [r9 + 0x19a0]
cmp r8d, dword [rdx]
jge 0x180061d69
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + r8*4]
jmp 0x180061d6e
movss xmm2, dword [rdx + 0x10]
movss xmm0, dword [r9 + 0x19a8]
divss xmm0, dword [rdx + 0x14]
mulss xmm0, xmm2
ucomiss xmm0, xmm3
je 0x180061c0d
addss xmm1, xmm0
comiss xmm1, xmm6
ja 0x180061c0d
inc dword [rbx]
inc edi
cmp edi, r10d
jl 0x180061d30
jmp 0x180061c0d
mov edi, dword [rbx + 4]
lea r14, [rbx + 8]
cmp edi, dword [r14]
jne 0x180061dbe
mov edi, dword [rbx]
lea rbp, [rbx + 8]
mov dword [r14], edi
mov dword [rbx + 4], edi
jmp 0x180061dc1
mov rbp, r14
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18005e5b0
mov dword [rbx], eax
mov dword [r14], eax
mov ecx, dword [rsi + 4]
cmp edi, eax
je 0x180061df6
cmp edi, ecx
jle 0x180061de3
mov dword [rbx + 4], ecx
mov edi, ecx
mov r14, rbp
mov edx, eax
cmp eax, ecx
jle 0x180061dee
mov dword [r14], ecx
mov edx, ecx
cmp edi, edx
jne 0x180061df6
mov dword [rbx], edi
mov eax, edi
cmp eax, ecx
jle 0x1800621d3
mov dword [rbx], ecx
jmp 0x1800621d3
mov edi, dword [rbx + 4]
lea r14, [rbx + 8]
cmp edi, dword [r14]
jne 0x180061e1f
mov edi, dword [rbx]
lea rbp, [rbx + 8]
mov dword [r14], edi
mov dword [rbx + 4], edi
jmp 0x180061e22
mov rbp, r14
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18005e660
mov dword [rbx], eax
mov dword [r14], eax
mov ecx, dword [rsi + 4]
cmp edi, eax
je 0x180061e57
cmp edi, ecx
jle 0x180061e44
mov dword [rbx + 4], ecx
mov edi, ecx
mov r14, rbp
mov edx, eax
cmp eax, ecx
jle 0x180061e4f
mov dword [r14], ecx
mov edx, ecx
cmp edi, edx
jne 0x180061e57
mov dword [rbx], edi
mov eax, edi
cmp eax, ecx
jle 0x1800621d3
mov dword [rbx], ecx
jmp 0x1800621d3
mov edx, dword [rbx + 4]
mov eax, dword [rbx + 8]
cmp edx, eax
jne 0x180061e79
mov eax, dword [rbx]
mov edx, eax
mov dword [rbx + 4], eax
jmp 0x180061e7b
mov dword [rbx], eax
inc eax
mov dword [rbx + 8], eax
mov ecx, dword [rsi + 4]
cmp edx, eax
je 0x180061ea7
cmp edx, ecx
jle 0x180061e90
mov dword [rbx + 4], ecx
mov edx, ecx
mov r8d, eax
cmp eax, ecx
jle 0x180061e9d
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 0x1800621d3
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x180061ee5
mov r8d, dword [rbx]
cmp r8d, dword [rsi + 4]
jge 0x180061f24
mov r9d, 1
mov rdx, rbx
mov rcx, rsi
call fcn.180061210
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
je 0x180061ef9
mov rdx, rbx
mov rcx, rsi
call fcn.1800612a0
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov eax, dword [rsi + 4]
mov r8d, dword [rbx]
cmp r8d, eax
jle 0x180061f09
mov dword [rbx], eax
mov r8d, eax
test r8d, r8d
jle 0x180061f24
dec r8d
mov r9d, 1
mov rdx, rbx
mov rcx, rsi
call fcn.180061210
dec dword [rbx]
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x180061f3a
mov eax, dword [rbx]
mov dword [rbx + 4], eax
xor edi, edi
mov dword [rbx + 8], edi
mov dword [rbx], edi
jmp 0x1800621cf
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x180061f67
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 0x1800621d3
mov dword [rbx], eax
mov eax, dword [rsi + 4]
mov dword [rbx + 8], eax
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov r10d, dword [rbx + 4]
lea r9, [rbx + 8]
mov ecx, dword [r9]
lea r8, [rbx + 4]
mov eax, dword [rsi + 4]
cmp r10d, ecx
je 0x180061fc6
mov edx, r10d
mov rdi, r9
cmp r10d, eax
jle 0x180061fa9
mov dword [r8], eax
lea rdi, [rbx + 8]
lea r8, [rbx + 4]
mov edx, eax
mov r11d, ecx
cmp ecx, eax
jle 0x180061fb6
mov dword [r9], eax
mov r11d, eax
mov r10d, edx
mov ecx, r11d
mov r9, rdi
cmp edx, r11d
jne 0x180061fc6
mov dword [rbx], edx
mov edx, dword [rbx]
mov edi, edx
cmp edx, eax
jle 0x180061fd4
mov dword [rbx], eax
mov edx, eax
mov edi, eax
cmp r10d, ecx
jne 0x180061fe1
mov dword [r9], edx
mov dword [r8], edx
jmp 0x180061fe7
mov dword [rbx], ecx
mov edx, ecx
mov edi, ecx
cmp byte [rbx + 0x10], 0
je 0x180061ffd
xor edi, edi
mov dword [rbx], edi
mov dword [rbx + 8], edi
mov byte [rbx + 0xf], dil
jmp 0x1800621d3
test edx, edx
jle 0x180062029
movzx r8d, word [0x180201bd8]
nop dword [rax]
mov rax, qword [rsi + 0x18]
mov ecx, edx
cmp word [rax + rcx*2 - 2], r8w
je 0x180062029
lea edi, [rdx - 1]
mov dword [rbx], edi
mov edx, edi
test edi, edi
jg 0x180062010
mov dword [rbx + 8], edi
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
mov r11d, dword [rbx + 4]
lea r10, [rbx + 8]
mov eax, dword [r10]
lea rcx, [rbx + 4]
mov r9d, dword [rsi + 4]
cmp r11d, eax
je 0x180062084
mov edx, r11d
mov rdi, r10
cmp r11d, r9d
jle 0x180062066
mov dword [rcx], r9d
lea rdi, [rbx + 8]
lea rcx, [rbx + 4]
mov edx, r9d
mov r8d, eax
cmp eax, r9d
jle 0x180062074
mov dword [r10], r9d
mov r8d, r9d
mov r11d, edx
mov eax, r8d
mov r10, rdi
cmp edx, r8d
jne 0x180062084
mov dword [rbx], edx
mov r8d, dword [rbx]
mov edx, r8d
cmp r8d, r9d
jle 0x180062098
mov dword [rbx], r9d
mov r8d, r9d
mov edx, r9d
cmp r11d, eax
jne 0x1800620a5
mov dword [r10], r8d
mov dword [rcx], r8d
jmp 0x1800620ac
mov dword [rbx], eax
mov r8d, eax
mov edx, eax
cmp byte [rbx + 0x10], 0
je 0x1800620c4
mov edx, r9d
mov dword [rbx], r9d
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
cmp r8d, r9d
jge 0x1800620ed
movzx r10d, word [0x180201bd8]
mov rax, qword [rsi + 0x18]
movsxd rcx, r8d
cmp word [rax + rcx*2], r10w
je 0x1800620ed
lea edx, [r8 + 1]
mov dword [rbx], edx
mov r8d, edx
cmp edx, r9d
jl 0x1800620d1
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
jmp 0x1800621d3
xor edi, edi
cmp ebp, 0x200000
cmovge ebp, edi
test ebp, ebp
jle 0x1800621d3
mov word [rsp + 0x90], bp
cmp ebp, 0xa
jne 0x180062123
cmp byte [rbx + 0x10], dil
jne 0x1800621d3
cmp byte [rbx + 0xc], dil
je 0x180062181
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x180062181
mov r8d, dword [rbx]
cmp r8d, dword [rsi + 4]
jge 0x180062181
mov r9d, 1
mov dword [rsp + 0x20], 1
mov rdx, rbx
mov rcx, rsi
call fcn.180060f20
mov edx, dword [rbx]
mov r8d, 1
mov rcx, rsi
call fcn.18005e310
mov edx, dword [rbx]
lea r8, [rsp + 0x90]
mov r9d, 1
mov rcx, rsi
call fcn.18005e3b0
test al, al
je 0x1800621d3
jmp 0x1800621cd
mov rdx, rbx
mov rcx, rsi
call fcn.1800612a0
mov edx, dword [rbx]
lea r8, [rsp + 0x90]
mov r9d, 1
mov rcx, rsi
call fcn.18005e3b0
test al, al
je 0x1800621d3
mov esi, dword [rbx]
lea rcx, [rbx + 0x18]
xor edx, edx
call fcn.180060ba0
test rax, rax
je 0x1800621cd
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