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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r15, qword [rcx]
lea r9, [0x180295120]
movzx eax, byte [rcx + 0x40]
xor esi, esi
mov rdx, qword [rcx + 8]
mov r12d, eax
sub r12, 1
mov qword [rsp + 0x38], r15
mov rbx, qword [r15 + 0x10]
mov rbp, rcx
mov r13, qword [r15]
lea r14d, [rax - 1]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x30], r13
mov r8d, dword [rbx + 0x90]
mov dword [rsp + 0xb8], r8d
mov dword [rsp + 0xb0], esi
mov dword [rsp + 0xa8], r14d
js 0x18017a394
imul rax, r12, 0x68
lea r15, [rbp + 0x360]
add r15, rax
mov rsi, qword [r15 + 0x30]
test rsi, rsi
je 0x180179903
mov rcx, qword [rbx + 0x18]
mov edx, dword [r15 + 0x18]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x18017987b
mov r8d, edx
mov rdx, rbx
call fcn.1800ef380
jmp 0x18017988b
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
xor r9d, r9d
mov dword [r15 + 0x18], r9d
mov eax, dword [rbx + 0x90]
mov edx, dword [rsi + 0xc]
mov r8d, dword [rsi + 8]
mov dword [rsi + 0x10], eax
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1801798cb
mov r9d, edx
mov dword [rsp + 0x20], 1
mov edx, 0x43
mov rcx, rbx
call fcn.1800cbd20
jmp 0x1801798fc
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x43
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], r9
inc dword [rsp + 0xb0]
cmp byte [r15 + 0x39], 0xbb
mov r13, qword [r15 + 0x58]
je 0x180179c56
xor r9d, r9d
cmp byte [rbp + 0x43], 2
mov edi, r9d
jne 0x180179acd
movzx eax, byte [rbp + 0x40]
dec eax
cmp r14d, eax
jne 0x180179acd
test dword [r13 + 0x38], 0x200
je 0x180179acd
mov rax, qword [r13 + 0x20]
test byte [rax + 0x64], 0x80
je 0x180179acd
movzx esi, word [r13 + 0x1e]
test esi, esi
je 0x180179acd
mov rax, qword [rax + 0x10]
cmp word [rax + rsi*2], 0x24
jl 0x180179acd
mov rbp, qword [rsp + 0x38]
mov r14d, dword [rbp + 0x38]
inc r14d
nop word [rax + rax]
movsxd rcx, dword [rbx + 0x90]
lea r8d, [r14 + rdi]
mov edx, dword [r15 + 8]
cmp dword [rbx + 0x94], ecx
jg 0x1801799b4
mov dword [rsp + 0x20], r8d
mov r9d, edi
mov r8d, edx
mov rcx, rbx
mov edx, 0x5e
call fcn.1800cbd20
xor r9d, r9d
jmp 0x1801799e1
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r9
inc edi
cmp edi, esi
jl 0x180179980
mov ecx, dword [rbp + 0x38]
mov edx, 0x18
inc ecx
mov eax, 0x15
add ecx, esi
mov dword [rbp + 0x38], ecx
cmp byte [r15 + 0x39], 0x26
movsxd rdi, dword [rbx + 0x90]
mov r8d, dword [r15 + 8]
cmove edx, eax
cmp dword [rbx + 0x94], edi
jg 0x180179a31
mov dword [rsp + 0x28], esi
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.180055110
mov edi, eax
xor r9d, r9d
jmp 0x180179a66
lea rcx, [rdi + rdi*2]
lea eax, [rdi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], r9w
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r14d
mov dword [rax + rcx*8 + 0x10], esi
mov byte [rax + rcx*8 + 1], 0xfd
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r15 + 0x40]
cmp dword [rbx + 0x94], ecx
jg 0x180179a94
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, 9
lea r8d, [rdx - 8]
call fcn.1800cbd20
jmp 0x180179ac5
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov r14d, dword [rsp + 0xa8]
mov edx, dword [r15 + 0x18]
test edx, edx
je 0x180179b00
mov rcx, qword [rbx + 0x18]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180179af0
mov r8d, edx
mov rdx, rbx
call fcn.1800ef380
jmp 0x180179b00
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
movsxd rcx, dword [rbx + 0x90]
movzx r10d, byte [r15 + 0x3a]
mov r9d, dword [r15 + 0x40]
mov r8d, dword [r15 + 0x3c]
movzx edx, byte [r15 + 0x39]
cmp dword [rbx + 0x94], ecx
jg 0x180179b32
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1800cbd20
xor esi, esi
jmp 0x180179b69
lea eax, [rcx + 1]
xor esi, esi
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], si
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], sil
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x180179b89
movzx edx, byte [r15 + 0x3b]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp dword [r15 + 0x24], 0
je 0x180179c1f
mov rcx, qword [rbx + 0x18]
mov edx, dword [r15 + 0x28]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180179bb3
mov r8d, edx
mov rdx, rbx
call fcn.1800ef380
jmp 0x180179bc3
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov edx, dword [r15 + 0x40]
movsxd rcx, dword [rbx + 0x90]
dec edx
mov r8d, dword [r15 + 0x24]
cmp dword [rbx + 0x94], ecx
jg 0x180179bf2
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x3d
mov rcx, rbx
call fcn.1800cbd20
jmp 0x180179c1f
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x3d
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
test edi, edi
je 0x180179c89
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x180179c3e
lea rax, [0x180295120]
mov dword [rax + 8], edx
jmp 0x180179c89
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x180179c89
mov edx, dword [r15 + 0x18]
test edx, edx
je 0x180179c89
mov rcx, qword [rbx + 0x18]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180179c79
mov r8d, edx
mov rdx, rbx
call fcn.1800ef380
jmp 0x180179c89
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
test dword [r13 + 0x38], 0x800
je 0x180179ef8
cmp dword [r15 + 0x48], 0
jle 0x180179ef8
mov rcx, qword [rbx + 0x18]
mov edx, dword [r15 + 0x10]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180179cc1
mov r8d, edx
mov rdx, rbx
call fcn.1800ef380
jmp 0x180179cd1
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov ebp, dword [r15 + 0x48]
lea eax, [rbp - 1]
movsxd rcx, eax
mov rax, qword [r15 + 0x50]
lea rdx, [rcx + rcx*4]
lea rsi, [rax + rdx*4]
test ebp, ebp
jle 0x180179ef8
xor r14d, r14d
mov rax, qword [rbx]
lea rdi, [rsi + 4]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], r14b
je 0x180179d0e
lea rax, [0x180295120]
jmp 0x180179d23
mov eax, dword [rdi]
inc eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
cmp byte [rsi + 0x10], 0xbb
je 0x180179eb2
cmp dword [rsi + 0xc], r14d
je 0x180179e50
mov eax, dword [r13 + 0x38]
bt eax, 0xa
jb 0x180179d4f
mov edi, 1
bt eax, 0x12
jb 0x180179d52
mov edi, r14d
cmp dword [r15], r14d
je 0x180179db3
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rsi]
lea edx, [rcx + 2]
add edx, edi
cmp dword [rbx + 0x94], ecx
jg 0x180179d85
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x19
mov rcx, rbx
call fcn.1800cbd20
jmp 0x180179db3
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x19
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
test edi, edi
je 0x180179e50
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rsi + 0xc]
mov r10d, dword [rsi + 8]
mov r8d, dword [r15 + 8]
lea r9d, [rcx + 2]
cmp dword [rbx + 0x94], ecx
jg 0x180179df1
mov dword [rsp + 0x28], edx
mov rcx, rbx
mov edx, 0x1a
mov dword [rsp + 0x20], r10d
call fcn.180055110
jmp 0x180179e1f
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xfd1a
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r10d
mov dword [rax + rcx*8 + 0x10], edx
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], r14b
je 0x180179e37
lea rax, [0x180295120]
jmp 0x180179e4d
mov eax, dword [rsi + 4]
inc eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rcx, dword [rbx + 0x90]
lea rdi, [rsi + 4]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
movzx edx, byte [rsi + 0x10]
cmp dword [rbx + 0x94], ecx
jg 0x180179e7c
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.1800cbd20
jmp 0x180179eb2
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], r14w
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov byte [rax + rcx*8 + 1], r14b
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], r14b
je 0x180179eca
lea rax, [0x180295120]
jmp 0x180179edf
mov eax, dword [rdi]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
dec ebp
mov dword [rax + 8], edx
sub rsi, 0x14
test ebp, ebp
jg 0x180179cf2
mov r14d, dword [rsp + 0xa8]
mov rcx, qword [rbx + 0x18]
mov edx, dword [r15 + 0xc]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x180179f17
mov r8d, edx
mov rdx, rbx
call fcn.1800ef380
jmp 0x180179f27
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rax, qword [r15 + 0x30]
test rax, rax
je 0x180179f5c
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rax + 8]
cmp dword [rbx + 0x94], ecx
jg 0x180179f91
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x43]
call fcn.1800cbd20
xor esi, esi
mov edx, dword [r15 + 0x14]
test edx, edx
je 0x18017a04f
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180179fc5
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 9]
call fcn.1800cbd20
jmp 0x180179fee
lea eax, [rcx + 1]
xor esi, esi
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x43
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], rsi
jmp 0x180179f5e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x18017a006
lea rax, [0x180295120]
jmp 0x18017a019
movsxd rax, dword [r15 + 0x14]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x18017a034
lea rax, [0x180295120]
jmp 0x18017a04c
mov eax, dword [r15 + 0x14]
sub eax, 2
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov edx, dword [r15]
test edx, edx
je 0x18017a359
movsxd rbp, dword [rbx + 0x90]
mov edi, dword [r13 + 0x38]
cmp dword [rbx + 0x94], ebp
jg 0x18017a087
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x3b]
call fcn.1800cbd20
mov ebp, eax
jmp 0x18017a0bb
lea eax, [rbp + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x88]
add rcx, rbp
mov dword [rax + rcx*8], 0x3b
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
test dil, 0x40
jne 0x18017a11a
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r15 + 4]
cmp dword [rbx + 0x94], ecx
jg 0x18017a0ed
mov r8d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x88
xor r9d, r9d
mov rcx, rbx
call fcn.1800cbd20
jmp 0x18017a11a
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x88
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
bt edi, 9
jb 0x18017a137
bt edi, 0xd
jae 0x18017a28d
cmp qword [r15 + 0x48], 0
je 0x18017a28d
jmp 0x18017a141
bt edi, 0xd
jae 0x18017a234
mov rsi, qword [r15 + 0x48]
xor r10d, r10d
mov edx, 0xffff8000
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x18017a17b
mov rax, qword [rsp + 0x30]
mov edx, r10d
mov rax, qword [rax + 0x20]
add rax, 0x18
cmp qword [rax], rcx
je 0x18017a17b
nop dword [rax + rax]
inc edx
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x18017a170
movsxd rcx, dword [rbx + 0x90]
mov r9d, dword [rsi + 0x58]
mov r8d, dword [r15 + 8]
cmp dword [rbx + 0x94], ecx
jg 0x18017a1a5
mov dword [rsp + 0x20], edx
mov rcx, rbx
mov edx, 0x65
call fcn.1800cbd20
jmp 0x18017a1d3
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x65
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rsp + 0x38]
mov rdx, rsi
mov rcx, rax
mov rdi, qword [rax + 0x10]
call fcn.18013ea60
mov r8, rax
test rax, rax
je 0x18017a232
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x18017a216
cmp qword [rax + 0x2e8], 0
jne 0x18017a232
add dword [r8], 0xffffffff
jne 0x18017a232
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.18010d860
jmp 0x18017a232
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], r8
xor esi, esi
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r15 + 8]
cmp dword [rbx + 0x94], ecx
jg 0x18017a260
mov r8d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x88
xor r9d, r9d
mov rcx, rbx
call fcn.1800cbd20
jmp 0x18017a28d
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x88
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
cmp byte [r15 + 0x39], 0x43
mov edx, dword [r15 + 0x1c]
movsxd rcx, dword [rbx + 0x90]
jne 0x18017a2e3
mov r8d, dword [r15 + 0x3c]
cmp dword [rbx + 0x94], ecx
jg 0x18017a2c1
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0xa
mov rcx, rbx
call fcn.1800cbd20
jmp 0x18017a32c
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], r8d
jmp 0x18017a31f
cmp dword [rbx + 0x94], ecx
jg 0x18017a303
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 9]
call fcn.1800cbd20
jmp 0x18017a32c
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov qword [rax + rcx*8 + 0x10], rsi
mov dword [rax + rcx*8 + 0xc], esi
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x18017a344
lea rax, [0x180295120]
jmp 0x18017a356
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rbp, qword [rsp + 0xa0]
dec r14d
sub r12, 1
mov dword [rsp + 0xa8], r14d
jns 0x180179841
mov r15, qword [rsp + 0x38]
lea r9, [0x180295120]
mov r13, qword [rsp + 0x30]
mov r8d, dword [rsp + 0xb8]
mov rdx, qword [rsp + 0x40]
cmp byte [rbp + 0x40], 0
lea rdi, [rbp + 0x360]
mov r14d, esi
jbe 0x18017a630
mov r12d, 0xffffffff
nop
movzx eax, byte [rdi + 0x38]
imul rcx, rax, 0x68
add rcx, rdx
mov rdx, qword [rdi + 0x58]
cmp qword [rdi + 0x30], 0
mov rsi, qword [rcx + 0x28]
je 0x18017a3dd
mov r8, rdi
mov edx, r14d
mov rcx, rbp
call fcn.18017b7a0
jmp 0x18017a608
test byte [rcx + 0x48], 0x20
je 0x18017a482
mov rdx, qword [r15 + 0x10]
mov r11d, dword [rcx + 0x40]
mov r10d, dword [rdi + 4]
movsxd r8, dword [rdi + 0x20]
mov rax, qword [rdx]
cmp byte [rax + 0x67], 0
jne 0x18017a40f
mov rax, qword [rdx + 0x88]
lea rcx, [r8 + r8*2]
lea r9, [rax + rcx*8]
mov rax, qword [r15]
mov ecx, dword [rdx + 0x90]
cmp byte [rax + 0x67], 0
jne 0x18017a608
cmp r8d, ecx
jge 0x18017a608
sub ecx, r8d
lea rdx, [r9 + 0xc]
mov r8d, ecx
xor r12d, r12d
cmp dword [rdx - 8], r10d
jne 0x18017a46f
movzx eax, byte [rdx - 0xc]
cmp al, 0x5e
jne 0x18017a463
mov ecx, dword [rdx - 4]
mov eax, dword [rdx]
add ecx, r11d
mov dword [rdx - 8], ecx
mov byte [rdx - 0xc], 0x50
mov dword [rdx - 4], eax
mov dword [rdx], r12d
mov word [rdx - 0xa], 2
jmp 0x18017a46f
cmp al, 0x87
jne 0x18017a46f
mov byte [rdx - 0xc], 0x7e
mov dword [rdx - 8], r12d
add rdx, 0x18
sub r8, 1
jne 0x18017a438
lea r12d, [r8 - 1]
jmp 0x18017a603
mov eax, dword [rdx + 0x38]
test eax, 0x240
je 0x18017a492
mov r11, qword [rdx + 0x20]
jmp 0x18017a4a0
bt eax, 0xd
jae 0x18017a608
mov r11, qword [rdi + 0x48]
test r11, r11
je 0x18017a608
cmp byte [r13 + 0x67], 0
jne 0x18017a608
cmp byte [rbp + 0x42], 0
je 0x18017a4c8
mov rax, qword [r11 + 0x18]
test byte [rax + 0x30], 0x80
jne 0x18017a4c8
mov r8d, dword [rbp + 0x50]
test dword [r11 + 0x64], 0x1000
je 0x18017a4f9
mov rcx, qword [r15 + 0x60]
test rcx, rcx
je 0x18017a4f9
nop dword [rax + rax]
mov eax, dword [rdi + 8]
cmp dword [rcx + 0xc], eax
jne 0x18017a4f0
mov qword [rcx + 8], 0xffffffffffffffff
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x18017a4e0
mov rax, qword [rbx]
mov edx, dword [rdi + 0x20]
inc edx
cmp byte [rax + 0x67], 0
je 0x18017a50c
mov r10, r9
jmp 0x18017a51e
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea r10, [rax + rcx*8]
sub r8d, edx
movsxd rax, r8d
lea rcx, [rax + rax*2]
lea rbp, [r10 + rcx*8]
add r10, 4
xor r13d, r13d
mov eax, dword [rdi + 4]
cmp dword [r10], eax
jne 0x18017a5ea
movzx eax, byte [r10 - 4]
cmp al, 0x5e
jne 0x18017a5d2
mov eax, dword [rsi + 0x30]
movsxd rdx, dword [r10 + 4]
test al, al
jns 0x18017a569
mov rcx, rsi
call fcn.18014c870
mov rax, qword [rax + 8]
movzx edx, word [rax + rdx*2]
jmp 0x18017a59d
test al, 0x20
je 0x18017a59d
mov r9d, r13d
cmp r13w, dx
jg 0x18017a59d
mov r8, qword [rsi + 8]
add r8, 0x12
nop
test byte [r8], 0x20
lea eax, [rdx + 1]
lea r8, [r8 + 0x18]
cmove ax, dx
inc r9d
movsx ecx, ax
movzx edx, ax
cmp r9d, ecx
jle 0x18017a580
movzx r8d, word [r11 + 0x60]
mov ecx, r13d
test r8d, r8d
je 0x18017a5c1
mov r9, qword [r11 + 8]
nop
movsxd rax, ecx
cmp dx, word [r9 + rax*2]
je 0x18017a5c5
inc ecx
cmp ecx, r8d
jl 0x18017a5b0
movzx ecx, r12w
movsx eax, cx
test eax, eax
js 0x18017a5ea
mov dword [r10 + 4], eax
jmp 0x18017a5e4
cmp al, 0x87
jne 0x18017a5e0
mov eax, dword [rdi + 8]
mov byte [r10 - 4], 0x8e
jmp 0x18017a5e7
cmp al, 0x14
jne 0x18017a5ea
mov eax, dword [rdi + 8]
mov dword [r10], eax
add r10, 0x18
lea rax, [r10 - 4]
cmp rax, rbp
jb 0x18017a533
mov rbp, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x30]
movzx eax, byte [rbp + 0x40]
lea r9, [0x180295120]
mov r8d, dword [rsp + 0xb8]
inc r14d
mov rdx, qword [rsp + 0x40]
add rdi, 0x68
cmp r14d, eax
jl 0x18017a3b0
mov rcx, qword [rbx + 0x18]
mov r8d, dword [rbp + 0x34]
not r8d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x18017a64d
mov rdx, rbx
call fcn.1800ef380
jmp 0x18017a65e
mov rdx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd r8, r8d
mov dword [rdx + r8*4], eax
movzx eax, word [rbp + 0x38]
mov rdx, rbp
mov rcx, r13
mov word [r15 + 0xd0], ax
call fcn.1801943e0
mov eax, dword [rsp + 0xb0]
sub byte [r15 + 0x26], al
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret