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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14d, 2
mov rsi, rdx
mov r9d, r14d
mov rbx, rcx
xor edi, edi
nop dword [rax + rax]
movzx edx, byte [rbx + 0xc]
mov ecx, dword [rbx + 8]
add dl, dl
inc ecx
cmp ecx, 8
jl 0x1800546cd
mov r8d, dword [rbx]
mov ecx, edi
mov dword [rbx + 8], edi
lea eax, [r8 + 1]
cmp eax, dword [rbx + 4]
jae 0x1800546be
mov rax, qword [rbx + 0x20]
mov byte [r8 + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 8]
shl dword [rbx + 0x10], 8
inc dword [rbx + 0x14]
movzx eax, dl
or dword [rbx + 0x10], eax
xor dl, dl
add dl, dl
lea r8d, [rcx + 1]
mov byte [rbx + 0xc], dl
cmp r8d, 8
jl 0x18005470c
mov dword [rbx + 8], edi
mov r8d, edi
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800546f9
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov r8d, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
shl ecx, 8
movzx eax, dl
or ecx, eax
mov dword [rbx + 0x10], ecx
inc dword [rbx + 0x14]
xor dl, dl
add dl, dl
inc r8d
mov byte [rbx + 0xc], dl
cmp r8d, 8
jl 0x18005474a
mov dword [rbx + 8], edi
mov r8d, edi
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054737
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov r8d, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
shl ecx, 8
movzx eax, dl
or ecx, eax
mov dword [rbx + 0x10], ecx
inc dword [rbx + 0x14]
xor dl, dl
add dl, dl
lea eax, [r8 + 1]
mov byte [rbx + 0xc], dl
mov dword [rbx + 8], eax
cmp eax, 8
jl 0x180054786
mov dword [rbx + 8], edi
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054771
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
shl ecx, 8
movzx eax, dl
or ecx, eax
mov dword [rbx + 0x10], ecx
inc dword [rbx + 0x14]
mov byte [rbx + 0xc], dil
sub r9, 1
jne 0x180054690
cmp dword [rsi], 0x80
mov eax, 7
mov r8d, 0xf
mov rcx, rbx
cmovne r8d, eax
lea edx, [rax - 4]
call fcn.18004c0b0
mov r11d, dword [rsi]
mov r10d, 0x80
mov rbp, r14
nop dword [rax]
movzx eax, byte [rbx + 0xc]
test r11d, r10d
mov r9d, dword [rbx + 8]
setne r8b
add al, al
or r8b, al
inc r9d
cmp r9d, 8
jl 0x18005484f
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
mov r9d, edi
test eax, eax
jne 0x18005481f
cmp r8b, 4
jae 0x18005481f
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005480b
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054837
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
lea eax, [rdx + 1]
add dword [rbx + 0x14], eax
xor r8b, r8b
mov dword [rbx + 0x10], ecx
mov eax, r10d
ror eax, 1
test r11d, eax
setne dl
add r8b, r8b
or dl, r8b
inc r9d
mov byte [rbx + 0xc], dl
cmp r9d, 8
jl 0x1800548dd
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
mov r9d, edi
test eax, eax
jne 0x1800548af
cmp dl, 4
jae 0x1800548af
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005489a
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
mov dword [rbx + 0x10], eax
inc dword [rbx + 0x18]
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800548c6
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor dl, dl
mov eax, r10d
ror eax, 2
test r11d, eax
setne r8b
add dl, dl
or r8b, dl
lea edx, [r9 + 1]
mov byte [rbx + 0xc], r8b
cmp edx, 8
jl 0x18005496e
mov dword [rbx + 8], edi
mov r9d, edi
movzx eax, word [rbx + 0x10]
mov edx, edi
test eax, eax
jne 0x18005493e
cmp r8b, 4
jae 0x18005493e
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054929
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov edx, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov r9d, 1
shl eax, 8
or eax, 3
mov dword [rbx + 0x10], eax
inc dword [rbx + 0x18]
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054955
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
lea eax, [r9 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r8b, r8b
mov eax, r10d
ror eax, 3
test r11d, eax
setne r9b
add r8b, r8b
or r9b, r8b
inc edx
mov byte [rbx + 0xc], r9b
mov dword [rbx + 8], edx
cmp edx, 8
jl 0x180054a05
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
mov edx, edi
test eax, eax
jne 0x1800549d1
cmp r9b, 4
jae 0x1800549d1
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800549bc
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov edx, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
mov dword [rbx + 0x10], eax
inc dword [rbx + 0x18]
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800549e8
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r9b
inc dword [rbx]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
movzx eax, r9b
shl ecx, 8
or ecx, eax
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r9b, r9b
mov byte [rbx + 0xc], dil
ror r10d, 4
sub rbp, 1
jne 0x1800547c0
mov r8d, dword [rsi + 4]
lea eax, [rdx + 1]
and r8b, 1
mov dword [rbx + 8], eax
add r9b, r9b
or r8b, r9b
mov byte [rbx + 0xc], r8b
cmp eax, 8
jl 0x180054a9b
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054a6b
cmp r8b, 4
jae 0x180054a6b
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054a57
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054a7f
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [rdx + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r8b, r8b
mov edx, dword [rsi + 8]
add r8b, r8b
inc dword [rbx + 8]
and dl, 1
or dl, r8b
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], dl
jl 0x180054b1d
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054aef
cmp dl, 4
jae 0x180054aef
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054ada
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054b02
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor dl, dl
mov r9d, dword [rsi + 0xc]
add dl, dl
inc dword [rbx + 8]
and r9b, 1
or r9b, dl
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], r9b
jl 0x180054ba2
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054b72
cmp r9b, 4
jae 0x180054b72
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054b5e
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054b86
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r9b
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, r9b
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [rdx + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r9b, r9b
mov r8d, dword [rsi + 0x10]
add r9b, r9b
inc dword [rbx + 8]
and r8b, 1
or r8b, r9b
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], r8b
jl 0x180054c28
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054bf8
cmp r8b, 4
jae 0x180054bf8
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054be4
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054c0c
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [rdx + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r8b, r8b
mov eax, dword [rsi + 0x14]
add r8b, r8b
inc dword [rbx + 8]
and al, 1
or r8b, al
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], r8b
jl 0x180054cab
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054c7b
cmp r8b, 4
jae 0x180054c7b
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054c67
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054c8f
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [rdx + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r8b, r8b
mov edx, dword [rsi + 0x18]
add r8b, r8b
inc dword [rbx + 8]
and dl, 1
or dl, r8b
cmp dword [rbx + 8], 8
jl 0x180054d26
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054cfc
cmp dl, 4
jae 0x180054cfc
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054ce7
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054d0f
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
lea eax, [r8 + 1]
add dword [rbx + 0x14], eax
xor dl, dl
mov dword [rbx + 0x10], ecx
mov r8d, dword [rbx + 8]
add dl, dl
inc r8d
cmp r8d, 8
jl 0x180054da6
movzx eax, word [rbx + 0x10]
mov r9d, edi
mov dword [rbx + 8], edi
mov r8d, edi
test eax, eax
jne 0x180054d78
cmp dl, 4
jae 0x180054d78
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054d63
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov r8d, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov r9d, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054d8f
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov r8d, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
lea eax, [r9 + 1]
add dword [rbx + 0x14], eax
xor dl, dl
mov dword [rbx + 0x10], ecx
add dl, dl
lea eax, [r8 + 1]
mov byte [rbx + 0xc], dl
mov dword [rbx + 8], eax
cmp eax, 8
jl 0x180054e21
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
test eax, eax
jne 0x180054df3
cmp dl, 4
jae 0x180054df3
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054dde
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
mov dword [rbx + 0x10], eax
inc dword [rbx + 0x18]
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054e06
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor dl, dl
mov byte [rbx + 0xc], dil
mov r11d, dword [rsi + 0x1c]
mov r10d, 0x80
nop dword [rax + rax]
mov r9d, dword [rbx + 8]
test r11d, r10d
setne r8b
add dl, dl
or r8b, dl
inc r9d
cmp r9d, 8
jl 0x180054ebb
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
mov r9d, edi
test eax, eax
jne 0x180054e8b
cmp r8b, 4
jae 0x180054e8b
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054e77
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054ea3
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
lea eax, [rdx + 1]
add dword [rbx + 0x14], eax
xor r8b, r8b
mov dword [rbx + 0x10], ecx
mov eax, r10d
ror eax, 1
test r11d, eax
setne dl
add r8b, r8b
or dl, r8b
inc r9d
mov byte [rbx + 0xc], dl
cmp r9d, 8
jl 0x180054f49
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
mov r9d, edi
test eax, eax
jne 0x180054f1b
cmp dl, 4
jae 0x180054f1b
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054f06
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
mov dword [rbx + 0x10], eax
inc dword [rbx + 0x18]
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054f32
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor dl, dl
mov eax, r10d
ror eax, 2
test r11d, eax
setne r8b
add dl, dl
or r8b, dl
inc r9d
mov byte [rbx + 0xc], r8b
cmp r9d, 8
jl 0x180054fda
mov dword [rbx + 8], edi
mov edx, edi
movzx eax, word [rbx + 0x10]
mov r9d, edi
test eax, eax
jne 0x180054faa
cmp r8b, 4
jae 0x180054faa
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054f96
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
mov dword [rbx + 0x10], eax
inc dword [rbx + 0x18]
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054fc2
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov r9d, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
lea eax, [rdx + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r8b, r8b
mov eax, r10d
ror eax, 3
test r11d, eax
lea eax, [r9 + 1]
setne dl
add r8b, r8b
or dl, r8b
mov byte [rbx + 0xc], dl
mov dword [rbx + 8], eax
cmp eax, 8
jl 0x180055065
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
test eax, eax
jne 0x180055037
cmp dl, 4
jae 0x180055037
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055022
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
mov dword [rbx + 0x10], eax
inc dword [rbx + 0x18]
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005504a
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor dl, dl
mov byte [rbx + 0xc], dil
ror r10d, 4
sub r14, 1
jne 0x180054e30
mov edx, dword [rsi + 0x20]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov ecx, dword [rsi]
lea eax, [rcx - 0x64]
cmp eax, 0x2c
ja 0x18005509b
movabs rdx, 0x100010400401
bt rdx, rax
jb 0x1800550a7
cmp ecx, 0xf4
jne 0x180055277
mov edx, dword [rsi + 0x24]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
cmp dword [rsi + 0x24], 3
jne 0x180055141
mov edx, dword [rsi + 0x2c]
movzx eax, byte [rbx + 0xc]
and dl, 1
inc dword [rbx + 8]
add al, al
or dl, al
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], dl
jl 0x180055141
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180055115
cmp dl, 4
jae 0x180055115
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055100
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055128
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
shl ecx, 8
movzx eax, dl
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
mov edx, dword [rsi + 0x30]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x34]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x38]
movzx eax, byte [rbx + 0xc]
and dl, 1
inc dword [rbx + 8]
add al, al
or dl, al
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], dl
jl 0x1800551e1
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x1800551b3
cmp dl, 4
jae 0x1800551b3
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005519e
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800551c6
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor dl, dl
mov r8d, dword [rsi + 0x3c]
add dl, dl
inc dword [rbx + 8]
and r8b, 1
or r8b, dl
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], r8b
jl 0x180055263
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180055236
cmp r8b, 4
jae 0x180055236
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055222
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005524a
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
shl ecx, 8
movzx eax, r8b
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [rdx + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
cmp dword [rsi + 0x3c], edi
je 0x180055277
lea rdx, [rsi + 0x860]
mov rcx, rbx
call fcn.18004f270
mov edx, dword [rsi + 0x40]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x44]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov eax, dword [rsi + 0x44]
test eax, eax
jne 0x18005529f
mov edx, dword [rsi + 0x48]
jmp 0x180055306
cmp eax, 1
jne 0x180055311
mov edx, dword [rsi + 0x4c]
movzx r9d, al
mov r8d, eax
mov rcx, rbx
call fcn.18004bf50
mov ecx, dword [rsi + 0x50]
mov r8b, 1
mov eax, ecx
cdq
mov r9d, eax
mov eax, edi
xor r9d, edx
sub r9d, edx
test ecx, ecx
mov rcx, rbx
setg al
lea edx, [r9 + r9]
sub edx, eax
call fcn.18004be10
mov ecx, dword [rsi + 0x54]
mov r8b, 1
mov eax, ecx
cdq
mov r9d, eax
mov eax, edi
xor r9d, edx
sub r9d, edx
test ecx, ecx
mov rcx, rbx
setg al
lea edx, [r9 + r9]
sub edx, eax
call fcn.18004be10
xor edx, edx
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x58]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x5c]
movzx eax, byte [rbx + 0xc]
and dl, 1
inc dword [rbx + 8]
add al, al
or dl, al
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], dl
jl 0x1800553a1
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180055375
cmp dl, 4
jae 0x180055375
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055360
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055388
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
shl ecx, 8
movzx eax, dl
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
mov edx, dword [rsi + 0x60]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x64]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x68]
movzx eax, byte [rbx + 0xc]
and dl, 1
inc dword [rbx + 8]
add al, al
or dl, al
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], dl
jl 0x180055441
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180055413
cmp dl, 4
jae 0x180055413
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800553fe
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055426
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, dl
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor dl, dl
cmp dword [rsi + 0x68], edi
jne 0x1800554d3
mov r8d, dword [rsi + 0x6c]
add dl, dl
inc dword [rbx + 8]
and r8b, 1
or r8b, dl
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], r8b
jl 0x1800554cf
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x18005549f
cmp r8b, 4
jae 0x18005549f
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005548b
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800554b3
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [rdx + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r8b, r8b
movzx edx, r8b
mov r8d, dword [rsi + 0x70]
add dl, dl
inc dword [rbx + 8]
and r8b, 1
or r8b, dl
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], r8b
jl 0x180055558
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180055528
cmp r8b, 4
jae 0x180055528
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055514
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov edx, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005553c
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], r8b
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
movzx eax, r8b
shl ecx, 8
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [rdx + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
xor r8b, r8b
mov edx, dword [rsi + 0x74]
add r8b, r8b
inc dword [rbx + 8]
and dl, 1
or dl, r8b
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], dl
jl 0x1800555d8
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x1800555ac
cmp dl, 4
jae 0x1800555ac
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055597
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov r8d, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800555bf
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
shl ecx, 8
movzx eax, dl
or ecx, eax
mov byte [rbx + 0xc], dil
lea eax, [r8 + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
cmp dword [rsi + 0x74], 1
jne 0x18005561c
mov edx, dword [rsi + 0x78]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x7c]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x80]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x84]
mov r8b, 1
mov rcx, rbx
call fcn.18004be10
mov edx, dword [rsi + 0x88]
movzx eax, byte [rbx + 0xc]
and dl, 1
inc dword [rbx + 8]
add al, al
or dl, al
cmp dword [rbx + 8], 8
mov byte [rbx + 0xc], dl
jl 0x18005569c
movzx eax, word [rbx + 0x10]
mov dword [rbx + 8], edi
test eax, eax
jne 0x180055671
cmp dl, 4
jae 0x180055671
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005565d
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], 3
inc dword [rbx]
mov eax, dword [rbx + 0x10]
mov edi, 1
shl eax, 8
or eax, 3
inc dword [rbx + 0x18]
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180055684
mov rax, qword [rbx + 0x20]
mov byte [rcx + rax], dl
inc dword [rbx]
mov ecx, dword [rbx + 0x10]
shl ecx, 8
movzx eax, dl
or ecx, eax
mov byte [rbx + 0xc], 0
lea eax, [rdi + 1]
mov dword [rbx + 0x10], ecx
add dword [rbx + 0x14], eax
cmp dword [rsi + 0x88], 1
jne 0x1800556b4
lea rdx, [rsi + 0x8c]
mov rcx, rbx
call fcn.1800558d0
cmp dword [rsi], 0x80
je 0x1800556c6
mov dl, 1
mov rcx, rbx
call fcn.18004d0d0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret