Function at 0x1800536d0
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 0x18005373d
mov r8d, dword [rbx]
mov ecx, edi
mov dword [rbx + 8], edi
lea eax, [r8 + 1]
cmp eax, dword [rbx + 4]
jae 0x18005372e
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 0x18005377c
mov dword [rbx + 8], edi
mov r8d, edi
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053769
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 0x1800537ba
mov dword [rbx + 8], edi
mov r8d, edi
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800537a7
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 0x1800537f6
mov dword [rbx + 8], edi
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800537e1
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 0x180053700
cmp dword [rsi], 0x80
mov eax, 7
mov r8d, 0xf
mov rcx, rbx
cmovne r8d, eax
lea edx, [rax - 4]
call fcn.18004b120
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 0x1800538bf
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
mov r9d, edi
test eax, eax
jne 0x18005388f
cmp r8b, 4
jae 0x18005388f
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005387b
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 0x1800538a7
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 0x18005394d
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
mov r9d, edi
test eax, eax
jne 0x18005391f
cmp dl, 4
jae 0x18005391f
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005390a
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 0x180053936
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 0x1800539de
mov dword [rbx + 8], edi
mov r9d, edi
movzx eax, word [rbx + 0x10]
mov edx, edi
test eax, eax
jne 0x1800539ae
cmp r8b, 4
jae 0x1800539ae
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053999
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 0x1800539c5
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 0x180053a75
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
mov edx, edi
test eax, eax
jne 0x180053a41
cmp r9b, 4
jae 0x180053a41
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053a2c
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 0x180053a58
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 0x180053830
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 0x180053b0b
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180053adb
cmp r8b, 4
jae 0x180053adb
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053ac7
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 0x180053aef
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 0x180053b8d
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180053b5f
cmp dl, 4
jae 0x180053b5f
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053b4a
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 0x180053b72
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 0x180053c12
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180053be2
cmp r9b, 4
jae 0x180053be2
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053bce
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 0x180053bf6
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 0x180053c98
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180053c68
cmp r8b, 4
jae 0x180053c68
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053c54
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 0x180053c7c
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 0x180053d1b
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180053ceb
cmp r8b, 4
jae 0x180053ceb
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053cd7
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 0x180053cff
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 0x180053d96
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180053d6c
cmp dl, 4
jae 0x180053d6c
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053d57
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 0x180053d7f
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 0x180053e16
movzx eax, word [rbx + 0x10]
mov r9d, edi
mov dword [rbx + 8], edi
mov r8d, edi
test eax, eax
jne 0x180053de8
cmp dl, 4
jae 0x180053de8
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053dd3
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 0x180053dff
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 0x180053e91
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
test eax, eax
jne 0x180053e63
cmp dl, 4
jae 0x180053e63
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053e4e
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 0x180053e76
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 0x180053f2b
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
mov r9d, edi
test eax, eax
jne 0x180053efb
cmp r8b, 4
jae 0x180053efb
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053ee7
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 0x180053f13
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 0x180053fb9
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
mov r9d, edi
test eax, eax
jne 0x180053f8b
cmp dl, 4
jae 0x180053f8b
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180053f76
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 0x180053fa2
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 0x18005404a
mov dword [rbx + 8], edi
mov edx, edi
movzx eax, word [rbx + 0x10]
mov r9d, edi
test eax, eax
jne 0x18005401a
cmp r8b, 4
jae 0x18005401a
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054006
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 0x180054032
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 0x1800540d5
mov dword [rbx + 8], edi
mov r8d, edi
movzx eax, word [rbx + 0x10]
test eax, eax
jne 0x1800540a7
cmp dl, 4
jae 0x1800540a7
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054092
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 0x1800540ba
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 0x180053ea0
mov edx, dword [rsi + 0x20]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
mov ecx, dword [rsi]
lea eax, [rcx - 0x64]
cmp eax, 0x2c
ja 0x18005410b
movabs rdx, 0x100010400401
bt rdx, rax
jb 0x180054117
cmp ecx, 0xf4
jne 0x1800542e7
mov edx, dword [rsi + 0x24]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
cmp dword [rsi + 0x24], 3
jne 0x1800541b1
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 0x1800541b1
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054185
cmp dl, 4
jae 0x180054185
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054170
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 0x180054198
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.18004ae80
mov edx, dword [rsi + 0x34]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
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 0x180054251
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054223
cmp dl, 4
jae 0x180054223
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005420e
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 0x180054236
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 0x1800542d3
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x1800542a6
cmp r8b, 4
jae 0x1800542a6
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054292
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 0x1800542ba
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 0x1800542e7
lea rdx, [rsi + 0x860]
mov rcx, rbx
call fcn.18004e2e0
mov edx, dword [rsi + 0x40]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
mov edx, dword [rsi + 0x44]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
mov eax, dword [rsi + 0x44]
test eax, eax
jne 0x18005430f
mov edx, dword [rsi + 0x48]
jmp 0x180054376
cmp eax, 1
jne 0x180054381
mov edx, dword [rsi + 0x4c]
movzx r9d, al
mov r8d, eax
mov rcx, rbx
call fcn.18004afc0
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.18004ae80
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.18004ae80
xor edx, edx
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
mov edx, dword [rsi + 0x58]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
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 0x180054411
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x1800543e5
cmp dl, 4
jae 0x1800543e5
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800543d0
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 0x1800543f8
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.18004ae80
mov edx, dword [rsi + 0x64]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
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 0x1800544b1
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054483
cmp dl, 4
jae 0x180054483
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x18005446e
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 0x180054496
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 0x180054543
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 0x18005453f
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x18005450f
cmp r8b, 4
jae 0x18005450f
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800544fb
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 0x180054523
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 0x1800545c8
movzx eax, word [rbx + 0x10]
mov edx, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x180054598
cmp r8b, 4
jae 0x180054598
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054584
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 0x1800545ac
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 0x180054648
movzx eax, word [rbx + 0x10]
mov r8d, edi
mov dword [rbx + 8], edi
test eax, eax
jne 0x18005461c
cmp dl, 4
jae 0x18005461c
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x180054607
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 0x18005462f
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 0x18005468c
mov edx, dword [rsi + 0x78]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
mov edx, dword [rsi + 0x7c]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
mov edx, dword [rsi + 0x80]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
mov edx, dword [rsi + 0x84]
mov r8b, 1
mov rcx, rbx
call fcn.18004ae80
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 0x18005470c
movzx eax, word [rbx + 0x10]
mov dword [rbx + 8], edi
test eax, eax
jne 0x1800546e1
cmp dl, 4
jae 0x1800546e1
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, dword [rbx + 4]
jae 0x1800546cd
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 0x1800546f4
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 0x180054724
lea rdx, [rsi + 0x8c]
mov rcx, rbx
call fcn.180054940
cmp dword [rsi], 0x80
je 0x180054736
mov dl, 1
mov rcx, rbx
call fcn.18004c140
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