// File: /workspace/github_c_makefile_star2_O1/GangZhuo[P]dohclient/src/http.c
// Function: http_proxy_handshake
static int http_proxy_handshake(http_ctx_t *ctx, http_conn_t *conn)
{
	const proxy_t *proxy = ctx->proxies + conn->proxy_index;

	switch (proxy->proxy_type) {
		case SOCKS5_PROXY:
			return http_socks5_handshake(ctx, conn);
		case HTTP_PROXY:
			return http_hp_handshake(ctx, conn);
		default:
			loge("unsupport proxy type");
			return -1;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
movq 0x10(%rdi), %r15
movslq 0xc(%rsi), %rax
imulq $0xf8, %rax, %r12
movl (%r15,%r12), %eax
cmpl $0x1, %eax
je 0x15edb
testl %eax, %eax
jne 0x1601e
movl 0x48(%rbx), %r13d
movl 0x118(%rbx), %r15d
leaq 0x110(%rbx), %r14
movl 0x11c(%rbx), %r12d
cmpl $0x3ff, 0x120(%rbx)     # imm = 0x3FF
jg 0x15e28
movq %r14, %rdi
movl $0x400, %esi            # imm = 0x400
callq 0x1d737
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x168a4
xorl %eax, %eax
callq 0x17d59
movl (%rax), %eax
addl $-0x2, %r13d
cmpl $0x6, %r13d
ja 0x16456
leaq 0xde0e(%rip), %rcx      # 0x23c54
movslq (%rcx,%r13,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
cmpl $0x8, %eax
jl 0x15e7a
leaq 0xdecd(%rip), %rsi      # 0x23d28
leaq 0xe5da(%rip), %rdx      # 0x2443c
leaq 0xe5e9(%rip), %r8       # 0x24452
movl $0x8, %edi
movl $0x3c9, %ecx            # imm = 0x3C9
xorl %eax, %eax
callq 0x17d92
cmpl %r12d, %r15d
jne 0x15eaa
movq 0x110(%rbx), %rax
movb $0x5, (%rax)
movq 0x110(%rbx), %rax
movb $0x1, 0x1(%rax)
movq 0x110(%rbx), %rax
movb $0x0, 0x2(%rax)
movq $0x3, 0x118(%rbx)
movl 0x10(%rbx), %edi
movq %r14, %rsi
callq 0x19402
testl %eax, %eax
js 0x165a5
movl 0x118(%rbx), %eax
cmpl 0x11c(%rbx), %eax
jle 0x16623
movl $0x5, 0x48(%rbx)
jmp 0x168a2
movl 0x48(%rbx), %r13d
movl 0x118(%rbx), %eax
movl %eax, 0x18(%rsp)
leaq 0x110(%rbx), %rdx
movl 0x11c(%rbx), %r14d
movl 0x120(%rbx), %eax
movl %eax, %ecx
subl %r14d, %ecx
cmpl $0x3ff, %ecx            # imm = 0x3FF
jg 0x15f35
leal (%rax,%rax), %ecx
cmpl $0x200, %eax            # imm = 0x200
movl $0x400, %esi            # imm = 0x400
cmovgel %ecx, %esi
movq %rdx, %rbp
movq %rdx, %rdi
callq 0x1d737
movq %rbp, %rdx
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x168a4
movq %rdx, 0x10(%rsp)
xorl %eax, %eax
callq 0x17d59
movl (%rax), %eax
cmpl $0xc, %r13d
je 0x16191
cmpl $0xb, %r13d
je 0x1605e
cmpl $0x2, %r13d
jne 0x162a1
cmpl $0x8, %eax
jl 0x15f8c
leaq 0xddbb(%rip), %rsi      # 0x23d28
leaq 0xe53a(%rip), %rdx      # 0x244ae
leaq 0xd437(%rip), %r8       # 0x233b2
movl $0x8, %edi
movl $0x448, %ecx            # imm = 0x448
xorl %eax, %eax
callq 0x17d92
cmpl %r14d, 0x18(%rsp)
jne 0x1673b
addq %r12, %r15
movq 0x88(%rbx), %rdi
callq 0x184d9
movq %rax, %r12
cmpb $0x0, 0x94(%r15)
movl $0x0, 0x1c(%rsp)
je 0x16687
leaq 0x94(%r15), %rdx
addq $0xc6, %r15
leaq 0xd3e7(%rip), %rsi      # 0x233bb
leaq 0x20(%rsp), %r13
movq %r13, %rdi
movq %r15, %rcx
xorl %eax, %eax
callq 0x30b0
movq %r13, %rdi
callq 0x3170
leaq 0x1c(%rsp), %rdx
movq %r13, %rdi
movl %eax, %esi
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x81a4
movq %rax, %r9
leaq 0xd42d(%rip), %r8       # 0x2343c
leaq 0xddda(%rip), %rax      # 0x23df0
movq %r9, %r15
jmp 0x16697
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xdcee(%rip), %rsi      # 0x23d28
leaq 0xe057(%rip), %rdx      # 0x24098
leaq 0xd2fe(%rip), %r8       # 0x23346
movl $0x3, %edi
movl $0x4d6, %ecx            # imm = 0x4D6
xorl %eax, %eax
callq 0x17d92
jmp 0x168a4
cmpl $0x8, %eax
jl 0x16089
leaq 0xdcbe(%rip), %rsi      # 0x23d28
leaq 0xe43d(%rip), %rdx      # 0x244ae
leaq 0xd401(%rip), %r8       # 0x23479
movl $0x8, %edi
movl $0x479, %ecx            # imm = 0x479
xorl %eax, %eax
callq 0x17d92
movslq 0x11c(%rbx), %rdx
movq %rdx, %rsi
addq 0x110(%rbx), %rsi
movl 0x10(%rbx), %edi
notl %edx
addl 0x120(%rbx), %edx
callq 0x19530
testl %eax, %eax
jle 0x164c1
movslq 0x11c(%rbx), %rcx
movslq %eax, %rdx
addq %rcx, %rdx
movl %edx, 0x11c(%rbx)
addl %eax, 0x118(%rbx)
movq 0x110(%rbx), %rax
movb $0x0, (%rax,%rdx)
xorl %eax, %eax
callq 0x17d59
cmpl $0x8, (%rax)
jl 0x16110
movq 0x10(%rsp), %rax
movq (%rax), %r9
leaq 0xdc37(%rip), %rsi      # 0x23d28
leaq 0xe3b6(%rip), %rdx      # 0x244ae
leaq 0xd397(%rip), %r8       # 0x23496
movl $0x8, %edi
movl $0x482, %ecx            # imm = 0x482
xorl %eax, %eax
callq 0x17d92
cmpl $0xd, 0x118(%rbx)
movq 0x10(%rsp), %rax
jb 0x16533
movq (%rax), %r15
leaq 0xd374(%rip), %rsi      # 0x234a0
movl $0x5, %edx
movq %r15, %rdi
callq 0x3180
testl %eax, %eax
je 0x167ca
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x16184
movq 0x10(%rsp), %rax
movq (%rax), %r9
leaq 0xdbc5(%rip), %rsi      # 0x23d28
leaq 0xe344(%rip), %rdx      # 0x244ae
leaq 0xd35d(%rip), %r8       # 0x234ce
xorl %ebx, %ebx
movl $0x3, %edi
movl $0x49f, %ecx            # imm = 0x49F
xorl %eax, %eax
callq 0x17d92
testb %bl, %bl
jne 0x168a2
jmp 0x168a4
cmpl $0x8, %eax
jl 0x161bc
leaq 0xdb8b(%rip), %rsi      # 0x23d28
leaq 0xe30a(%rip), %rdx      # 0x244ae
leaq 0xd338(%rip), %r8       # 0x234e3
movl $0x8, %edi
movl $0x4a9, %ecx            # imm = 0x4A9
xorl %eax, %eax
callq 0x17d92
movslq 0x11c(%rbx), %rdx
movq %rdx, %rsi
addq 0x110(%rbx), %rsi
movl 0x10(%rbx), %edi
notl %edx
addl 0x120(%rbx), %edx
callq 0x19530
testl %eax, %eax
jle 0x164fa
addl %eax, 0x118(%rbx)
movslq 0x11c(%rbx), %rcx
cltq
addq %rcx, %rax
movl %eax, 0x11c(%rbx)
movq 0x110(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movq 0x110(%rbx), %r15
leaq 0xdbd8(%rip), %rsi      # 0x23dee
movq %r15, %rdi
callq 0x30c0
testq %rax, %rax
je 0x1662f
leaq 0xe2a3(%rip), %rsi      # 0x244d1
movq %r15, %rdi
callq 0x30c0
testq %rax, %rax
je 0x16245
movl $0x0, 0x108(%rbx)
movl $0xd, 0x48(%rbx)
movq 0x10(%rsp), %rdi
callq 0x1d5f9
xorl %eax, %eax
callq 0x17d59
cmpl $0x7, (%rax)
jl 0x16288
leaq 0xdabf(%rip), %rsi      # 0x23d28
leaq 0xe23e(%rip), %rdx      # 0x244ae
leaq 0xd22f(%rip), %r8       # 0x234a6
movl $0x7, %edi
movl $0x4b7, %ecx            # imm = 0x4B7
xorl %eax, %eax
callq 0x17d92
movq %rbx, %rdi
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16a6d
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, %eax
jl 0x168a4
leaq 0xda72(%rip), %rsi      # 0x23d28
leaq 0xe1f1(%rip), %rdx      # 0x244ae
leaq 0xd0de(%rip), %r8       # 0x233a2
movl $0x3, %edi
movl $0x4c5, %ecx            # imm = 0x4C5
jmp 0x16052
cmpl $0x8, %eax
jl 0x162fe
leaq 0xda49(%rip), %rsi      # 0x23d28
leaq 0xe156(%rip), %rdx      # 0x2443c
leaq 0xe1a7(%rip), %r8       # 0x24494
movl $0x8, %edi
movl $0x40f, %ecx            # imm = 0x40F
xorl %eax, %eax
callq 0x17d92
movl 0x10(%rbx), %edi
movq %r14, %rsi
callq 0x19402
testl %eax, %eax
js 0x1656c
movl 0x118(%rbx), %eax
cmpl 0x11c(%rbx), %eax
jle 0x16617
movl $0x7, 0x48(%rbx)
jmp 0x168a2
cmpl $0x8, %eax
jl 0x1635a
leaq 0xd9ed(%rip), %rsi      # 0x23d28
leaq 0xe0fa(%rip), %rdx      # 0x2443c
leaq 0xe129(%rip), %r8       # 0x24472
movl $0x8, %edi
movl $0x3de, %ecx            # imm = 0x3DE
xorl %eax, %eax
callq 0x17d92
movl 0x10(%rbx), %edi
movq 0x110(%rbx), %rsi
movl 0x120(%rbx), %edx
callq 0x19530
cmpl $0x2, %eax
jne 0x16488
movq (%r14), %rax
cmpb $0x5, (%rax)
jne 0x1638a
cmpb $0x0, 0x1(%rax)
je 0x168fb
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd982(%rip), %rsi      # 0x23d28
leaq 0xe08f(%rip), %rdx      # 0x2443c
leaq 0xcfb9(%rip), %r8       # 0x2336d
movl $0x3, %edi
movl $0x40a, %ecx            # imm = 0x40A
jmp 0x16052
cmpl $0x8, %eax
jl 0x163ee
leaq 0xd959(%rip), %rsi      # 0x23d28
leaq 0xe066(%rip), %rdx      # 0x2443c
leaq 0xd09c(%rip), %r8       # 0x23479
movl $0x8, %edi
movl $0x41d, %ecx            # imm = 0x41D
xorl %eax, %eax
callq 0x17d92
movl 0x10(%rbx), %edi
movq 0x110(%rbx), %rsi
movl 0x120(%rbx), %edx
callq 0x19530
testl %eax, %eax
jle 0x165de
movq (%r14), %rax
cmpb $0x5, (%rax)
jne 0x1641d
cmpb $0x0, 0x1(%rax)
je 0x168b8
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd8ef(%rip), %rsi      # 0x23d28
leaq 0xdffc(%rip), %rdx      # 0x2443c
leaq 0xcf4c(%rip), %r8       # 0x23393
movl $0x3, %edi
movl $0x42a, %ecx            # imm = 0x42A
jmp 0x16052
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, %eax
jl 0x168a4
leaq 0xd8bd(%rip), %rsi      # 0x23d28
leaq 0xdfca(%rip), %rdx      # 0x2443c
leaq 0xcf29(%rip), %r8       # 0x233a2
movl $0x3, %edi
movl $0x42f, %ecx            # imm = 0x42F
jmp 0x16052
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd884(%rip), %rsi      # 0x23d28
leaq 0xdf91(%rip), %rdx      # 0x2443c
leaq 0xcea9(%rip), %r8       # 0x2335b
movl $0x3, %edi
movl $0x3e1, %ecx            # imm = 0x3E1
jmp 0x16052
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd84b(%rip), %rsi      # 0x23d28
leaq 0xdfca(%rip), %rdx      # 0x244ae
leaq 0xce70(%rip), %r8       # 0x2335b
movl $0x3, %edi
movl $0x47c, %ecx            # imm = 0x47C
jmp 0x16052
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd812(%rip), %rsi      # 0x23d28
leaq 0xdf91(%rip), %rdx      # 0x244ae
leaq 0xce37(%rip), %r8       # 0x2335b
movl $0x3, %edi
movl $0x4ac, %ecx            # imm = 0x4AC
jmp 0x16052
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd7d9(%rip), %rsi      # 0x23d28
leaq 0xdf58(%rip), %rdx      # 0x244ae
leaq 0xce36(%rip), %r8       # 0x23393
movl $0x3, %edi
movl $0x4a4, %ecx            # imm = 0x4A4
jmp 0x16052
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd7a0(%rip), %rsi      # 0x23d28
leaq 0xdead(%rip), %rdx      # 0x2443c
leaq 0xcd40(%rip), %r8       # 0x232d6
movl $0x3, %edi
movl $0x412, %ecx            # imm = 0x412
jmp 0x16052
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd767(%rip), %rsi      # 0x23d28
leaq 0xde74(%rip), %rdx      # 0x2443c
leaq 0xcd07(%rip), %r8       # 0x232d6
movl $0x3, %edi
movl $0x3d3, %ecx            # imm = 0x3D3
jmp 0x16052
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd72e(%rip), %rsi      # 0x23d28
leaq 0xde3b(%rip), %rdx      # 0x2443c
leaq 0xcd53(%rip), %r8       # 0x2335b
movl $0x3, %edi
movl $0x420, %ecx            # imm = 0x420
jmp 0x16052
movl $0x8, 0x48(%rbx)
jmp 0x168a2
movl $0x6, 0x48(%rbx)
jmp 0x168a2
cmpl $0x14000, 0x118(%rbx)   # imm = 0x14000
jl 0x1689b
xorl %eax, %eax
callq 0x17d59
cmpl $0x3, (%rax)
jl 0x16678
movl 0x11c(%rbx), %r9d
leaq 0xd6cf(%rip), %rsi      # 0x23d28
leaq 0xde4e(%rip), %rdx      # 0x244ae
leaq 0xce94(%rip), %r8       # 0x234fb
movl $0x3, %edi
movl $0x4bc, %ecx            # imm = 0x4BC
xorl %eax, %eax
callq 0x17d92
movq 0x10(%rsp), %rdi
callq 0x1d5f9
jmp 0x16770
xorl %r15d, %r15d
leaq 0xd761(%rip), %rax      # 0x23df2
movq %rax, %r9
movq %rax, %r8
movq %rax, (%rsp)
leaq 0xcd1f(%rip), %rsi      # 0x233c1
movq 0x10(%rsp), %rdi
movq %r12, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x1db4e
movl %eax, %ebp
xorl %eax, %eax
callq 0x17d59
movl (%rax), %eax
cmpl $-0x1, %ebp
je 0x16703
cmpl $0x8, %eax
jl 0x166f7
movq 0x10(%rsp), %rax
movq (%rax), %r9
leaq 0xd650(%rip), %rsi      # 0x23d28
leaq 0xddcf(%rip), %rdx      # 0x244ae
leaq 0xcd89(%rip), %r8       # 0x2346f
movl $0x8, %edi
movl $0x466, %ecx            # imm = 0x466
xorl %eax, %eax
callq 0x17d92
movl $0x0, 0x11c(%rbx)
jmp 0x1672e
cmpl $0x3, %eax
jl 0x1672e
leaq 0xd619(%rip), %rsi      # 0x23d28
leaq 0xdd98(%rip), %rdx      # 0x244ae
leaq 0xdda3(%rip), %r8       # 0x244c0
movl $0x3, %edi
movl $0x462, %ecx            # imm = 0x462
xorl %eax, %eax
callq 0x17d92
movq %r15, %rdi
callq 0x3450
cmpl $-0x1, %ebp
je 0x16770
movl 0x10(%rbx), %edi
movq 0x10(%rsp), %rsi
callq 0x19402
testl %eax, %eax
js 0x1677a
movl $0x1, 0x108(%rbx)
movl 0x118(%rbx), %eax
cmpl 0x11c(%rbx), %eax
jle 0x167b3
movl $0xa, 0x48(%rbx)
jmp 0x168a2
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
jmp 0x168a4
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd592(%rip), %rsi      # 0x23d28
leaq 0xdd11(%rip), %rdx      # 0x244ae
leaq 0xcb32(%rip), %r8       # 0x232d6
movl $0x3, %edi
movl $0x46c, %ecx            # imm = 0x46C
jmp 0x16052
movl $0xb, 0x48(%rbx)
movq $0x0, 0x118(%rbx)
jmp 0x168a2
movq %r15, %rdi
movl $0x20, %esi
callq 0x3150
testq %rax, %rax
je 0x16141
incq %rax
leaq 0x20(%rsp), %r12
movl $0x4, %edx
movq %r12, %rdi
movq %rax, %rsi
callq 0x31d0
movb $0x0, 0x3(%r12)
movq %r12, %rdi
callq 0x3570
cmpl $0xc8, %eax
jne 0x16a04
leaq 0xd5d6(%rip), %rsi      # 0x23dee
movq %r15, %rdi
callq 0x30c0
testq %rax, %rax
je 0x16a5a
leaq 0xdca1(%rip), %rsi      # 0x244d1
movq %r15, %rdi
callq 0x30c0
testq %rax, %rax
je 0x16847
movl $0x0, 0x108(%rbx)
movl $0xd, 0x48(%rbx)
movq 0x10(%rsp), %rdi
callq 0x1d5f9
xorl %eax, %eax
callq 0x17d59
cmpl $0x7, (%rax)
jl 0x1688a
leaq 0xd4bd(%rip), %rsi      # 0x23d28
leaq 0xdc3c(%rip), %rdx      # 0x244ae
leaq 0xcc2d(%rip), %r8       # 0x234a6
movl $0x7, %edi
movl $0x492, %ecx            # imm = 0x492
xorl %eax, %eax
callq 0x17d92
movq %rbx, %rdi
callq 0x16a6d
movl %eax, %ebp
xorl %ebx, %ebx
jmp 0x16184
movl $0xc, 0x48(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x9, 0x48(%rbx)
movq %r14, %rdi
callq 0x1d5f9
xorl %eax, %eax
callq 0x17d59
cmpl $0x7, (%rax)
jl 0x16288
leaq 0xd44a(%rip), %rsi      # 0x23d28
leaq 0xdb57(%rip), %rdx      # 0x2443c
leaq 0xca94(%rip), %r8       # 0x23380
movl $0x7, %edi
movl $0x426, %ecx            # imm = 0x426
jmp 0x16281
movb $0x5, (%rax)
movq 0x110(%rbx), %rax
movb $0x1, 0x1(%rax)
movq 0x110(%rbx), %rax
movb $0x0, 0x2(%rax)
movq 0x88(%rbx), %rcx
cmpw $0x2, (%rcx)
jne 0x1694a
movzwl 0x2(%rcx), %eax
rolw $0x8, %ax
movq (%r14), %rdx
movb $0x1, 0x3(%rdx)
movq (%r14), %rdx
movl 0x4(%rcx), %ecx
movl %ecx, 0x4(%rdx)
movl $0xa, %ecx
movl $0x9, %edx
movl $0x8, %esi
jmp 0x1698d
movq 0x110(%rbx), %rax
movb $0x4, 0x3(%rax)
movq 0x88(%rbx), %rcx
movzwl 0x2(%rcx), %eax
rolw $0x8, %ax
movq 0x110(%rbx), %rdx
movb $0x1, 0x3(%rdx)
movq 0x110(%rbx), %rdx
movups 0x8(%rcx), %xmm0
movups %xmm0, 0x4(%rdx)
movl $0x16, %ecx
movl $0x15, %edx
movl $0x14, %esi
movq 0x110(%rbx), %rdi
movb %ah, (%rdi,%rsi)
movq 0x110(%rbx), %rsi
movb %al, (%rsi,%rdx)
movl %ecx, 0x118(%rbx)
movl $0x0, 0x11c(%rbx)
movl $0x7, 0x48(%rbx)
movl 0x10(%rbx), %edi
movq %r14, %rsi
callq 0x19402
testl %eax, %eax
jns 0x16311
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x168a4
leaq 0xd341(%rip), %rsi      # 0x23d28
leaq 0xda4e(%rip), %rdx      # 0x2443c
leaq 0xc8e1(%rip), %r8       # 0x232d6
movl $0x3, %edi
movl $0x3ff, %ecx            # imm = 0x3FF
jmp 0x16052
movl %eax, %r12d
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x16184
movq 0x10(%rsp), %rax
movq (%rax), %rax
movq %rax, (%rsp)
leaq 0xd2f7(%rip), %rsi      # 0x23d28
leaq 0xda76(%rip), %rdx      # 0x244ae
leaq 0xca7e(%rip), %r8       # 0x234bd
xorl %ebx, %ebx
movl $0x3, %edi
movl $0x49a, %ecx            # imm = 0x49A
movl %r12d, %r9d
xorl %eax, %eax
callq 0x17d92
jmp 0x16184
movl $0xc, 0x48(%rbx)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movb $0x1, %bl
jmp 0x16184