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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0xe8
mov rdi, qword [rcx + 0x10]
mov r12, r9
mov rbp, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbp
xorps xmm1, xmm1
mov r14, rcx
mov rbx, r8
mov r13, rdx
mov ecx, 0xfeff
movdqu xmmword [rax - 0x90], xmm0
movdqu xmmword [rax - 0x80], xmm1
test r12, r12
je 0x180174bc7
cmp dword [r12], 0x40
jl 0x180174bc7
mov qword [rax + 0x20], r9
mov r12d, r9d
movzx eax, word [rsp + 0x150]
and ax, cx
jmp 0x180174bcf
movzx eax, word [rsp + 0x150]
mov ecx, dword [rdx]
mov word [rsp + 0x30], ax
mov dword [rsp + 0x34], ecx
cmp ecx, 0x40
jle 0x180174c07
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r14
call fcn.180110e20
xor eax, eax
add rsp, 0xe8
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x130], rsi
test al, 0x20
mov qword [rsp + 0xe0], r15
mov eax, 0x3c8
mov edx, 1
je 0x180174c2b
mov dword [rsp + 0x34], edx
jmp 0x180174c3b
cmp ecx, edx
jle 0x180174c3b
imul eax, ecx, 0x68
mov dword [rsp + 0x34], ecx
add eax, 0x360
movsxd rsi, eax
mov rcx, rbp
lea rdx, [rsi + 0x70]
call fcn.18010d770
cmp byte [rbp + 0x67], 0
mov r15, rax
mov qword [rsp + 0x50], rax
je 0x180174c71
test rax, rax
je 0x180175e92
mov rdx, rax
mov rcx, rbp
call fcn.18010d580
jmp 0x180175e92
movsxd rcx, dword [rsp + 0x34]
xorps xmm0, xmm0
mov qword [rax + 8], r13
xor edx, edx
mov r13, qword [rsp + 0x148]
mov qword [rax], r14
mov qword [rax + 0x10], r12
mov rax, qword [rsp + 0x140]
mov qword [r15 + 0x18], rax
mov rax, 0xffffffffffffffff
mov qword [r15 + 0x28], rax
mov byte [r15 + 0x40], cl
mov qword [rsp + 0x60], rax
mov eax, dword [r14 + 0x44]
dec eax
mov dword [r14 + 0x44], eax
mov dword [r15 + 0x30], eax
mov dword [r15 + 0x34], eax
movzx eax, word [rsp + 0x30]
mov word [r15 + 0x3c], ax
mov eax, dword [rsp + 0x158]
mov word [r15 + 0x3e], ax
movsx eax, word [r14 + 0xd0]
mov dword [r15 + 0x38], eax
xor eax, eax
mov qword [r15 + 0x20], r13
movups xmmword [r15 + 0x41], xmm0
movups xmmword [r15 + 0x51], xmm0
mov qword [r15 + 0x61], rax
imul r8, rcx, 0x68
mov dword [r15 + 0x69], eax
lea rcx, [r15 + 0x360]
mov word [r15 + 0x6d], ax
add r8, 0x70
mov byte [r15 + 0x6f], al
call fcn.180003b25
lea r14, [r15 + 0x70]
xor ebp, ebp
mov dword [r15 + 0x25c], ebp
lea rcx, [rsi + r15]
mov dword [r15 + 0x260], 0xffffff9d
lea rax, [rcx + 0x58]
mov qword [rsp + 0x70], r15
mov rsi, rbx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rcx
mov qword [rcx + 0x48], rax
lea rax, [r14 + 0x28]
mov word [rcx + 0x3c], bp
mov word [rcx + 0x40], 3
mov dword [rcx + 0x38], ebp
mov qword [r14 + 0x20], rax
mov qword [r14], r15
mov byte [r14 + 0x11], bpl
mov qword [r14 + 8], rbp
mov dword [r14 + 0x14], ebp
mov qword [r14 + 0x18], 8
test rbx, rbx
je 0x180174da4
mov eax, dword [rsi + 4]
test eax, 0x82000
je 0x180174da4
bt eax, 0x13
jae 0x180174d9b
mov rax, qword [rsi + 0x20]
mov rsi, qword [rax + 8]
jmp 0x180174d9f
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x180174d81
mov byte [r14 + 0x10], 0x2c
test rsi, rsi
je 0x180174f92
cmp byte [rsi], 0x2c
je 0x180174f74
movsxd rax, dword [r14 + 0x18]
cmp ebp, eax
jl 0x180174ee5
mov rbp, qword [r14 + 0x20]
mov rsi, r15
imul r15, rax, 0x70
mov rax, qword [rsi]
mov rcx, qword [rax]
lea rdx, [r15 + 0x10]
movzx eax, word [rcx + 0x194]
cmp rdx, rax
jbe 0x180174e0b
cmp dword [rcx + 0x190], 0
jne 0x180174dfc
inc dword [rcx + 0x1a4]
jmp 0x180174e92
cmp byte [rcx + 0x67], 0
jne 0x180174ebb
jmp 0x180174e92
cmp rdx, 0x80
ja 0x180174e50
mov r9, qword [rcx + 0x1c8]
test r9, r9
je 0x180174e32
mov rax, qword [r9]
mov qword [rcx + 0x1c8], rax
inc dword [rcx + 0x1a0]
jmp 0x180174e9f
mov r9, qword [rcx + 0x1c0]
test r9, r9
je 0x180174e50
mov rax, qword [r9]
mov qword [rcx + 0x1c0], rax
inc dword [rcx + 0x1a0]
jmp 0x180174e9f
mov r9, qword [rcx + 0x1b8]
test r9, r9
je 0x180174e6e
mov rax, qword [r9]
mov qword [rcx + 0x1b8], rax
inc dword [rcx + 0x1a0]
jmp 0x180174e9f
mov r9, qword [rcx + 0x1b0]
test r9, r9
je 0x180174e8c
mov rax, qword [r9]
inc dword [rcx + 0x1a0]
mov qword [rcx + 0x1b0], rax
jmp 0x180174e9f
inc dword [rcx + 0x1a8]
call fcn.18006a460
mov r9, rax
test rax, rax
je 0x180174eb2
mov rax, qword [rsi + 0x60]
mov qword [r9], rax
mov qword [r9 + 8], r15
mov qword [rsi + 0x60], r9
add r9, 0x10
mov qword [r14 + 0x20], r9
test r9, r9
jne 0x180174ec6
mov qword [r14 + 0x20], rbp
xor ebp, ebp
jmp 0x180174f92
movsxd rax, dword [r14 + 0x14]
mov rdx, rbp
imul r8, rax, 0x38
mov rcx, r9
call fcn.180002c16
mov eax, dword [r14 + 0x18]
add eax, eax
mov dword [r14 + 0x18], eax
xor ebp, ebp
movsxd rdx, dword [r14 + 0x14]
imul r8, rdx, 0x38
lea eax, [rdx + 1]
add r8, qword [r14 + 0x20]
mov dword [r14 + 0x14], eax
mov dword [r14 + 0x1c], eax
test rbx, rbx
je 0x180174f22
test dword [rbx + 4], 0x80000
je 0x180174f22
movsxd rcx, dword [rbx + 0x2c]
call fcn.180140510
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x180174f30
mov word [r8 + 0x10], 1
test rbx, rbx
je 0x180174f53
nop
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x180174f53
bt eax, 0x13
jae 0x180174f4a
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x180174f4e
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180174f30
mov qword [r8], rbx
xorps xmm0, xmm0
mov word [r8 + 0x12], bp
xor eax, eax
mov qword [r8 + 8], r14
movups xmmword [r8 + 0x14], xmm0
movups xmmword [r8 + 0x24], xmm0
mov dword [r8 + 0x34], eax
jmp 0x180174f92
mov rdx, qword [rsi + 0x10]
mov r8b, 0x2c
mov rcx, r14
call fcn.18017c120
mov rdx, qword [rsi + 0x18]
mov r8b, 0x2c
mov rcx, r14
call fcn.18017c120
cmp dword [rsp + 0x34], 0
mov ecx, 0x100
mov r15, qword [rsp + 0x50]
jne 0x180174fe0
test r12, r12
je 0x180174fb1
movzx eax, byte [r12]
mov byte [r15 + 0x41], al
test word [rsp + 0x30], cx
je 0x180174fc8
mov rax, qword [rsp + 0x40]
test byte [rax + 0x60], 0x10
jne 0x180174fc8
mov byte [r15 + 0x43], 1
mov rcx, qword [rsp + 0x120]
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
call fcn.18016cae0
jmp 0x180175045
mov r13, qword [rsp + 0x128]
mov ebx, ebp
mov rbp, qword [rsp + 0x120]
lea rsi, [r13 + 0x4c]
nop word [rax + rax]
movsxd rcx, dword [r15 + 0x25c]
mov r8, r14
mov eax, dword [rsi]
mov dword [r15 + rcx*4 + 0x260], eax
mov rcx, rbp
inc dword [r15 + 0x25c]
movsxd rax, ebx
imul rdx, rax, 0x68
add rdx, 8
add rdx, r13
call fcn.18017c1c0
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [r13]
jl 0x180175000
mov r13, qword [rsp + 0x148]
mov ebx, dword [r14 + 0x14]
sub ebx, 1
js 0x180175073
mov rsi, qword [rsp + 0x128]
nop word [rax + rax]
mov r8d, ebx
mov rdx, r14
mov rcx, rsi
call fcn.18006cad0
sub ebx, 1
jns 0x180175060
test r13, r13
je 0x18017508a
cmp qword [r13 + 0x60], 0
je 0x18017508a
mov rdx, r13
mov rcx, r14
call fcn.180174a10
mov r13, qword [rsp + 0x120]
cmp dword [r13 + 0x30], 0
jne 0x180175e78
mov rax, qword [rsp + 0x78]
xor edx, edx
mov ebp, edx
cmp dword [rax + 0x1c], edx
jle 0x1801751b7
mov rdi, qword [rsp + 0x128]
lea r8, [0x180071a80]
mov r12d, dword [rsp + 0x34]
lea r9, [0x180156fe0]
mov r14d, edx
nop dword [rax]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rax + 0x20]
add rbx, r14
test byte [rbx + 0x12], 2
jne 0x180175183
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x180175183
test r12d, r12d
je 0x18017515d
mov qword [rsp + 0xa8], rdx
mov eax, 1
mov word [rsp + 0xcc], ax
mov qword [rsp + 0xc0], rdx
mov dword [rsp + 0xc8], edx
mov qword [rsp + 0xce], rdx
mov word [rsp + 0xd6], dx
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], r9
test rsi, rsi
je 0x18017515d
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.180174600
cmp word [rsp + 0xcc], 0
je 0x180175183
test byte [rsi + 4], 2
je 0x180175169
test byte [rdi + 0x44], 0x40
jne 0x180175183
mov r8d, dword [r15 + 0x34]
mov r9d, 0x10
mov rdx, rsi
mov rcx, r13
call fcn.1801176f0
or word [rbx + 0x12], 4
mov rax, qword [rsp + 0x78]
lea r8, [0x180071a80]
inc ebp
lea r9, [0x180156fe0]
add r14, 0x38
mov edx, 0
cmp ebp, dword [rax + 0x1c]
jl 0x1801750d0
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x138]
movzx ebx, word [rsp + 0x30]
bt bx, 8
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x140]
mov r14, qword [rsp + 0x128]
jae 0x180175222
test byte [rsi + 0x60], 0x10
je 0x1801751f2
mov ecx, 0xfeff
and bx, cx
and word [r15 + 0x3c], cx
mov word [rsp + 0x30], bx
jmp 0x180175222
lea r8, [r15 + 0x70]
mov r9, rbp
mov rdx, r14
mov rcx, r13
call fcn.1800ce4c0
test eax, eax
je 0x18017520f
mov byte [r15 + 0x43], 1
jmp 0x180175222
test r12, r12
jne 0x180175222
mov eax, 0x80
mov qword [r15 + 0x10], rbp
or word [r15 + 0x3c], ax
mov r12d, dword [rsp + 0x34]
cmp r12d, 1
jne 0x18017523f
lea rcx, [rsp + 0x70]
call fcn.18019bac0
test eax, eax
jne 0x180175332
lea rcx, [rsp + 0x70]
call fcn.180194980
test eax, eax
jne 0x180175e78
test byte [rsp + 0x9d], 4
je 0x1801752e8
mov rbx, qword [r15 + 0x58]
test rbx, rbx
je 0x1801752d1
xor edi, edi
nop word [rax + rax]
mov rax, qword [rbx + 0x50]
lea rsi, [rbx + 0x58]
mov qword [r15 + 0x58], rax
mov rdx, qword [rbx + 0x48]
cmp rdx, rsi
je 0x180175299
mov rcx, qword [rsp + 0x40]
call fcn.18010d580
mov qword [rbx + 0x48], rsi
mov word [rbx + 0x40], 3
mov rsi, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, rsi
call fcn.180197860
mov rdx, rbx
mov word [rbx + 0x3c], di
mov rcx, rsi
mov dword [rbx + 0x38], edi
call fcn.18010d860
mov rbx, qword [r15 + 0x58]
test rbx, rbx
jne 0x180175270
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x128]
lea rcx, [rsp + 0x70]
call fcn.180194980
test eax, eax
jne 0x180175e78
movzx ebx, word [rsp + 0x30]
xor edx, edx
mov rcx, r15
call fcn.180199480
cmp byte [rsi + 0x67], 0
jne 0x180175e78
cmp qword [r15 + 0x10], 0
je 0x18017531d
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.180199480
cmp byte [rsi + 0x67], 0
jne 0x180175e78
mov r11d, 0x100
test word [r15 + 0x3c], r11w
je 0x180175338
add word [r15 + 0x48], 0xffe2
jmp 0x180175338
mov r11d, 0x100
cmp qword [r15 + 0x10], 0
jne 0x180175351
mov eax, dword [rsi + 0x30]
bt rax, 0xc
jae 0x180175351
mov rcx, r15
call fcn.18019b060
cmp dword [r13 + 0x30], 0
jne 0x180175e78
movzx eax, byte [r15 + 0x40]
mov ecx, 0x400
cmp al, 2
jb 0x1801753b8
test rbp, rbp
je 0x1801753a7
movzx eax, bx
xor r9d, r9d
and ax, cx
cmp r9w, ax
jne 0x1801753a7
test dword [rsi + 0x60], r11d
jne 0x1801753a7
lea rdx, [r9 - 1]
mov rcx, r15
call fcn.180198270
movzx r12d, byte [r15 + 0x40]
mov qword [rsp + 0x60], rax
movzx eax, r12b
mov dword [rsp + 0x34], r12d
cmp al, 2
jb 0x1801753b8
test dword [rsi + 0x60], 0x80000
jne 0x1801753b8
mov rcx, r15
call fcn.180193ed0
mov rcx, qword [r15]
xor r9d, r9d
movzx eax, word [r15 + 0x48]
movzx r8d, word [rsp + 0x30]
mov word [rsp + 0x138], r9w
add word [rcx + 0xd0], ax
test r8b, 4
je 0x180175487
mov rdx, qword [r15 + 0x3b8]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x180175447
mov dword [rsp + 0x138], r9d
test r8b, 8
je 0x180175487
mov rax, qword [r14 + 0x28]
mov word [rsp + 0x138], r9w
cmp byte [rax + 0x3f], 1
je 0x180175487
bt ecx, 0xd
jae 0x18017542f
mov word [rsp + 0x138], r9w
test r8b, 0x10
je 0x180175487
test dword [rsi + 0x60], 0x8000000
mov word [rsp + 0x138], r9w
jne 0x180175487
test ecx, 0x1000
sete al
mov word [rsp + 0x138], r9w
inc al
mov byte [r15 + 0x42], al
mov rax, qword [r14 + 0x28]
test byte [rax + 0x30], 0x80
jne 0x180175487
mov word [rsp + 0x138], r9w
test cl, 0x40
je 0x180175487
and ecx, 0xffffffbf
movzx eax, r8w
and ax, 8
mov dword [rdx + 0x38], ecx
mov word [rsp + 0x138], ax
mov dword [rsp + 0x58], r9d
lea rbx, [r15 + 0x360]
mov qword [rsp + 0x38], rbx
test r12d, r12d
jle 0x180175c79
jmp 0x1801754b5
mov rsi, qword [rsp + 0x40]
movzx eax, byte [rbx + 0x38]
mov r12d, 0xffff8000
imul r13, rax, 0x68
add r13, 8
add r13, r14
mov rbp, qword [r13 + 0x20]
mov qword [rsp + 0x48], rbp
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1801754fc
mov rax, qword [rsi + 0x20]
mov r12d, r9d
add rax, 0x18
cmp qword [rax], rcx
je 0x1801754fc
nop dword [rax]
inc r12d
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x1801754f0
test dword [rbp + 0x30], 0x4000
mov r14, qword [rbx + 0x58]
mov qword [rsp + 0x68], r14
jne 0x180175759
movzx eax, byte [rbp + 0x3f]
cmp al, 2
je 0x180175759
mov ecx, dword [r14 + 0x38]
bt ecx, 0xa
jae 0x180175662
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x180175543
cmp qword [rbx], rsi
je 0x180175543
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180175535
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [r13 + 0x44]
cmp dword [rdi + 0x94], edx
jg 0x18017556f
mov dword [rsp + 0x20], r9d
mov edx, 0xad
xor r9d, r9d
mov rcx, rdi
call fcn.1800cbd20
mov edx, eax
jmp 0x18017559d
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xad
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x1801755dc
test edx, edx
jns 0x1801755b2
mov edx, dword [rdi + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x18017563d
mov r9d, 0xfffffff5
mov r8, rbx
mov rcx, rdi
call fcn.180188ed0
mov rsi, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x38]
movzx r8d, word [rsp + 0x30]
test dword [r14 + 0x38], 0x200
je 0x180175932
mov rax, qword [rsp + 0x48]
mov rbp, qword [r14 + 0x20]
mov r14d, 0x70
test byte [rax + 0x30], 0x80
je 0x180175766
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
jne 0x180175766
test r8b, 0x20
je 0x180175766
mov eax, dword [rbx + 4]
mov r14, qword [rsp + 0x68]
mov dword [rbx + 8], eax
jmp 0x18017592d
mov rsi, qword [rsp + 0x120]
movzx r8d, word [rsp + 0x30]
test rbx, rbx
je 0x18017565b
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xf5
inc dword [rbx + 0x18]
mov rbx, qword [rsp + 0x38]
jmp 0x1801755ef
cmp al, 1
je 0x180175759
test cl, 0x40
jne 0x180175675
test r8b, 0x20
je 0x180175680
test byte [r13 + 0x3c], 0x50
je 0x180175759
cmp byte [r15 + 0x42], 0
mov ecx, 0x70
je 0x180175699
mov eax, dword [r13 + 0x44]
mov ecx, 0x71
mov dword [r15 + 0x28], eax
mov rsi, qword [rsp + 0x120]
mov r9, rbp
mov edx, dword [r13 + 0x44]
mov r8d, r12d
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.180141910
cmp byte [r15 + 0x42], 0
jne 0x18017572e
cmp word [rbp + 0x36], 0x40
jge 0x18017572e
test byte [rbp + 0x30], 0xe0
jne 0x18017572e
test dword [r14 + 0x38], 0x404000
jne 0x18017572e
mov rax, qword [r13 + 0x50]
xor r9d, r9d
test rax, rax
je 0x1801756e9
inc r9d
shr rax, 1
jne 0x1801756e1
mov rax, qword [rdi]
movsxd r8, r9d
cmp byte [rax + 0x67], 0
jne 0x18017572e
movsxd rax, dword [rdi + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x180175726
mov r9d, 0xfffffffd
mov rcx, rdi
call fcn.180188ed0
jmp 0x18017572e
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1801755e9
mov edx, dword [rsp + 0x138]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1801755e9
mov rsi, qword [rsp + 0x120]
jmp 0x1801755ef
cmp byte [r15 + 0x42], 0
je 0x1801757a2
mov rax, qword [r13 + 0x20]
mov ebx, dword [rsp + 0x158]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180175791
cmp rcx, rbp
je 0x180175791
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x180175781
mov r14d, 0x71
mov dword [r15 + 0x2c], ebx
mov esi, ebx
jmp 0x180175823
mov eax, dword [rsp + 0x158]
test eax, eax
je 0x1801757bf
test r8b, 0x20
je 0x1801757bf
mov ebx, eax
mov r14d, 0x65
mov esi, eax
jmp 0x180175823
mov ebx, dword [rsi + 0x34]
mov esi, ebx
mov rcx, qword [rsp + 0x120]
lea eax, [rbx + 1]
mov dword [rcx + 0x34], eax
test dword [rbp + 0x64], 0x1000
je 0x1801757ff
mov rax, qword [rsp + 0x40]
test dword [rax + 0x60], 0x1000000
jne 0x1801757ff
mov r9, r13
mov r8d, ebx
mov rdx, rbp
call fcn.1801934f0
mov rcx, qword [rsp + 0x120]
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x180175823
test byte [r13 + 0x3c], 0x10
jne 0x180175823
mov qword [rsp + 0x28], r13
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x20], ebx
call fcn.180198540
mov rax, qword [rsp + 0x38]
mov dword [rax + 8], esi
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rbp + 0x58]
cmp dword [rdi + 0x94], ecx
jg 0x180175856
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, ebx
mov edx, r14d
mov rcx, rdi
call fcn.1800cbd20
jmp 0x18017588c
lea eax, [rcx + 1]
xor edx, edx
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8], r14b
mov word [rax + rcx*8 + 2], dx
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rsi, qword [rsp + 0x120]
mov rdx, rbp
mov rcx, rsi
mov rbx, qword [rsi + 0x10]
call fcn.18013ea60
mov r8, rax
test rax, rax
je 0x1801758ee
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1801758d2
cmp qword [rax + 0x2e8], 0
jne 0x1801758ee
add dword [r8], 0xffffffff
jne 0x1801758ee
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.18010d860
jmp 0x1801758ee
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], r8
mov r14, qword [rsp + 0x68]
mov eax, dword [r14 + 0x38]
test al, 0xf
je 0x18017592d
test eax, 0x188002
jne 0x18017592d
test byte [r15 + 0x3c], 1
jne 0x18017592d
cmp byte [r15 + 0x43], 2
je 0x18017592d
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x18017592d
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], 2
mov rbp, qword [rsp + 0x48]
test r12d, r12d
js 0x180175969
mov rax, qword [rsi + 0xa0]
mov rcx, rsi
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x84]
bt eax, r12d
jb 0x180175969
bts eax, r12d
mov dword [rcx + 0x84], eax
cmp r12d, 1
jne 0x180175969
call fcn.180141d30
test byte [r13 + 0x3c], 0x10
je 0x180175c37
mov rcx, qword [r15]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.18010d770
mov rsi, rax
test rax, rax
je 0x1801759a3
mov rcx, qword [r15 + 0x60]
add rsi, 0x10
mov qword [rax], rcx
mov qword [rax + 8], 0x14
mov qword [r15 + 0x60], rax
mov rax, qword [rsp + 0x38]
mov r13, qword [rsp + 0x120]
mov qword [rax + 0x30], rsi
test rsi, rsi
je 0x180175c3f
mov eax, dword [r13 + 0x34]
xor r12d, r12d
mov dword [rsi], eax
mov edx, dword [r13 + 0x38]
inc dword [r13 + 0x34]
inc edx
mov dword [r13 + 0x38], edx
mov dword [rsi + 4], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x180175a03
mov r9d, edx
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x4d]
mov r8d, 0x10000
mov rcx, rdi
call fcn.1800cbd20
jmp 0x180175a34
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], 0x10000
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
inc dword [r13 + 0x38]
mov edx, dword [r13 + 0x38]
mov dword [rsi + 8], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x180175a67
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, edx
mov rcx, rdi
lea edx, [r8 + 0x4b]
call fcn.1800cbd20
jmp 0x180175a91
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
test byte [rbp + 0x30], 0x80
jne 0x180175b40
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x180175ac8
mov r9d, 1
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.1800cbd20
jmp 0x180175af5
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 1
mov qword [rax + rcx*8 + 0x10], r12
mov rcx, qword [r13]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.18013e8a0
mov r8, rax
test rax, rax
je 0x180175c26
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r12
mov byte [rcx], 0
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x180175bdd
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
jmp 0x180175c1c
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x180175b62
nop dword [rax]
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x180175b62
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180175b50
movsxd rcx, dword [rdi + 0x90]
movzx edx, word [rbx + 0x5e]
mov r8d, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x180175b8f
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1800cbd20
jmp 0x180175bbd
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov rsi, qword [r13 + 0x10]
mov rdx, rbx
mov rcx, r13
call fcn.18013ea60
mov r8, rax
test rax, rax
je 0x180175c26
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x180175c0a
cmp qword [rax + 0x2e8], 0
jne 0x180175c26
add dword [r8], 0xffffffff
jne 0x180175c26
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.18010d860
and dword [r14 + 0x38], 0xffffffbf
mov byte [r15 + 0x41], 0
mov byte [r15 + 0x43], 3
jmp 0x180175c3f
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8 - 8], r8
mov byte [rax + rcx*8 - 0x17], 0xf8
and dword [r14 + 0x38], 0xffffffbf
mov byte [r15 + 0x41], 0
mov byte [r15 + 0x43], 3
jmp 0x180175c3f
mov r13, qword [rsp + 0x120]
mov edx, dword [rsp + 0x58]
mov r9d, 0
mov rbx, qword [rsp + 0x38]
inc edx
mov r12d, dword [rsp + 0x34]
add rbx, 0x68
mov r14, qword [rsp + 0x128]
movzx r8d, word [rsp + 0x30]
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x38], rbx
cmp edx, r12d
jl 0x1801754b0
mov rbp, qword [rsp + 0x40]
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x4c], eax
cmp byte [rbp + 0x67], 0
jne 0x180175e78
mov r14d, r9d
test r12d, r12d
jle 0x180175f20
lea r12, [r15 + 0x70]
lea rbx, [r15 + 0x360]
nop dword [rax]
cmp dword [r13 + 0x30], 0
jne 0x180175e78
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax + 0x38]
movzx eax, byte [rbx + 0x38]
imul rsi, rax, 0x68
add rsi, qword [rsp + 0x128]
mov eax, dword [rsi + 0x48]
test al, 0x10
je 0x180175e30
test al, 8
je 0x180175d45
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x180175d12
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, edx
mov edx, 0xa
call fcn.1800cbd20
jmp 0x180175e30
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x180175e30
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x180175d72
mov dword [rsp + 0x20], r9d
xor r8d, r8d
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0xf]
call fcn.1800cbd20
mov ebp, eax
xor r9d, r9d
jmp 0x180175da3
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rdi + 0x88]
add rcx, rbp
mov qword [rax + rcx*8], 0xf
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x180175dd0
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, edx
mov edx, 0xa
call fcn.1800cbd20
jmp 0x180175dfe
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x180175e16
lea rax, [0x180295120]
jmp 0x180175e28
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov rbp, qword [rsp + 0x40]
mov dword [rax + 8], edx
test r15d, 0x404000
je 0x180175eb5
bt r15d, 0xe
jae 0x180175e5a
mov r8, qword [rsp + 0x60]
mov r9, rbx
mov rdx, r12
mov rcx, r13
call fcn.1800673f0
mov r15, qword [rsp + 0x50]
jmp 0x180175e72
mov r15, qword [rsp + 0x50]
mov r8, rbx
mov r9, qword [rsp + 0x60]
mov rcx, r15
mov edx, r14d
call fcn.18010a6e0
cmp byte [rbp + 0x67], 0
je 0x180175eba
movzx eax, word [r15 + 0x38]
mov rdx, r15
mov rcx, qword [rsp + 0x40]
mov word [r13 + 0xd0], ax
call fcn.1801943e0
xor eax, eax
mov rsi, qword [rsp + 0x130]
mov r15, qword [rsp + 0xe0]
add rsp, 0xe8
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov r15, qword [rsp + 0x50]
movzx r9d, word [rsp + 0x30]
mov r8, rbx
mov rdx, qword [rsp + 0x128]
mov rcx, r13
call fcn.18017ae10
mov eax, dword [rdi + 0x90]
mov r9d, r14d
mov dword [rbx + 0x20], eax
mov r8, r15
mov rax, qword [rsp + 0x60]
mov rdx, rdi
mov qword [rsp + 0x28], rax
mov rcx, r13
mov qword [rsp + 0x20], rbx
call fcn.1801764f0
mov qword [rsp + 0x60], rax
inc r14d
mov eax, dword [rbx + 0x18]
mov r9d, 0
add rbx, 0x68
mov dword [r15 + 0x30], eax
cmp r14d, dword [rsp + 0x34]
jl 0x180175cb0
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x50], eax
mov rax, r15
jmp 0x180175e94