Function at 0x180032f20
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 [0x1802e4710]
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 0x180032f99
lea eax, [r8 + 7]
jmp 0x180034690
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 0x180032fd0
mov edx, r9d
jmp 0x180032ff8
test edx, edx
jne 0x180032fd9
mov edx, r9d
jmp 0x180032feb
cmp edx, edi
jne 0x180032fe9
mov eax, dword [rbp + 0x120]
lea edx, [rdi + rax - 2]
jmp 0x180032ff1
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 0x18003301c
movzx eax, byte [rsi + 5]
add eax, 8
movsxd rcx, eax
jmp 0x180033041
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, [0x1802bf6b4]
cmp r12d, dword [r10 + 0x40]
jbe 0x180033099
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0xe1c0
mov ecx, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x20], rax
call fcn.180019770
mov esi, reloc.WS2_32.dll_inet_addr
jmp 0x180033132
mov rcx, qword [r10]
lea r8, [rbp + 0xa0]
xor r9d, r9d
mov edx, r12d
call fcn.180026210
mov esi, eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x180033136
mov rdx, qword [rbp + 0xa0]
mov rax, qword [rdx + 0x10]
mov qword [rbp + rbx*8 - 0x30], rax
cmp byte [rax], r15b
jne 0x180033130
mov rcx, qword [rdx + 0x10]
cmp r12d, dword [rcx + 0x88]
je 0x180033107
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.18002c650
mov esi, eax
mov dword [rsp + 0x44], eax
test eax, eax
je 0x180033130
mov rcx, qword [rbp + rbx*8 - 0x30]
test rcx, rcx
je 0x180033136
mov rcx, qword [rcx + 0x70]
call fcn.1800266e0
jmp 0x180033136
xor esi, esi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x4c], esi
test esi, esi
jne 0x1800332a1
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 0x1800332c1
mov rsi, qword [rbp - 0x60]
mov eax, dword [rsp + 0x68]
movzx ecx, word [rsi + 0x16]
add eax, edi
cmp eax, ecx
jne 0x1800331b4
cmp byte [rsi + 1], r15b
je 0x1800331b4
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 0x18003305f
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 0x180033246
mov rax, qword [rbp - 0x60]
mov ecx, esi
sub ecx, dword [rax + 0x50]
lea eax, [r12 + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x180033272
movsxd rcx, ecx
mov r8d, r12d
mov rdx, rsi
add rcx, qword [rbp + 0x10]
call fcn.1800acfd0
mov rcx, qword [rbp - 0x60]
sub rsi, qword [rcx + 0x50]
add rsi, qword [rbp + 0x10]
mov qword [rbp + rbx*8 - 0x48], rsi
jmp 0x18003324a
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.180031ed0
mov r12d, dword [rsp + 0x60]
mov r10, qword [rsp + 0x70]
jmp 0x18003305f
lea rax, [0x1802bf6b4]
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0xf5c5
mov ecx, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x20], rax
call fcn.180019770
mov esi, reloc.WS2_32.dll_inet_addr
lea eax, [rdi + 1]
lea rcx, [rbp - 0x30]
xor edx, edx
movsxd r8, eax
shl r8, 3
call fcn.1800b45b0
mov rcx, r15
mov r15d, ecx
jmp 0x180033a7f
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.180016ed0
mov r12, rax
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x1800332f7
lea esi, [rax + 7]
mov rcx, rax
jmp 0x180033a7f
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 0x180033564
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 0x180033658
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.1800b45b0
cmp byte [rsi + 1], 0
jbe 0x180033426
movzx eax, word [rsi + 0x16]
mov r9d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x50]
test eax, eax
jle 0x1800333ec
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 0x1800333c0
mov dword [rsp + 0x40], r9d
xor r8d, r8d
cmp byte [rsi + 1], r8b
jbe 0x180033426
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 0x180033400
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 0x18003347e
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 0x180033450
mov dword [rsp + 0x40], r12d
jmp 0x180033483
mov r12d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x5c]
mov dword [rbp + r13*4 + 0x70], r12d
dec eax
cmp r14d, eax
jge 0x180033543
cmp qword [rbp - 0x38], 0
jne 0x180033543
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.1800acfd0
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 0x180033511
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 0x18003354d
cmp word [rdx + rdi*2], 4
movsxd rax, r15d
jae 0x180033534
add rax, r12
nop
mov byte [rax], 0
inc word [rdx + rdi*2]
inc rax
inc r15d
cmp word [rdx + rdi*2], 4
jb 0x180033520
mov esi, dword [rsp + 0x40]
inc esi
mov dword [rsp + 0x40], esi
mov dword [rbp - 0x80], esi
jmp 0x18003354d
movzx r8d, word [rsp + 0x58]
mov rdx, qword [rbp - 0x68]
movsxd rcx, dword [rsp + 0x5c]
inc r13
inc r14d
cmp r13, rcx
jl 0x180033350
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 0x1800335ef
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 0x18003368c
cmp byte [rbx + 1], 0
mov r13d, r10d
jbe 0x1800335dc
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 0x1800335b2
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 0x180033590
cmp dword [rsp + 0x5c], 0
mov dword [rsp + 0x78], r15d
mov r13d, r10d
jle 0x18003381b
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 0x180033727
nop word [rax + rax]
cmp r12d, r15d
jl 0x180033694
lea r15d, [r12 + 1]
mov dword [rsp + 0x78], r15d
cmp rbx, 0xc
jg 0x180033910
mov ecx, dword [rsp + 0x40]
mov dword [rbp + rbx + 0x2c], r10d
mov dword [rbp + rbx + 0x44], ecx
jmp 0x180033698
mov r9d, 0xf608
lea rax, [0x1802bf6b4]
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x20], rax
call fcn.180019770
mov esi, reloc.WS2_32.dll_inet_addr
jmp 0x180033a75
mov r9d, 0xf66a
jmp 0x18003365e
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 0x1800336c9
lea rcx, [rbp - 0x80]
mov edx, esi
call fcn.180032250
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 0x180033707
cmp edi, ecx
jge 0x180033704
mov rax, rdi
movzx eax, word [rdx + rdi*2]
test ax, ax
jne 0x1800336fc
lea rcx, [rbp - 0x80]
mov edx, edi
call fcn.180032250
mov ecx, dword [rbp - 0x80]
mov dword [rsp + 0x40], ecx
movzx eax, ax
add eax, 2
jmp 0x180033707
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 0x180033630
mov r8d, dword [rsp + 0x40]
cmp dword [rbp + rbx + 0x40], r8d
jge 0x1800337d4
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 0x180033765
lea rcx, [rbp - 0x80]
mov edx, edi
call fcn.180032250
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 0x1800337be
mov dword [rbp + rbx + 0x28], edx
lea edx, [rdi + 1]
mov dword [rbp + rbx + 0x40], edx
test r14, r14
jne 0x1800337b3
cmp edx, r8d
jge 0x1800337b0
movsxd rax, edx
movzx eax, word [r9 + rax*2]
test ax, ax
jne 0x1800337a8
lea rcx, [rbp - 0x80]
call fcn.180032250
mov r8d, dword [rbp - 0x80]
mov r9, qword [rbp - 0x68]
movzx ecx, ax
add ecx, 2
jmp 0x1800337b3
mov ecx, r15d
sub dword [rbp + rbx + 0x2c], ecx
cmp dword [rbp + rbx + 0x40], r8d
jl 0x180033740
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 0x1800337e7
mov r15d, r12d
mov dword [rsp + 0x78], r12d
jmp 0x1800337fc
test r13d, r13d
jle 0x1800337f2
mov eax, dword [r14 + rbx]
jmp 0x1800337f4
xor eax, eax
cmp ecx, eax
jle 0x18003394d
inc r13d
inc r12d
add rbx, 4
xor r10d, r10d
cmp r13d, r15d
jl 0x180033620
mov rdx, qword [rbp - 0x70]
mov qword [rsp + 0x50], rdx
lea eax, [r15 - 1]
movsxd r13, eax
test eax, eax
jle 0x18003398c
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 0x180033875
lea rcx, [rbp - 0x80]
call fcn.180032250
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 0x18003389d
lea rcx, [rbp - 0x80]
mov edx, esi
call fcn.180032250
mov r8, qword [rbp - 0x68]
test r12d, r12d
je 0x1800338c2
test r15d, r15d
jne 0x1800338ec
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 0x1800338ec
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 0x180033886
lea r15, [rbp + r13*4 + 0x24]
xor r10d, r10d
mov dword [rbp + r13*4 + 0x28], r12d
mov dword [r15], r14d
cmp r13, 1
jle 0x180033955
mov rax, qword [rbp + 0xa0]
mov eax, dword [r15 + rax - 4]
jmp 0x180033958
mov r9d, 0xf676
lea rax, [0x1802bf6b4]
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x20], rax
call fcn.180019770
mov rcx, qword [rbp - 0x70]
mov r15d, dword [rsp + 0x48]
mov esi, reloc.WS2_32.dll_inet_addr
jmp 0x180033a7f
mov r9d, 0xf697
jmp 0x180033916
mov eax, r10d
cmp dword [rbp + r13*4 + 0x3c], eax
jle 0x180033984
dec r13
test r13, r13
jg 0x180033840
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 0x180033991
mov r9d, 0xf6c1
jmp 0x180033916
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 0x180033bb8
mov r15d, dword [rsp + 0x60]
nop word [rax + rax]
movsxd rcx, dword [rsp + 0x5c]
cmp rdi, rcx
jge 0x180033b03
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 0x180033a5f
test byte [rbx + 0x2c], 4
je 0x180033a3b
mov eax, dword [rbx + 0x28]
cmp dword [rcx + 0x20], eax
jb 0x180033a3b
cmp dword [rcx + 0x80], r13d
je 0x180033a31
mov rcx, rbx
call fcn.180022060
test eax, eax
je 0x180033a27
mov rcx, rbx
call fcn.1800254a0
jmp 0x180033a58
xor r13d, r13d
mov dword [rsp + 0x44], r13d
jmp 0x180033a5f
mov r13d, r10d
mov dword [rsp + 0x44], r10d
jmp 0x180033a5f
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, rbx
jbe 0x180033a53
call fcn.180026c70
jmp 0x180033a58
call fcn.180026b90
mov r13d, eax
mov dword [rsp + 0x44], eax
inc dword [rsp + 0x48]
mov dword [rsp + 0x4c], r13d
test r13d, r13d
je 0x180033ba6
mov esi, dword [rsp + 0x44]
mov r15d, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.180017010
movsxd rax, dword [rsp + 0x5c]
mov r14, qword [rsp + 0x1c0]
xor r12d, r12d
mov r13, rax
mov edi, r12d
test eax, eax
jle 0x180034587
mov r8, qword [rbp + rdi*8 - 0x30]
test r8, r8
je 0x18003457b
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x2c], 0x40
mov rbx, qword [r8 + 0x20]
je 0x18003450b
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 0x180034513
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.180030dd0
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x180034504
mov rbx, qword [rbp + 0xa0]
mov edx, r14d
mov rcx, rbx
call fcn.18002c8f0
inc dword [rsp + 0x48]
mov qword [rbp + rdi*8 - 0x18], rbx
cmp byte [r15 + 0x21], 0
mov dword [rbp + rdi*4 + 0x70], r12d
je 0x180033ba1
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.18002b7b0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x180034504
mov r15d, dword [rsp + 0x64]
inc rdi
mov r10d, 0
cmp rdi, rsi
jl 0x1800339c0
movsxd r15, dword [rsp + 0x48]
mov rdx, r10
mov r11, r15
mov qword [rbp - 0x48], r15
test r15d, r15d
jle 0x180033c1f
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 0x180033c17
cmp dword [rbp + rax*4 + 0x88], r8d
je 0x180033d16
inc rax
cmp rax, rdx
jl 0x180033c01
inc rdx
cmp rdx, r15
jl 0x180033bd0
mov r12, r10
test r15d, r15d
jle 0x180033ec3
nop dword [rax + rax]
mov eax, 1
xor r14d, r14d
mov esi, r14d
mov edx, eax
mov ecx, eax
cmp rax, r11
jge 0x180033c77
mov r9d, r14d
nop word [rax + rax]
mov eax, dword [rbp + r9 + 0x58]
lea r8, [rcx*4]
cmp dword [rbp + r8 + 0x58], eax
jae 0x180033c6d
mov r10d, edx
mov rsi, rcx
mov r9, r8
inc rcx
inc edx
cmp rcx, r11
jl 0x180033c50
mov r13d, dword [rbp + rsi*4 + 0x58]
mov dword [rbp + rsi*4 + 0x58], 0xffffffff
cmp rsi, r12
je 0x180033eaf
jle 0x180033db4
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 [0x1802e8078]
movzx eax, word [rdi + 0x2c]
mov dword [rdi + 0x28], ebx
test al, 2
je 0x180033db4
test al, 8
je 0x180033db4
mov rcx, qword [rdi + 0x30]
cmp qword [rcx + 0x10], rdi
jne 0x180033d03
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x180033cff
test byte [rax + 0x2c], 8
je 0x180033cff
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x180033cf0
mov qword [rcx + 0x10], rax
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdi + 0x40]
test rdx, rdx
je 0x180033d4a
mov qword [rdx + 0x40], rax
jmp 0x180033d4e
lea rax, [0x1802bf6b4]
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0xf70b
mov ecx, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x20], rax
call fcn.180019770
mov esi, reloc.WS2_32.dll_inet_addr
jmp 0x180033a7a
mov qword [rcx + 8], rax
mov rdx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x38]
test rdx, rdx
je 0x180033d61
mov qword [rdx + 0x38], rax
jmp 0x180033d73
mov qword [rcx], rax
test rax, rax
jne 0x180033d73
cmp byte [rcx + 0x2c], r14b
je 0x180033d73
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 0x180033d8d
mov qword [rax + 0x40], rdi
jmp 0x180033d9b
mov qword [rcx + 8], rdi
cmp byte [rcx + 0x2c], r14b
je 0x180033d9b
mov byte [rcx + 0x2d], 1
mov qword [rcx], rdi
cmp qword [rcx + 0x10], r14
jne 0x180033db4
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 [0x1802e8078]
movzx eax, word [rbx + 0x2c]
mov dword [rbx + 0x28], r13d
test al, 2
je 0x180033ea0
test al, 8
je 0x180033ea0
mov rcx, qword [rbx + 0x30]
cmp qword [rcx + 0x10], rbx
jne 0x180033e23
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x180033e1f
nop dword [rax]
test byte [rax + 0x2c], 8
je 0x180033e1f
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x180033e10
mov qword [rcx + 0x10], rax
mov rdx, qword [rbx + 0x38]
mov rax, qword [rbx + 0x40]
test rdx, rdx
je 0x180033e36
mov qword [rdx + 0x40], rax
jmp 0x180033e3a
mov qword [rcx + 8], rax
mov rdx, qword [rbx + 0x40]
mov rax, qword [rbx + 0x38]
test rdx, rdx
je 0x180033e4d
mov qword [rdx + 0x38], rax
jmp 0x180033e5f
mov qword [rcx], rax
test rax, rax
jne 0x180033e5f
cmp byte [rcx + 0x2c], r14b
je 0x180033e5f
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 0x180033e79
mov qword [rax + 0x40], rbx
jmp 0x180033e87
mov qword [rcx + 8], rbx
cmp byte [rcx + 0x2c], r14b
je 0x180033e87
mov byte [rcx + 0x2d], 1
mov qword [rcx], rbx
cmp qword [rcx + 0x10], r14
jne 0x180033ea0
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 0x180033c30
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 0x180033f0a
movsxd rdx, dword [rsp + 0x5c]
cmp r15d, edx
je 0x180033f0a
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 0x180034111
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 0x180034115
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 0x180033fbe
inc rdi
cmp rdi, r11
jge 0x180033f8d
mov rdx, qword [rbp + rdi*8 - 0x18]
jmp 0x180033f92
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 0x180033fe6
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 0x1800340ed
cmp rdi, r11
jge 0x18003400e
mov eax, dword [rbp + rdi*4 + 0x88]
cmp dword [rbx + 0x88], eax
jne 0x18003400e
cmp rsi, r13
jb 0x18003400e
movsxd rax, ecx
add rax, r13
cmp rsi, rax
jb 0x1800340e8
cmp word [rsp + 0x58], 0
jne 0x180034047
cmp dword [rsp + 0x44], 0
jne 0x180034047
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.18002b7b0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x44], eax
mov rax, qword [rbp - 0x68]
movzx eax, word [r15 + rax]
test ax, ax
jne 0x180034071
lea rcx, [rbp - 0x80]
mov edx, r12d
call fcn.180032250
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 0x1800340ce
cmp dword [rsp + 0x44], 0
jne 0x180033a71
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 0x1800340da
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.18002b7b0
mov esi, dword [rsp + 0x4c]
mov dword [rsp + 0x44], esi
jmp 0x1800340d2
mov esi, dword [rsp + 0x44]
test esi, esi
jne 0x180033a75
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 0x180033f70
mov r15d, dword [rsp + 0x48]
mov rbx, qword [rbp - 0x18]
dec r15d
mov r12d, r10d
test r15d, r15d
jle 0x18003426a
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 0x18003416d
mov rcx, qword [rsi + 0x50]
mov eax, dword [rbx]
mov dword [rcx + 8], eax
jmp 0x180034202
cmp qword [rbp - 0x38], 0
je 0x1800341e8
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 0x1800341b4
and dl, 0x7f
mov eax, 1
xor edi, edi
lea r9d, [rax + 4]
mov byte [rcx], dl
jmp 0x180034202
cmp rdx, 0x3fff
ja 0x1800341db
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 0x180034202
call fcn.18001b180
xor edi, edi
lea r9d, [rax + 4]
jmp 0x180034202
sub rbx, 4
cmp eax, 4
jne 0x180034202
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 0x180033a71
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.180032040
mov esi, dword [rsp + 0x4c]
mov dword [rsp + 0x44], esi
test esi, esi
jne 0x180033a75
inc r12d
add r14, 8
add r13, 4
cmp r12d, r15d
jl 0x180034130
mov rbx, qword [rbp - 0x18]
xor r10d, r10d
jmp 0x18003426e
mov esi, dword [rsp + 0x44]
mov r15d, dword [rsp + 0x48]
mov r12d, 1
sub r12d, r15d
cmp r12d, r15d
jge 0x180034362
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 0x18003433c
test r12d, r12d
jns 0x1800342bc
mov ecx, dword [rbp + rbx*4 + 0x3c]
cmp dword [rbp + rbx*4 + 0x6c], ecx
jl 0x18003433c
test eax, eax
jne 0x1800342cb
mov eax, r10d
mov r8d, r10d
mov r9d, edi
jmp 0x1800342fc
mov ecx, dword [rbp - 0x54]
cmp eax, dword [rsp + 0x5c]
jge 0x1800342e2
test ecx, ecx
mov eax, r10d
sete al
add eax, dword [rbp + rbx*4 + 0x6c]
jmp 0x1800342e6
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.1800328c0
mov esi, eax
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x18003434c
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 0x180034355
xor r10d, r10d
jmp 0x180034290
mov rcx, qword [rbp - 0x70]
jmp 0x180033a7f
mov rax, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x18]
mov qword [rsp + 0x50], rax
cmp dword [rbp + 0x18], 0
je 0x18003449b
mov r14, qword [rbp - 0x60]
cmp word [r14 + 0x12], 0
jne 0x18003449b
movzx eax, byte [r14 + 5]
cmp ax, word [rbx + 0x10]
ja 0x18003449b
mov rcx, rbx
call fcn.18002be20
mov r12, qword [rbp - 0x18]
mov esi, eax
test eax, eax
jne 0x180034453
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.1800acfd0
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.1800acfd0
mov rcx, r14
mov byte [r14], 0
call fcn.18002c650
mov esi, eax
test eax, eax
jne 0x180034436
cmp byte [r13 + 0x21], al
je 0x18003443a
mov rcx, r14
call fcn.18002e2b0
mov esi, eax
test esi, esi
jne 0x180034453
mov rcx, qword [rbp - 0x18]
mov rdx, rcx
mov r8d, dword [rcx + 0x88]
mov rcx, qword [rcx + 0x48]
call fcn.180031510
mov esi, eax
mov rdi, qword [rbp - 0x48]
movsxd rax, dword [rsp + 0x5c]
mov r12, rax
cmp rdi, rax
jge 0x180033a7a
nop dword [rax + rax]
mov rcx, qword [rbp + rdi*8 - 0x30]
test esi, esi
jne 0x18003448e
mov r8d, dword [rcx + 0x88]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.180031510
mov esi, eax
inc rdi
cmp rdi, r12
jl 0x180034470
jmp 0x180033a7a
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x21], 0
je 0x180034453
cmp word [rsp + 0x58], 0
mov rdi, qword [rbp - 0x48]
jne 0x180034457
xor ebx, ebx
test rdi, rdi
jle 0x180034457
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x18]
test esi, esi
jne 0x1800344f7
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.18002b7b0
mov esi, dword [rsp + 0x4c]
mov r10, qword [rsp + 0x70]
inc rbx
cmp rbx, rdi
jl 0x1800344c0
jmp 0x180034457
mov esi, eax
jmp 0x180033a75
mov rcx, r8
call fcn.1800203f0
cmp dword [rbx + 0x98], r12d
jne 0x18003457b
mov rax, qword [rbx + 0x130]
cmp dword [rax + 0x18], r12d
jne 0x18003457b
movzx eax, byte [rbx + 0x15]
cmp al, 6
je 0x180034573
test al, al
je 0x180034573
cmp al, 2
jb 0x180034560
mov rax, qword [0x1802f09c0]
test rax, rax
je 0x180034547
call rax
mov rcx, rbx
call fcn.180027210
mov r11, qword [0x1802f09c8]
test r11, r11
je 0x180034573
call r11
jmp 0x180034573
cmp byte [rbx + 8], r12b
jne 0x180034573
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.180022e90
mov rcx, rbx
call fcn.180022d50
inc rdi
cmp rdi, r13
jl 0x180033aa2
movsxd rdi, r15d
test r15d, r15d
jle 0x180034676
nop word [rax + rax]
mov r8, qword [rbp + r12*8 - 0x18]
test r8, r8
je 0x18003466a
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x2c], 0x40
mov rbx, qword [r8 + 0x20]
je 0x1800345fa
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 0x180034602
mov rcx, r8
call fcn.1800203f0
cmp dword [rbx + 0x98], 0
jne 0x18003466a
mov rax, qword [rbx + 0x130]
cmp dword [rax + 0x18], 0
jne 0x18003466a
movzx eax, byte [rbx + 0x15]
cmp al, 6
je 0x180034662
test al, al
je 0x180034662
cmp al, 2
jb 0x18003464f
mov rax, qword [0x1802f09c0]
test rax, rax
je 0x180034636
call rax
mov rcx, rbx
call fcn.180027210
mov r11, qword [0x1802f09c8]
test r11, r11
je 0x180034662
call r11
jmp 0x180034662
cmp byte [rbx + 8], 0
jne 0x180034662
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.180022e90
mov rcx, rbx
call fcn.180022d50
inc r12
cmp r12, rdi
jl 0x1800345a0
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.1800acfa0
add rsp, 0x1d8
pop r15
pop r13
pop rsi
pop rbp
ret