Function at 0x18004d780
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 0x18004d7d1
je 0x18004dc04
lea eax, [rbp - 0x200000]
cmp eax, 0xd
ja case.0x18004d7ec.6291466
cdqe
mov ecx, dword [rdx + rax*4 + 0x4e3b0]
add rcx, rdx
jmp rcx
lea eax, [rbp - 0x600001]
cmp eax, 0xc
ja case.0x18004d7ec.6291466
cdqe
mov ecx, dword [rdx + rax*4 + 0x4e3e8]
add rcx, rdx
jmp rcx
cmp byte [rbx + 0x10], 0
je 0x18004dc7a
and ebp, 0x400000
or ebp, 0x200001
jmp 0x18004d7a6
movzx r8d, byte [rbx + 0x10]
test r8b, r8b
je 0x18004de20
and ebp, 0x400000
bts ebp, 0x15
jmp 0x18004d7a6
mov rdx, rbx
mov rcx, rsi
call fcn.18004e6a0
mov byte [rbx + 0xf], 0
jmp 0x18004e392
lea rbp, [rbx + 0x18]
movsx rax, word [rbp + 0xe00]
cmp eax, 0x63
je 0x18004e0ed
movsx r8, word [rbp + 0xdfe]
add rax, rax
shl r8, 4
add r8, rbp
movups xmm1, xmmword [rbp + rax*8]
mov dword [r8 + 0xc], 0xffffffff
movq r14, xmm1
movdqa xmm0, xmm1
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 0x18004d8f8
mov ecx, dword [rbp + 0xe04]
xor edi, edi
lea eax, [r10 + rcx]
cmp eax, dword [rbp + 0xe08]
jle 0x18004d8ac
mov qword [r8 + 4], rdi
jmp 0x18004d8ea
mov dword [r8 + 0xc], ecx
add dword [rbp + 0xe04], r10d
cmp dword [r8 + 4], edi
jle 0x18004d8ea
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 0x18004d8c0
mov r8d, r10d
mov edx, r14d
mov rcx, rsi
call fcn.18004cf50
movdqa xmm0, xmm1
psrldq xmm0, 4
movd edi, xmm0
test edi, edi
je 0x18004d934
psrldq xmm1, 0xc
lea r8, [rbp + 0x630]
movd eax, xmm1
mov r9d, edi
mov edx, r14d
movsxd rcx, eax
lea r8, [r8 + rcx*2]
mov rcx, rsi
call fcn.18004d050
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 0x18004e392
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
je 0x18004d970
jle 0x18004d962
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov eax, dword [rbx]
test eax, eax
jle 0x18004e0ed
dec eax
mov byte [rbx + 0xf], 0
mov dword [rbx], eax
jmp 0x18004e392
mov r10d, dword [rbx + 8]
lea r9, [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r10d
je 0x18004d9e5
lea rcx, [rsi + 4]
jle 0x18004d9ad
mov dword [r9], eax
lea r11, [rbx + 8]
mov dword [rbx + 4], r10d
mov r8d, r10d
jmp 0x18004d9b6
mov r8d, eax
mov r11, r9
mov eax, r10d
mov edx, dword [rcx]
cmp r8d, edx
jle 0x18004d9c7
mov r8d, edx
lea rcx, [rsi + 4]
mov r9, r11
cmp eax, edx
jle 0x18004d9d0
mov dword [r9], edx
mov eax, edx
cmp r8d, eax
jne 0x18004d9d8
mov dword [rbx], r8d
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
mov edx, dword [rcx]
jmp 0x18004d9ec
inc dword [rbx]
mov eax, dword [rbx]
mov edx, dword [rsi + 4]
cmp eax, edx
jle 0x18004e0ed
mov dword [rbx], edx
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
cmp eax, ecx
je 0x18004da1e
jle 0x18004da10
mov eax, ecx
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov dword [rbx + 8], eax
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18004cdd0
mov dword [rbx], eax
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x18004e392
mov dword [rbx], ecx
jmp 0x18004e392
mov r9d, dword [rbx + 8]
lea r8, [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r9d
je 0x18004da8f
jle 0x18004da5e
mov dword [r8], eax
lea r10, [rbx + 8]
mov dword [rbx + 4], r9d
mov edx, r9d
jmp 0x18004da66
mov edx, eax
mov r10, r8
mov eax, r9d
mov ecx, dword [rsi + 4]
cmp edx, ecx
jle 0x18004da72
mov edx, ecx
mov r8, r10
cmp eax, ecx
jle 0x18004da7b
mov dword [r8], ecx
mov eax, ecx
cmp edx, eax
jne 0x18004da81
mov dword [rbx], edx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18004ce80
mov dword [rbx], eax
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x18004e392
mov dword [rbx], ecx
jmp 0x18004e392
xor edi, edi
mov qword [rbx + 4], rdi
mov dword [rbx], edi
jmp 0x18004e38e
mov eax, dword [rsi + 4]
xor edi, edi
mov qword [rbx + 4], rdi
mov dword [rbx], eax
jmp 0x18004e38e
mov r8d, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov ecx, dword [rsi + 4]
cmp r8d, eax
je 0x18004db00
mov edx, r8d
cmp r8d, ecx
jle 0x18004dae6
mov dword [rbx + 4], ecx
mov edx, ecx
mov r9d, eax
cmp eax, ecx
jle 0x18004daf3
mov dword [rbx + 8], ecx
mov r9d, ecx
mov r8d, edx
mov eax, r9d
cmp edx, r9d
jne 0x18004db00
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, ecx
jle 0x18004db0a
mov dword [rbx], ecx
mov edx, ecx
cmp r8d, eax
je 0x18004db22
mov edx, r8d
jle 0x18004db19
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 0x18004db35
xor edi, edi
mov dword [rbx], edi
mov byte [rbx + 0xf], dil
jmp 0x18004e392
test edx, edx
jle 0x18004e0ed
nop dword [rax]
mov rax, qword [rsi + 0x18]
mov ecx, edx
cmp word [rax + rcx*2 - 2], 0xa
je 0x18004e0ed
dec edx
mov dword [rbx], edx
test edx, edx
jg 0x18004db40
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov ecx, dword [rbx + 4]
mov eax, dword [rbx + 8]
mov r8d, dword [rsi + 4]
cmp ecx, eax
je 0x18004db9a
mov edx, ecx
cmp ecx, r8d
jle 0x18004db7f
mov dword [rbx + 4], r8d
mov edx, r8d
mov r9d, eax
cmp eax, r8d
jle 0x18004db8e
mov dword [rbx + 8], r8d
mov r9d, r8d
mov ecx, edx
mov eax, r9d
cmp edx, r9d
jne 0x18004db9a
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, r8d
jle 0x18004dba7
mov dword [rbx], r8d
mov edx, r8d
cmp ecx, eax
je 0x18004dbbd
mov edx, ecx
jle 0x18004dbb4
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 0x18004dbcf
mov dword [rbx], r8d
mov byte [rbx + 0xf], 0
jmp 0x18004e392
cmp edx, r8d
jge 0x18004e0ed
nop dword [rax + rax]
mov rax, qword [rsi + 0x18]
movsxd rcx, edx
cmp word [rax + rcx*2], 0xa
je 0x18004e0ed
inc edx
mov dword [rbx], edx
cmp edx, r8d
jl 0x18004dbe0
mov byte [rbx + 0xf], 0
jmp 0x18004e392
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 0x18004dc50
mov eax, r10d
mov rdi, r8
cmp r10d, ecx
jle 0x18004dc32
mov dword [rdx], ecx
lea rdi, [rbx + 8]
lea rdx, [rbx + 4]
mov eax, ecx
mov r11d, r9d
cmp r9d, ecx
jle 0x18004dc40
mov dword [r8], ecx
mov r11d, ecx
mov r10d, eax
mov r9d, r11d
mov r8, rdi
cmp eax, r11d
jne 0x18004dc50
mov dword [rbx], eax
mov eax, dword [rbx]
cmp eax, ecx
cmovg eax, ecx
cmp r10d, r9d
jne 0x18004dc63
mov dword [r8], eax
mov dword [rdx], eax
jmp 0x18004dc66
mov eax, r9d
test eax, eax
jle 0x18004dc6f
dec eax
mov dword [r8], eax
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov eax, dword [rbx + 8]
lea r9, [rbx + 8]
mov ecx, dword [rbx + 4]
bt ebp, 0x16
jae 0x18004dcf3
cmp ecx, eax
jne 0x18004dcef
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 0x18004dcb7
cmp ecx, edx
jle 0x18004dca8
mov dword [rbx + 4], edx
mov ecx, edx
cmp eax, edx
jle 0x18004dcb1
mov dword [rbx + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x18004dcb7
mov dword [rbx], ecx
mov r8d, dword [rbx]
cmp r8d, edx
jle 0x18004dcc4
mov dword [rbx], edx
mov r8d, edx
movzx r9d, byte [rbx + 0x10]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.18004d430
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x18004e392
cmp byte [rbx + 0xf], 0
je 0x18004dd2e
movss xmm6, dword [rbx + 0x14]
jmp 0x18004dd34
mov dword [rbx], eax
jmp 0x18004dc98
cmp ecx, eax
je 0x18004dc98
mov edx, ecx
jle 0x18004dd09
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 0x18004dd1a
mov dword [r9], ecx
mov eax, ecx
cmp edx, eax
jne 0x18004dd20
mov dword [rbx], edx
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov byte [rbx + 0xf], 0
mov edx, dword [rsi + 4]
jmp 0x18004dcb7
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.18004ccf0
mov r10d, dword [rsp + 0x44]
xor edi, edi
movss xmm1, dword [rsp + 0x30]
test r10d, r10d
jle 0x18004ddd6
mov r9, qword [0x1801aeab8]
movss xmm3, dword [0x18008ca64]
movsxd rax, r14d
lea r8, [rax + rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
movzx ecx, word [r8 + rax]
cmp ecx, 0xa
je 0x18004ddd6
mov rdx, qword [r9 + 0x19a0]
cmp ecx, dword [rdx]
jge 0x18004dda4
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x18004dda9
movss xmm2, dword [rdx + 0x10]
movss xmm0, dword [r9 + 0x19a8]
divss xmm0, dword [rdx + 0x14]
mulss xmm0, xmm2
ucomiss xmm0, xmm3
je 0x18004ddd6
addss xmm1, xmm0
comiss xmm1, xmm6
ja 0x18004ddd6
inc dword [rbx]
inc edi
add r8, 2
cmp edi, r10d
jl 0x18004dd80
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
mov eax, dword [rsi + 4]
cmp ecx, edx
je 0x18004ddfb
cmp ecx, eax
jle 0x18004ddec
mov dword [rbx + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x18004ddf5
mov dword [rbx + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x18004ddfb
mov dword [rbx], ecx
mov ecx, dword [rbx]
cmp ecx, eax
jle 0x18004de05
mov dword [rbx], eax
mov ecx, eax
movss dword [rbx + 0x14], xmm6
mov byte [rbx + 0xf], 1
bt ebp, 0x16
jae 0x18004e392
mov dword [rbx + 8], ecx
jmp 0x18004e392
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
bt ebp, 0x16
jae 0x18004de98
cmp eax, ecx
jne 0x18004de94
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 0x18004de59
cmp eax, edx
jle 0x18004de4a
mov dword [rbx + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x18004de53
mov dword [rbx + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x18004de59
mov dword [rbx], eax
mov eax, dword [rbx]
cmp eax, edx
jle 0x18004de63
mov dword [rbx], edx
mov eax, edx
movzx r9d, r8b
lea rcx, [rsp + 0x30]
mov r8d, eax
mov rdx, rsi
call fcn.18004d430
mov r14d, dword [rsp + 0x44]
cmp r14d, dword [rsp + 0x3c]
je 0x18004e392
cmp byte [rbx + 0xf], 0
je 0x18004deb6
movss xmm6, dword [rbx + 0x14]
jmp 0x18004debc
mov dword [rbx], ecx
jmp 0x18004de3a
cmp eax, ecx
je 0x18004de3a
jle 0x18004dea8
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 0x18004de59
movss xmm6, dword [rsp + 0x30]
mov r8d, r14d
mov dword [rbx], r14d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.18004ccf0
mov r10d, dword [rsp + 0x44]
xor edi, edi
movss xmm1, dword [rsp + 0x30]
test r10d, r10d
jle 0x18004ddd6
mov r9, qword [0x1801aeab8]
movss xmm3, dword [0x18008ca64]
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 0x18004ddd6
mov rdx, qword [r9 + 0x19a0]
cmp r8d, dword [rdx]
jge 0x18004df32
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + r8*4]
jmp 0x18004df37
movss xmm2, dword [rdx + 0x10]
movss xmm0, dword [r9 + 0x19a8]
divss xmm0, dword [rdx + 0x14]
mulss xmm0, xmm2
ucomiss xmm0, xmm3
je 0x18004ddd6
addss xmm1, xmm0
comiss xmm1, xmm6
ja 0x18004ddd6
inc dword [rbx]
inc edi
cmp edi, r10d
jl 0x18004df00
jmp 0x18004ddd6
mov edi, dword [rbx + 4]
lea r14, [rbx + 8]
cmp edi, dword [r14]
jne 0x18004df87
mov edi, dword [rbx]
lea rbp, [rbx + 8]
mov dword [r14], edi
mov dword [rbx + 4], edi
jmp 0x18004df8a
mov rbp, r14
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18004cdd0
mov dword [rbx], eax
mov dword [r14], eax
mov ecx, dword [rsi + 4]
cmp edi, eax
je 0x18004dfbf
cmp edi, ecx
jle 0x18004dfac
mov dword [rbx + 4], ecx
mov edi, ecx
mov r14, rbp
mov edx, eax
cmp eax, ecx
jle 0x18004dfb7
mov dword [r14], ecx
mov edx, ecx
cmp edi, edx
jne 0x18004dfbf
mov dword [rbx], edi
mov eax, edi
cmp eax, ecx
jle 0x18004e392
mov dword [rbx], ecx
jmp 0x18004e392
mov edi, dword [rbx + 4]
lea r14, [rbx + 8]
cmp edi, dword [r14]
jne 0x18004dfe8
mov edi, dword [rbx]
lea rbp, [rbx + 8]
mov dword [r14], edi
mov dword [rbx + 4], edi
jmp 0x18004dfeb
mov rbp, r14
mov edx, dword [rbx]
mov rcx, rsi
call fcn.18004ce80
mov dword [rbx], eax
mov dword [r14], eax
mov ecx, dword [rsi + 4]
cmp edi, eax
je 0x18004e020
cmp edi, ecx
jle 0x18004e00d
mov dword [rbx + 4], ecx
mov edi, ecx
mov r14, rbp
mov edx, eax
cmp eax, ecx
jle 0x18004e018
mov dword [r14], ecx
mov edx, ecx
cmp edi, edx
jne 0x18004e020
mov dword [rbx], edi
mov eax, edi
cmp eax, ecx
jle 0x18004e392
mov dword [rbx], ecx
jmp 0x18004e392
mov edx, dword [rbx + 4]
mov eax, dword [rbx + 8]
cmp edx, eax
jne 0x18004e042
mov eax, dword [rbx]
mov edx, eax
mov dword [rbx + 4], eax
jmp 0x18004e044
mov dword [rbx], eax
inc eax
mov dword [rbx + 8], eax
mov ecx, dword [rsi + 4]
cmp edx, eax
je 0x18004e070
cmp edx, ecx
jle 0x18004e059
mov dword [rbx + 4], ecx
mov edx, ecx
mov r8d, eax
cmp eax, ecx
jle 0x18004e066
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 0x18004e392
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x18004e0ae
mov r8d, dword [rbx]
cmp r8d, dword [rsi + 4]
jge 0x18004e0ed
mov r9d, 1
mov rdx, rbx
mov rcx, rsi
call fcn.18004d600
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
je 0x18004e0c2
mov rdx, rbx
mov rcx, rsi
call fcn.18004d6e0
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov eax, dword [rsi + 4]
mov r8d, dword [rbx]
cmp r8d, eax
jle 0x18004e0d2
mov dword [rbx], eax
mov r8d, eax
test r8d, r8d
jle 0x18004e0ed
dec r8d
mov r9d, 1
mov rdx, rbx
mov rcx, rsi
call fcn.18004d600
dec dword [rbx]
mov byte [rbx + 0xf], 0
jmp 0x18004e392
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x18004e103
mov eax, dword [rbx]
mov dword [rbx + 4], eax
xor edi, edi
mov dword [rbx + 8], edi
mov dword [rbx], edi
jmp 0x18004e38e
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x18004e130
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 0x18004e392
mov dword [rbx], eax
mov eax, dword [rsi + 4]
mov dword [rbx + 8], eax
mov dword [rbx], eax
mov byte [rbx + 0xf], 0
jmp 0x18004e392
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 0x18004e190
mov r10d, r9d
mov rdi, r8
cmp r9d, eax
jle 0x18004e172
mov dword [rdx], eax
lea rdi, [rbx + 8]
lea rdx, [rbx + 4]
mov r10d, eax
mov r11d, ecx
cmp ecx, eax
jle 0x18004e17f
mov dword [r8], eax
mov r11d, eax
mov r9d, r10d
mov ecx, r11d
mov r8, rdi
cmp r10d, r11d
jne 0x18004e190
mov dword [rbx], r10d
mov edi, dword [rbx]
cmp edi, eax
jle 0x18004e19a
mov dword [rbx], eax
mov edi, eax
cmp r9d, ecx
jne 0x18004e1a6
mov dword [r8], edi
mov dword [rdx], edi
jmp 0x18004e1aa
mov dword [rbx], ecx
mov edi, ecx
cmp byte [rbx + 0x10], 0
je 0x18004e1c0
xor edi, edi
mov dword [rbx], edi
mov dword [rbx + 8], edi
mov byte [rbx + 0xf], dil
jmp 0x18004e392
test edi, edi
jle 0x18004e1eb
mov edx, edi
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
mov edi, edx
mov ecx, edx
cmp word [rax + rcx*2 - 2], 0xa
je 0x18004e1eb
lea edi, [rdx - 1]
mov dword [rbx], edi
mov edx, edi
test edi, edi
jg 0x18004e1d0
mov dword [rbx + 8], edi
mov byte [rbx + 0xf], 0
jmp 0x18004e392
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 0x18004e246
mov edx, r10d
mov rdi, r8
cmp r10d, r9d
jle 0x18004e228
mov dword [rcx], r9d
lea rdi, [rbx + 8]
lea rcx, [rbx + 4]
mov edx, r9d
mov r11d, eax
cmp eax, r9d
jle 0x18004e236
mov dword [r8], r9d
mov r11d, r9d
mov r10d, edx
mov eax, r11d
mov r8, rdi
cmp edx, r11d
jne 0x18004e246
mov dword [rbx], edx
mov edx, dword [rbx]
cmp edx, r9d
jle 0x18004e253
mov dword [rbx], r9d
mov edx, r9d
cmp r10d, eax
jne 0x18004e25f
mov dword [r8], edx
mov dword [rcx], edx
jmp 0x18004e263
mov dword [rbx], eax
mov edx, eax
cmp byte [rbx + 0x10], 0
je 0x18004e27b
mov edx, r9d
mov dword [rbx], r9d
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
jmp 0x18004e392
cmp edx, r9d
jge 0x18004e2af
mov r8d, edx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
mov edx, r8d
movsxd rcx, r8d
cmp word [rax + rcx*2], 0xa
je 0x18004e2af
lea edx, [r8 + 1]
mov dword [rbx], edx
mov r8d, edx
cmp edx, r9d
jl 0x18004e290
mov dword [rbx + 8], edx
mov byte [rbx + 0xf], 0
jmp 0x18004e392
xor edi, edi
cmp ebp, 0x200000
cmovge ebp, edi
test ebp, ebp
jle 0x18004e392
mov word [rsp + 0x90], bp
cmp ebp, 0xa
jne 0x18004e2e5
cmp byte [rbx + 0x10], dil
jne 0x18004e392
cmp byte [rbx + 0xc], dil
je 0x18004e340
mov eax, dword [rbx + 8]
cmp dword [rbx + 4], eax
jne 0x18004e340
mov r8d, dword [rbx]
cmp r8d, dword [rsi + 4]
jge 0x18004e340
mov r9d, 1
mov dword [rsp + 0x20], 1
mov rdx, rbx
mov rcx, rsi
call fcn.18004e920
mov edx, dword [rbx]
mov r8d, 1
mov rcx, rsi
call fcn.18004cf50
mov edx, dword [rbx]
mov r9d, r8d
lea r8, [rsp + 0x90]
mov rcx, rsi
call fcn.18004d050
test al, al
je 0x18004e392
jmp 0x18004e38c
mov rdx, rbx
mov rcx, rsi
call fcn.18004d6e0
mov edx, dword [rbx]
lea r8, [rsp + 0x90]
mov r9d, 1
mov rcx, rsi
call fcn.18004d050
test al, al
je 0x18004e392
mov esi, dword [rbx]
lea rcx, [rbx + 0x18]
xor edx, edx
call fcn.18004e4d0
test rax, rax
je 0x18004e38c
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