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

Disassembly:
push rbp
push rsi
push r13
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
mov rax, qword [0x180237160]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov r10, qword [rcx + 0x48]
xor eax, eax
mov dword [rbp + 0x18], r9d
xor r9d, r9d
mov qword [rbp + 0x10], r8
mov rsi, rcx
mov qword [rsp + 0x70], r10
mov qword [rbp - 0x60], rcx
mov dword [rbp + 0xb0], eax
mov r13d, r9d
mov dword [rsp + 0x48], r9d
mov r15d, r9d
mov dword [rbp - 0x50], r9d
mov byte [rbp + 0xb4], al
mov dword [rsp + 0x40], eax
mov dword [rbp - 0x80], eax
mov qword [rsp + 0x50], r9
test r8, r8
jne 0x18002dfa9
lea eax, [r8 + 7]
jmp 0x18002f6a0
movzx r8d, word [rcx + 0x12]
movzx ecx, byte [rcx + 1]
mov qword [rsp + 0x218], rbx
mov qword [rsp + 0x1d0], rdi
lea edi, [rcx + r8]
mov qword [rsp + 0x1c8], r12
mov qword [rsp + 0x1c0], r14
cmp edi, 2
jge 0x18002dfe0
mov edx, r9d
jmp 0x18002e008
test edx, edx
jne 0x18002dfe9
mov edx, r9d
jmp 0x18002dffb
cmp edx, edi
jne 0x18002dff9
mov eax, dword [rbp + 0x120]
lea edx, [rdi + rax - 2]
jmp 0x18002e001
dec edx
mov eax, dword [rbp + 0x120]
mov edi, 2
sub edi, eax
mov eax, edx
lea r9d, [rdi + 1]
mov dword [rsp + 0x68], edx
sub eax, ecx
mov dword [rsp + 0x5c], r9d
add eax, edi
cmp eax, r8d
jne 0x18002e02c
movzx eax, byte [rsi + 5]
add eax, 8
movsxd rcx, eax
jmp 0x18002e051
mov rax, rcx
movsxd rcx, edx
sub rcx, rax
movsxd rax, edi
add rcx, rax
mov rax, qword [rsi + 0x60]
movzx ecx, word [rax + rcx*2]
movzx eax, word [rsi + 0x14]
ror cx, 8
movzx ecx, cx
and rcx, rax
add rcx, qword [rsi + 0x50]
movsxd rbx, edi
movsxd r14, edx
mov r12d, dword [rcx]
mov qword [rbp + 0x20], rcx
bswap r12d
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x64], r12d
lea rax, [0x180216cb4]
cmp r12d, dword [r10 + 0x40]
jbe 0x18002e0a9
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0xe1c0
mov ecx, ntohs
mov qword [rsp + 0x20], rax
call fcn.180014770
mov esi, ntohs
jmp 0x18002e142
mov rcx, qword [r10]
lea r8, [rbp + 0xa0]
xor r9d, r9d
mov edx, r12d
call fcn.180021220
mov esi, eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x18002e146
mov rdx, qword [rbp + 0xa0]
mov rax, qword [rdx + 0x10]
mov qword [rbp + rbx*8 - 0x30], rax
cmp byte [rax], r15b
jne 0x18002e140
mov rcx, qword [rdx + 0x10]
cmp r12d, dword [rcx + 0x88]
je 0x18002e117
mov rax, qword [rdx + 8]
mov qword [rcx + 0x70], rdx
mov edx, 0x64
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x70]
mov dword [rcx + 0x88], r12d
mov qword [rcx + 0x48], rax
xor eax, eax
cmp r12d, 1
cmove eax, edx
mov byte [rcx + 5], al
mov rcx, qword [rbp + rbx*8 - 0x30]
call fcn.180027660
mov esi, eax
mov dword [rsp + 0x44], eax
test eax, eax
je 0x18002e140
mov rcx, qword [rbp + rbx*8 - 0x30]
test rcx, rcx
je 0x18002e146
mov rcx, qword [rcx + 0x70]
call fcn.1800216f0
jmp 0x18002e146
xor esi, esi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x4c], esi
test esi, esi
jne 0x18002e2b1
mov rax, qword [rbp + rbx*8 - 0x30]
dec rbx
movzx ecx, byte [rax + 1]
movzx edx, word [rax + 0x12]
mov eax, edi
add ecx, r13d
dec edi
lea r13d, [rcx + rdx + 1]
test eax, eax
je 0x18002e2d1
mov rsi, qword [rbp - 0x60]
mov eax, dword [rsp + 0x68]
movzx ecx, word [rsi + 0x16]
add eax, edi
cmp eax, ecx
jne 0x18002e1c4
cmp byte [rsi + 1], r15b
je 0x18002e1c4
mov rdx, qword [rsi + 0x20]
mov rcx, rsi
mov r12d, dword [rdx]
mov qword [rbp + rbx*8 - 0x48], rdx
bswap r12d
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x64], r12d
call qword [rsi + 0x78]
mov r10, qword [rsp + 0x70]
movzx r11d, ax
mov byte [rsi + 1], r15b
mov dword [rbp + rbx*4 + 0x28], r11d
jmp 0x18002e06f
movzx eax, byte [rsi + 1]
mov r8, qword [rbp - 0x60]
mov rcx, rbx
sub rcx, rax
mov rax, qword [rsi + 0x60]
add rcx, r14
movzx ecx, word [rax + rcx*2]
movzx eax, word [r8 + 0x14]
ror cx, 8
movzx esi, cx
mov rcx, r8
and rsi, rax
add rsi, qword [r8 + 0x50]
mov rdx, rsi
mov qword [rbp + rbx*8 - 0x48], rsi
mov eax, dword [rsi]
bswap eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
call qword [r8 + 0x78]
mov rdx, qword [rsp + 0x70]
movzx r12d, ax
test byte [rdx + 0x28], 4
mov dword [rbp + rbx*4 + 0x28], r12d
je 0x18002e256
mov rax, qword [rbp - 0x60]
mov ecx, esi
sub ecx, dword [rax + 0x50]
lea eax, [r12 + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x18002e282
movsxd rcx, ecx
mov r8d, r12d
mov rdx, rsi
add rcx, qword [rbp + 0x10]
call fcn.180183a80
mov rcx, qword [rbp - 0x60]
sub rsi, qword [rcx + 0x50]
add rsi, qword [rbp + 0x10]
mov qword [rbp + rbx*8 - 0x48], rsi
jmp 0x18002e25a
mov rcx, qword [rbp - 0x60]
movzx eax, byte [rcx + 1]
mov edx, dword [rsp + 0x68]
lea r9, [rsp + 0x4c]
sub edx, eax
mov r8d, r12d
add edx, edi
call fcn.18002cee0
mov r12d, dword [rsp + 0x60]
mov r10, qword [rsp + 0x70]
jmp 0x18002e06f
lea rax, [0x180216cb4]
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0xf5c5
mov ecx, ntohs
mov qword [rsp + 0x20], rax
call fcn.180014770
mov esi, ntohs
lea eax, [rdi + 1]
lea rcx, [rbp - 0x30]
xor edx, edx
movsxd r8, eax
shl r8, 3
call fcn.180189610
mov rcx, r15
mov r15d, ecx
jmp 0x18002ea8f
mov rax, qword [rsp + 0x70]
lea ebx, [r13 + 3]
mov eax, dword [rax + 0x34]
and ebx, 0xfffffffc
lea ecx, [rbx + rbx*4]
lea ecx, [rax + rcx*2]
call fcn.180011ed0
mov r12, rax
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x18002e307
lea esi, [rax + 7]
mov rcx, rax
jmp 0x18002ea8f
movsxd rax, ebx
xor r10d, r10d
lea rdx, [r12 + rax*8]
mov r14d, r10d
mov r13d, r10d
lea rcx, [rdx + rax*2]
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x68], rdx
movzx r8d, byte [rax + 4]
mov qword [rbp - 0x78], rax
movzx eax, byte [rax + 3]
shl r8w, 2
mov dword [rbp - 0x54], eax
mov qword [rbp - 0x38], rax
mov eax, dword [rsp + 0x5c]
mov qword [rbp + 0xa0], rcx
mov word [rsp + 0x58], r8w
test eax, eax
jle 0x18002e574
nop word [rax + rax]
mov rsi, qword [rbp + r13*8 - 0x30]
mov rax, qword [rbp - 0x30]
mov rdi, qword [rsi + 0x50]
mov rcx, qword [rax + 0x50]
movzx ebx, word [rsi + 0xe]
movzx eax, byte [rcx]
movzx r12d, word [rsi + 0x14]
add rbx, rdi
cmp byte [rdi], al
jne 0x18002e668
movzx ecx, word [rsi + 0x12]
movzx eax, byte [rsi + 1]
add ecx, eax
movsxd rax, dword [rsp + 0x40]
movsxd r8, ecx
lea rcx, [rdx + rax*2]
xor edx, edx
add r8, r8
call fcn.180189610
cmp byte [rsi + 1], 0
jbe 0x18002e436
movzx eax, word [rsi + 0x16]
mov r9d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x50]
test eax, eax
jle 0x18002e3fc
movzx r8d, r12w
mov edx, eax
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
movsxd rax, r9d
inc r9d
and rcx, r8
mov dword [rbp - 0x80], r9d
add rcx, rdi
dec rdx
mov qword [r10 + rax*8], rcx
jne 0x18002e3d0
mov dword [rsp + 0x40], r9d
xor r8d, r8d
cmp byte [rsi + 1], r8b
jbe 0x18002e436
lea rdx, [rsi + 0x20]
nop dword [rax]
mov rax, qword [rdx]
movsxd rcx, r9d
inc r9d
mov qword [r10 + rcx*8], rax
movzx eax, byte [rsi + 1]
inc r8d
add rdx, 8
mov dword [rbp - 0x80], r9d
cmp r8d, eax
jl 0x18002e410
mov dword [rsp + 0x40], r9d
movzx eax, word [rsi + 0x12]
movzx edx, word [rsi + 0xe]
add eax, eax
movsxd rcx, eax
lea rax, [rdi + rcx]
add rdx, rax
cmp rbx, rdx
jae 0x18002e48e
mov r9, qword [rsp + 0x50]
movzx r8d, r12w
mov r12d, dword [rsp + 0x40]
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
movsxd rax, r12d
inc r12d
and rcx, r8
mov dword [rbp - 0x80], r12d
add rcx, rdi
mov qword [r9 + rax*8], rcx
cmp rbx, rdx
jb 0x18002e460
mov dword [rsp + 0x40], r12d
jmp 0x18002e493
mov r12d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x5c]
mov dword [rbp + r13*4 + 0x70], r12d
dec eax
cmp r14d, eax
jge 0x18002e553
cmp qword [rbp - 0x38], 0
jne 0x18002e553
movzx ecx, word [rbp + r13*4 + 0x28]
mov rax, qword [rbp - 0x68]
mov rdx, qword [rbp + r13*8 - 0x48]
movsxd rdi, r12d
mov r12, qword [rbp + 0xa0]
movsxd rbx, r15d
add r15d, ecx
mov r8d, ecx
mov word [rax + rdi*2], cx
add rbx, r12
mov rcx, rbx
call fcn.180183a80
movzx r8d, word [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rbp - 0x68]
lea rax, [rbx + r8]
mov qword [rcx + rdi*8], rax
sub word [rdx + rdi*2], r8w
cmp byte [rsi + 4], 0
jne 0x18002e521
mov rax, qword [rsi + 0x50]
mov esi, dword [rsp + 0x40]
mov rcx, qword [rcx + rdi*8]
mov eax, dword [rax + 8]
inc esi
mov dword [rcx], eax
mov dword [rsp + 0x40], esi
mov dword [rbp - 0x80], esi
jmp 0x18002e55d
cmp word [rdx + rdi*2], 4
movsxd rax, r15d
jae 0x18002e544
add rax, r12
nop
mov byte [rax], 0
inc word [rdx + rdi*2]
inc rax
inc r15d
cmp word [rdx + rdi*2], 4
jb 0x18002e530
mov esi, dword [rsp + 0x40]
inc esi
mov dword [rsp + 0x40], esi
mov dword [rbp - 0x80], esi
jmp 0x18002e55d
movzx r8d, word [rsp + 0x58]
mov rdx, qword [rbp - 0x68]
movsxd rcx, dword [rsp + 0x5c]
inc r13
inc r14d
cmp r13, rcx
jl 0x18002e360
xor r10d, r10d
mov rax, qword [rsp + 0x70]
movsxd r15, dword [rsp + 0x5c]
movzx ecx, r8w
mov eax, dword [rax + 0x38]
mov rdi, r10
lea esi, [rcx + rax - 0xc]
mov dword [rbp - 0x58], esi
test r15d, r15d
jle 0x18002e5ff
nop word [rax + rax]
mov rbx, qword [rbp + rdi*8 - 0x30]
movzx eax, word [rbx + 0x10]
sub esi, eax
mov dword [rbp + rdi*4 + 0x28], esi
js 0x18002e69c
cmp byte [rbx + 1], 0
mov r13d, r10d
jbe 0x18002e5ec
lea r12, [rbx + 0x20]
mov rdx, qword [r12]
mov rcx, rbx
call qword [rbx + 0x78]
inc r13d
add r12, 8
movzx r11d, ax
movzx eax, byte [rbx + 1]
lea esi, [rsi + r11 + 2]
cmp r13d, eax
jl 0x18002e5c2
mov dword [rbp + rdi*4 + 0x28], esi
xor r10d, r10d
mov eax, dword [rbp + rdi*4 + 0x70]
mov esi, dword [rbp - 0x58]
inc rdi
mov dword [rbp + rdi*4 + 0x3c], eax
cmp rdi, r15
jl 0x18002e5a0
cmp dword [rsp + 0x5c], 0
mov dword [rsp + 0x78], r15d
mov r13d, r10d
jle 0x18002e82b
mov r8d, dword [rsp + 0x40]
lea r14, [rbp + 0x40]
mov r12d, 1
sub r14, 4
mov rbx, r10
mov qword [rbp + 0xa0], r14
nop
cmp dword [rbp + rbx + 0x28], esi
jle 0x18002e737
nop word [rax + rax]
cmp r12d, r15d
jl 0x18002e6a4
lea r15d, [r12 + 1]
mov dword [rsp + 0x78], r15d
cmp rbx, 0xc
jg 0x18002e920
mov ecx, dword [rsp + 0x40]
mov dword [rbp + rbx + 0x2c], r10d
mov dword [rbp + rbx + 0x44], ecx
jmp 0x18002e6a8
mov r9d, 0xf608
lea rax, [0x180216cb4]
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, ntohs
mov qword [rsp + 0x20], rax
call fcn.180014770
mov esi, ntohs
jmp 0x18002ea85
mov r9d, 0xf66a
jmp 0x18002e66e
mov ecx, dword [rsp + 0x40]
movsxd rdi, dword [rbp + rbx + 0x40]
mov rdx, qword [rbp - 0x68]
lea esi, [rdi - 1]
movsxd rax, esi
movzx eax, word [rdx + rax*2]
test ax, ax
jne 0x18002e6d9
lea rcx, [rbp - 0x80]
mov edx, esi
call fcn.18002d260
mov ecx, dword [rbp - 0x80]
mov rdx, qword [rbp - 0x68]
mov dword [rsp + 0x40], ecx
xor r10d, r10d
movzx eax, ax
add eax, 2
sub dword [rbp + rbx + 0x28], eax
cmp qword [rbp - 0x38], 0
jne 0x18002e717
cmp edi, ecx
jge 0x18002e714
mov rax, rdi
movzx eax, word [rdx + rdi*2]
test ax, ax
jne 0x18002e70c
lea rcx, [rbp - 0x80]
mov edx, edi
call fcn.18002d260
mov ecx, dword [rbp - 0x80]
mov dword [rsp + 0x40], ecx
movzx eax, ax
add eax, 2
jmp 0x18002e717
mov eax, r10d
add dword [rbp + rbx + 0x2c], eax
mov dword [rbp + rbx + 0x40], esi
mov esi, dword [rbp - 0x58]
mov r10d, 0
cmp dword [rbp + rbx + 0x28], esi
jg 0x18002e640
mov r8d, dword [rsp + 0x40]
cmp dword [rbp + rbx + 0x40], r8d
jge 0x18002e7e4
mov r9, qword [rbp - 0x68]
mov r14, qword [rbp - 0x38]
xor r15d, r15d
nop dword [rax]
movsxd rdi, dword [rbp + rbx + 0x40]
mov rax, rdi
movzx eax, word [r9 + rdi*2]
test ax, ax
jne 0x18002e775
lea rcx, [rbp - 0x80]
mov edx, edi
call fcn.18002d260
mov r8d, dword [rbp - 0x80]
mov r9, qword [rbp - 0x68]
mov edx, dword [rbp + rbx + 0x28]
movzx ecx, ax
add ecx, 2
add edx, ecx
cmp edx, esi
jg 0x18002e7ce
mov dword [rbp + rbx + 0x28], edx
lea edx, [rdi + 1]
mov dword [rbp + rbx + 0x40], edx
test r14, r14
jne 0x18002e7c3
cmp edx, r8d
jge 0x18002e7c0
movsxd rax, edx
movzx eax, word [r9 + rax*2]
test ax, ax
jne 0x18002e7b8
lea rcx, [rbp - 0x80]
call fcn.18002d260
mov r8d, dword [rbp - 0x80]
mov r9, qword [rbp - 0x68]
movzx ecx, ax
add ecx, 2
jmp 0x18002e7c3
mov ecx, r15d
sub dword [rbp + rbx + 0x2c], ecx
cmp dword [rbp + rbx + 0x40], r8d
jl 0x18002e750
mov r14, qword [rbp + 0xa0]
mov r15d, dword [rsp + 0x78]
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x40], r8d
mov ecx, dword [rbp + rbx + 0x40]
cmp ecx, r8d
jl 0x18002e7f7
mov r15d, r12d
mov dword [rsp + 0x78], r12d
jmp 0x18002e80c
test r13d, r13d
jle 0x18002e802
mov eax, dword [r14 + rbx]
jmp 0x18002e804
xor eax, eax
cmp ecx, eax
jle 0x18002e95d
inc r13d
inc r12d
add rbx, 4
xor r10d, r10d
cmp r13d, r15d
jl 0x18002e630
mov rdx, qword [rbp - 0x70]
mov qword [rsp + 0x50], rdx
lea eax, [r15 - 1]
movsxd r13, eax
test eax, eax
jle 0x18002e99c
mov r8, qword [rbp - 0x68]
lea rax, [rbp + 0x40]
lea rcx, [rbp + 0x28]
sub rax, rcx
mov qword [rbp + 0xa0], rax
mov esi, dword [rbp + r13*4 + 0x3c]
mov r12d, dword [rbp + r13*4 + 0x28]
mov r14d, dword [rbp + r13*4 + 0x24]
dec esi
lea r15, [rbp + r13*4 + 0x24]
mov edx, esi
sub edx, dword [rbp - 0x54]
inc edx
movsxd rdi, edx
cmp word [r8 + rdi*2], 0
jne 0x18002e885
lea rcx, [rbp - 0x80]
call fcn.18002d260
mov r8, qword [rbp - 0x68]
mov r15d, dword [rbp + 0x120]
movsxd rax, esi
add rdi, rdi
lea rbx, [rax + rax]
cmp word [rbx + r8], 0
jne 0x18002e8ad
lea rcx, [rbp - 0x80]
mov edx, esi
call fcn.18002d260
mov r8, qword [rbp - 0x68]
test r12d, r12d
je 0x18002e8d2
test r15d, r15d
jne 0x18002e8fc
movzx eax, word [rbx + r8]
mov edx, r14d
sub edx, eax
movzx eax, word [rdi + r8]
lea ecx, [rax + r12 + 2]
sub edx, 2
cmp ecx, edx
jg 0x18002e8fc
movzx eax, word [rdi + r8]
mov ecx, 0xfffffffe
mov dword [rbp + r13*4 + 0x3c], esi
lea r12d, [r12 + rax + 2]
movzx eax, word [rbx + r8]
sub rbx, 2
sub ecx, eax
sub rdi, 2
add r14d, ecx
dec esi
jns 0x18002e896
lea r15, [rbp + r13*4 + 0x24]
xor r10d, r10d
mov dword [rbp + r13*4 + 0x28], r12d
mov dword [r15], r14d
cmp r13, 1
jle 0x18002e965
mov rax, qword [rbp + 0xa0]
mov eax, dword [r15 + rax - 4]
jmp 0x18002e968
mov r9d, 0xf676
lea rax, [0x180216cb4]
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, ntohs
mov qword [rsp + 0x20], rax
call fcn.180014770
mov rcx, qword [rbp - 0x70]
mov r15d, dword [rsp + 0x48]
mov esi, ntohs
jmp 0x18002ea8f
mov r9d, 0xf697
jmp 0x18002e926
mov eax, r10d
cmp dword [rbp + r13*4 + 0x3c], eax
jle 0x18002e994
dec r13
test r13, r13
jg 0x18002e850
mov rax, qword [rbp - 0x70]
mov r12d, dword [rbp - 0x80]
mov r15d, dword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], r12d
jmp 0x18002e9a1
mov r9d, 0xf6c1
jmp 0x18002e926
mov r12d, dword [rsp + 0x40]
mov rax, qword [rbp - 0x30]
mov rdi, r10
movsxd rsi, r15d
mov rcx, qword [rax + 0x50]
movzx r14d, byte [rcx]
mov dword [rsp + 0x78], r14d
test r15d, r15d
jle 0x18002ebc8
mov r15d, dword [rsp + 0x60]
nop word [rax + rax]
movsxd rcx, dword [rsp + 0x5c]
cmp rdi, rcx
jge 0x18002eb13
mov rax, qword [rbp + rdi*8 - 0x30]
mov qword [rbp + rdi*8 - 0x30], r10
mov qword [rbp + rdi*8 - 0x18], rax
mov rbx, qword [rax + 0x70]
mov qword [rbp + 0xa0], rax
mov rcx, qword [rbx + 0x20]
mov r13d, dword [rcx + 0x30]
mov dword [rsp + 0x44], r13d
test r13d, r13d
jne 0x18002ea6f
test byte [rbx + 0x2c], 4
je 0x18002ea4b
mov eax, dword [rbx + 0x28]
cmp dword [rcx + 0x20], eax
jb 0x18002ea4b
cmp dword [rcx + 0x80], r13d
je 0x18002ea41
mov rcx, rbx
call fcn.18001d070
test eax, eax
je 0x18002ea37
mov rcx, rbx
call fcn.1800204b0
jmp 0x18002ea68
xor r13d, r13d
mov dword [rsp + 0x44], r13d
jmp 0x18002ea6f
mov r13d, r10d
mov dword [rsp + 0x44], r10d
jmp 0x18002ea6f
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, rbx
jbe 0x18002ea63
call fcn.180021c80
jmp 0x18002ea68
call fcn.180021ba0
mov r13d, eax
mov dword [rsp + 0x44], eax
inc dword [rsp + 0x48]
mov dword [rsp + 0x4c], r13d
test r13d, r13d
je 0x18002ebb6
mov esi, dword [rsp + 0x44]
mov r15d, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.180012010
movsxd rax, dword [rsp + 0x5c]
mov r14, qword [rsp + 0x1c0]
xor r12d, r12d
mov r13, rax
mov edi, r12d
test eax, eax
jle 0x18002f597
mov r8, qword [rbp + rdi*8 - 0x30]
test r8, r8
je 0x18002f58b
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x2c], 0x40
mov rbx, qword [r8 + 0x20]
je 0x18002f51b
dec dword [rbx + 0x98]
mov rax, qword [rbx + 0xa8]
mov qword [r8 + 0x18], rax
mov rcx, qword [rbx + 0x48]
movsxd rax, dword [rbx + 0xbc]
mov qword [rbx + 0xa8], r8
mov edx, dword [r8 + 0x28]
mov r9, qword [rcx]
mov r8, qword [r8 + 8]
dec edx
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x18002f523
cmp dword [rbp + 0x120], 0
mov eax, 1
lea r8, [rsp + 0x64]
cmovne r15d, eax
lea rdx, [rbp + 0xa0]
mov byte [rsp + 0x20], 0
mov r9d, r15d
mov r15, qword [rsp + 0x70]
mov rcx, r15
call fcn.18002bde0
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x18002f514
mov rbx, qword [rbp + 0xa0]
mov edx, r14d
mov rcx, rbx
call fcn.180027900
inc dword [rsp + 0x48]
mov qword [rbp + rdi*8 - 0x18], rbx
cmp byte [r15 + 0x21], 0
mov dword [rbp + rdi*4 + 0x70], r12d
je 0x18002ebb1
mov edx, dword [rbx + 0x88]
lea rax, [rsp + 0x4c]
mov r8b, 5
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x60]
mov rcx, r15
mov r9d, dword [rax + 0x88]
call fcn.1800267c0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x18002f514
mov r15d, dword [rsp + 0x64]
inc rdi
mov r10d, 0
cmp rdi, rsi
jl 0x18002e9d0
movsxd r15, dword [rsp + 0x48]
mov rdx, r10
mov r11, r15
mov qword [rbp - 0x48], r15
test r15d, r15d
jle 0x18002ec2f
nop dword [rax]
mov rax, qword [rbp + rdx*8 - 0x18]
mov r8d, dword [rax + 0x88]
mov rax, qword [rax + 0x70]
movzx ecx, word [rax + 0x2c]
mov dword [rbp + rdx*4 + 0x88], r8d
mov dword [rbp + rdx*4 + 0x58], r8d
mov rax, r10
mov word [rbp + rdx*2 + 0xa0], cx
test rdx, rdx
jle 0x18002ec27
cmp dword [rbp + rax*4 + 0x88], r8d
je 0x18002ed26
inc rax
cmp rax, rdx
jl 0x18002ec11
inc rdx
cmp rdx, r15
jl 0x18002ebe0
mov r12, r10
test r15d, r15d
jle 0x18002eed3
nop dword [rax + rax]
mov eax, 1
xor r14d, r14d
mov esi, r14d
mov edx, eax
mov ecx, eax
cmp rax, r11
jge 0x18002ec87
mov r9d, r14d
nop word [rax + rax]
mov eax, dword [rbp + r9 + 0x58]
lea r8, [rcx*4]
cmp dword [rbp + r8 + 0x58], eax
jae 0x18002ec7d
mov r10d, edx
mov rsi, rcx
mov r9, r8
inc rcx
inc edx
cmp rcx, r11
jl 0x18002ec60
mov r13d, dword [rbp + rsi*4 + 0x58]
mov dword [rbp + rsi*4 + 0x58], 0xffffffff
cmp rsi, r12
je 0x18002eebf
jle 0x18002edc4
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x40]
lea ebx, [rax + r10 + 1]
mov rax, qword [rbp + rsi*8 - 0x18]
mov rdi, qword [rax + 0x70]
mov r9d, ebx
mov rcx, qword [rdi + 0x30]
mov r8d, dword [rdi + 0x28]
mov rdx, qword [rdi]
mov word [rdi + 0x2c], r14w
mov rcx, qword [rcx + 0x40]
call qword [0x180238838]
movzx eax, word [rdi + 0x2c]
mov dword [rdi + 0x28], ebx
test al, 2
je 0x18002edc4
test al, 8
je 0x18002edc4
mov rcx, qword [rdi + 0x30]
cmp qword [rcx + 0x10], rdi
jne 0x18002ed13
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x18002ed0f
test byte [rax + 0x2c], 8
je 0x18002ed0f
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x18002ed00
mov qword [rcx + 0x10], rax
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdi + 0x40]
test rdx, rdx
je 0x18002ed5a
mov qword [rdx + 0x40], rax
jmp 0x18002ed5e
lea rax, [0x180216cb4]
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0xf70b
mov ecx, ntohs
mov qword [rsp + 0x20], rax
call fcn.180014770
mov esi, ntohs
jmp 0x18002ea8a
mov qword [rcx + 8], rax
mov rdx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x38]
test rdx, rdx
je 0x18002ed71
mov qword [rdx + 0x38], rax
jmp 0x18002ed83
mov qword [rcx], rax
test rax, rax
jne 0x18002ed83
cmp byte [rcx + 0x2c], r14b
je 0x18002ed83
mov byte [rcx + 0x2d], 2
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x40], r14
mov rax, qword [rcx]
mov qword [rdi + 0x38], rax
test rax, rax
je 0x18002ed9d
mov qword [rax + 0x40], rdi
jmp 0x18002edab
mov qword [rcx + 8], rdi
cmp byte [rcx + 0x2c], r14b
je 0x18002edab
mov byte [rcx + 0x2d], 1
mov qword [rcx], rdi
cmp qword [rcx + 0x10], r14
jne 0x18002edc4
test byte [rdi + 0x2c], 8
mov rax, qword [rcx + 0x10]
cmove rax, rdi
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + r12*8 - 0x18]
mov r9d, r13d
mov rbx, qword [rax + 0x70]
movzx eax, word [rbp + rsi*2 + 0xa0]
mov rcx, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx]
mov word [rbx + 0x2c], ax
mov rcx, qword [rcx + 0x40]
call qword [0x180238838]
movzx eax, word [rbx + 0x2c]
mov dword [rbx + 0x28], r13d
test al, 2
je 0x18002eeb0
test al, 8
je 0x18002eeb0
mov rcx, qword [rbx + 0x30]
cmp qword [rcx + 0x10], rbx
jne 0x18002ee33
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x18002ee2f
nop dword [rax]
test byte [rax + 0x2c], 8
je 0x18002ee2f
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x18002ee20
mov qword [rcx + 0x10], rax
mov rdx, qword [rbx + 0x38]
mov rax, qword [rbx + 0x40]
test rdx, rdx
je 0x18002ee46
mov qword [rdx + 0x40], rax
jmp 0x18002ee4a
mov qword [rcx + 8], rax
mov rdx, qword [rbx + 0x40]
mov rax, qword [rbx + 0x38]
test rdx, rdx
je 0x18002ee5d
mov qword [rdx + 0x38], rax
jmp 0x18002ee6f
mov qword [rcx], rax
test rax, rax
jne 0x18002ee6f
cmp byte [rcx + 0x2c], r14b
je 0x18002ee6f
mov byte [rcx + 0x2d], 2
mov qword [rbx + 0x38], r14
mov qword [rbx + 0x40], r14
mov rax, qword [rcx]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x18002ee89
mov qword [rax + 0x40], rbx
jmp 0x18002ee97
mov qword [rcx + 8], rbx
cmp byte [rcx + 0x2c], r14b
je 0x18002ee97
mov byte [rcx + 0x2d], 1
mov qword [rcx], rbx
cmp qword [rcx + 0x10], r14
jne 0x18002eeb0
test byte [rbx + 0x2c], 8
mov rax, qword [rcx + 0x10]
cmove rax, rbx
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + r12*8 - 0x18]
mov r11, r15
mov dword [rax + 0x88], r13d
inc r12
mov r10, r14
cmp r12, r11
jl 0x18002ec40
mov r14d, dword [rsp + 0x78]
mov rax, qword [rbp + r11*8 - 0x20]
mov ecx, dword [rax + 0x88]
mov rax, qword [rbp + 0x20]
bswap ecx
mov dword [rax], ecx
test r14b, 8
jne 0x18002ef1a
movsxd rdx, dword [rsp + 0x5c]
cmp r15d, edx
je 0x18002ef1a
lea rcx, [rbp - 0x30]
lea rax, [rbp - 0x18]
cmovle rax, rcx
mov rax, qword [rax + rdx*8 - 8]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + r11*8 - 0x20]
mov rcx, qword [rax + 0x50]
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x70]
cmp byte [rcx + 0x21], 0
je 0x18002f121
mov rbx, qword [rbp - 0x18]
mov ecx, dword [rcx + 0x38]
mov r12d, r10d
movzx r9d, word [rbx + 0x12]
movzx eax, byte [rbx + 1]
mov r13, qword [rbx + 0x50]
add r9d, eax
cmp dword [rsp + 0x40], 0
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x64], r9d
mov rdi, r10
jle 0x18002f125
lea rax, [rbp - 0x18]
lea r8, [rbp + 0x40]
mov r15, r10
mov qword [rsp + 0x78], rax
mov qword [rbp + 0xa0], r8
mov r14, r10
nop word [rax + rax]
mov rdx, qword [rsp + 0x50]
mov rsi, qword [r14 + rdx]
cmp r12d, r9d
jne 0x18002efce
inc rdi
cmp rdi, r11
jge 0x18002ef9d
mov rdx, qword [rbp + rdi*8 - 0x18]
jmp 0x18002efa2
mov rdx, qword [rbp + rdi*8 - 0x30]
movzx eax, byte [rdx + 1]
movzx ecx, word [rdx + 0x12]
mov r13, qword [rdx + 0x50]
add ecx, eax
cmp dword [rbp - 0x54], 0
mov eax, r10d
sete al
add r9d, eax
mov rax, qword [rsp + 0x78]
add r9d, ecx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x64], r9d
cmp r12d, dword [r8]
jne 0x18002eff6
mov rbx, qword [rax + 8]
add rax, 8
add r8, 4
cmp qword [rbp - 0x38], 0
mov qword [rbp + 0xa0], r8
mov qword [rsp + 0x78], rax
je 0x18002f0fd
cmp rdi, r11
jge 0x18002f01e
mov eax, dword [rbp + rdi*4 + 0x88]
cmp dword [rbx + 0x88], eax
jne 0x18002f01e
cmp rsi, r13
jb 0x18002f01e
movsxd rax, ecx
add rax, r13
cmp rsi, rax
jb 0x18002f0f8
cmp word [rsp + 0x58], 0
jne 0x18002f057
cmp dword [rsp + 0x44], 0
jne 0x18002f057
mov edx, dword [rsi]
mov r9d, dword [rbx + 0x88]
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x4c]
bswap edx
mov r8b, 5
mov qword [rsp + 0x20], rax
call fcn.1800267c0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x44], eax
mov rax, qword [rbp - 0x68]
movzx eax, word [r15 + rax]
test ax, ax
jne 0x18002f081
lea rcx, [rbp - 0x80]
mov edx, r12d
call fcn.18002d260
mov rcx, qword [rbp - 0x70]
mov qword [rsp + 0x50], rcx
mov ecx, dword [rbp - 0x80]
mov dword [rsp + 0x40], ecx
cmp ax, word [rbx + 0xc]
jbe 0x18002f0de
cmp dword [rsp + 0x44], 0
jne 0x18002ea81
lea r8, [rbp + 0x58]
mov rdx, rsi
mov rcx, rbx
call qword [rbx + 0x80]
movzx r11d, word [rbp + 0x6c]
cmp r11d, dword [rbp + 0x68]
jae 0x18002f0ea
movzx eax, word [rbp + 0x6e]
mov r9d, dword [rbx + 0x88]
mov rcx, qword [rbx + 0x48]
mov edx, dword [rax + rsi - 4]
lea rax, [rsp + 0x4c]
mov r8b, 3
bswap edx
mov qword [rsp + 0x20], rax
call fcn.1800267c0
mov esi, dword [rsp + 0x4c]
mov dword [rsp + 0x44], esi
jmp 0x18002f0e2
mov esi, dword [rsp + 0x44]
test esi, esi
jne 0x18002ea85
mov r11, qword [rbp - 0x48]
mov r8, qword [rbp + 0xa0]
xor r10d, r10d
mov rax, qword [rsp + 0x78]
mov r9d, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
inc r12d
add r14, 8
add r15, 2
cmp r12d, dword [rsp + 0x40]
jl 0x18002ef80
mov r15d, dword [rsp + 0x48]
mov rbx, qword [rbp - 0x18]
dec r15d
mov r12d, r10d
test r15d, r15d
jle 0x18002f27a
lea r13, [rbp + 0x40]
lea r14, [rbp - 0x18]
nop dword [rax]
movsxd rdx, dword [r13]
mov rax, qword [rsp + 0x50]
mov rsi, qword [r14]
mov rbx, qword [rax + rdx*8]
mov rax, qword [rbp - 0x68]
movzx r9d, word [rsp + 0x58]
movzx eax, word [rax + rdx*2]
movsxd rdi, dword [rbp - 0x50]
add rdi, qword [rbp + 0x10]
add r9d, eax
cmp byte [rsi + 4], 0
jne 0x18002f17d
mov rcx, qword [rsi + 0x50]
mov eax, dword [rbx]
mov dword [rcx + 8], eax
jmp 0x18002f212
cmp qword [rbp - 0x38], 0
je 0x18002f1f8
mov rax, qword [rsp + 0x50]
lea r8, [rbp + 0x88]
mov rcx, rsi
mov rdx, qword [rax + rdx*8 - 8]
call qword [rsi + 0x80]
mov rdx, qword [rbp + 0x88]
mov rbx, rdi
lea rcx, [rdi + 4]
cmp rdx, 0x7f
ja 0x18002f1c4
and dl, 0x7f
mov eax, 1
xor edi, edi
lea r9d, [rax + 4]
mov byte [rcx], dl
jmp 0x18002f212
cmp rdx, 0x3fff
ja 0x18002f1eb
mov rax, rdx
and dl, 0x7f
shr rax, 7
mov byte [rcx + 1], dl
or al, 0x80
xor edi, edi
mov byte [rcx], al
mov eax, 2
lea r9d, [rax + 4]
jmp 0x18002f212
call fcn.180016180
xor edi, edi
lea r9d, [rax + 4]
jmp 0x18002f212
sub rbx, 4
cmp eax, 4
jne 0x18002f212
mov rax, qword [rbp - 0x60]
mov rdx, rbx
mov rcx, rax
call qword [rax + 0x78]
movzx r9d, ax
add dword [rbp - 0x50], r9d
cmp dword [rsp + 0x44], 0
jne 0x18002ea81
mov edx, dword [rsp + 0x68]
mov rcx, qword [rbp - 0x60]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov eax, dword [rsi + 0x88]
add edx, r12d
mov dword [rsp + 0x28], eax
mov r8, rbx
mov qword [rsp + 0x20], rdi
call fcn.18002d050
mov esi, dword [rsp + 0x4c]
mov dword [rsp + 0x44], esi
test esi, esi
jne 0x18002ea85
inc r12d
add r14, 8
add r13, 4
cmp r12d, r15d
jl 0x18002f140
mov rbx, qword [rbp - 0x18]
xor r10d, r10d
jmp 0x18002f27e
mov esi, dword [rsp + 0x44]
mov r15d, dword [rsp + 0x48]
mov r12d, 1
sub r12d, r15d
cmp r12d, r15d
jge 0x18002f372
mov edi, dword [rbp + 0x40]
mov r13d, dword [rbp - 0x58]
nop dword [rax]
mov eax, r12d
cdq
xor eax, edx
sub eax, edx
movsxd rbx, eax
cmp byte [rbp + rbx + 0xb0], 0
jne 0x18002f34c
test r12d, r12d
jns 0x18002f2cc
mov ecx, dword [rbp + rbx*4 + 0x3c]
cmp dword [rbp + rbx*4 + 0x6c], ecx
jl 0x18002f34c
test eax, eax
jne 0x18002f2db
mov eax, r10d
mov r8d, r10d
mov r9d, edi
jmp 0x18002f30c
mov ecx, dword [rbp - 0x54]
cmp eax, dword [rsp + 0x5c]
jge 0x18002f2f2
test ecx, ecx
mov eax, r10d
sete al
add eax, dword [rbp + rbx*4 + 0x6c]
jmp 0x18002f2f6
mov eax, dword [rsp + 0x40]
mov r9d, dword [rbp + rbx*4 + 0x40]
test ecx, ecx
mov r8d, r10d
sete r8b
add r8d, dword [rbp + rbx*4 + 0x3c]
sub r9d, r8d
lea rcx, [rbp - 0x80]
mov edx, eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + rbx*8 - 0x18]
call fcn.18002d8d0
mov esi, eax
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x18002f35c
mov rax, qword [rbp + rbx*8 - 0x18]
movzx ecx, r13w
mov byte [rbp + rbx + 0xb0], 1
sub cx, word [rbp + rbx*4 + 0x28]
mov word [rax + 0x10], cx
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x40], eax
inc r12d
cmp r12d, r15d
jge 0x18002f365
xor r10d, r10d
jmp 0x18002f2a0
mov rcx, qword [rbp - 0x70]
jmp 0x18002ea8f
mov rax, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x18]
mov qword [rsp + 0x50], rax
cmp dword [rbp + 0x18], 0
je 0x18002f4ab
mov r14, qword [rbp - 0x60]
cmp word [r14 + 0x12], 0
jne 0x18002f4ab
movzx eax, byte [r14 + 5]
cmp ax, word [rbx + 0x10]
ja 0x18002f4ab
mov rcx, rbx
call fcn.180026e30
mov r12, qword [rbp - 0x18]
mov esi, eax
test eax, eax
jne 0x18002f463
mov r9, qword [r12 + 0x50]
movzx ebx, byte [r12 + 5]
mov r13, qword [r12 + 0x48]
mov rsi, qword [r14 + 0x50]
xor edi, edi
cmp dword [r14 + 0x88], 1
mov ecx, 0x64
cmove edi, ecx
add rbx, r9
movzx r8d, byte [rbx + 5]
movzx eax, byte [rbx + 6]
shl r8d, 8
or r8d, eax
mov eax, dword [r13 + 0x38]
movsxd rcx, r8d
sub eax, r8d
lea rdx, [r9 + rcx]
mov r8d, eax
add rcx, rsi
call fcn.180183a80
movzx r11d, word [r12 + 0x12]
movzx eax, word [r12 + 0xe]
lea ecx, [rax + r11*2]
mov rdx, rbx
movsxd r8, ecx
movsxd rcx, edi
add rcx, rsi
call fcn.180183a80
mov rcx, r14
mov byte [r14], 0
call fcn.180027660
mov esi, eax
test eax, eax
jne 0x18002f446
cmp byte [r13 + 0x21], al
je 0x18002f44a
mov rcx, r14
call fcn.1800292c0
mov esi, eax
test esi, esi
jne 0x18002f463
mov rcx, qword [rbp - 0x18]
mov rdx, rcx
mov r8d, dword [rcx + 0x88]
mov rcx, qword [rcx + 0x48]
call fcn.18002c520
mov esi, eax
mov rdi, qword [rbp - 0x48]
movsxd rax, dword [rsp + 0x5c]
mov r12, rax
cmp rdi, rax
jge 0x18002ea8a
nop dword [rax + rax]
mov rcx, qword [rbp + rdi*8 - 0x30]
test esi, esi
jne 0x18002f49e
mov r8d, dword [rcx + 0x88]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.18002c520
mov esi, eax
inc rdi
cmp rdi, r12
jl 0x18002f480
jmp 0x18002ea8a
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x21], 0
je 0x18002f463
cmp word [rsp + 0x58], 0
mov rdi, qword [rbp - 0x48]
jne 0x18002f467
xor ebx, ebx
test rdi, rdi
jle 0x18002f467
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x18]
test esi, esi
jne 0x18002f507
mov rax, qword [rcx + 0x50]
mov r9d, dword [rcx + 0x88]
mov r8b, 5
mov edx, dword [rax + 8]
lea rax, [rsp + 0x4c]
mov rcx, r10
bswap edx
mov qword [rsp + 0x20], rax
call fcn.1800267c0
mov esi, dword [rsp + 0x4c]
mov r10, qword [rsp + 0x70]
inc rbx
cmp rbx, rdi
jl 0x18002f4d0
jmp 0x18002f467
mov esi, eax
jmp 0x18002ea85
mov rcx, r8
call fcn.18001b3f0
cmp dword [rbx + 0x98], r12d
jne 0x18002f58b
mov rax, qword [rbx + 0x130]
cmp dword [rax + 0x18], r12d
jne 0x18002f58b
movzx eax, byte [rbx + 0x15]
cmp al, 6
je 0x18002f583
test al, al
je 0x18002f583
cmp al, 2
jb 0x18002f570
mov rax, qword [0x180242810]
test rax, rax
je 0x18002f557
call rax
mov rcx, rbx
call fcn.180022220
mov r11, qword [0x180242818]
test r11, r11
je 0x18002f583
call r11
jmp 0x18002f583
cmp byte [rbx + 8], r12b
jne 0x18002f583
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.18001dea0
mov rcx, rbx
call fcn.18001dd60
inc rdi
cmp rdi, r13
jl 0x18002eab2
movsxd rdi, r15d
test r15d, r15d
jle 0x18002f686
nop word [rax + rax]
mov r8, qword [rbp + r12*8 - 0x18]
test r8, r8
je 0x18002f67a
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x2c], 0x40
mov rbx, qword [r8 + 0x20]
je 0x18002f60a
dec dword [rbx + 0x98]
mov rax, qword [rbx + 0xa8]
mov qword [r8 + 0x18], rax
mov rcx, qword [rbx + 0x48]
movsxd rax, dword [rbx + 0xbc]
mov qword [rbx + 0xa8], r8
mov edx, dword [r8 + 0x28]
mov r9, qword [rcx]
mov r8, qword [r8 + 8]
dec edx
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x18002f612
mov rcx, r8
call fcn.18001b3f0
cmp dword [rbx + 0x98], 0
jne 0x18002f67a
mov rax, qword [rbx + 0x130]
cmp dword [rax + 0x18], 0
jne 0x18002f67a
movzx eax, byte [rbx + 0x15]
cmp al, 6
je 0x18002f672
test al, al
je 0x18002f672
cmp al, 2
jb 0x18002f65f
mov rax, qword [0x180242810]
test rax, rax
je 0x18002f646
call rax
mov rcx, rbx
call fcn.180022220
mov r11, qword [0x180242818]
test r11, r11
je 0x18002f672
call r11
jmp 0x18002f672
cmp byte [rbx + 8], 0
jne 0x18002f672
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.18001dea0
mov rcx, rbx
call fcn.18001dd60
inc r12
cmp r12, rdi
jl 0x18002f5b0
mov r12, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x218]
mov eax, esi
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.180183a50
add rsp, 0x1d8
pop r15
pop r13
pop rsi
pop rbp
ret