Function at 0x1800393d0
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
sub rsp, 0x98
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, qword [r8]
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov qword [rax - 0x18], r14
mov qword [rax - 0x20], r15
mov rax, qword [rcx + 0x150]
xor esi, esi
mov r15, r9
mov r14, r8
mov r13, rdx
mov rbp, rcx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rdi
lea r12d, [rsi + 3]
mov qword [rbp + 0x158], rax
mov r8, qword [r14]
mov edx, 0xa
mov rcx, rax
call fcn.1801546e8
test rax, rax
mov r11, rax
mov qword [rbp + 0x160], rax
je 0x18003a3ad
mov rax, qword [rbp + 0x150]
lea rdx, [rbp + 0xd8]
mov rcx, rbp
sub rax, r11
sub rax, 1
add qword [r14], rax
mov r8, qword [rbp + 0x160]
add r8, 1
mov qword [rbp + 0x150], r8
sub r8, qword [rbp + 0x158]
call fcn.180037100
test eax, eax
jne 0x18003a401
cmp dword [rbp + 0x138], 0
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0xcd0]
mov qword [rbp + 0x168], rax
jne 0x1800394d2
mov r9, qword [rbp + 0x148]
mov r8, qword [rbp + 0xcd0]
mov rdx, r13
mov rcx, rbp
call fcn.1800370d0
cmp eax, 2
je 0x18003a1c0
mov r10, qword [rbp + 0x168]
movzx eax, byte [r10]
cmp al, 0xa
je 0x180039ed7
cmp al, 0xd
je 0x180039ed7
mov ecx, dword [rbp + 0x138]
test ecx, ecx
lea eax, [rcx + 1]
mov dword [rbp + 0x138], eax
jne 0x1800397fa
mov rax, qword [r13 + 0x478]
mov edx, dword [rax + 0x7c]
test dl, 3
je 0x180039627
lea rax, [rsp + 0x40]
lea rdi, [r13 + 0x210]
lea r12, [rbp + 0x180]
lea r8, [rsp + 0x44]
lea rdx, [0x18018cec0]
mov rcx, r10
mov r9, rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.180138be0
cmp eax, 1
jne 0x180039583
cmp dword [rsp + 0x44], 2
jne 0x18003a20b
mov rcx, qword [rbp + 0x168]
lea rdx, [0x18018ceb0]
mov r8, r12
call fcn.180138be0
cmp eax, 1
jne 0x18003a20b
mov dword [rdi], esi
mov byte [rsp + 0x40], 0x20
jmp 0x180039593
cmp eax, 4
jne 0x1800395c8
cmp byte [rsp + 0x40], 0x20
jne 0x18003a20b
mov eax, dword [rsp + 0x44]
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [rdi], ecx
cmp dword [rbp + 0x19c], 2
jne 0x1800396a3
cmp dword [rdi], 0x14
je 0x1800396a3
lea rdx, [0x18018ce88]
mov rcx, rbp
call fcn.180011050
jmp 0x1800396a3
test eax, eax
jne 0x18003a20b
mov rcx, qword [rbp + 0x168]
lea rdx, [0x18018ce78]
mov r8, r12
call fcn.180138be0
mov dword [rdi], 0xa
test eax, eax
mov esi, eax
jne 0x1800396a1
mov r8, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x168]
mov rcx, rbp
call fcn.180036ff0
cmp eax, 1
jne 0x180039695
mov dword [r12], 0xc8
xor esi, esi
mov dword [rdi], 0xa
jmp 0x1800396a3
bt edx, 0x12
jae 0x18003a252
lea rax, [rsp + 0x41]
lea r12, [rbp + 0x180]
lea r9, [r13 + 0x214]
lea r8, [rsp + 0x48]
lea rdx, [0x18018ce60]
mov rcx, r10
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.180138be0
cmp eax, 4
mov esi, eax
jne 0x18003a243
cmp byte [rsp + 0x41], 0x20
jne 0x18003a236
mov eax, dword [rsp + 0x48]
lea rdi, [r13 + 0x210]
lea ecx, [rax + rax*4]
mov dword [rdi], 0xb
add ecx, ecx
add dword [r13 + 0x214], ecx
test esi, esi
je 0x18003a250
xor esi, esi
jmp 0x1800396a3
xor esi, esi
mov eax, dword [r12]
mov dword [rbp + 0x1170], eax
mov eax, dword [rdi]
mov dword [rbp + 0x1178], eax
mov eax, dword [rbp + 0x10a0]
test eax, eax
je 0x1800396c3
cmp eax, dword [rdi]
jle 0x1800396cb
mov eax, dword [rdi]
mov dword [rbp + 0x10a0], eax
cmp qword [rbp + 0x10d0], 0
je 0x1800396f4
cmp dword [rbp + 0x5c0], 1
jne 0x1800396f4
cmp dword [r12], 0x1a0
jne 0x1800396f4
mov dword [rbp + 0x1d0], 1
jmp 0x180039732
cmp dword [rbp + 0x7a0], 0
je 0x180039732
mov eax, dword [r12]
cmp eax, 0x190
jl 0x180039732
cmp eax, 0x191
jne 0x180039719
cmp dword [r13 + 0x3e8], 0
jne 0x180039732
cmp eax, 0x197
jne 0x18003a224
cmp dword [r13 + 0x3ec], 0
je 0x18003a224
mov eax, dword [rdi]
cmp eax, 0xa
jne 0x180039757
lea rdx, [0x18018ce38]
mov rcx, rbp
call fcn.180011050
mov edx, 1
mov rcx, r13
call fcn.180017c30
jmp 0x1800397b0
cmp eax, 0x14
je 0x1800397a3
cmp dword [rbp + 0x19c], 1
jne 0x18003976c
cmp dword [r12], 0x65
je 0x1800397a3
cmp eax, 0xb
jl 0x1800397b0
cmp dword [r13 + 0x3cc], 0
jne 0x1800397b0
cmp qword [r13 + 0x7f0], 0
je 0x1800397b0
mov rdx, r13
mov rcx, rbp
call fcn.18003a860
test eax, eax
jne 0x1800397b0
mov rax, qword [r13 + 0x7f0]
mov dword [rax], 1
jmp 0x1800397b0
mov rax, qword [r13 + 0x7f0]
mov dword [rax], 2
mov ecx, dword [r12]
sub ecx, 0xcc
je 0x1800397c1
cmp ecx, 0x64
jne 0x1800397f4
cmp dword [rbp + 0x5b0], 0
je 0x1800397d4
mov dword [rbp + 0x1188], 1
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe8], rsi
mov dword [rbp + 0x1d4], 1
mov r12d, 3
jmp 0x1800397fa
mov r12d, 3
cmp dword [rbp + 0x1d4], 0
jne 0x1800398bf
cmp dword [rbp + 0x800], 0
jne 0x1800398bf
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018c7f0]
mov r8d, 0xf
call fcn.1800188b0
test eax, eax
je 0x1800398bf
mov rcx, qword [rbp + 0x168]
xor edx, edx
lea r9, [rsp + 0x50]
lea r8d, [rdx + 0xa]
add rcx, 0xf
call fcn.180042430
test eax, eax
jne 0x180039889
mov rax, qword [rbp + 0x760]
mov rdx, qword [rsp + 0x50]
test rax, rax
je 0x18003986e
cmp rdx, rax
jg 0x18003a25d
mov rcx, rbp
mov qword [rbp + 0xd8], rdx
mov qword [rbp + 0xe8], rdx
call fcn.180021730
jmp 0x180039e4f
cmp eax, 1
jne 0x18003a276
cmp qword [rbp + 0x760], 0
jne 0x18003a25d
lea edx, [rax + 1]
mov rcx, r13
call fcn.180017c30
lea rdx, [0x18018ce10]
mov rcx, rbp
call fcn.180011050
jmp 0x180039e4f
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018c800]
mov r8d, 0xd
call fcn.1800188b0
test eax, eax
je 0x180039920
mov rcx, qword [rbp + 0x168]
call fcn.180035b60
test rax, rax
mov rdi, rax
je 0x18003a28f
cmp byte [rax], 0
jne 0x180039907
mov rcx, rax
call qword [0x1801f00b0]
jmp 0x180039e4f
mov rcx, qword [rbp + 0x11a0]
call qword [0x1801f00b0]
mov qword [rbp + 0x11a0], rdi
jmp 0x180039e4f
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018ce08]
mov r8d, 7
call fcn.1800188b0
test eax, eax
je 0x180039995
cmp dword [r13 + 0x210], 0x14
jge 0x180039e4f
mov rcx, qword [rbp + 0x168]
call fcn.180035b60
mov rcx, qword [r13 + 0x7f0]
test rcx, rcx
mov rdi, rax
je 0x180039987
cmp dword [rcx], 1
jne 0x180039987
mov rdx, rax
mov rcx, rbp
call fcn.18003aa30
test eax, eax
je 0x180039987
mov rax, qword [r13 + 0x7f0]
mov dword [rax], 0xffffffff
mov rcx, rdi
call qword [0x1801f00b0]
jmp 0x180039e4f
cmp dword [r13 + 0x210], 0xa
jne 0x1800399e5
cmp dword [r13 + 0x3e0], 0
je 0x1800399e5
mov rcx, qword [rbp + 0x168]
lea r8, [0x18018cdf8]
lea rdx, [0x18018cde0]
call fcn.180036b00
test eax, eax
je 0x1800399e5
xor edx, edx
mov rcx, r13
call fcn.180017c30
lea rdx, [0x18018cdb0]
mov rcx, rbp
call fcn.180011050
jmp 0x180039e4f
cmp dword [r13 + 0x210], 0xb
jne 0x180039a38
cmp dword [r13 + 0x3e0], 0
je 0x180039a38
mov rcx, qword [rbp + 0x168]
lea r8, [0x18018cda8]
lea rdx, [0x18018cde0]
call fcn.180036b00
test eax, eax
je 0x180039a38
mov edx, 1
mov rcx, r13
call fcn.180017c30
lea rdx, [0x18018cd80]
mov rcx, rbp
call fcn.180011050
jmp 0x180039e4f
cmp dword [r13 + 0x210], 0xa
jne 0x180039a7e
mov rcx, qword [rbp + 0x168]
lea r8, [0x18018cdf8]
lea rdx, [0x18018c7e0]
call fcn.180036b00
test eax, eax
je 0x180039a7e
xor edx, edx
mov rcx, r13
call fcn.180017c30
lea rdx, [0x18018cd58]
mov rcx, rbp
call fcn.180011050
jmp 0x180039e4f
mov rcx, qword [rbp + 0x168]
lea r8, [0x18018cda8]
lea rdx, [0x18018c7e0]
call fcn.180036b00
test eax, eax
je 0x180039aae
mov edx, 2
mov rcx, r13
call fcn.180017c30
jmp 0x180039e4f
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018c7c8]
mov r8d, 0x12
call fcn.1800188b0
test eax, eax
je 0x180039af1
mov rdx, qword [rbp + 0x168]
mov r8d, 1
mov rcx, r13
add rdx, 0x12
call fcn.180018ca0
test eax, eax
jne 0x18003a401
jmp 0x180039e4f
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018cd40]
mov r8d, 0x11
call fcn.1800188b0
test eax, eax
je 0x180039b3b
cmp qword [rbp + 0x870], 0
je 0x180039b3b
mov rdx, qword [rbp + 0x168]
xor r8d, r8d
mov rcx, r13
add rdx, 0x11
call fcn.180018ca0
test eax, eax
jne 0x18003a401
jmp 0x180039e4f
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018cd30]
mov r8d, 0xe
call fcn.1800188b0
test eax, eax
je 0x180039be4
mov rdi, qword [rbp + 0x168]
movzx eax, byte [rdi + 0xe]
add rdi, 0xe
test al, al
je 0x180039b8c
nop
movzx ecx, al
call fcn.18003e2a0
test eax, eax
jne 0x180039b8c
cmp byte [rdi], 0x2a
je 0x180039b8c
mov al, byte [rdi + 1]
add rdi, 1
test al, al
jne 0x180039b70
movzx ecx, byte [rdi]
call fcn.18003e2a0
test eax, eax
je 0x180039bd8
xor edx, edx
lea r9, [rbp + 0x178]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.180042430
test eax, eax
jne 0x180039e4f
mov rax, qword [rbp + 0x178]
cmp qword [rbp + 0x10d0], rax
jne 0x180039e4f
mov dword [rbp + 0x170], 1
jmp 0x180039e4f
mov qword [rbp + 0x10d0], rsi
jmp 0x180039e4f
cmp qword [rbp + 0xb08], 0
je 0x180039c7b
mov rdx, qword [rbp + 0x168]
lea rcx, str.Set_Cookie:
mov r8d, 0xb
call fcn.1800188b0
test eax, eax
je 0x180039c7b
mov edx, 2
mov rcx, rbp
mov r8d, edx
call fcn.1800188c0
mov r11, qword [r13 + 0x4d8]
test r11, r11
jne 0x180039c32
mov r11, qword [r13 + 0xd0]
mov rcx, qword [rbp + 0x168]
mov rax, qword [rbp + 0x10b0]
mov rdx, qword [rbp + 0xb08]
add rcx, 0xb
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rcx
lea r8d, [r9 + 1]
mov rcx, rbp
call fcn.180014e40
mov edx, 2
mov rcx, rbp
call fcn.180018900
jmp 0x180039e4f
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018cd20]
mov r8d, 0xe
call fcn.1800188b0
test eax, eax
je 0x180039ceb
cmp dword [rbp + 0x5b0], 0
jne 0x180039caa
cmp dword [rbp + 0x784], 0
je 0x180039ceb
xor ecx, ecx
call fcn.180167e18
mov rcx, qword [rbp + 0x168]
lea rdx, [rsp + 0x58]
add rcx, 0xe
mov qword [rsp + 0x58], rax
call fcn.180042380
mov qword [rbp + 0x1a8], rax
cmp dword [rbp + 0x784], 0
je 0x180039e4f
mov qword [rbp + 0x1180], rax
jmp 0x180039e4f
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018cd08]
mov r8d, 0x11
call fcn.1800188b0
test eax, eax
je 0x180039d15
mov eax, dword [rbp + 0x180]
cmp eax, 0x191
je 0x180039d3f
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018ccf0]
mov r8d, 0x13
call fcn.1800188b0
test eax, eax
je 0x180039d87
mov eax, dword [rbp + 0x180]
cmp eax, 0x197
jne 0x180039d87
mov rcx, qword [rbp + 0x168]
cmp eax, 0x197
sete sil
call fcn.180035b60
test rax, rax
mov rdi, rax
je 0x18003a28f
mov r8, rax
mov edx, esi
mov rcx, r13
call fcn.180036340
mov rcx, rdi
mov esi, eax
call qword [0x1801f00b0]
test esi, esi
je 0x180039e4f
mov eax, esi
jmp 0x18003a401
mov eax, dword [rbp + 0x180]
cmp eax, 0x12c
jl 0x180039e2a
cmp eax, 0x190
jge 0x180039e2a
mov rdx, qword [rbp + 0x168]
lea rcx, [0x18018cce0]
mov r8d, 9
call fcn.1800188b0
test eax, eax
je 0x180039e2a
cmp qword [rbp + 0x1d8], 0
jne 0x180039e2a
mov rcx, qword [rbp + 0x168]
call fcn.180035b60
test rax, rax
je 0x18003a28f
cmp byte [rax], 0
jne 0x180039def
mov rcx, rax
call qword [0x1801f00b0]
jmp 0x180039e4f
cmp dword [rbp + 0x7a8], 0
mov qword [rbp + 0x1d8], rax
je 0x180039e4f
mov rcx, rax
call qword [0x1801f00c0]
test rax, rax
mov qword [rbp + 0x1e0], rax
je 0x18003a28f
mov rcx, r13
call fcn.180035ea0
test eax, eax
jne 0x18003a401
jmp 0x180039e4f
mov rax, qword [r13 + 0x478]
bt dword [rax + 0x7c], 0x12
jae 0x180039e4f
mov rdx, qword [rbp + 0x168]
mov rcx, r13
call fcn.180024050
test eax, eax
jne 0x18003a401
cmp dword [rbp + 0x7b4], 0
mov edi, 2
cmovne edi, r12d
cmp dword [rbp + 0x7cc], 0
je 0x180039e83
mov r9, qword [rbp + 0x148]
mov r8, qword [rbp + 0x168]
mov edx, 1
mov rcx, rbp
call fcn.180010f80
mov r9, qword [rbp + 0x148]
mov r8, qword [rbp + 0x168]
mov edx, edi
mov rcx, r13
call fcn.180011610
test eax, eax
jne 0x18003a401
mov eax, dword [rbp + 0x148]
add dword [rbp + 0x118c], eax
mov eax, dword [rbp + 0x148]
add dword [rbp + 0x108], eax
mov rax, qword [rbp + 0xcd0]
xor esi, esi
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rsi
jmp 0x18003a1ab
cmp al, 0xd
jne 0x180039ee6
lea rax, [r10 + 1]
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
cmp byte [rax], 0xa
jne 0x180039efd
add rax, 1
mov qword [rbp + 0x168], rax
mov ecx, dword [rbp + 0x180]
cmp ecx, 0x64
jl 0x180039f79
cmp ecx, 0xc7
jg 0x180039f79
sub ecx, 0x64
je 0x180039f47
cmp ecx, 1
je 0x180039f2f
mov dword [rbp + 0x130], 1
mov dword [rbp + 0x138], esi
jmp 0x180039fd9
cmp dword [rbp + 0x19c], 1
je 0x18003a299
mov dword [rbp + 0x130], esi
jmp 0x180039fd9
cmp dword [rbp + 0x198], 0
mov dword [rbp + 0x130], 1
mov dword [rbp + 0x138], esi
jle 0x180039fd9
or dword [rbp + 0x1c8], 2
xor edx, edx
mov rcx, rbp
mov dword [rbp + 0x198], esi
call fcn.18000e7d0
jmp 0x180039fd9
cmp qword [rbp + 0xd8], 0xffffffffffffffff
mov dword [rbp + 0x130], esi
jne 0x180039fd9
cmp dword [rbp + 0x1f8], 0
jne 0x180039fd9
cmp dword [r13 + 0x3cc], 0
jne 0x180039fd9
cmp dword [r13 + 0x210], 0xb
jne 0x180039fd9
mov rax, qword [r13 + 0x478]
bt dword [rax + 0x7c], 0x12
jb 0x180039fd9
cmp dword [rbp + 0x5c0], 6
je 0x180039fd9
lea rdx, [0x18018cca0]
mov rcx, rbp
call fcn.180011050
mov edx, 2
mov rcx, r13
call fcn.180017c30
cmp dword [r13 + 0x3cc], 0
je 0x18003a024
mov eax, dword [rbp + 0x180]
cmp eax, 0x191
jne 0x180039ffa
cmp dword [r13 + 0x560], 2
je 0x18003a00b
cmp eax, 0x197
jne 0x18003a024
cmp dword [r13 + 0x580], 2
jne 0x18003a024
lea rdx, [0x18018cc68]
mov rcx, rbp
call fcn.180011050
mov dword [rbp + 0xe30], 1
mov rcx, r13
call fcn.1800365c0
test eax, eax
jne 0x18003a390
cmp dword [rbp + 0x7b4], eax
mov r8, qword [rbp + 0xcd0]
mov rdi, qword [rbp + 0x168]
mov edx, 2
cmovne edx, r12d
sub rdi, r8
mov r9, rdi
call fcn.180011610
test eax, eax
jne 0x18003a401
add dword [rbp + 0x108], edi
add dword [rbp + 0x118c], edi
mov eax, dword [rbp + 0x180]
cmp eax, 0x64
mov ecx, dword [rbp + 0x108]
jl 0x18003a088
cmp eax, 0xc7
jle 0x18003a08a
mov ecx, esi
mov dword [rbp + 0x10c], ecx
mov rcx, r13
call fcn.1800372e0
test eax, eax
jne 0x18003a401
cmp dword [rbp + 0x180], 0x12c
jl 0x18003a189
cmp dword [r13 + 0x410], eax
jne 0x18003a169
cmp dword [r13 + 0x3cc], eax
jne 0x18003a169
cmp dword [r13 + 0x414], eax
jne 0x18003a169
mov eax, dword [rbp + 0x5c0]
add eax, 0xfffffffe
cmp eax, 3
ja 0x18003a169
xor edx, edx
mov rcx, rbp
call fcn.18000e7d0
cmp dword [rbp + 0x1cc], 0
jne 0x18003a169
cmp dword [rbp + 0x7a4], 0
je 0x18003a12c
lea rdx, [0x18018cc38]
mov rcx, rbp
call fcn.180011050
cmp dword [rbp + 0x198], 0
jle 0x18003a169
or dword [rbp + 0x1c8], 2
mov dword [rbp + 0x198], esi
jmp 0x18003a169
lea rdx, [0x18018cc08]
mov rcx, rbp
call fcn.180011050
mov edx, 2
mov rcx, r13
call fcn.180017c30
and dword [rbp + 0x1c8], 0xfffffffd
mov dword [rbp + 0x1cc], 1
cmp dword [rbp + 0x10a4], 0
je 0x18003a169
mov dword [rbp + 0x198], r12d
cmp dword [r13 + 0x414], 0
je 0x18003a189
lea rdx, [0x18018cbe0]
mov rcx, rbp
call fcn.180011050
or dword [rbp + 0x1c8], 2
cmp dword [rbp + 0x130], 0
je 0x18003a2cc
mov rax, qword [rbp + 0xcd0]
mov qword [rbp + 0x148], rsi
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x150]
cmp byte [rax], 0
jne 0x180039420
jmp 0x18003a3ff
mov edx, 2
mov rcx, r13
call fcn.180017c30
mov dword [rbp + 0x130], esi
cmp qword [r14], 0
je 0x18003a1e8
mov dword [rbp + 0x134], 1
jmp 0x18003a3ff
mov rax, qword [rsp + 0x60]
mov dword [rbp + 0x134], 2
mov qword [r14], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x150], rax
jmp 0x18003a3ff
lea rdx, [0x18018cbb8]
mov rcx, rbp
call fcn.180011100
mov eax, 1
jmp 0x18003a401
mov rcx, rbp
call fcn.180037210
mov eax, 0x16
jmp 0x18003a401
xor esi, esi
mov dword [rbp + 0x130], esi
jmp 0x18003a3ff
xor esi, esi
mov dword [rbp + 0x130], esi
jmp 0x18003a3ff
xor esi, esi
mov dword [rbp + 0x130], esi
jmp 0x18003a3ff
lea rdx, [0x18018b8c8]
mov rcx, rbp
call fcn.180011100
mov eax, 0x3f
jmp 0x18003a401
lea rdx, [0x18018cb98]
mov rcx, rbp
call fcn.180011100
mov eax, 8
jmp 0x18003a401
mov eax, 0x1b
jmp 0x18003a401
lea rdx, [0x18018cb88]
mov rcx, rbp
call fcn.180011050
mov dword [rbp + 0x19c], 2
mov dword [rbp + 0x130], 1
mov dword [rbp + 0x138], esi
mov eax, 1
jmp 0x18003a401
cmp dword [rbp + 0x7c0], 0
je 0x18003a2de
mov dword [r15], 1
jmp 0x18003a327
mov rax, qword [r13 + 0x478]
bt dword [rax + 0x7c], 0x12
jae 0x18003a308
cmp dword [rbp + 0xa2c], 2
jne 0x18003a308
cmp qword [rbp + 0xd8], 0xffffffffffffffff
jg 0x18003a308
mov dword [r15], 1
jmp 0x18003a327
cmp dword [rbp + 0x1f8], 0
je 0x18003a327
mov qword [rbp + 0xd8], 0xffffffffffffffff
mov qword [rbp + 0xe8], 0xffffffffffffffff
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xffffffffffffffff
je 0x18003a34a
mov rcx, rbp
call fcn.180021730
mov r11, qword [rbp + 0xd8]
mov qword [rbp + 0xe8], r11
cmp qword [rbp + 0xe8], 0
jne 0x18003a35d
mov dword [r15], 1
jmp 0x18003a363
cmp dword [r15], 0
je 0x18003a36a
and dword [rbp + 0x1c8], 0xfffffffe
cmp dword [rbp + 0x7cc], 0
je 0x18003a3ff
mov r8, qword [rbp + 0x158]
mov r9, rdi
mov edx, 1
mov rcx, rbp
call fcn.180010f80
jmp 0x18003a3ff
mov r8d, dword [rbp + 0x180]
lea rdx, [0x18018c708]
mov rcx, rbp
call fcn.180011100
mov eax, 0x16
jmp 0x18003a401
mov r8, qword [r14]
lea rdx, [rbp + 0xd8]
mov rcx, rbp
call fcn.180037100
test eax, eax
jne 0x18003a401
cmp dword [rbp + 0x138], eax
jne 0x18003a3ff
mov r9, qword [rbp + 0x148]
mov r8, qword [rbp + 0xcd0]
mov rdx, r13
mov rcx, rbp
call fcn.1800370d0
cmp eax, 2
jne 0x18003a3ff
mov edx, eax
mov rcx, r13
mov dword [rbp + 0x130], esi
mov dword [rbp + 0x134], eax
call fcn.180017c30
xor eax, eax
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x98
ret