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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rdi, rcx
xor ebx, ebx
mov ecx, 1
mov eax, dword [rdi + 0x204]
mov rsi, rdx
mov qword [rbp - 0x58], rbx
mov dword [rbp + 0x60], eax
mov eax, dword [rdi + 0x208]
mov qword [rbp + 0xa0], rcx
mov dword [rdi + 0x204], eax
inc eax
mov dword [rdi + 0x208], eax
mov rax, qword [rdi]
mov qword [rsp + 0x70], rax
test rdx, rdx
je 0x180085ded
cmp byte [rax + 0x55], bl
jne 0x180085ded
cmp dword [rdi + 0x50], ebx
jne 0x180085ded
lea edx, [rbx + 0x15]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call fcn.180057fe0
test eax, eax
je 0x180083403
lea eax, [rbx + 1]
add rsp, 0x1e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x120]
cmp byte [rax], 8
ja 0x180083447
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.18004de30
and dword [rsi + 0xc], 0xfffffffe
mov qword [rsi + 0x40], rbx
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.180082840
mov rax, qword [rsi + 0x40]
mov r9, qword [rsi + 0x20]
xor r11d, r11d
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x68], r9
mov qword [rbp + 0x70], r11
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], r11
mov qword [rbp + 0x80], r11
mov qword [rbp + 0x88], r11
mov qword [rbp + 0x90], r11
cmp dword [rdi + 0x50], ebx
jne 0x1800834e0
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x55], bl
jne 0x180085c6e
mov rax, qword [rbp + 0x120]
mov r8d, dword [rsi + 0xc]
movzx ecx, byte [rax]
mov rax, qword [rsi]
shr r8d, 3
and r8d, 1
cmp dword [rax], 1
mov dword [rbp + 0x128], r8d
jle 0x18008353d
cmp ecx, 0xa
je 0x1800834cc
cmp ecx, 0xb
jne 0x18008353d
lea rdx, str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov rcx, rdi
call fcn.180015500
mov r9, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
cmp dword [rbp + 0xa0], 0
mov ecx, dword [rbp + 0x60]
mov dword [rdi + 0x204], ecx
jne 0x180083512
mov rax, qword [rbp + 0x120]
cmp byte [rax], 9
jne 0x180083512
mov r8, qword [rbp - 0x58]
mov rdx, r9
mov rcx, rdi
call fcn.18007c020
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x180085cfc
cmp qword [rsi + 0x290], 0
je 0x180085c76
mov rdx, rbx
mov rcx, rsi
call fcn.180012190
jmp 0x180085cfc
mov r10, qword [rbp + 0x118]
mov esi, ebx
mov rax, rbx
mov qword [rbp - 0x50], rbx
cmp qword [r10 + 0x48], rbx
jne 0x180083636
cmp esi, dword [r9]
jge 0x18008362f
imul rax, rax, 0x78
mov rdx, qword [rax + r9 + 0x30]
mov r9, qword [rax + r9 + 0x28]
test rdx, rdx
je 0x180083613
mov rax, qword [rdx]
movsx ecx, word [r9 + 0x3e]
cmp ecx, dword [rax]
jne 0x180083682
mov edi, dword [rdx + 0xc]
mov rcx, qword [rbp + 0x110]
mov r9d, r8d
shr edi, 3
mov r8d, esi
mov rdx, r10
and edi, 1
mov dword [rsp + 0x20], edi
call fcn.180080580
test eax, eax
je 0x1800835d1
test edi, edi
je 0x1800835c6
mov rax, qword [rbp + 0x118]
mov dword [rbp + 0x128], 1
or dword [rax + 0xc], 8
or esi, 0xffffffff
mov qword [rbp - 0x50], 0xffffffffffffffff
mov rax, qword [rbp + 0x118]
mov rcx, qword [rsp + 0x70]
mov r9, qword [rax + 0x20]
mov qword [rsp + 0x68], r9
cmp byte [rcx + 0x55], bl
jne 0x180085c5a
mov rcx, qword [rbp + 0x120]
mov r8d, dword [rbp + 0x128]
mov r10, rax
cmp byte [rcx], 8
jbe 0x180083618
mov rdx, qword [rax + 0x40]
mov qword [rbp - 0x78], rdx
mov qword [rbp + 0x70], rdx
jmp 0x180083618
mov r9, qword [rsp + 0x68]
mov rax, qword [rbp - 0x50]
inc esi
inc rax
mov qword [rbp - 0x50], rax
cmp qword [r10 + 0x48], rbx
je 0x180083557
mov rdi, qword [rbp + 0x110]
mov rcx, rdi
call fcn.18007cda0
mov rsi, rax
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1800834db
mov rcx, qword [rbp + 0x118]
cmp qword [rcx + 0x48], rbx
je 0x1800836ab
mov r8, qword [rbp + 0x120]
mov rdx, rcx
mov rcx, rdi
call fcn.18007da20
mov ecx, dword [rbp + 0x60]
mov dword [rdi + 0x204], ecx
add rsp, 0x1e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rax]
movsx r8d, word [r9 + 0x3e]
mov rdi, qword [rbp + 0x110]
mov r9, qword [r9]
lea rdx, str.expected__d_columns_for__s_but_got__d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180015500
jmp 0x1800834db
mov r10, qword [rsp + 0x68]
mov rax, rbx
mov r9d, ebx
mov dword [rsp + 0x64], ebx
mov qword [rbp + 0x68], rbx
cmp dword [r10], eax
jle 0x180083758
nop word [rax + rax]
mov rdi, rax
imul rdi, rdi, 0x78
mov rax, qword [rdi + r10 + 0x30]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x180083735
mov edx, dword [rdi + r10 + 0x38]
test edx, edx
je 0x180083882
test byte [rdi + r10 + 0x48], 0x10
jne 0x180083735
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov r8d, dword [rdi + r10 + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180083852
mov r9d, edx
mov rcx, rsi
mov edx, ntohs
mov dword [rsp + 0x20], ebx
call fcn.180035690
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x118]
mov rdi, qword [rbp + 0x110]
mov rax, qword [rbp + 0x68]
inc r9d
inc rax
mov dword [rsp + 0x64], r9d
mov qword [rbp + 0x68], rax
cmp r9d, dword [r10]
jl 0x1800836d0
mov rax, qword [rcx + 0x28]
mov r9, qword [rcx]
mov rdx, qword [rcx + 0x38]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx + 0x30]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x80], rax
movzx eax, byte [rcx + 0xc]
mov qword [rbp + 0x98], rdx
and al, 1
mov byte [rbp - 0x28], al
mov eax, dword [rcx + 0xc]
and al, 9
cmp al, 1
jne 0x1800837d2
mov rcx, qword [rbp - 0x78]
or r8d, 0xffffffff
mov rdx, r9
call fcn.180052eb0
test eax, eax
jne 0x1800837ce
mov rax, qword [rbp + 0x118]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rsp + 0x70]
and dword [rax + 0xc], 0xfffffffe
xor r8d, r8d
call fcn.18004d4f0
mov rdx, rax
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x118]
mov qword [rax + 0x30], rdx
mov r9, qword [rbp - 0x58]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x180083bea
mov r9d, dword [r9]
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.18007ab50
mov r10d, dword [rdi + 0x54]
lea ecx, [r10 + 1]
mov r8, rax
mov qword [rsp + 0x58], rax
mov rax, qword [rbp - 0x58]
mov dword [rdi + 0x54], ecx
movsxd r11, dword [rsi + 0x3c]
mov edx, dword [rax]
mov rax, qword [rbp - 0x78]
mov dword [rbp + 0x7c], r10d
mov ecx, dword [rax]
mov dword [rbp - 0x70], r11d
lea r9d, [rdx + rcx + 1]
mov rcx, qword [rsi + 0x30]
cmp dword [rcx + 0x64], r11d
jg 0x180083b4a
mov r8d, r10d
mov edx, 0x39
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180035690
mov r8, qword [rsp + 0x58]
mov r11d, eax
mov dword [rbp - 0x70], eax
jmp 0x180083b77
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], ntohs
jmp 0x18008372e
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
call fcn.18004c310
mov r9, qword [rbp + 0x110]
mov eax, dword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
add dword [r9 + 0x200], eax
test byte [rdi + r10 + 0x44], 0x20
jne 0x1800838d9
mov r9d, dword [rdi + r10 + 0x50]
mov r10, qword [rbp + 0x118]
mov rdx, qword [rbp - 0x80]
mov r8, qword [r10 + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.180080b90
mov r9, qword [rbp + 0x110]
mov r10, qword [rsp + 0x68]
cmp qword [rbp + 0x68], 0
jne 0x1800839bf
cmp dword [r10], 1
je 0x1800838f8
test byte [r10 + 0xbc], 0xa
je 0x1800839bf
mov rax, qword [rbp + 0x118]
test byte [rax + 0xc], 2
jne 0x1800839bf
mov rax, qword [rsp + 0x70]
mov ecx, 0x100
test word [rax + 0x50], cx
jne 0x1800839bf
mov r8d, dword [r9 + 0x58]
mov ebx, dword [rsi + 0x3c]
mov rcx, rsi
inc r8d
inc ebx
mov dword [r9 + 0x58], r8d
xor r9d, r9d
mov dword [rdi + r10 + 0x3c], r8d
lea edx, [r9 + 0x10]
mov dword [rsp + 0x20], ebx
call fcn.1800356f0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x110]
mov eax, dword [rdi + rdx + 0x3c]
mov dword [rdi + rdx + 0x38], ebx
lea r8, [rbp - 0x28]
mov dword [rbp - 0x24], eax
xor eax, eax
mov word [rbp - 0x28], ntohs
mov qword [rbp - 0x20], rax
movzx eax, byte [rcx + 0x208]
mov byte [rdi + rdx + 0x4c], al
mov rdx, qword [rbp - 0x80]
call fcn.180083360
mov rcx, qword [rsp + 0x68]
mov rax, qword [rbp - 0x80]
movzx eax, word [rax + 0xa]
mov r11, qword [rdi + rcx + 0x28]
mov word [r11 + 0x42], ax
mov eax, dword [rbp - 0x20]
mov edx, dword [rdi + rcx + 0x3c]
or dword [rdi + rcx + 0x48], 0x10
mov dword [rdi + rcx + 0x40], eax
mov rcx, rsi
call fcn.180035ce0
lea edx, [rbx - 1]
mov rcx, rsi
call fcn.1800360f0
jmp 0x180083af8
mov r8d, dword [r9 + 0x58]
mov dword [rsp + 0x50], ebx
inc r8d
mov dword [r9 + 0x58], r8d
mov dword [rdi + r10 + 0x3c], r8d
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ebx
jg 0x180083a07
xor eax, eax
mov r9d, r8d
mov rcx, rsi
lea edx, [rax + 0x16]
xor r8d, r8d
mov dword [rsp + 0x20], eax
call fcn.180035690
mov r9, qword [rbp + 0x110]
mov r10, qword [rsp + 0x68]
mov ebx, eax
jmp 0x180083a34
lea rcx, [rbx + rbx*2]
xor edx, edx
lea eax, [rbx + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
test byte [rdi + r10 + 0x48], 8
lea eax, [rbx + 1]
mov dword [rdi + r10 + 0x38], eax
jne 0x180083a55
mov rcx, r9
call fcn.18004e470
mov r10, qword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov ecx, dword [rdi + r10 + 0x50]
mov rdx, qword [rbp - 0x80]
xor eax, eax
mov dword [rbp - 0x24], ecx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x110]
movzx ecx, byte [rax + 0x208]
lea r8, [rbp - 0x28]
mov word [rbp - 0x28], ntohs
mov byte [rdi + r10 + 0x4c], cl
mov rcx, rax
call fcn.180083360
mov rax, qword [rbp - 0x80]
mov r10, qword [rsp + 0x68]
movzx eax, word [rax + 0xa]
mov r11, qword [rdi + r10 + 0x28]
mov word [r11 + 0x42], ax
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x180083ab5
mov edx, eax
mov rcx, rsi
call fcn.1800360f0
mov r8d, dword [rdi + r10 + 0x3c]
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rsi
call fcn.1800357f0
mov r11d, eax
test ebx, ebx
jns 0x180083ad3
mov ebx, dword [rsi + 0x3c]
dec ebx
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
je 0x180083ae5
lea rcx, [0x1802423a0]
jmp 0x180083af4
movsxd rax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
lea rcx, [rax + rcx*8]
mov dword [rcx + 4], r11d
mov rdi, qword [rbp + 0x110]
mov rax, qword [rsp + 0x70]
xor ebx, ebx
mov dword [rdi + 0x48], ebx
mov byte [rdi + 0x1f], bl
cmp byte [rax + 0x55], bl
jne 0x180085c69
mov rcx, qword [rbp + 0x118]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
call fcn.18004c310
mov edx, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x64]
sub dword [rdi + 0x200], edx
mov r10, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x118]
jmp 0x18008373c
lea rcx, [r11 + r11*2]
lea eax, [r11 + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x39
mov rcx, qword [rsi]
mov eax, r11d
cmp byte [rcx + 0x55], 0
je 0x180083b9a
mov edx, 0xfffffffa
call fcn.180036130
mov r11d, dword [rbp - 0x70]
mov dword [rbp + 0x88], r11d
jmp 0x180083bf6
test r11d, r11d
jns 0x180083ba4
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180083bd4
mov r9d, 0xfffffffa
mov rcx, rsi
call fcn.1800363f0
mov r11d, dword [rbp - 0x70]
mov dword [rbp + 0x88], r11d
jmp 0x180083bf6
test r8, r8
je 0x180083be1
mov qword [rdx + 0x10], r8
mov byte [rdx + 1], 0xfa
mov dword [rbp + 0x88], r11d
jmp 0x180083bf6
or eax, 0xffffffff
mov dword [rbp - 0x70], eax
mov dword [rbp + 0x88], eax
mov rax, qword [rbp + 0x120]
cmp byte [rax], 0xc
jne 0x180083c5a
mov rcx, qword [rbp - 0x58]
mov r8d, dword [rax + 4]
mov rax, qword [rsi + 0x30]
mov edx, dword [rcx]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180083c2f
mov r9d, edx
mov rcx, rsi
mov edx, 0x39
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180083c5a
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x39
mov rcx, rsi
call fcn.180035d60
mov edx, 0x140
mov rcx, rdi
mov r8d, eax
mov dword [rbp + 0x68], eax
mov rax, qword [rbp + 0x118]
mov word [rax + 0xa], dx
mov rdx, rax
call fcn.18007ce10
mov rdx, qword [rbp + 0x118]
cmp dword [rdx + 0x10], 0
jne 0x180083cc0
movsxd rax, dword [rbp - 0x70]
test eax, eax
js 0x180083cc0
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
je 0x180083caa
lea rax, [0x1802423a0]
jmp 0x180083cb6
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
lea rax, [rax + rcx*8]
or byte [rbp + 0x90], 1
mov byte [rax], 0x3a
test byte [rdx + 0xc], 1
je 0x180083de2
mov eax, dword [rdi + 0x54]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp - 0x24], eax
inc eax
mov rcx, rdi
mov dword [rdi + 0x54], eax
mov rdx, qword [rdx]
call fcn.18007ab50
movsxd rdx, dword [rsi + 0x3c]
mov rcx, qword [rsi + 0x30]
mov r8d, dword [rbp - 0x24]
mov r11, rax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x64], edx
cmp dword [rcx + 0x64], edx
jg 0x180083d23
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x39]
call fcn.180035690
mov r11, qword [rsp + 0x58]
mov edx, eax
mov dword [rsp + 0x64], eax
jmp 0x180083d4f
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x39
mov rcx, qword [rsi]
mov eax, edx
cmp byte [rcx + 0x55], 0
je 0x180083d6d
mov r8, r11
mov edx, 0xfffffffa
call fcn.180036130
mov edx, dword [rsp + 0x64]
jmp 0x180083db3
test edx, edx
jns 0x180083d76
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea r10, [rax + rcx*8]
je 0x180083da5
mov r9d, 0xfffffffa
mov r8, r11
mov rdx, r10
mov rcx, rsi
call fcn.1800363f0
mov edx, dword [rsp + 0x64]
jmp 0x180083db3
test r11, r11
je 0x180083db3
mov qword [r10 + 0x10], r11
mov byte [r10 + 1], 0xfa
mov rax, qword [rsi]
mov dword [rbp - 0x20], edx
cmp byte [rax + 0x55], 0
jne 0x180083dd0
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 - 0x15], 8
mov rdx, qword [rbp + 0x118]
mov cl, 3
mov dword [rsp + 0x64], ecx
mov byte [rbp - 0x27], cl
jmp 0x180083deb
xor al, al
mov dword [rsp + 0x64], eax
mov byte [rbp - 0x27], al
mov eax, dword [rbp + 0x128]
mov r9, qword [rbp - 0x80]
test eax, eax
jne 0x180083f22
test r9, r9
jne 0x180083f22
movzx eax, byte [rbp - 0x28]
mov r9, qword [rbp - 0x78]
mov r8d, 0x4000
neg al
movzx eax, word [rdx + 0xc]
sbb cx, cx
and ax, r8w
mov r8, qword [rbp - 0x30]
and cx, 0x400
or cx, ax
movsx eax, word [rdx + 0xa]
mov dword [rsp + 0x30], eax
mov rax, qword [rdx]
mov rdx, qword [rsp + 0x68]
mov word [rsp + 0x28], cx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.180098b20
mov rdx, rax
mov qword [rbp + 0x110], rax
test rax, rax
je 0x1800834db
mov rcx, qword [rbp + 0x118]
movzx eax, word [rax + 0x30]
cmp ax, word [rcx + 0xa]
jge 0x180083e77
mov word [rcx + 0xa], ax
cmp byte [rbp - 0x28], 0
je 0x180083e94
movzx ecx, byte [rdx + 0x3a]
mov eax, dword [rsp + 0x64]
movzx eax, al
test cl, cl
cmovne eax, ecx
mov dword [rsp + 0x64], eax
mov byte [rbp - 0x27], al
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180083eae
movsx eax, byte [rdx + 0x36]
cmp eax, dword [rcx]
mov dword [rbp + 0x78], eax
cmove rcx, rbx
mov qword [rbp + 0x70], rcx
mov eax, dword [rbp - 0x70]
test eax, eax
js 0x180083ecb
test rcx, rcx
jne 0x180083ecb
mov edx, eax
mov rcx, rsi
call fcn.180036390
mov rdx, qword [rbp + 0x110]
mov eax, dword [rdx + 0x44]
mov rbx, qword [rbp + 0x118]
mov r8, qword [rbp - 0x58]
mov dword [rsp + 0x40], eax
mov eax, dword [rdx + 0x40]
or r9d, 0xffffffff
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x120]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x28]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.180079a30
mov rcx, qword [rbp + 0x110]
call fcn.180099660
jmp 0x180085bba
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], ebx
test r9, r9
je 0x180083f7f
mov rax, qword [rdx]
mov ecx, dword [rax]
mov rax, qword [rax + 8]
test ecx, ecx
jle 0x180083f4d
add rax, 0x22
dec ecx
mov word [rax], bx
add rax, 0x28
test ecx, ecx
jg 0x180083f40
mov eax, dword [r9]
mov rcx, qword [r9 + 8]
test eax, eax
jle 0x180083f6d
add rcx, 0x22
nop dword [rax]
dec eax
mov word [rcx], bx
add rcx, 0x28
test eax, eax
jg 0x180083f60
cmp word [rdx + 0xa], 0x42
jle 0x180083f83
mov eax, 0x42
mov word [rdx + 0xa], ax
jmp 0x180083f83
mov word [rdx + 0xa], bx
mov rdx, qword [rbp - 0x78]
or r8d, 0xffffffff
mov rcx, r9
call fcn.180052eb0
mov ecx, ebx
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [rbp - 0x5c], ecx
mov rcx, qword [rsi + 0x30]
mov edx, dword [rcx + 0x80]
mov qword [rsp + 0x58], rcx
lea eax, [rdx + 1]
mov dword [rbp + 0x128], edx
mov dword [rcx + 0x80], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x180083ff3
lea eax, [rdx + rdx + 1]
mov rdx, qword [rcx + 0x88]
mov rcx, qword [rcx]
movsxd r8, eax
shl r8, 2
call fcn.180012710
mov rcx, qword [rsp + 0x58]
mov edx, dword [rbp + 0x128]
mov qword [rcx + 0x88], rax
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x18008400a
movsxd rax, edx
mov dword [r8 + rax*4], 0xffffffff
mov rcx, qword [rbp - 0x80]
or eax, 0xffffffff
sub eax, edx
mov dword [rsp + 0x7c], eax
xor eax, eax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0xc0], rax
mov eax, dword [rdi + 0x58]
inc eax
mov dword [rbp], eax
test rcx, rcx
je 0x18008407c
mov eax, dword [rcx]
mov dword [rbp - 4], eax
jmp 0x18008407f
mov dword [rbp - 4], ebx
mov rdx, qword [rbp - 0x58]
mov qword [rbp + 8], rcx
lea r9, [0x180053290]
lea r10, [method.CUdpClient.virtual_64]
test rdx, rdx
je 0x180084131
cmp dword [rdx], 0
mov rax, qword [rdx + 8]
mov ecx, ebx
mov qword [rsp + 0x58], rax
mov dword [rbp + 0x128], ebx
jle 0x180084131
mov rsi, rdx
nop dword [rax + rax]
mov rdx, qword [rax]
xor r8d, r8d
mov qword [rbp + 0x38], r8
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x58], r8
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x48], r8
mov qword [rbp + 0x50], r8
lea r8, [rbp + 0xa8]
mov qword [rbp + 0x38], r9
mov qword [rbp + 0x40], r10
mov qword [rbp + 0x58], r8
test rdx, rdx
je 0x180084118
lea rcx, [rbp + 0x30]
call fcn.180049090
mov rax, qword [rsp + 0x58]
mov ecx, dword [rbp + 0x128]
lea r9, [0x180053290]
lea r10, [method.CUdpClient.virtual_64]
inc ecx
add rax, 0x28
mov dword [rbp + 0x128], ecx
mov qword [rsp + 0x58], rax
cmp ecx, dword [rsi]
jl 0x1800840c0
mov rsi, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1800841d4
cmp dword [rdx], 0
mov rax, qword [rdx + 8]
mov ecx, ebx
mov qword [rsp + 0x58], rax
mov dword [rbp + 0x128], ebx
jle 0x1800841d4
mov rdi, rdx
nop dword [rax + rax]
mov rdx, qword [rax]
xor r8d, r8d
mov qword [rbp + 0x38], r8
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x58], r8
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x48], r8
mov qword [rbp + 0x50], r8
lea r8, [rbp + 0xa8]
mov qword [rbp + 0x38], r9
mov qword [rbp + 0x40], r10
mov qword [rbp + 0x58], r8
test rdx, rdx
je 0x1800841b8
lea rcx, [rbp + 0x30]
call fcn.180049090
mov rax, qword [rsp + 0x58]
mov ecx, dword [rbp + 0x128]
lea r9, [0x180053290]
lea r10, [method.CUdpClient.virtual_64]
inc ecx
add rax, 0x28
mov dword [rbp + 0x128], ecx
mov qword [rsp + 0x58], rax
cmp ecx, dword [rdi]
jl 0x180084160
mov rdi, qword [rbp + 0x110]
mov rax, qword [rbp + 0x98]
test rax, rax
je 0x180084219
xor ecx, ecx
mov rdx, rax
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rcx
lea rcx, [rbp + 0xa8]
mov qword [rbp + 0x38], r9
mov qword [rbp + 0x40], r10
mov qword [rbp + 0x58], rcx
lea rcx, [rbp + 0x30]
call fcn.180049090
mov edx, dword [rbp + 0x28]
mov eax, dword [rbp + 0x18]
mov r9d, ebx
mov dword [rbp + 0x1c], eax
mov dword [rsp + 0x60], ebx
test edx, edx
jle 0x180084347
movzx edx, word [rbp + 0xd8]
mov r8d, dword [rbp + 0x28]
mov rsi, rbx
mov qword [rsp + 0x58], rbx
nop word [rax + rax]
mov rax, qword [rbp + 0x20]
or dx, 8
mov word [rbp + 0xd8], dx
mov rcx, qword [rsi + rax]
mov rcx, qword [rcx + 0x20]
mov qword [rbp - 0x38], rcx
test rcx, rcx
je 0x180084310
cmp dword [rcx], 0
mov rdi, qword [rcx + 8]
mov eax, ebx
mov dword [rbp + 0x128], ebx
jle 0x180084310
lea rbx, [0x180053290]
lea rsi, [method.CUdpClient.virtual_64]
nop word [rax + rax]
mov rdx, qword [rdi]
xor r8d, r8d
mov qword [rbp + 0x38], r8
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x58], r8
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x48], r8
mov qword [rbp + 0x50], r8
lea r8, [rbp + 0xa8]
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x58], r8
test rdx, rdx
je 0x1800842e9
lea rcx, [rbp + 0x30]
call fcn.180049090
mov eax, dword [rbp + 0x128]
mov rcx, qword [rbp - 0x38]
inc eax
add rdi, 0x28
mov dword [rbp + 0x128], eax
cmp eax, dword [rcx]
jl 0x1800842a0
movzx edx, word [rbp + 0xd8]
mov r8d, dword [rbp + 0x28]
mov rsi, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x60]
xor ebx, ebx
inc r9d
add rsi, 0x18
mov eax, 0xfff7
and dx, ax
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x58], rsi
mov word [rbp + 0xd8], dx
cmp r9d, r8d
jl 0x180084250
mov rsi, qword [rbp - 0x50]
mov rdi, qword [rbp + 0x110]
mov edx, dword [rbp + 0x28]
mov eax, dword [rdi + 0x58]
mov dword [rbp + 4], eax
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x55], 0
jne 0x180085c69
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180085612
mov eax, dword [rdi + 0x54]
mov r9d, dword [rbp + 0x18]
mov rdx, rcx
mov dword [rbp - 0xc], eax
inc eax
xor r8d, r8d
mov rcx, rdi
mov dword [rdi + 0x54], eax
call fcn.18007ab50
movsxd r9, dword [rsi + 0x3c]
mov rcx, qword [rsi + 0x30]
mov edx, dword [rbp - 4]
mov r8d, dword [rbp - 0xc]
mov r10, rax
mov qword [rbp - 0x38], rax
mov dword [rbp + 0x64], r9d
cmp dword [rcx + 0x64], r9d
jg 0x1800843c6
mov r9d, edx
mov rcx, rsi
mov edx, 0x3a
mov dword [rsp + 0x20], ebx
call fcn.180035690
mov r10, qword [rbp - 0x38]
mov r9d, eax
mov dword [rbp + 0x64], eax
jmp 0x1800843f2
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x3a
mov rcx, qword [rsi]
mov eax, r9d
cmp byte [rcx + 0x55], 0
je 0x18008440d
mov r8, r10
mov edx, 0xfffffffa
call fcn.180036130
jmp 0x18008444c
test r9d, r9d
jns 0x180084417
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x18008443f
mov r9d, 0xfffffffa
mov r8, r10
mov rcx, rsi
call fcn.1800363f0
jmp 0x18008444c
test r10, r10
je 0x18008444c
mov qword [rdx + 0x10], r10
mov byte [rdx + 1], 0xfa
inc dword [rdi + 0x58]
mov eax, dword [rdi + 0x58]
mov dword [rbp - 0x64], eax
inc eax
mov dword [rbp + 0x128], eax
inc eax
mov dword [rdi + 0x58], eax
mov rcx, qword [rsi + 0x30]
mov edx, dword [rcx + 0x80]
mov qword [rsp + 0x58], rcx
lea eax, [rdx + 1]
mov dword [rbp - 0x6c], edx
mov dword [rcx + 0x80], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x1800844ad
lea eax, [rdx + rdx + 1]
mov rdx, qword [rcx + 0x88]
mov rcx, qword [rcx]
movsxd r8, eax
shl r8, 2
call fcn.180012710
mov rcx, qword [rsp + 0x58]
mov edx, dword [rbp - 0x6c]
mov qword [rcx + 0x88], rax
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1800844c4
movsxd rax, edx
mov dword [r8 + rax*4], 0xffffffff
inc dword [rdi + 0x58]
mov rcx, qword [rsi + 0x30]
or eax, 0xffffffff
sub eax, edx
mov edx, dword [rcx + 0x80]
mov qword [rsp + 0x58], rcx
mov dword [rbp - 0x48], eax
mov eax, dword [rdi + 0x58]
mov dword [rbp - 0x6c], edx
mov dword [rbp - 0x60], eax
lea eax, [rdx + 1]
mov dword [rcx + 0x80], eax
lea eax, [rdx - 1]
test edx, eax
jne 0x180084520
lea eax, [rdx + rdx + 1]
mov rdx, qword [rcx + 0x88]
mov rcx, qword [rcx]
movsxd r8, eax
shl r8, 2
call fcn.180012710
mov rcx, qword [rsp + 0x58]
mov edx, dword [rbp - 0x6c]
mov qword [rcx + 0x88], rax
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x180084537
movsxd rax, edx
mov dword [r8 + rax*4], 0xffffffff
mov ecx, dword [rdi + 0x58]
mov r8, qword [rbp - 0x80]
or eax, 0xffffffff
sub eax, edx
mov edx, dword [r8]
add edx, ecx
mov dword [rsp + 0x60], eax
lea eax, [rcx + 1]
mov dword [rdi + 0x58], edx
mov dword [rbp - 0x44], eax
lea eax, [rdx + 1]
mov dword [rsp + 0x78], eax
mov eax, dword [r8]
lea ecx, [rdx + rax]
mov dword [rdi + 0x58], ecx
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18008458e
mov r9d, dword [rbp + 0x128]
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0x16]
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x1800845be
mov edx, dword [rbp + 0x128]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800845e4
mov r9d, dword [rbp - 0x64]
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0x16]
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180084611
mov edx, dword [rbp - 0x64]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
mov rax, qword [rbp - 0x80]
mov r8d, dword [rbp - 0x44]
movsxd rcx, dword [rsi + 0x3c]
mov eax, dword [rax]
lea edx, [rax + r8 - 1]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x180084645
mov r9d, r8d
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea edx, [r8 + 0x19]
mov rcx, rsi
call fcn.180035690
jmp 0x180084670
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x19
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180084699
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rbp - 0x60]
mov edx, ntohs
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x1800846ca
mov edx, dword [rbp - 0x60]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x60]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], ntohs
mov dword [rax + rcx*8 + 8], edx
mov eax, dword [rbp - 0x5c]
mov r9, qword [rbp - 0x80]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rsp + 0x68]
neg eax
mov eax, 0x100
sbb cx, cx
mov dword [rsp + 0x30], ebx
and cx, 0x800
or cx, ax
mov word [rsp + 0x28], cx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call fcn.180098b20
mov rdx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1800834db
movsx ecx, byte [rax + 0x36]
mov rax, qword [rbp - 0x80]
cmp ecx, dword [rax]
jne 0x180084729
mov eax, ebx
mov dword [rbp - 0x40], ebx
jmp 0x180084c18
cmp byte [rbp - 0x28], 0
je 0x180084743
mov rax, qword [rbp + 0x118]
lea rdx, str.DISTINCT
test byte [rax + 0xc], 1
je 0x18008474a
lea rdx, str.GROUP_BY
mov rcx, rdi
call fcn.18007ac10
mov r11, qword [rbp - 0x80]
mov edx, dword [rbp + 0x18]
mov eax, dword [r11]
mov dword [rbp - 0x40], 1
mov dword [rsp + 0x50], eax
mov r8d, eax
mov dword [rbp - 0x68], eax
mov ecx, eax
test edx, edx
jle 0x180084796
mov rax, qword [rbp + 0x10]
add rax, 0x10
nop dword [rax + rax]
cmp dword [rax], ecx
jl 0x180084789
inc r8d
inc ecx
add rax, 0x20
dec rdx
jne 0x180084780
mov dword [rbp - 0x68], r8d
mov ecx, dword [rdi + 0x48]
mov r10d, dword [rdi + 0x4c]
mov dword [rsp + 0x54], r10d
cmp r8d, ecx
jg 0x1800847b6
lea eax, [r8 + r10]
sub ecx, r8d
mov dword [rdi + 0x4c], eax
mov dword [rdi + 0x48], ecx
jmp 0x1800847c8
mov eax, dword [rdi + 0x58]
lea r10d, [rax + 1]
add eax, r8d
mov dword [rsp + 0x54], r10d
mov dword [rdi + 0x58], eax
lea rax, [rdi + 0x90]
mov r8d, 0xa
lea rcx, [rax + 0xc]
nop dword [rax]
mov edx, dword [rcx]
test edx, edx
je 0x180084804
cmp byte [rcx - 6], 0
je 0x180084802
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1800847fe
movzx eax, al
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebx
add rcx, 0x14
dec r8
jne 0x1800847e0
mov byte [rsp + 0x20], r8b
xor r9d, r9d
mov rdx, r11
mov r8d, r10d
mov rcx, rdi
call fcn.1800520a0
cmp dword [rbp + 0x18], 0
mov ecx, ebx
mov dword [rbp - 0x6c], ebx
jle 0x1800848df
mov edx, dword [rsp + 0x50]
mov rsi, rbx
nop dword [rax]
mov rax, qword [rbp + 0x10]
cmp dword [rsi + rax + 0x10], edx
jl 0x1800848c9
mov r11d, dword [rsp + 0x54]
mov r8d, dword [rsi + rax + 8]
mov r9d, dword [rsi + rax + 0xc]
mov r10, qword [rsi + rax]
add r11d, edx
mov dword [rbp - 0x78], r8d
lea rdx, [rdi + 0x90]
mov dword [rbp - 0x30], r9d
mov ecx, ebx
cmp dword [rdx + 0xc], 0
jle 0x180084885
cmp dword [rdx], r8d
jne 0x180084885
movsx eax, word [rdx + 4]
cmp eax, r9d
je 0x1800848f6
inc ecx
add rdx, 0x14
cmp ecx, 0xa
jl 0x180084871
mov rcx, qword [rdi + 0x10]
mov rdx, r10
mov dword [rsp + 0x20], r11d
call fcn.1800503a0
mov eax, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x78]
add r9d, eax
mov rcx, rdi
call fcn.1800501f0
mov edx, dword [rsp + 0x50]
mov ecx, dword [rbp - 0x6c]
inc edx
mov dword [rsp + 0x50], edx
inc ecx
add rsi, 0x20
mov dword [rbp - 0x6c], ecx
cmp ecx, dword [rbp + 0x18]
jl 0x180084840
mov rsi, qword [rbp - 0x50]
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x180084988
inc dword [rdi + 0x58]
mov edx, dword [rdi + 0x58]
jmp 0x180084994
mov eax, dword [rdi + 0x7c]
mov ecx, 0xa
mov dword [rdx + 0x10], eax
inc dword [rdi + 0x7c]
mov r8d, dword [rdx + 0xc]
lea rax, [rdi + 0x96]
nop
cmp dword [rax + 6], r8d
jne 0x180084919
mov byte [rax], 0
add rax, 0x14
dec rcx
jne 0x180084910
mov edx, dword [rdx + 0xc]
cmp edx, r11d
je 0x1800848bc
mov r10, qword [rdi + 0x10]
mov rax, qword [r10 + 0x30]
movsxd rcx, dword [r10 + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180084957
mov r8d, edx
mov r9d, r11d
mov rcx, r10
mov edx, 0x1f
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x1800848bc
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [r10 + 0x3c], eax
mov rax, qword [r10 + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r11d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x1f
jmp 0x1800848bc
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov edx, dword [rdi + rax*4 + 0x28]
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov r9d, dword [rbp - 0x68]
mov r8d, dword [rsp + 0x54]
mov dword [rsp + 0x50], edx
cmp dword [rax + 0x64], ecx
jg 0x1800849c5
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov edx, gethostbyname
call fcn.180035690
mov edx, dword [rsp + 0x50]
jmp 0x1800849f1
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], gethostbyname
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov r8d, dword [rbp - 0xc]
cmp dword [rax + 0x64], ecx
jg 0x180084a1c
mov r9d, edx
mov rcx, rsi
mov edx, WSAGetLastError
mov dword [rsp + 0x20], ebx
call fcn.180035690
mov edx, dword [rsp + 0x50]
jmp 0x180084a47
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], WSAGetLastError
test edx, edx
je 0x180084a81
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x180084a81
mov ecx, ebx
lea rax, [rdi + 0x90]
nop
cmp dword [rax + 0xc], edx
je 0x180084a7d
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180084a60
movzx eax, r8b
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
jmp 0x180084a81
mov byte [rax + 6], 1
mov eax, dword [rsp + 0x54]
mov r10d, dword [rbp - 0x68]
lea rcx, [rdi + 0x9c]
lea r9d, [rax + r10 - 1]
mov r8d, 0xa
nop dword [rax + rax]
mov edx, dword [rcx]
cmp edx, eax
jl 0x180084acd
cmp edx, r9d
jg 0x180084acd
cmp byte [rcx - 6], 0
je 0x180084acb
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x180084ac3
movzx eax, al
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
mov eax, dword [rsp + 0x54]
mov byte [rcx - 6], 0
mov dword [rcx], ebx
add rcx, 0x14
dec r8
jne 0x180084aa0
cmp r10d, dword [rdi + 0x48]
jle 0x180084ae3
mov dword [rdi + 0x48], r10d
mov dword [rdi + 0x4c], eax
mov rcx, qword [rsp + 0x58]
call fcn.180099660
mov r8d, dword [rdi + 0x54]
lea eax, [r8 + 1]
mov dword [rsp + 0x54], r8d
mov dword [rbp - 8], r8d
mov dword [rdi + 0x54], eax
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x180084b11
inc dword [rdi + 0x58]
mov edx, dword [rdi + 0x58]
jmp 0x180084b1d
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov edx, dword [rdi + rax*4 + 0x28]
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov r9d, dword [rbp - 0x68]
mov dword [rsp + 0x50], edx
cmp dword [rax + 0x64], ecx
jg 0x180084b49
mov dword [rsp + 0x20], r9d
mov r9d, edx
mov rcx, rsi
mov edx, 0x3c
call fcn.180035690
jmp 0x180084b75
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x3c
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov edx, dword [rbp - 0xc]
cmp dword [rax + 0x64], ecx
jg 0x180084ba0
mov r9d, dword [rsp + 0x7c]
mov r8d, edx
mov rcx, rsi
mov edx, 0x6a
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180084bce
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x7c]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], WSAGetLastError
mov dword [rax + rcx*8 + 8], edx
lea rax, [rdi + 0x90]
mov byte [rbp - 0xf], 1
mov r8d, 0xa
lea rcx, [rax + 0xc]
mov edx, dword [rcx]
test edx, edx
je 0x180084c07
cmp byte [rcx - 6], 0
je 0x180084c05
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x180084c01
movzx eax, al
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebx
add rcx, 0x14
dec r8
jne 0x180084be3
mov eax, dword [rbp - 0x40]
mov rdx, qword [rsp + 0x58]
cmp dword [rbp - 0x5c], 0
je 0x180084c70
mov rcx, qword [rsp + 0x70]
test byte [rcx + 0x50], 4
jne 0x180084c70
test eax, eax
jne 0x180084c32
cmp byte [rdx + 0x37], al
je 0x180084c70
mov rcx, qword [rsi]
mov qword [rbp + 0x70], rbx
cmp byte [rcx + 0x55], 0
jne 0x180084c70
mov rbx, qword [rsi + 8]
movsxd rax, dword [rbp - 0x70]
lea rdi, [rax + rax*2]
movsx edx, byte [rbx + rdi*8 + 1]
mov r8, qword [rbx + rdi*8 + 0x10]
call fcn.180036130
xor eax, eax
mov word [rbx + rdi*8], 0xa0
mov qword [rbx + rdi*8 + 0x10], rax
mov rdi, qword [rbp + 0x110]
xor ebx, ebx
mov eax, dword [rsi + 0x3c]
lea rcx, [rdi + 0x9c]
mov r8d, 0xa
mov dword [rbp - 0x5c], eax
mov edx, dword [rcx]
test edx, edx
je 0x180084ca7
cmp byte [rcx - 6], 0
je 0x180084ca5
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x180084ca1
movzx eax, al
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebx
add rcx, 0x14
dec r8
jne 0x180084c83
cmp dword [rbp - 0x40], r8d
je 0x180084ce7
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov edx, dword [rbp - 0xc]
cmp dword [rax + 0x64], ecx
jg 0x180084d49
mov eax, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x50]
mov r8d, edx
mov edx, 0x64
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180035690
mov r10d, dword [rsp + 0x54]
mov rdx, qword [rbp - 0x80]
movsxd rcx, dword [rbp - 0x40]
mov r8d, ebx
cmp dword [rdx], 0
mov dword [rsp + 0x50], ebx
mov qword [rbp - 0x30], rcx
jle 0x180084e01
mov rax, rbx
mov qword [rbp - 0x78], rbx
nop
test rcx, rcx
je 0x180084db9
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180084d84
mov eax, dword [rsp + 0x78]
mov r9d, r8d
mov edx, 0x2f
add eax, r8d
mov r8d, r10d
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180035690
jmp 0x180084dd2
mov r8d, dword [rsp + 0x50]
mov r10d, dword [rsp + 0x54]
lea eax, [rcx + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x64
jmp 0x180084cec
lea rdx, [rcx + rcx*2]
lea eax, [rcx + 1]
mov rcx, qword [rsi + 8]
mov dword [rsi + 0x3c], eax
mov eax, dword [rsp + 0x78]
mov byte [rcx + rdx*8 + 3], 0
add eax, r8d
mov dword [rcx + rdx*8 + 4], r10d
mov dword [rcx + rdx*8 + 8], r8d
mov qword [rcx + rdx*8 + 0x10], rbx
mov word [rcx + rdx*8], gethostbyname
mov dword [rcx + rdx*8 + 0xc], eax
jmp 0x180084ddc
add r8d, dword [rsp + 0x78]
mov byte [rbp - 0x10], 1
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + rax]
mov rcx, rdi
call fcn.180051f00
mov r10d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov rax, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x30]
inc r8d
add rax, 0x28
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x50], r8d
cmp r8d, dword [rdx]
jl 0x180084d10
mov r10, qword [rbp - 0x38]
test r10, r10
je 0x180084e0d
inc dword [r10]
mov r8d, dword [rdx]
mov rax, qword [rsi + 0x30]
movsxd rdx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x180084e40
mov r9d, dword [rsp + 0x78]
mov dword [rsp + 0x20], r8d
mov r8d, dword [rbp - 0x44]
mov edx, 0x2a
mov rcx, rsi
call fcn.180035690
mov r10, qword [rbp - 0x38]
mov edx, eax
jmp 0x180084e76
mov r9d, dword [rbp - 0x44]
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 4], r9d
mov r9d, dword [rsp + 0x78]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x2a
mov dword [rax + rcx*8 + 8], r9d
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
je 0x180084e8e
mov r8, r10
mov edx, 0xfffffffa
call fcn.180036130
jmp 0x180084ecd
test edx, edx
jns 0x180084e97
mov edx, dword [rsi + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180084ec0
mov r9d, 0xfffffffa
mov r8, r10
mov rcx, rsi
call fcn.1800363f0
jmp 0x180084ecd
test r10, r10
je 0x180084ecd
mov qword [rdx + 0x10], r10
mov byte [rdx + 1], 0xfa
movsxd rcx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
mov dword [rbp - 0x30], ecx
lea edx, [rcx + 1]
cmp dword [rax + 0x64], ecx
jg 0x180084ef8
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, edx
lea edx, [r9 + 0x2b]
mov rcx, rsi
call fcn.180035690
jmp 0x180084f22
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x2b
mov rax, qword [rbp - 0x80]
mov r10, qword [rdi + 0x10]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rax]
mov rax, qword [r10 + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov dword [rbp - 0x78], edx
cmp dword [rax + 0x64], ecx
jg 0x180084f5b
mov r9d, dword [rbp - 0x44]
mov dword [rsp + 0x20], edx
mov rcx, r10
mov edx, 0x1d
call fcn.180035690
mov edx, dword [rbp - 0x78]
jmp 0x180084f8c
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [r10 + 0x3c], eax
mov rax, qword [r10 + 8]
mov dword [rax + rcx*8 + 4], r8d
mov r8d, dword [rbp - 0x44]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x1d
mov dword [rax + rcx*8 + 8], r8d
mov eax, dword [rsp + 0x78]
lea rcx, [rdi + 0x9c]
mov esi, 0xa
lea r8d, [rax + rdx - 1]
mov edx, dword [rcx]
cmp edx, eax
jl 0x180084fce
cmp edx, r8d
jg 0x180084fce
cmp byte [rcx - 6], 0
je 0x180084fcc
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x180084fc4
movzx eax, al
mov dword [rdi + rax*4 + 0x28], edx
inc byte [rdi + 0x1f]
mov eax, dword [rsp + 0x78]
mov byte [rcx - 6], 0
mov dword [rcx], ebx
add rcx, 0x14
dec rsi
jne 0x180084fa1
mov rsi, qword [rbp - 0x50]
mov r8d, dword [rbp + 0x128]
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180085010
mov r9d, dword [rbp - 0x48]
inc r8d
mov edx, ntohs
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180035690
mov r8d, dword [rbp + 0x128]
jmp 0x180085041
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
lea edx, [r8 + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rbp - 0x48]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], ntohs
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180085066
mov r9d, dword [rsp + 0x7c]
mov edx, 0x8a
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180085095
mov edx, dword [rsp + 0x7c]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x8a
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800850be
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rbp - 0x60]
mov edx, ntohs
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x1800850ef
mov edx, dword [rbp - 0x60]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x60]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], ntohs
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov ecx, dword [rbp - 0x30]
mov edx, dword [rsi + 0x3c]
test ecx, ecx
jns 0x180085108
lea ecx, [rdx - 1]
mov rax, qword [rsi]
cmp byte [rax + 0x55], 0
je 0x18008511a
lea rax, [0x1802423a0]
jmp 0x180085129
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.180082c00
mov rax, qword [rsi + 0x30]
movsxd r11, dword [rsi + 0x3c]
cmp dword [rax + 0x64], r11d
jg 0x180085161
mov r9d, dword [rbp - 0x64]
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, rsi
lea r8d, [rdx - 0x15]
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180085193
mov edx, dword [rbp - 0x64]
lea rcx, [r11 + r11*2]
lea eax, [r11 + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
cmp dword [rbp - 0x40], 0
je 0x1800851f4
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov edx, dword [rbp - 0xc]
cmp dword [rax + 0x64], ecx
jg 0x1800851c3
mov r9d, dword [rbp - 0x5c]
mov r8d, edx
mov rcx, rsi
mov edx, 3
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180085238
mov r8d, dword [rbp - 0x5c]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 3
jmp 0x180085238
mov rcx, qword [rsp + 0x58]
call fcn.180099660
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
jne 0x180085238
mov rbx, qword [rsi + 8]
movsxd rax, dword [rbp + 0x64]
lea rdi, [rax + rax*2]
movsx edx, byte [rbx + rdi*8 + 1]
mov r8, qword [rbx + rdi*8 + 0x10]
call fcn.180036130
xor eax, eax
mov word [rbx + rdi*8], 0xa0
mov qword [rbx + rdi*8 + 0x10], rax
mov rdi, qword [rbp + 0x110]
xor ebx, ebx
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180085266
mov r8d, dword [rbp + 0x128]
mov r9d, dword [rbp - 0x48]
mov edx, ntohs
mov rcx, rsi
inc r8d
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x18008529b
mov edx, dword [rbp + 0x128]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
inc edx
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rbp - 0x48]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], ntohs
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800852c2
mov r9d, dword [rsp + 0x7c]
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x1800852f0
mov edx, dword [rsp + 0x7c]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], ntohs
movsxd rcx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
mov dword [rbp - 0x78], ecx
cmp dword [rax + 0x64], ecx
jg 0x180085325
mov r9d, dword [rbp + 0x128]
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, rsi
lea r8d, [rdx - 0x15]
mov dword [rsp + 0x20], ebx
call fcn.180035690
mov r8d, dword [rbp + 0x128]
jmp 0x18008535b
mov r8d, dword [rbp + 0x128]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180085380
xor r9d, r9d
inc r8d
mov rcx, rsi
lea edx, [r9 + 0xf]
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x1800853af
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
lea edx, [r8 + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], reloc.WS2_32.dll_ntohs
mov r9, qword [rsi + 0x30]
mov rcx, qword [r9 + 0x88]
test rcx, rcx
je 0x1800853d3
movsxd rax, dword [rbp - 0x48]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r9 + 0x6c], eax
movsxd rcx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
mov dword [rbp + 0x110], ecx
lea r9d, [rcx + 2]
cmp dword [rax + 0x64], ecx
jg 0x18008540a
mov r8d, dword [rbp - 0x64]
mov edx, 0x8a
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180085438
mov edx, dword [rbp - 0x64]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x8a
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180085464
mov r8d, dword [rbp + 0x128]
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 + 0xf]
inc r8d
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180085497
mov edx, dword [rbp + 0x128]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
inc edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], reloc.WS2_32.dll_ntohs
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.180082ad0
mov ebx, dword [rbp + 0x110]
mov rdx, qword [rbp + 0x98]
inc ebx
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rdi
mov r8d, ebx
call fcn.180052890
mov r11d, dword [rbp - 0x78]
mov rax, qword [rbp + 0x120]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x28]
or r9d, 0xffffffff
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x118]
mov r8, qword [rax]
mov rdx, rax
call fcn.180079a30
mov rax, qword [rsi + 0x30]
movsxd r11, dword [rsi + 0x3c]
cmp dword [rax + 0x64], r11d
jg 0x180085535
mov r8d, dword [rbp + 0x128]
xor ebx, ebx
xor r9d, r9d
lea edx, [rbx + 0xf]
inc r8d
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.180035690
jmp 0x180085567
mov edx, dword [rbp + 0x128]
lea rcx, [r11 + r11*2]
lea eax, [r11 + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
inc edx
xor ebx, ebx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rbx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], reloc.WS2_32.dll_ntohs
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18008558c
movsxd rax, dword [rsp + 0x60]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
mov ecx, dword [rbp + 0x18]
add ecx, dword [rbp + 0x28]
je 0x1800855a8
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.180082900
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800855d8
mov r8d, dword [rbp - 0x60]
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 + 0xf]
mov dword [rsp + 0x20], ebx
call fcn.180035690
mov rbx, qword [rbp + 0x118]
jmp 0x180085b8c
mov edx, dword [rbp - 0x60]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov qword [rax + rcx*8 + 0x10], rbx
mov rbx, qword [rbp + 0x118]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov word [rax + rcx*8], reloc.WS2_32.dll_ntohs
jmp 0x180085b8c
mov r9, qword [rbp + 0x118]
mov qword [rbp - 0x38], rbx
cmp qword [r9 + 0x28], 0
jne 0x1800859df
mov rax, qword [r9]
cmp dword [rax], 1
jne 0x1800859df
mov r11, qword [r9 + 0x20]
cmp dword [r11], 1
jne 0x1800859df
cmp qword [r11 + 0x30], 0
jne 0x1800859df
mov r11, qword [r11 + 0x28]
mov rax, qword [rax + 8]
test byte [r11 + 0x46], 0x10
mov r8, qword [rax]
mov qword [rsp + 0x58], r11
jne 0x1800859df
cmp byte [r8], 0x99
jne 0x1800859df
test edx, edx
je 0x1800859df
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 8]
mov eax, 0x100
test word [rcx + 2], ax
je 0x1800859df
test byte [r8 + 4], 0x10
jne 0x1800859df
mov r8, qword [r11 + 0x68]
mov rax, qword [rdi]
mov ecx, 0xfff0bdc0
mov dword [rbp + 0x128], ecx
test r8, r8
je 0x1800856e5
mov edx, dword [rax + 0x28]
mov ecx, ebx
mov dword [rbp + 0x128], ebx
test edx, edx
jle 0x1800856e5
mov rax, qword [rax + 0x20]
add rax, 0x18
nop word [rax + rax]
cmp qword [rax], r8
je 0x1800856df
inc ecx
add rax, 0x20
cmp ecx, edx
jl 0x1800856d0
mov dword [rbp + 0x128], ecx
mov eax, dword [rdi + 0x54]
mov r10, rdi
mov edx, 1
mov dword [rsp + 0x60], eax
inc eax
mov qword [rbp - 0x50], rbx
mov dword [rdi + 0x54], eax
mov eax, dword [r11 + 0x38]
mov dword [rsp + 0x50], eax
mov rax, qword [rdi + 0x1c8]
test rax, rax
cmovne r10, rax
shl edx, cl
mov eax, dword [r10 + 0x174]
test edx, eax
jne 0x180085761
or eax, edx
movsxd r9, ecx
mov dword [r10 + 0x174], eax
mov rax, qword [r10]
mov r8, r9
mov rdx, qword [rax + 0x20]
shl r8, 5
mov rax, qword [r8 + rdx + 0x18]
mov edx, dword [rax]
mov dword [r10 + r9*4 + 0x178], edx
cmp ecx, 1
jne 0x180085761
mov rcx, r10
call fcn.180060140
mov ecx, dword [rbp + 0x128]
mov r11, qword [rsp + 0x58]
mov rax, qword [r11]
mov r8d, dword [r11 + 0x38]
mov edx, ecx
xor r9d, r9d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1800580a0
mov rdx, qword [rsp + 0x58]
test byte [rdx + 0x46], 0x20
je 0x1800857a2
mov rbx, qword [rdx + 0x10]
test rbx, rbx
je 0x1800857a2
nop
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1800857a2
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180085790
mov rax, qword [rdx + 0x10]
test rax, rax
je 0x1800857de
nop dword [rax + rax]
test byte [rax + 0x64], 4
jne 0x1800857d5
movzx ecx, word [rax + 0x5c]
cmp cx, word [rdx + 0x44]
jge 0x1800857d5
cmp qword [rax + 0x48], 0
jne 0x1800857d5
test rbx, rbx
je 0x1800857d2
cmp cx, word [rbx + 0x5c]
jge 0x1800857d5
mov rbx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1800857b0
test rbx, rbx
je 0x1800857f9
mov eax, dword [rbx + 0x58]
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x50], eax
call fcn.180060d30
mov qword [rbp - 0x50], rax
mov rcx, qword [rsi + 0x30]
movsxd r8, dword [rsi + 0x3c]
cmp dword [rcx + 0x64], r8d
jg 0x18008582f
mov edx, dword [rbp + 0x128]
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov edx, 0x36
call fcn.180035690
xor edi, edi
mov r8d, eax
jmp 0x18008586a
mov edx, dword [rsp + 0x60]
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
xor edi, edi
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x50]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbp + 0x128]
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 0xc], edx
mov word [rax + rcx*8], 0x36
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
je 0x180085883
mov edx, 0xfffffff2
lea r8d, [rdx + 0xf]
call fcn.180036130
jmp 0x1800858c4
test r8d, r8d
jns 0x18008588f
mov r8d, dword [rsi + 0x3c]
dec r8d
movsxd rax, r8d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1800858b9
mov r9d, 0xfffffff2
mov rcx, rsi
lea r8d, [r9 + 0xf]
call fcn.1800363f0
jmp 0x1800858c4
mov dword [rdx + 0x10], 1
mov byte [rdx + 1], 0xf2
mov r8, qword [rbp - 0x50]
test r8, r8
je 0x180085914
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
je 0x1800858e2
mov edx, 0xfffffffa
call fcn.180036130
jmp 0x180085914
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x18008590c
mov r9d, 0xfffffffa
mov rcx, rsi
call fcn.1800363f0
jmp 0x180085914
mov qword [rdx + 0x10], r8
mov byte [rdx + 1], 0xfa
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rsi + 0x3c]
mov r8d, dword [rsp + 0x60]
mov edx, dword [rax + 0x10]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x180085948
mov r9d, edx
mov rcx, rsi
mov edx, gethostbyname
mov dword [rsp + 0x20], edi
call fcn.180035690
mov r8d, dword [rsp + 0x60]
jmp 0x180085973
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov word [rax + rcx*8], gethostbyname
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180085995
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], edi
lea edx, [r9 + 0x3d]
call fcn.180035690
jmp 0x1800859c1
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rdi
mov word [rax + rcx*8], 0x3d
mov rdi, qword [rbp + 0x110]
mov rdx, qword [rsp + 0x58]
mov r8, rbx
mov rcx, rdi
call fcn.180083210
xor ebx, ebx
jmp 0x180085b25
cmp qword [r9 + 0x38], 0
mov qword [rbp + 0x128], rbx
mov byte [rbp + 0x110], 0
jne 0x180085a7e
mov qword [rbp + 0x128], rbx
mov qword [rsp + 0x58], rbx
cmp edx, 1
jne 0x180085a77
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x10]
call fcn.180080c80
mov byte [rbp + 0x110], al
test al, al
je 0x180085a69
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
call fcn.18004d4f0
mov r8, rax
mov qword [rbp + 0x128], rax
mov qword [rbp - 0x38], rax
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x55], 0
jne 0x180085a7e
mov rcx, qword [r8 + 8]
cmp byte [rbp + 0x110], 1
setne dl
mov byte [rcx + 0x18], dl
mov rcx, qword [r8 + 8]
mov rdx, qword [rcx]
mov byte [rdx], 0x98
jmp 0x180085a7e
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x128], rax
jmp 0x180085a7e
mov byte [rbp + 0x110], 0
mov ecx, dword [rbp + 0x28]
add ecx, dword [rbp + 0x18]
je 0x180085a92
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.180082900
movzx eax, byte [rbp + 0x110]
mov r9, qword [rbp + 0x128]
mov r8, qword [rbp - 0x30]
mov rdx, qword [rsp + 0x68]
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x28], ax
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call fcn.180098b20
mov qword [rbp + 0x110], rax
test rax, rax
jne 0x180085ae6
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x38]
mov rcx, rsi
call fcn.18004de30
mov r9, qword [rsp + 0x68]
jmp 0x1800834e5
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.180082c00
mov rax, qword [rbp + 0x110]
cmp byte [rax + 0x36], 0
jle 0x180085b11
mov edx, dword [rax + 0x44]
mov rcx, rsi
call fcn.180035860
mov rax, qword [rbp + 0x110]
mov rcx, rax
call fcn.180099660
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.180082ad0
mov r8d, dword [rsp + 0x7c]
mov rdx, qword [rbp + 0x98]
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rdi
mov qword [rbp + 0x70], rbx
call fcn.180052890
mov eax, dword [rsp + 0x7c]
or r9d, 0xffffffff
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x120]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x118]
mov rcx, rdi
mov r8, qword [rbx]
mov rdx, rbx
call fcn.180079a30
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.18004de30
mov r8, qword [rsi + 0x30]
mov rcx, qword [r8 + 0x88]
test rcx, rcx
je 0x180085bb1
movsxd rax, dword [rsp + 0x7c]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r8 + 0x6c], eax
cmp byte [rsp + 0x64], 3
jne 0x180085bd0
lea rdx, str.DISTINCT
mov rcx, rdi
call fcn.18007ac10
cmp qword [rbp + 0x70], 0
je 0x180085c17
cmp dword [rbp + 0x78], 0
lea rax, str.RIGHT_PART_OF_ORDER_BY
lea rdx, str.ORDER_BY
cmovg rdx, rax
mov rcx, rdi
call fcn.18007ac10
mov rax, qword [rbp + 0x120]
lea r8, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x58]
mov rdx, rbx
mov r9d, dword [rax]
mov rcx, rdi
call fcn.18007ae80
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180085c3b
movsxd rax, dword [rbp + 0x68]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
cmp dword [rdi + 0x50], 0
mov eax, 0
setg al
mov dword [rbp + 0xa0], eax
jmp 0x1800834db
mov rdi, qword [rbp + 0x110]
mov rsi, rcx
jmp 0x1800834e5
mov r9, qword [rsp + 0x68]
mov rsi, rax
jmp 0x1800834e5
cmp rbx, qword [rsi + 0x178]
jb 0x180085ca1
cmp rbx, qword [rsi + 0x180]
jae 0x180085ca1
mov rax, qword [rsi + 0x170]
mov qword [rbx], rax
dec dword [rsi + 0x158]
mov qword [rsi + 0x170], rbx
jmp 0x180085cfc
cmp dword [0x180238740], 0
je 0x180085cf3
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x180085cbc
call qword [0x1802387c8]
mov rcx, rbx
call qword [0x180238780]
dec qword [0x1802427b8]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x180242770], rdx
call qword [0x180238770]
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x180085cfc
call qword [0x1802387d8]
jmp 0x180085cfc
mov rcx, rbx
call qword [0x180238770]
mov rdx, qword [rbp + 0x20]
mov rbx, rdx
test rdx, rdx
je 0x180085ddb
cmp qword [rsi + 0x290], 0
je 0x180085d30
mov rcx, rsi
call fcn.180012190
mov eax, dword [rbp + 0xa0]
add rsp, 0x1e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [rbp + 0x20]
cmp rdx, qword [rsi + 0x178]
jb 0x180085d6f
cmp rdx, qword [rsi + 0x180]
jae 0x180085d6f
mov rax, qword [rsi + 0x170]
mov qword [rdx], rax
dec dword [rsi + 0x158]
mov eax, dword [rbp + 0xa0]
mov qword [rsi + 0x170], rdx
add rsp, 0x1e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [0x180238740], 0
je 0x180085dd1
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x180085d8a
call qword [0x1802387c8]
mov rcx, rbx
call qword [0x180238780]
dec qword [0x1802427b8]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x180242770], rdx
call qword [0x180238770]
mov rcx, qword [0x180242a68]
test rcx, rcx
je 0x180085ddb
call qword [0x1802387d8]
mov eax, dword [rbp + 0xa0]
add rsp, 0x1e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x20]
call qword [0x180238770]
mov eax, dword [rbp + 0xa0]
add rsp, 0x1e8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, ecx
add rsp, 0x1e8
pop rdi
pop rsi
pop rbx
pop rbp
ret