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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
cmp qword [rsp + 0xd0], 0
je 0x180011947
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x28], 0
je 0x180011947
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x10], 0
je 0x180011947
mov rax, qword [rsp + 0xd0]
cmp qword [rax], 0
jne 0x180011951
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 8], 0
je 0x180011951
mov eax, 0xfffffffe
jmp 0x180014839
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xb
jne 0x180011980
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180011980
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x1e
ja case.default.0x180011a33
movsxd rax, dword [rsp + 0x88]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x14844]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
jne 0x180011a56
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
jmp 0x18001454c
cmp dword [rsp + 0x4c], 0x10
jae 0x180011ab4
cmp dword [rsp + 0x40], 0
jne 0x180011a69
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180011a5d
jmp 0x180011a56
xor eax, eax
test eax, eax
jne 0x180011a56
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
and eax, 2
test eax, eax
je 0x180011b62
cmp dword [rsp + 0x64], 0x8b1f
jne 0x180011b62
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
xor eax, eax
test eax, eax
jne 0x180011af7
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x180011b39
mov rax, qword [rsp + 0x80]
mov dword [rax], 1
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x180011b93
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 0x40], 0xffffffff
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x180011bc7
mov eax, dword [rsp + 0x64]
and eax, 0xff
shl eax, 8
mov ecx, dword [rsp + 0x64]
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
je 0x180011bed
mov rcx, qword [rsp + 0xd0]
lea rax, str.incorrect_header_check
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov eax, dword [rsp + 0x64]
and eax, 0xf
cmp eax, 8
je 0x180011c1f
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046a68]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov eax, dword [rsp + 0x64]
shr eax, 4
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 4
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180011c1f
mov eax, dword [rsp + 0x64]
and eax, 0xf
add eax, 8
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x28], 0
jne 0x180011c68
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x48]
mov dword [rcx + 0x28], eax
jmp 0x180011c9f
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x48], eax
jbe 0x180011c9f
mov rcx, qword [rsp + 0xd0]
lea rax, str.invalid_window_size
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov ecx, dword [rsp + 0x48]
mov eax, 1
shl eax, cl
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14], ecx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18000cc00
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rcx + 0x4c], eax
mov eax, dword [rsp + 0x64]
and eax, 0x200
test eax, eax
je 0x180011d00
mov dword [rsp + 0x8c], 9
jmp 0x180011d0b
mov dword [rsp + 0x8c], reloc.WS2_32.dll_inet_addr
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x8c]
mov dword [rcx], eax
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x180011d1c
jmp 0x18001454c
cmp dword [rsp + 0x4c], 0x10
jae 0x180011d95
cmp dword [rsp + 0x40], 0
jne 0x180011d4a
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180011d3e
jmp case.0x180011a33.1
xor eax, eax
test eax, eax
jne case.0x180011a33.1
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0xff
cmp eax, 8
je 0x180011de5
mov rcx, qword [rsp + 0xd0]
lea rax, str.unknown_compression_method
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0xe000
test eax, eax
je 0x180011e1f
mov rcx, qword [rsp + 0xd0]
lea rax, str.unknown_header_flags_set
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x180011e46
mov ecx, dword [rsp + 0x64]
shr ecx, 8
and ecx, 1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x180011e9c
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
xor eax, eax
test eax, eax
jne 0x180011e5a
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x180011e9c
mov rax, qword [rsp + 0x80]
mov dword [rax], 2
cmp dword [rsp + 0x4c], 0x20
jae 0x180011f1e
cmp dword [rsp + 0x40], 0
jne 0x180011ed3
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180011ec7
jmp case.0x180011a33.2
xor eax, eax
test eax, eax
jne case.0x180011a33.2
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x180011f46
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x180011fb2
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov eax, dword [rsp + 0x64]
shr eax, 0x10
mov byte [rsp + 0x6a], al
mov eax, dword [rsp + 0x64]
shr eax, 0x18
mov byte [rsp + 0x6b], al
mov r8d, 4
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
xor eax, eax
test eax, eax
jne 0x180011f5a
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x180011fb2
mov rax, qword [rsp + 0x80]
mov dword [rax], 3
cmp dword [rsp + 0x4c], 0x10
jae 0x180012034
cmp dword [rsp + 0x40], 0
jne 0x180011fe9
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180011fdd
jmp case.0x180011a33.3
xor eax, eax
test eax, eax
jne case.0x180011a33.3
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x180012078
mov ecx, dword [rsp + 0x64]
and ecx, 0xff
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x64]
shr ecx, 8
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x1800120ce
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
xor eax, eax
test eax, eax
jne 0x18001208c
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x1800120ce
mov rax, qword [rsp + 0x80]
mov dword [rax], 4
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x400
test eax, eax
je 0x18001220d
cmp dword [rsp + 0x4c], 0x10
jae 0x180012168
cmp dword [rsp + 0x40], 0
jne 0x18001211d
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012111
jmp 0x18001210a
xor eax, eax
test eax, eax
jne 0x18001210a
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x48], eax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x18001219f
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x1800121f5
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x64]
shr eax, 8
mov byte [rsp + 0x69], al
mov r8d, 2
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
xor eax, eax
test eax, eax
jne 0x1800121b3
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x1800121f5
jmp 0x180012230
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x180012230
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x400
test eax, eax
je 0x1800123bb
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jbe 0x180012277
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1800123a8
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x180012332
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
cmp qword [rax + 0x10], 0
je 0x180012332
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x20]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x48]
mov eax, dword [rdx + 0x18]
sub eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
cmp ecx, dword [rax + 0x1c]
jbe 0x180012305
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov ecx, dword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
sub eax, ecx
mov dword [rsp + 0x90], eax
jmp 0x180012310
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x90], eax
mov ecx, dword [rsp + 0x90]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov edi, dword [rsp + 0x48]
add rdi, qword [rax + 0x10]
mov rsi, qword [rsp + 0x58]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x18001236d
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rcx + 0x48]
sub ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x48], 0
je 0x1800123bb
jmp 0x180014551
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 6
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x800
test eax, eax
je 0x180012517
cmp dword [rsp + 0x40], 0
jne 0x1800123fc
jmp 0x180014551
mov dword [rsp + 0x6c], 0
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x18001249a
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
cmp qword [rax + 0x20], 0
je 0x18001249a
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
cmp dword [rcx + 0x48], eax
jae 0x18001249a
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x48]
mov rcx, qword [rcx + 0x20]
movzx eax, byte [rsp + 0x48]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x48]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
cmp dword [rsp + 0x48], 0
je 0x1800124af
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jb 0x180012404
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x1800124ea
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x48], 0
je 0x180012515
jmp 0x180014551
jmp 0x18001253a
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x18001253a
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x1000
test eax, eax
je 0x180012696
cmp dword [rsp + 0x40], 0
jne 0x18001257b
jmp 0x180014551
mov dword [rsp + 0x6c], 0
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x180012619
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
cmp qword [rax + 0x30], 0
je 0x180012619
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
cmp dword [rcx + 0x48], eax
jae 0x180012619
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x48]
mov rcx, qword [rcx + 0x30]
movzx eax, byte [rsp + 0x48]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x48]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
cmp dword [rsp + 0x48], 0
je 0x18001262e
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jb 0x180012583
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x180012669
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x48], 0
je 0x180012694
jmp 0x180014551
jmp 0x1800126b9
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x1800126b9
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], 8
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 0x200
test eax, eax
je 0x180012795
cmp dword [rsp + 0x4c], 0x10
jae 0x18001273d
cmp dword [rsp + 0x40], 0
jne 0x1800126f2
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x1800126e6
jmp 0x1800126df
xor eax, eax
test eax, eax
jne 0x1800126df
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
and eax, 0xffff
cmp dword [rsp + 0x64], eax
je 0x18001277f
mov rcx, qword [rsp + 0xd0]
lea rax, str.header_crc_mismatch
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x18001277f
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x1800127d7
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x10]
sar ecx, 9
and ecx, 1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18000d260
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_inet_addr
jmp 0x18001454c
cmp dword [rsp + 0x4c], 0x20
jae 0x180012877
cmp dword [rsp + 0x40], 0
jne 0x18001282c
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012820
jmp case.0x180011a33.9
xor eax, eax
test eax, eax
jne case.0x180011a33.9
mov ecx, dword [rsp + 0x64]
shr ecx, 0x18
and ecx, 0xff
mov eax, dword [rsp + 0x64]
shr eax, 8
and eax, 0xff00
add ecx, eax
mov eax, dword [rsp + 0x64]
and eax, 0xff00
shl eax, 8
add ecx, eax
mov eax, dword [rsp + 0x64]
and eax, 0xff
shl eax, 0x18
add ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], ecx
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rcx + 0x4c], eax
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x1800128d5
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xa
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0
jne 0x180012974
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x58]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x40], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x44], eax
xor eax, eax
test eax, eax
jne 0x180012907
mov eax, 2
jmp 0x180014839
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18000cc00
mov edx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x18], edx
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_inet_addr
cmp dword [rsp + 0xd8], 5
je 0x1800129c5
cmp dword [rsp + 0xd8], 6
jne case.0x180011a33.12
jmp 0x180014551
mov rax, qword [rsp + 0x80]
cmp dword [rax + 4], 0
je 0x180012a16
mov eax, dword [rsp + 0x4c]
and eax, 7
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
mov ecx, dword [rsp + 0x4c]
and ecx, 7
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x1800129d8
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1a
jmp 0x18001454c
cmp dword [rsp + 0x4c], 3
jae 0x180012a74
cmp dword [rsp + 0x40], 0
jne 0x180012a29
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012a1d
jmp 0x180012a16
xor eax, eax
test eax, eax
jne 0x180012a16
mov ecx, dword [rsp + 0x64]
and ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 4], ecx
mov eax, dword [rsp + 0x64]
shr eax, 1
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 1
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012a8c
mov eax, dword [rsp + 0x64]
and eax, 3
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x180012ae2
cmp dword [rsp + 0x94], 1
je 0x180012af2
cmp dword [rsp + 0x94], 2
je 0x180012b3a
cmp dword [rsp + 0x94], 3
je 0x180012b4a
jmp 0x180012b6b
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_listen
jmp 0x180012b6b
mov rcx, qword [rsp + 0x80]
call fcn.1800116a0
mov rdx, qword [rsp + 0x80]
mov dword [rdx], reloc.WS2_32.dll_send
cmp dword [rsp + 0xd8], 6
jne 0x180012b38
mov eax, dword [rsp + 0x64]
shr eax, 2
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 2
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012b17
jmp 0x180014551
jmp 0x180012b6b
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_recv
jmp 0x180012b6b
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046af8]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
mov eax, dword [rsp + 0x64]
shr eax, 2
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 2
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012b6b
jmp 0x18001454c
mov eax, dword [rsp + 0x4c]
and eax, 7
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
mov ecx, dword [rsp + 0x4c]
and ecx, 7
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne case.0x180011a33.13
cmp dword [rsp + 0x4c], 0x20
jae 0x180012c15
cmp dword [rsp + 0x40], 0
jne 0x180012bca
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012bbe
jmp 0x180012bb7
xor eax, eax
test eax, eax
jne 0x180012bb7
mov ecx, dword [rsp + 0x64]
and ecx, 0xffff
mov eax, dword [rsp + 0x64]
shr eax, 0x10
xor eax, 0xffff
cmp ecx, eax
je 0x180012c5b
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046b10]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov ecx, dword [rsp + 0x64]
and ecx, 0xffff
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x180012c70
mov rax, qword [rsp + 0x80]
mov dword [rax], select
cmp dword [rsp + 0xd8], 6
jne case.0x180011a33.14
jmp 0x180014551
mov rax, qword [rsp + 0x80]
mov dword [rax], select
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x180012d6a
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jbe 0x180012cdd
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x6c], eax
jbe 0x180012cef
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x180012cfb
jmp 0x180014551
mov ecx, dword [rsp + 0x6c]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
rep movsb byte [rdi], byte [rsi]
mov edx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x40]
sub eax, edx
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x50]
sub eax, ecx
mov dword [rsp + 0x50], eax
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rcx + 0x48]
sub ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_inet_addr
jmp 0x18001454c
cmp dword [rsp + 0x4c], 0xe
jae 0x180012ddb
cmp dword [rsp + 0x40], 0
jne 0x180012d90
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012d84
jmp case.0x180011a33.16
xor eax, eax
test eax, eax
jne case.0x180011a33.16
mov ecx, dword [rsp + 0x64]
and ecx, 0x1f
add ecx, 0x101
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x74], ecx
mov eax, dword [rsp + 0x64]
shr eax, 5
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 5
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012df9
mov ecx, dword [rsp + 0x64]
and ecx, 0x1f
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x78], ecx
mov eax, dword [rsp + 0x64]
shr eax, 5
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 5
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012e2a
mov ecx, dword [rsp + 0x64]
and ecx, 0xf
add ecx, 4
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x70], ecx
mov eax, dword [rsp + 0x64]
shr eax, 4
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 4
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012e5b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x74], 0x11e
ja 0x180012e96
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x78], 0x1e
jbe 0x180012ebc
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046b30]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_recvfrom
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x70]
cmp dword [rcx + 0x7c], eax
jae 0x180012fc0
cmp dword [rsp + 0x4c], 3
jae 0x180012f53
cmp dword [rsp + 0x40], 0
jne 0x180012f08
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012efc
jmp 0x180012ef5
xor eax, eax
test eax, eax
jne 0x180012ef5
mov edx, dword [rsp + 0x64]
and edx, 7
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
lea rax, [0x18003bdc8]
movzx ecx, word [rax + rcx*2]
mov rax, qword [rsp + 0x80]
mov word [rax + rcx*2 + 0x88], dx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], ecx
mov eax, dword [rsp + 0x64]
shr eax, 3
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 3
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180012f9f
jmp case.0x180011a33.17
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x7c], 0x13
jae 0x180013011
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
lea rax, [0x18003bdc8]
movzx edx, word [rax + rcx*2]
xor ecx, ecx
mov rax, qword [rsp + 0x80]
mov word [rax + rdx*2 + 0x88], cx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], ecx
jmp 0x180012fc0
mov rcx, qword [rsp + 0x80]
add rcx, 0x548
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x80], rcx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x68], 7
mov rcx, qword [rsp + 0x80]
add rcx, 0x308
mov rax, qword [rsp + 0x80]
add rax, 0x68
mov r9, qword [rsp + 0x80]
add r9, 0x80
mov rdx, qword [rsp + 0x80]
add rdx, 0x88
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r8d, reloc.WS2_32.dll_send
xor ecx, ecx
call fcn.180014960
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1800130da
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046b58]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], 0
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_select
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x74]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x78]
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x7c], ecx
jae 0x180013587
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x68]
mov eax, 1
shl eax, cl
mov ecx, eax
sub ecx, 1
mov eax, dword [rsp + 0x64]
and eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x58]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x3d]
cmp eax, dword [rsp + 0x4c]
ja 0x18001315d
jmp 0x1800131b7
cmp dword [rsp + 0x40], 0
jne 0x180013169
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x18001315d
jmp 0x18001311e
movzx eax, word [rsp + 0x3e]
cmp eax, 0x10
jge 0x180013226
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x1800131c1
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x7c]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rsp + 0x3e]
mov word [rcx + rdx*2 + 0x88], ax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], ecx
jmp 0x180013582
movzx eax, word [rsp + 0x3e]
cmp eax, 0x10
jne 0x18001334d
movzx eax, byte [rsp + 0x3d]
add eax, 2
cmp dword [rsp + 0x4c], eax
jae 0x180013299
cmp dword [rsp + 0x40], 0
jne 0x18001324e
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013242
jmp 0x180013234
xor eax, eax
test eax, eax
jne 0x180013234
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x18001329f
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x7c], 0
jne 0x1800132fa
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046b78]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x180013587
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x7c]
sub eax, 1
mov ecx, eax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + rcx*2 + 0x88]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x64]
and eax, 3
add eax, 3
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x64]
shr eax, 2
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 2
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x18001332c
jmp 0x1800134e8
movzx eax, word [rsp + 0x3e]
cmp eax, 0x11
jne 0x180013424
movzx eax, byte [rsp + 0x3d]
add eax, 3
cmp dword [rsp + 0x4c], eax
jae 0x1800133c0
cmp dword [rsp + 0x40], 0
jne 0x180013375
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013369
jmp 0x18001335b
xor eax, eax
test eax, eax
jne 0x18001335b
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x1800133c6
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x64]
and eax, 7
add eax, 3
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x64]
shr eax, 3
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 3
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013403
jmp 0x1800134e8
movzx eax, byte [rsp + 0x3d]
add eax, 7
cmp dword [rsp + 0x4c], eax
jae 0x180013489
cmp dword [rsp + 0x40], 0
jne 0x18001343e
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013432
jmp 0x180013424
xor eax, eax
test eax, eax
jne 0x180013424
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x18001348f
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x64]
and eax, 0x7f
add eax, 0xb
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x64]
shr eax, 7
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
sub eax, 7
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x1800134cc
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x7c]
add edx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x74]
mov rcx, qword [rsp + 0x80]
add eax, dword [rcx + 0x78]
cmp edx, eax
jbe 0x180013534
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046b98]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x180013587
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x6c]
sub eax, 1
mov dword [rsp + 0x6c], eax
test ecx, ecx
je 0x180013582
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x7c]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rsp + 0x48]
mov word [rcx + rdx*2 + 0x88], ax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x7c]
add ecx, 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x7c], ecx
jmp 0x180013534
jmp case.0x180011a33.18
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x1d
jne 0x180013599
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x288]
test eax, eax
jne 0x1800135d2
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046bb8]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov rcx, qword [rsp + 0x80]
add rcx, 0x548
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x80], rcx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x68], 9
mov rcx, qword [rsp + 0x80]
add rcx, 0x308
mov rax, qword [rsp + 0x80]
add rax, 0x68
mov r9, qword [rsp + 0x80]
add r9, 0x80
mov rdx, qword [rsp + 0x80]
add rdx, 0x88
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0x74]
mov ecx, 1
call fcn.180014960
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1800136a4
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046be0]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x6c], 6
mov rsi, qword [rsp + 0x80]
add rsi, 0x308
mov rdi, qword [rsp + 0x80]
add rdi, 0x6c
mov r9, qword [rsp + 0x80]
add r9, 0x80
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x74]
mov rax, qword [rsp + 0x80]
lea rdx, [rax + rcx*2 + 0x88]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0x78]
mov ecx, 2
call fcn.180014960
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x180013764
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046c00]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_send
cmp dword [rsp + 0xd8], 6
jne case.0x180011a33.19
jmp 0x180014551
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_sendto
cmp dword [rsp + 0x40], 6
jb 0x1800138a3
cmp dword [rsp + 0x50], 0x102
jb 0x1800138a3
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x58]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x40], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x44], eax
xor eax, eax
test eax, eax
jne 0x1800137a8
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xd0]
call fcn.180010740
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x18001381c
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xb
jne 0x18001389e
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], 0xffffffff
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], 0
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x68]
mov eax, 1
shl eax, cl
mov ecx, eax
sub ecx, 1
mov eax, dword [rsp + 0x64]
and eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x58]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x3d]
cmp eax, dword [rsp + 0x4c]
ja 0x1800138f4
jmp 0x18001394e
cmp dword [rsp + 0x40], 0
jne 0x180013900
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x1800138f4
jmp 0x1800138b5
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x180013a73
movzx eax, byte [rsp + 0x3c]
and eax, 0xf0
test eax, eax
jne 0x180013a73
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
movzx edi, word [rsp + 0x3a]
movzx ecx, byte [rsp + 0x39]
movzx eax, byte [rsp + 0x38]
add ecx, eax
mov eax, 1
shl eax, cl
sub eax, 1
mov edx, dword [rsp + 0x64]
and edx, eax
movzx eax, byte [rsp + 0x39]
movzx ecx, al
mov eax, edx
shr eax, cl
mov ecx, eax
mov eax, edi
add eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x58]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x3d]
add eax, ecx
cmp eax, dword [rsp + 0x4c]
ja 0x1800139d1
jmp 0x180013a2b
cmp dword [rsp + 0x40], 0
jne 0x1800139dd
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x1800139d1
jmp 0x180013975
movzx eax, byte [rsp + 0x39]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x39]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013a2b
movzx ecx, byte [rsp + 0x39]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013a73
movzx ecx, byte [rsp + 0x3d]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
movzx ecx, word [rsp + 0x3e]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x180013ae7
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x19
jmp 0x18001454c
movzx eax, byte [rsp + 0x3c]
and eax, 0x20
test eax, eax
je 0x180013b18
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], 0xffffffff
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_inet_addr
jmp 0x18001454c
movzx eax, byte [rsp + 0x3c]
and eax, 0x40
test eax, eax
je 0x180013b4a
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046c18]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
movzx ecx, byte [rsp + 0x3c]
and ecx, 0xf
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_setsockopt
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x50], 0
je 0x180013c76
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
cmp dword [rsp + 0x4c], eax
jae 0x180013be5
cmp dword [rsp + 0x40], 0
jne 0x180013b9a
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013b8e
jmp 0x180013b7d
xor eax, eax
test eax, eax
jne 0x180013b7d
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x50]
mov eax, 1
shl eax, cl
sub eax, 1
mov ecx, dword [rsp + 0x64]
and ecx, eax
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x48]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x50]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013c1c
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x50]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rcx + 0x1be0], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_shutdown
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x6c]
mov eax, 1
shl eax, cl
mov ecx, eax
sub ecx, 1
mov eax, dword [rsp + 0x64]
and eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x60]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x3d]
cmp eax, dword [rsp + 0x4c]
ja 0x180013cdc
jmp 0x180013d36
cmp dword [rsp + 0x40], 0
jne 0x180013ce8
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013cdc
jmp case.0x180011a33.22
movzx eax, byte [rsp + 0x3c]
and eax, 0xf0
test eax, eax
jne 0x180013e4e
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
movzx edi, word [rsp + 0x3a]
movzx ecx, byte [rsp + 0x39]
movzx eax, byte [rsp + 0x38]
add ecx, eax
mov eax, 1
shl eax, cl
sub eax, 1
mov edx, dword [rsp + 0x64]
and edx, eax
movzx eax, byte [rsp + 0x39]
movzx ecx, al
mov eax, edx
shr eax, cl
mov ecx, eax
mov eax, edi
add eax, ecx
mov ecx, eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x60]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x3d]
add eax, ecx
cmp eax, dword [rsp + 0x4c]
ja 0x180013dac
jmp 0x180013e06
cmp dword [rsp + 0x40], 0
jne 0x180013db8
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013dac
jmp 0x180013d50
movzx eax, byte [rsp + 0x39]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x39]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013e06
movzx ecx, byte [rsp + 0x39]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
movzx eax, byte [rsp + 0x3d]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
movzx ecx, byte [rsp + 0x3d]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013e4e
movzx ecx, byte [rsp + 0x3d]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
movzx eax, byte [rsp + 0x3c]
and eax, 0x40
test eax, eax
je 0x180013ec8
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046c38]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
movzx ecx, word [rsp + 0x3e]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x4c], ecx
movzx ecx, byte [rsp + 0x3c]
and ecx, 0xf
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_socket
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x50], 0
je 0x180014004
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
cmp dword [rsp + 0x4c], eax
jae 0x180013f73
cmp dword [rsp + 0x40], 0
jne 0x180013f28
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013f1c
jmp 0x180013f0b
xor eax, eax
test eax, eax
jne 0x180013f0b
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x50]
mov eax, 1
shl eax, cl
sub eax, 1
mov ecx, dword [rsp + 0x64]
and ecx, eax
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x4c]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x4c], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
movzx ecx, al
mov eax, dword [rsp + 0x64]
shr eax, cl
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x50]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180013faa
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x1bdc]
mov rax, qword [rsp + 0x80]
add ecx, dword [rax + 0x50]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1bdc], ecx
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x18
cmp dword [rsp + 0x50], 0
jne 0x18001401e
jmp 0x180014551
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x78]
sub eax, ecx
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x6c]
cmp dword [rcx + 0x4c], eax
jbe 0x180014130
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rax + 0x4c]
sub eax, ecx
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x30]
cmp dword [rsp + 0x6c], eax
jbe 0x18001409e
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x1bd8], 0
je 0x18001409e
mov rcx, qword [rsp + 0xd0]
lea rax, [0x180046c50]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x34]
cmp dword [rsp + 0x6c], eax
jbe 0x1800140ea
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x34]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rax + 0x2c]
sub eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x38]
mov qword [rsp + 0x70], rax
jmp 0x18001410e
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rax + 0x34]
sub eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
cmp dword [rsp + 0x6c], eax
jbe 0x18001412e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x6c], eax
jmp 0x180014157
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x4c]
mov rax, qword [rsp + 0x30]
sub rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x6c], eax
jbe 0x180014169
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x50]
sub eax, ecx
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rcx + 0x48]
sub ecx, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x48], ecx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
add rax, 1
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x6c]
sub eax, 1
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x180014193
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x48], 0
jne 0x1800141ec
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_sendto
jmp 0x18001454c
cmp dword [rsp + 0x50], 0
jne 0x1800141fd
jmp 0x180014551
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x48]
mov byte [rcx], al
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
sub eax, 1
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], reloc.WS2_32.dll_sendto
jmp 0x18001454c
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x180014436
cmp dword [rsp + 0x4c], 0x20
jae 0x1800142ac
cmp dword [rsp + 0x40], 0
jne 0x180014261
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x180014255
jmp 0x18001424e
xor eax, eax
test eax, eax
jne 0x18001424e
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x78]
sub eax, ecx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x1c]
add ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x1c]
add ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1c], ecx
cmp dword [rsp + 0x78], 0
je 0x180014383
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x180014337
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov dword [rsp + 0x98], eax
jmp 0x18001435f
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000cc00
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x98]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0x98]
mov dword [rcx + 0x4c], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x1800143a6
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x9c], eax
jmp 0x1800143e6
mov eax, dword [rsp + 0x64]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [rsp + 0x64]
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, dword [rsp + 0x64]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov ecx, dword [rsp + 0x64]
and ecx, 0xff
shl ecx, 0x18
add eax, ecx
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x9c], eax
je 0x180014420
mov rcx, qword [rsp + 0xd0]
lea rax, str.incorrect_data_check
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x180014420
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x180014516
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x180014516
cmp dword [rsp + 0x4c], 0x20
jae 0x1800144c6
cmp dword [rsp + 0x40], 0
jne 0x18001447b
jmp 0x180014551
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx edx, byte [rax]
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
add rax, 1
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4c]
add eax, 8
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x18001446f
jmp 0x180014468
xor eax, eax
test eax, eax
jne 0x180014468
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x64], eax
je 0x180014500
mov rcx, qword [rsp + 0xd0]
lea rax, str.incorrect_length_check
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1d
jmp 0x18001454c
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x4c], 0
xor eax, eax
test eax, eax
jne 0x180014500
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1c
mov dword [rsp + 0x60], 1
jmp 0x180014551
mov dword [rsp + 0x60], 0xfffffffd
jmp 0x180014551
mov eax, 0xfffffffc
jmp 0x180014839
mov eax, 0xfffffffe
jmp 0x180014839
jmp 0x1800119fb
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0x50]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x58]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x40], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x44], eax
xor eax, eax
test eax, eax
jne 0x180014551
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x2c], 0
jne 0x1800145f7
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x78], eax
je 0x18001463f
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x1d
jge 0x18001463f
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x1a
jl 0x1800145f7
cmp dword [rsp + 0xd8], 4
je 0x18001463f
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x18]
mov r8d, dword [rsp + 0x78]
sub r8d, eax
mov rdx, qword [rsp + 0xd0]
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rsp + 0xd0]
call fcn.1800116e0
test eax, eax
je 0x18001463f
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x1e
mov eax, 0xfffffffc
jmp 0x180014839
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 8]
mov eax, dword [rsp + 0x44]
sub eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x18]
mov eax, dword [rsp + 0x78]
sub eax, ecx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0xc]
add ecx, dword [rsp + 0x44]
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x1c]
add ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x1c]
add ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x180014766
cmp dword [rsp + 0x78], 0
je 0x180014766
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x180014713
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0xd0]
mov rdx, qword [rdx + 0x10]
sub rdx, rax
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000d260
mov dword [rsp + 0xa0], eax
jmp 0x180014742
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0xd0]
mov rdx, qword [rdx + 0x10]
sub rdx, rax
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x18]
call fcn.18000cc00
mov dword [rsp + 0xa0], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0xa0]
mov dword [rcx + 0x18], eax
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rsp + 0xa0]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 4], 0
je 0x180014781
mov dword [rsp + 0xa4], 0x40
jmp 0x18001478c
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xb
jne 0x1800147a6
mov dword [rsp + 0xa8], 0x80
jmp 0x1800147b1
mov dword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x13
je 0x1800147d8
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xe
je 0x1800147d8
mov dword [rsp + 0xac], 0
jmp 0x1800147e3
mov dword [rsp + 0xac], 0x100
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x44]
add ecx, dword [rsp + 0xa4]
add ecx, dword [rsp + 0xa8]
add ecx, dword [rsp + 0xac]
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x48], ecx
cmp dword [rsp + 0x44], 0
jne 0x18001481c
cmp dword [rsp + 0x78], 0
je 0x180014826
cmp dword [rsp + 0xd8], 4
jne 0x180014835
cmp dword [rsp + 0x60], 0
jne 0x180014835
mov dword [rsp + 0x60], 0xfffffffb
mov eax, dword [rsp + 0x60]
add rsp, 0xb8
pop rdi
pop rsi
ret