Function at 0x50009000
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov byte [rsp + 0x60], 1
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x21], 0
lea rax, [0x500170c0]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x26], 0
mov byte [rsp + 0x32], 0
mov r8d, 0x25
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.500060a0
mov byte [rsp + 0x27], reloc.WS2_32.dll_recv
jmp 0x50009065
movzx eax, byte [rsp + 0x27]
dec al
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x50009196
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x41], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
sub eax, 0x26
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xcd
ja case.0x500090d4.39
movsxd rax, dword [rsp + 0x54]
lea rcx, [0x50000000]
movzx eax, byte [rcx + rax + 0xa118]
mov eax, dword [rcx + rax*4 + 0xa0e8]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 1], cl
movzx eax, byte [rsp + 0x21]
or eax, 4
mov byte [rsp + 0x21], al
jmp 0x50009191
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 1], cl
movzx eax, byte [rsp + 0x21]
or eax, 2
mov byte [rsp + 0x21], al
jmp 0x50009191
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 2], cl
movzx eax, byte [rsp + 0x21]
or eax, 0x20
mov byte [rsp + 0x21], al
jmp 0x50009191
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 3], cl
movzx eax, byte [rsp + 0x21]
or eax, 0x40
mov byte [rsp + 0x21], al
jmp 0x50009191
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 4], cl
movzx eax, byte [rsp + 0x21]
or eax, 8
mov byte [rsp + 0x21], al
jmp 0x50009191
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 5], cl
movzx eax, byte [rsp + 0x21]
or eax, 0x10
mov byte [rsp + 0x21], al
jmp 0x50009191
jmp 0x50009196
jmp 0x5000905a
movzx eax, byte [rsp + 0x21]
shl eax, 0x17
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x500091be
movzx eax, byte [rsp + 0x21]
or eax, 1
mov byte [rsp + 0x21], al
xor eax, eax
cmp eax, 1
je 0x500092bf
movzx eax, byte [rsp + 0x20]
and eax, 0xf0
cmp eax, 0x40
jne 0x500092bf
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
bts eax, 0x1e
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x20]
and eax, 0xf
sar eax, 3
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x64]
mov byte [rax + 7], cl
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x5000923d
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
and eax, 0xf8
cmp eax, 0xb8
jne 0x5000923d
movzx eax, byte [rsp + 0x32]
inc al
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x20]
and eax, 7
sar eax, 2
mov rcx, qword [rsp + 0xc0]
mov byte [rcx + 8], al
movzx eax, byte [rsp + 0x20]
and eax, 3
sar eax, 1
mov rcx, qword [rsp + 0xc0]
mov byte [rcx + 9], al
movzx eax, byte [rsp + 0x20]
and eax, 1
mov rcx, qword [rsp + 0xc0]
mov byte [rcx + 0xa], al
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x42], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x42]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
and eax, 0xf0
cmp eax, 0x40
jne 0x500092bf
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
jmp 0x500093bf
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0xb], cl
movzx eax, byte [rsp + 0x20]
cmp eax, 0xf
jne 0x5000931b
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x43], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x43]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0xc], cl
mov rax, qword [rsp + 0x38]
add rax, 0x4a
mov qword [rsp + 0x38], rax
jmp 0x50009364
movzx eax, byte [rsp + 0x20]
cmp eax, 0xa0
jl 0x50009364
movzx eax, byte [rsp + 0x20]
cmp eax, 0xa3
jg 0x50009364
movzx eax, byte [rsp + 0x32]
inc al
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x21]
and eax, 0x10
test eax, eax
je 0x50009358
movzx eax, byte [rsp + 0x21]
or eax, 8
mov byte [rsp + 0x21], al
jmp 0x50009364
movzx eax, byte [rsp + 0x21]
and eax, 0xfffffff7
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x70], eax
movzx ecx, byte [rsp + 0x23]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
cmp eax, 0xff
jne 0x500093f7
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x23]
and eax, 0xfffffffd
cmp eax, 0x24
jne 0x500093f7
movzx eax, byte [rsp + 0x22]
inc al
mov byte [rsp + 0x22], al
mov byte [rsp + 0x27], 0
movzx eax, byte [rsp + 0x22]
and eax, 0x80
test eax, eax
je 0x50009437
movzx eax, byte [rsp + 0x22]
and eax, 0x7f
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax]
mov word [rsp + 0x4c], ax
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x22], al
movzx eax, word [rsp + 0x4c]
sar eax, 8
mov byte [rsp + 0x27], al
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x500094c1
lea rax, [0x500170c0]
add rax, 0x13c
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x23]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x74], eax
movzx ecx, byte [rsp + 0x23]
mov eax, ecx
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x21]
and eax, ecx
test eax, eax
je 0x500094c1
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x22]
and eax, 1
test eax, eax
je 0x50009cbf
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 1
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x44], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0xd], cl
movzx eax, byte [rsp + 0x20]
sar eax, 6
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x25]
mov byte [rax + 0xe], cl
movzx eax, byte [rsp + 0x20]
and eax, 7
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x31]
mov byte [rax + 0x10], cl
movzx eax, byte [rsp + 0x20]
and eax, 0x3f
sar eax, 3
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0xf], cl
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x500095ac
movzx eax, byte [rsp + 0x27]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
and eax, 0x80
test eax, eax
je 0x500095ac
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xc]
test eax, eax
jne 0x50009686
movzx eax, byte [rsp + 0x23]
cmp eax, 0xd9
jl 0x50009686
movzx eax, byte [rsp + 0x23]
cmp eax, 0xdf
jg 0x50009686
movzx eax, byte [rsp + 0x23]
sub eax, 0xd9
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x25]
cmp eax, 3
jne 0x50009632
lea rax, [0x500170c0]
movzx ecx, byte [rsp + 0x30]
shl ecx, 3
movsxd rcx, ecx
lea rax, [rax + rcx + 0x104]
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x31]
shl eax, cl
mov byte [rsp + 0x30], al
jmp 0x5000965d
lea rax, [0x500170c0]
add rax, 0xfd
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
and eax, 0x80
test eax, eax
je 0x50009686
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x3000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x21]
and eax, 0x20
test eax, eax
je 0x500097b4
movzx eax, byte [rsp + 0x25]
cmp eax, 3
jne 0x500096c0
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
jmp 0x500097b4
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x500096fe
lea rax, [0x500170c0]
add rax, 0x1c6
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x12
mov qword [rsp + 0x90], rax
jmp 0x5000972d
lea rax, [0x500170c0]
add rax, 0x1ae
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x90], rax
movzx eax, byte [rsp + 0x40]
and eax, 0xfffffffe
mov byte [rsp + 0x40], al
jmp 0x5000973c
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x38], rax
je 0x50009799
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov dword [rsp + 0x7c], eax
movzx eax, byte [rsp + 0x40]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x7c], eax
jne 0x50009797
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x50009795
jmp 0x500097b4
jmp 0x50009799
jmp 0x5000972f
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x5000984f
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x50], al
cmp byte [rsp + 0x50], 0x20
je 0x500097ef
cmp byte [rsp + 0x50], 0x21
je 0x5000981e
cmp byte [rsp + 0x50], 0x22
je 0x500097ef
cmp byte [rsp + 0x50], 0x23
je 0x5000981e
jmp 0x5000984d
mov byte [rsp + 0x25], 3
movzx eax, byte [rsp + 0x24]
cmp eax, 4
jg 0x50009808
movzx eax, byte [rsp + 0x24]
cmp eax, 1
jne 0x50009814
jmp 0x50009a47
jmp 0x50009a62
mov byte [rsp + 0x25], 3
movzx eax, byte [rsp + 0x24]
cmp eax, 4
je 0x50009837
movzx eax, byte [rsp + 0x24]
cmp eax, 5
jne 0x50009843
jmp 0x50009a47
jmp 0x50009a62
jmp 0x500098b2
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x68], al
cmp byte [rsp + 0x68], 0x8c
je 0x50009868
cmp byte [rsp + 0x68], 0x8e
je 0x50009888
jmp 0x500098b2
movzx eax, byte [rsp + 0x24]
cmp eax, 5
jle 0x5000987e
jmp 0x50009a47
jmp 0x50009a62
movzx eax, byte [rsp + 0x24]
cmp eax, 1
je 0x5000989c
movzx eax, byte [rsp + 0x24]
cmp eax, 5
jle 0x500098a8
jmp 0x50009a47
jmp 0x50009a62
movzx eax, byte [rsp + 0x25]
cmp eax, 3
jne 0x500099d7
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x500098f5
lea rax, [0x500170c0]
add rax, 0x1e7
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x2a
mov qword [rsp + 0x98], rax
jmp 0x50009918
lea rax, [0x500170c0]
add rax, 0x1d8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0xf
mov qword [rsp + 0x98], rax
jmp 0x50009928
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x38], rax
jae 0x500099cb
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov dword [rsp + 0x84], eax
movzx eax, byte [rsp + 0x23]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x84], eax
jne 0x500099c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x21]
and eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x88], 0
je 0x500099c4
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x24]
shl eax, cl
and eax, 0x80
test eax, eax
jne 0x500099c4
jmp 0x50009a47
jmp 0x500099cb
jmp 0x5000991a
jmp 0x50009a62
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x50009a43
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x48], al
cmp byte [rsp + 0x48], 0x50
je 0x50009a15
cmp byte [rsp + 0x48], 0xc5
je 0x50009a39
cmp byte [rsp + 0x48], 0xd6
je 0x50009a27
cmp byte [rsp + 0x48], 0xd7
je 0x50009a15
cmp byte [rsp + 0x48], 0xf7
je 0x50009a15
jmp 0x50009a3d
movzx eax, byte [rsp + 0x21]
and eax, 9
test eax, eax
je 0x50009a25
jmp 0x50009a47
jmp 0x50009a3d
movzx eax, byte [rsp + 0x21]
and eax, 6
test eax, eax
je 0x50009a37
jmp 0x50009a47
jmp 0x50009a3d
jmp 0x50009a47
jmp 0x50009a62
jmp 0x50009a62
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x11000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x45], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x45]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x24]
cmp eax, 1
jg 0x50009ac0
movzx eax, byte [rsp + 0x23]
cmp eax, 0xf6
jne 0x50009aa8
movzx eax, byte [rsp + 0x22]
or eax, 2
mov byte [rsp + 0x22], al
jmp 0x50009ac0
movzx eax, byte [rsp + 0x23]
cmp eax, 0xf7
jne 0x50009ac0
movzx eax, byte [rsp + 0x22]
or eax, 0x10
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x58], al
cmp byte [rsp + 0x58], 0
je 0x50009ae0
cmp byte [rsp + 0x58], 1
je 0x50009b0e
cmp byte [rsp + 0x58], 2
je 0x50009b15
jmp 0x50009b31
movzx eax, byte [rsp + 0x21]
and eax, 0x10
test eax, eax
je 0x50009afd
movzx eax, byte [rsp + 0x31]
cmp eax, 6
jne 0x50009afb
mov byte [rsp + 0x26], 2
jmp 0x50009b0c
movzx eax, byte [rsp + 0x31]
cmp eax, 5
jne 0x50009b0c
mov byte [rsp + 0x26], 4
jmp 0x50009b31
mov byte [rsp + 0x26], 1
jmp 0x50009b31
mov byte [rsp + 0x26], 2
movzx eax, byte [rsp + 0x21]
and eax, 0x10
test eax, eax
jne 0x50009b31
movzx eax, byte [rsp + 0x26]
shl al, 1
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x25]
cmp eax, 3
je 0x50009bee
movzx eax, byte [rsp + 0x31]
cmp eax, 4
jne 0x50009bee
xor eax, eax
cmp eax, 1
je 0x50009bee
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 2
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0x11], cl
movzx eax, byte [rsp + 0x20]
sar eax, 6
mov rcx, qword [rsp + 0xc0]
mov byte [rcx + 0x12], al
movzx eax, byte [rsp + 0x20]
and eax, 0x3f
sar eax, 3
mov rcx, qword [rsp + 0xc0]
mov byte [rcx + 0x13], al
movzx eax, byte [rsp + 0x20]
and eax, 7
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x6c]
mov byte [rax + 0x14], cl
movzx eax, byte [rsp + 0x6c]
cmp eax, 5
jne 0x50009bee
movzx eax, byte [rsp + 0x25]
and eax, 1
test eax, eax
jne 0x50009bee
mov byte [rsp + 0x26], 4
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x5c], al
cmp byte [rsp + 0x5c], 1
je 0x50009c1e
cmp byte [rsp + 0x5c], 2
je 0x50009c4c
cmp byte [rsp + 0x5c], 4
je 0x50009c7c
jmp 0x50009ca8
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x40
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
mov byte [rax + 0x1d], cl
jmp 0x50009ca8
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
bts eax, 7
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x1d], cx
jmp 0x50009ca8
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
bts eax, 8
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 0x1d], ecx
movzx eax, byte [rsp + 0x26]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x50009ce6
movzx eax, byte [rsp + 0x21]
and eax, 0x20
test eax, eax
je 0x50009ce6
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x9000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
movzx eax, byte [rsp + 0x22]
and eax, 0x10
test eax, eax
je 0x50009e88
movzx eax, byte [rsp + 0x22]
and eax, 0x40
test eax, eax
je 0x50009d5f
movzx eax, byte [rsp + 0x21]
and eax, 8
test eax, eax
je 0x50009d55
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x208
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
jmp 0x5000a076
jmp 0x50009fe9
xor eax, eax
cmp eax, 1
je 0x50009e06
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x50009db0
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x20
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x15], rcx
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
jmp 0x50009e01
movzx eax, byte [rsp + 0x21]
and eax, 8
test eax, eax
jne 0x50009df7
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x10
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
jmp 0x50009e01
jmp 0x50009e9f
jmp 0x50009e88
movzx eax, byte [rsp + 0x21]
and eax, 8
test eax, eax
je 0x50009e4f
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 8
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
jmp 0x50009e88
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x10
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x22]
and eax, 4
test eax, eax
je 0x50009f8f
xor eax, eax
cmp eax, 1
je 0x50009ed1
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 8
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
jmp 0x50009f81
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
and eax, 0x10
test eax, eax
je 0x50009f12
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 8
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x1d], cx
jmp 0x50009f81
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
and eax, 8
test eax, eax
je 0x50009f54
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
bts eax, 0xb
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x1d], cx
jmp 0x50009f81
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 8
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov word [rax + 0x15], cx
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x22]
and eax, 2
test eax, eax
je 0x50009fdd
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 4
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x46], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x46]
mov byte [rax + 0x15], cl
movzx eax, byte [rsp + 0x22]
and eax, 0x40
test eax, eax
je 0x5000a026
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x210
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 0x15], ecx
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
jmp 0x5000a076
movzx eax, byte [rsp + 0x22]
and eax, 0x20
test eax, eax
je 0x5000a076
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x204
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x47], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x47]
mov byte [rax + 0x15], cl
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov qword [rsp + 0xa0], rcx
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0xa0]
mov byte [rax], cl
movzx eax, byte [rsp + 0xa0]
cmp eax, 0xf
jle 0x5000a0d3
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x21]
or eax, 0x5000
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x21], eax
mov rax, qword [rsp + 0xc0]
mov byte [rax], reloc.WS2_32.dll_ntohs
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax]
add rsp, 0xb8
ret