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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0x1e8
mov qword [rax + 0x20], rbx
mov qword [rax - 8], rbp
mov qword [rax - 0x10], rsi
mov rsi, qword [rcx]
mov qword [rax - 0x18], rdi
mov eax, dword [rcx + 0x200]
mov dword [rsp + 0x128], eax
mov eax, dword [rcx + 0x204]
mov edi, 1
mov dword [rcx + 0x200], eax
inc eax
test rdx, rdx
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x68], rdi
mov dword [rcx + 0x204], eax
mov qword [rsp + 0x88], rsi
je 0x4cc58d
cmp byte [rsi + 0x50], 0
jne 0x4cc58d
cmp dword [rcx + 0x4c], 0
jne 0x4cc58d
xor eax, eax
lea edx, [rdi + 0x14]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.00468030
test eax, eax
jne 0x4cc58d
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x200]
cmp byte [rax], 8
ja 0x4c9bf5
mov rdx, qword [rbx + 0x48]
mov rcx, rsi
call fcn.00445760
xor r11d, r11d
and word [rbx + 0xa], 0xfffe
mov qword [rbx + 0x48], r11
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
call fcn.004c99b0
mov rdi, qword [rbx + 0x48]
mov rax, qword [rbx + 0x28]
mov r8, qword [rbx]
xor r11d, r11d
mov qword [rsp + 0x50], rax
cmp dword [rbp + 0x4c], r11d
mov qword [rsp + 0x108], r11
mov qword [rsp + 0x110], r11
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x118], r11
mov qword [rsp + 0x120], r11
jne 0x4cc310
cmp byte [rsi + 0x50], r11b
jne 0x4cc317
mov al, byte [rbx + 0xa]
mov rcx, rbp
shr eax, 2
and eax, 1
mov dword [rsp + 0x70], eax
call fcn.00454b30
test rax, rax
mov rsi, rax
mov qword [rsp + 0xe0], rax
je 0x4cc372
mov rcx, qword [rsp + 0x98]
mov r8, qword [rsp + 0x200]
cmp dword [rcx], 1
movzx eax, byte [r8]
jle 0x4c9cd4
cmp eax, 0xa
je 0x4c9ca6
cmp eax, 0xb
jne 0x4c9cd4
lea rdx, str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
mov rcx, rbp
call fcn.00462100
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x98]
mov edx, 1
jmp 0x4cc38c
mov rcx, qword [rsp + 0x1f8]
xor eax, eax
cmp qword [rcx + 0x50], rax
mov ebx, eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x78], rax
lea rdx, [rax - 1]
jne 0x4ca09c
mov rdx, qword [rsp + 0x50]
nop
cmp ebx, dword [rdx]
jge 0x4ca095
mov rdi, rax
imul rdi, rdi, 0x78
mov rbx, qword [rdi + rdx + 0x30]
test rbx, rbx
mov qword [rsp + 0xa8], rbx
je 0x4ca067
mov r9d, dword [rdi + rdx + 0x38]
test r9d, r9d
je 0x4c9d73
test byte [rdi + rdx + 0x48], 4
jne 0x4ca04e
mov r8d, dword [rdi + rdx + 0x3c]
mov rcx, rsi
mov edx, reloc.WS2_32.dll_recvfrom
call fcn.00441dd0
mov rdi, qword [rsp + 0x108]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x200]
jmp 0x4ca06f
call fcn.00431680
mov r9d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x58]
add dword [rbp + 0x1fc], eax
mov bl, byte [rbx + 0xa]
mov rdx, qword [rsp + 0x1f8]
shr ebx, 2
mov rcx, rbp
and ebx, 1
mov dword [rsp + 0x20], ebx
call fcn.00471560
test eax, eax
je 0x4c9dd7
test ebx, ebx
je 0x4c9dc2
mov rax, qword [rsp + 0x1f8]
mov dword [rsp + 0x70], 1
or word [rax + 0xa], 4
mov rax, 0xffffffffffffffff
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x78], rax
jmp 0x4c9ff7
mov rax, qword [rsp + 0x50]
cmp dword [rax], 1
jne 0x4c9ee4
mov rcx, qword [rsp + 0x88]
bt word [rcx + 0x4c], 8
jb 0x4c9ee4
mov ebx, dword [rsi + 0x3c]
inc dword [rbp + 0x54]
mov r8d, dword [rbp + 0x54]
xor r9d, r9d
inc ebx
mov rcx, rsi
lea edx, [r9 + 0x14]
mov dword [rsp + 0x20], ebx
mov dword [rdi + rax + 0x3c], r8d
call fcn.00441bf0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xa8]
mov eax, dword [rdi + rcx + 0x3c]
mov dword [rdi + rcx + 0x38], ebx
mov byte [rsp + 0x170], reloc.WS2_32.dll_listen
mov dword [rsp + 0x174], eax
xor eax, eax
mov byte [rsp + 0x171], 0
mov dword [rsp + 0x178], eax
mov dword [rsp + 0x17c], eax
movzx eax, byte [rbp + 0x204]
mov byte [rdi + rcx + 0x4c], al
lea r8, [rsp + 0x170]
mov rcx, rbp
call fcn.004c9af0
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 0x20]
call fcn.00427280
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi + rdx + 0x28]
mov word [rcx + 0x38], ax
or dword [rdi + rdx + 0x48], 4
mov eax, dword [rsp + 0x178]
mov r8d, dword [rdi + rdx + 0x3c]
mov dword [rdi + rdx + 0x40], eax
mov rcx, rsi
mov edx, reloc.WS2_32.dll_setsockopt
call fcn.00441d40
mov edx, dword [rsi + 0x3c]
dec ebx
cmp edx, ebx
jbe 0x4c9eca
mov rax, qword [rsi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
xor eax, eax
mov byte [rbp + 0x1f], 0
mov dword [rbp + 0x44], eax
jmp 0x4c9ff7
inc dword [rbp + 0x54]
mov r9d, dword [rbp + 0x54]
xor r11d, r11d
lea edx, [r11 + 0x19]
xor r8d, r8d
mov rcx, rsi
mov ebx, r11d
mov dword [rdi + rax + 0x3c], r9d
call fcn.00441dd0
lea ecx, [rax + 1]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x50]
test byte [rdi + rax + 0x48], 2
mov dword [rdi + rax + 0x38], ecx
jne 0x4c9f2e
mov rcx, rbp
call fcn.00459c30
mov ebx, eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rdi + rax + 0x50]
mov rdx, qword [rsp + 0xa8]
mov byte [rsp + 0x170], reloc.WS2_32.dll_inet_ntoa
mov dword [rsp + 0x174], ecx
xor ecx, ecx
mov byte [rsp + 0x171], 0
mov dword [rsp + 0x178], ecx
mov dword [rsp + 0x17c], ecx
movzx ecx, byte [rbp + 0x204]
mov byte [rdi + rax + 0x4c], cl
lea r8, [rsp + 0x170]
mov rcx, rbp
call fcn.004c9af0
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax + 0x20]
call fcn.00427280
test ebx, ebx
mov r8, qword [rsp + 0x50]
mov rcx, qword [rdi + r8 + 0x28]
mov word [rcx + 0x38], ax
je 0x4c9fc0
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x4c9fb4
mov eax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov r8d, dword [rdi + r8 + 0x3c]
mov edx, reloc.WS2_32.dll_select
mov rcx, rsi
call fcn.00441d40
mov r11d, eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsi + 0x3c], eax
jbe 0x4c9fee
mov rcx, qword [rsi + 8]
lea rdx, [rax + rax*2]
mov dword [rcx + rdx*8 + 4], r11d
xor eax, eax
mov byte [rbp + 0x1f], 0
mov dword [rbp + 0x44], eax
mov rax, qword [rsp + 0x88]
cmp byte [rax + 0x50], 0
jne 0x4cc2f4
mov rcx, qword [rsp + 0x1f8]
call fcn.00431680
mov rcx, qword [rsp + 0x1f8]
mov r8, qword [rsp + 0x200]
sub dword [rbp + 0x1fc], eax
cmp byte [r8], 8
mov rdx, qword [rcx + 0x28]
mov qword [rsp + 0x50], rdx
jbe 0x4ca058
mov rdi, qword [rcx + 0x48]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x108], rdi
jmp 0x4ca06f
mov rdi, qword [rsp + 0x108]
jmp 0x4ca06f
mov rdi, qword [rsp + 0x108]
mov rax, qword [rsp + 0x78]
jmp 0x4ca06f
mov rdi, qword [rsp + 0x108]
mov ebx, dword [rsp + 0x58]
inc rax
inc ebx
cmp qword [rcx + 0x50], 0
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x58], ebx
je 0x4c9d00
mov rdx, 0xffffffffffffffff
jmp 0x4ca09c
mov rdx, 0xffffffffffffffff
mov rax, qword [rcx + 0x30]
movzx ebx, byte [rcx + 0xa]
mov r9, qword [rcx]
mov qword [rsp + 0x80], rax
mov rax, qword [rcx + 0x38]
and bl, 1
cmp qword [rcx + 0x50], 0
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x98], r9
mov byte [rsp + 0xf8], bl
je 0x4ca0fa
mov rdx, rcx
mov rcx, rbp
call fcn.00493740
mov ecx, dword [rsp + 0x128]
mov dword [rbp + 0x200], ecx
jmp 0x4cc58f
movzx eax, byte [rcx + 0xa]
and al, 5
cmp al, 1
jne 0x4ca1f1
mov r8d, edx
mov rcx, rdi
mov rdx, r9
call fcn.00431fa0
test eax, eax
jne 0x4ca1f1
mov rdi, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x88]
xor r8d, r8d
mov rdx, qword [rdi]
and word [rdi + 0xa], 0xfffe
call fcn.004450a0
mov qword [rdi + 0x38], rax
mov qword [rsp + 0x78], rax
xor eax, eax
mov rdi, rax
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x120], 0xffffffff
mov rax, qword [rsp + 0x200]
cmp byte [rax], 0xc
jne 0x4ca189
mov rcx, qword [rsp + 0x98]
mov r8d, dword [rax + 4]
mov edx, reloc.WS2_32.dll_gethostname
mov r9d, dword [rcx]
mov rcx, rsi
call fcn.00441dd0
mov rcx, rsi
call fcn.00441e70
movabs rdx, 0x7fffffffffffffff
mov rcx, rbp
mov r8d, eax
mov dword [rsp + 0x190], eax
mov rax, qword [rsp + 0x1f8]
mov qword [rax + 0x20], rdx
mov rdx, rax
call fcn.00454be0
mov rdx, qword [rsp + 0x1f8]
cmp dword [rdx + 0xc], 0
jne 0x4ca270
movsxd r8, dword [rsp + 0x120]
test r8d, r8d
js 0x4ca270
mov rcx, qword [rsi]
cmp byte [rcx + 0x50], 0
je 0x4ca259
lea rax, [0x007725d0]
jmp 0x4ca265
test rdi, rdi
je 0x4ca155
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call fcn.00482350
mov r8d, dword [rbp + 0x50]
mov dword [rsp + 0x30], 0xfffffffa
lea ecx, [r8 + 1]
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rbp + 0x50], ecx
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x114], r8d
mov edx, dword [rcx]
mov ecx, dword [rdi]
mov dword [rsp + 0x20], eax
lea r9d, [rdx + rcx + 1]
lea edx, [rax + 0x39]
mov rcx, rsi
call fcn.0044f620
mov dword [rsp + 0x120], eax
jmp 0x4ca160
mov rax, qword [rsi + 8]
lea rcx, [r8 + r8*2]
lea rax, [rax + rcx*8]
or byte [rsp + 0x124], 1
mov byte [rax], Ordinal_60
test byte [rdx + 0xa], 1
je 0x4ca2fd
mov ebx, dword [rbp + 0x50]
xor r9d, r9d
xor r8d, r8d
lea eax, [rbx + 1]
mov rcx, rbp
mov dword [rsp + 0xfc], ebx
mov dword [rbp + 0x50], eax
mov rdx, qword [rdx]
call fcn.00482350
mov dword [rsp + 0x30], 0xfffffffa
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor eax, eax
mov r8d, ebx
lea edx, [rax + 0x39]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.0044f620
mov rdx, qword [rsi + 8]
test rdx, rdx
mov dword [rsp + 0x100], eax
je 0x4ca2dc
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
mov bl, byte [rsp + 0xf8]
mov rdx, qword [rsp + 0x1f8]
mov al, 3
mov dword [rsp + 0xd0], eax
mov byte [rsp + 0xf9], al
jmp 0x4ca30d
xor al, al
mov dword [rsp + 0xd0], eax
mov byte [rsp + 0xf9], al
cmp dword [rsp + 0x70], 0
jne 0x4ca454
mov r9, qword [rsp + 0x78]
test r9, r9
jne 0x4ca459
mov r8, qword [rsp + 0x80]
movzx eax, bl
mov r9, rdi
neg al
sbb cx, cx
xor eax, eax
mov dword [rsp + 0x30], eax
mov rax, qword [rdx]
mov rdx, qword [rsp + 0x50]
and cx, 0x400
mov word [rsp + 0x28], cx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.004a87d0
test rax, rax
mov rbx, rax
je 0x4cc356
mov rcx, rax
call fcn.00437060
mov r9, qword [rsp + 0x1f8]
cmp rax, qword [r9 + 0x20]
jae 0x4ca38c
mov rcx, rbx
call fcn.00437060
mov qword [r9 + 0x20], rax
cmp byte [rsp + 0xf8], 0
je 0x4ca3b7
movzx eax, byte [rbx + 0x38]
mov ecx, dword [rsp + 0xd0]
movzx ecx, cl
test al, al
cmovne ecx, eax
mov dword [rsp + 0xd0], ecx
mov byte [rsp + 0xf9], cl
test rdi, rdi
je 0x4ca3da
movsx eax, byte [rbx + 0x34]
cmp eax, dword [rdi]
mov dword [rsp + 0x110], eax
mov eax, 0
cmove rdi, rax
mov qword [rsp + 0x108], rdi
mov eax, dword [rsp + 0x120]
test eax, eax
js 0x4ca3f4
test rdi, rdi
jne 0x4ca3f4
mov edx, eax
mov rcx, rsi
call fcn.004422b0
mov eax, dword [rbx + 0x44]
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x1f8]
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x40]
mov r9d, 0xffffffff
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x200]
mov rcx, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
call fcn.00491a60
mov rcx, rbx
call fcn.0044cae0
jmp 0x4cc03c
mov r9, qword [rsp + 0x78]
xor ebx, ebx
test r9, r9
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x60], ebx
je 0x4ca4be
mov rax, qword [rdx]
mov ecx, dword [rax]
mov rax, qword [rax + 8]
test ecx, ecx
jle 0x4ca48d
add rax, 0x22
nop
nop
dec ecx
mov word [rax], bx
add rax, 0x28
test ecx, ecx
jg 0x4ca480
mov eax, dword [r9]
mov rcx, qword [r9 + 8]
test eax, eax
jle 0x4ca4ad
add rcx, 0x22
nop
dec eax
mov word [rcx], bx
add rcx, 0x28
test eax, eax
jg 0x4ca4a0
cmp qword [rdx + 0x20], 0x64
jbe 0x4ca4c6
mov qword [rdx + 0x20], 0x64
jmp 0x4ca4c6
mov qword [rdx + 0x20], 1
mov r8d, 0xffffffff
mov rdx, rdi
mov rcx, r9
call fcn.00431fa0
mov ecx, ebx
mov rbx, qword [rsi + 0x30]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0xa0], ecx
mov ecx, dword [rbx + 0x78]
lea eax, [rcx + 1]
mov dword [rsp + 0xc0], ecx
mov dword [rbx + 0x78], eax
lea eax, [rcx - 1]
test ecx, eax
jne 0x4ca52d
mov rdx, qword [rbx + 0x80]
lea eax, [rcx + rcx + 1]
mov rcx, qword [rbx]
movsxd r8, eax
shl r8, 2
call fcn.0043b230
mov ecx, dword [rsp + 0xc0]
mov qword [rbx + 0x80], rax
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x4ca543
movsxd rax, ecx
mov dword [rdx + rax*4], 0xffffffff
mov rbx, qword [rsp + 0x78]
mov eax, 0xffffffff
sub eax, ecx
mov dword [rsp + 0xb4], eax
xor eax, eax
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x198], rbp
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x1b0], rax
mov eax, dword [rbp + 0x54]
inc eax
test rbx, rbx
mov dword [rsp + 0x140], eax
je 0x4ca5d1
mov eax, dword [rbx]
mov dword [rsp + 0x13c], eax
jmp 0x4ca5da
xor eax, eax
mov dword [rsp + 0x13c], eax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x198]
mov qword [rsp + 0x148], rbx
call fcn.0045a8b0
lea rcx, [rsp + 0x198]
mov rdx, rdi
call fcn.0045a8b0
mov rax, qword [rsp + 0x188]
test rax, rax
je 0x4ca624
lea rcx, [rsp + 0x198]
mov rdx, rax
call fcn.0045a7c0
mov ecx, dword [rsp + 0x168]
mov eax, dword [rsp + 0x158]
xor r9d, r9d
test ecx, ecx
mov dword [rsp + 0x15c], eax
mov edi, r9d
jle 0x4ca6a6
movzx eax, word [rsp + 0x1c8]
mov rbx, r9
nop
or ax, 8
lea rcx, [rsp + 0x198]
mov word [rsp + 0x1c8], ax
mov rax, qword [rsp + 0x160]
mov rdx, qword [rbx + rax]
mov rdx, qword [rdx + 0x20]
call fcn.0045a8b0
mov ax, word [rsp + 0x1c8]
mov ecx, dword [rsp + 0x168]
and ax, 0xfff7
inc edi
add rbx, 0x18
cmp edi, ecx
mov word [rsp + 0x1c8], ax
jl 0x4ca650
mov rbx, qword [rsp + 0x78]
xor r9d, r9d
mov eax, dword [rbp + 0x54]
mov dword [rsp + 0x144], eax
mov rax, qword [rsp + 0x88]
cmp byte [rax + 0x50], 0
jne 0x4cc33a
test rbx, rbx
je 0x4cbaf7
mov eax, dword [rbp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x134], eax
inc eax
mov rdx, rbx
mov rcx, rbp
mov dword [rbp + 0x50], eax
call fcn.00482350
mov edx, dword [rsi + 0x3c]
mov rcx, qword [rsi + 0x30]
cmp dword [rcx + 0x60], edx
mov ebx, dword [rsp + 0x134]
mov edi, dword [rsp + 0x13c]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x70], edx
jg 0x4ca731
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
je 0x4ca72d
mov edx, 1
mov dword [rsp + 0x70], edx
jmp 0x4ca762
mov edx, dword [rsp + 0x70]
inc dword [rsi + 0x3c]
xor r8d, r8d
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8], Ordinal_60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
mov rbx, qword [rsi + 8]
mov rcx, qword [rsi]
mov eax, edx
test rbx, rbx
je 0x4ca7c0
cmp byte [rcx + 0x50], 0
jne 0x4ca7c0
test edx, edx
jns 0x4ca77f
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdi, [rax + rax*2]
movsx edx, byte [rbx + rdi*8 + 1]
mov r8, qword [rbx + rdi*8 + 0x10]
call fcn.00441fd0
mov rax, qword [rsp + 0xa8]
xor ecx, ecx
test rax, rax
mov qword [rbx + rdi*8 + 0x10], rcx
jne 0x4ca7b3
mov qword [rbx + rdi*8 + 0x10], rcx
mov byte [rbx + rdi*8 + 1], cl
jmp 0x4ca7d2
mov qword [rbx + rdi*8 + 0x10], rax
mov byte [rbx + rdi*8 + 1], 0xfa
jmp 0x4ca7d2
mov r8, qword [rsp + 0xa8]
mov edx, 0xfffffffa
call fcn.00441fd0
mov eax, dword [rbp + 0x54]
inc eax
mov dword [rsp + 0xb0], eax
add eax, 2
mov dword [rbp + 0x54], eax
mov rbx, qword [rsi + 0x30]
mov dword [rsp + 0x58], eax
movsxd rdi, dword [rbx + 0x78]
lea eax, [rdi + 1]
mov dword [rbx + 0x78], eax
lea eax, [rdi - 1]
test edi, eax
jne 0x4ca81e
mov rdx, qword [rbx + 0x80]
mov rcx, qword [rbx]
lea eax, [rdi + rdi + 1]
movsxd r8, eax
shl r8, 2
call fcn.0043b230
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x4ca836
mov rdx, 0xffffffffffffffff
mov dword [rcx + rdi*4], edx
jmp 0x4ca83d
mov rdx, 0xffffffffffffffff
inc dword [rbp + 0x54]
mov rbx, qword [rsi + 0x30]
mov eax, edx
sub eax, edi
movsxd rdi, dword [rbx + 0x78]
mov dword [rsp + 0xbc], eax
mov eax, dword [rbp + 0x54]
mov dword [rsp + 0xc0], eax
lea eax, [rdi + 1]
mov dword [rbx + 0x78], eax
lea eax, [rdi - 1]
test edi, eax
jne 0x4ca892
mov rdx, qword [rbx + 0x80]
mov rcx, qword [rbx]
lea eax, [rdi + rdi + 1]
movsxd r8, eax
shl r8, 2
call fcn.0043b230
mov rdx, 0xffffffffffffffff
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x4ca8a1
mov dword [rcx + rdi*4], edx
mov ecx, dword [rbp + 0x54]
mov eax, edx
sub eax, edi
mov rdi, qword [rsp + 0x78]
mov dword [rsp + 0xf0], eax
lea eax, [rcx + 1]
mov dword [rsp + 0xd8], eax
mov eax, dword [rdi]
lea edx, [rcx + rax]
mov dword [rbp + 0x54], edx
lea eax, [rdx + 1]
mov dword [rsp + 0xb8], eax
mov eax, dword [rdi]
lea ecx, [rdx + rax]
mov dword [rbp + 0x54], ecx
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4ca8f6
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4ca92e
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xb0]
lea rcx, [rbx + rbx*2]
xor r9d, r9d
inc edx
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8], Ordinal_27
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r9d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r9b
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4ca94c
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4ca982
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xb0]
lea rcx, [rbx + rbx*2]
xor r8d, r8d
mov byte [rax + rcx*8], Ordinal_27
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], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
mov eax, dword [rdi]
mov ecx, dword [rsp + 0xd8]
movsxd rbx, dword [rsi + 0x3c]
lea edi, [rcx + rax - 1]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x60], ebx
jg 0x4ca9ad
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4ca9e2
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xd8]
lea rcx, [rbx + rbx*2]
xor r8d, r8d
mov byte [rax + rcx*8], Ordinal_30
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], r8
mov byte [rax + rcx*8 + 1], r8b
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4caa00
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4caa3b
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xc0]
lea rcx, [rbx + rbx*2]
xor ebx, ebx
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xf0]
mov byte [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], bl
jmp 0x4caa3d
xor ebx, ebx
mov eax, dword [rsp + 0xa0]
mov rdi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
neg eax
mov dword [rsp + 0x30], ebx
sbb cx, cx
mov r9, rdi
and cx, 0x800
or cx, 0x100
mov word [rsp + 0x28], cx
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call fcn.004a87d0
test rax, rax
mov rdx, rax
mov qword [rsp + 0xc8], rax
je 0x4cc31e
movsx ecx, byte [rax + 0x34]
mov qword [rsp + 0x68], 0xa
cmp ecx, dword [rdi]
jne 0x4caab1
mov eax, ebx
mov dword [rsp + 0xd4], ebx
jmp 0x4caf99
cmp byte [rsp + 0xf8], 0
je 0x4caad2
mov rax, qword [rsp + 0x1f8]
test byte [rax + 0xa], 1
jne 0x4caad2
lea rdx, str.DISTINCT
jmp 0x4caad9
lea rdx, str.GROUP_BY
mov rcx, rbp
call fcn.00470570
mov ecx, dword [rdi]
mov edx, dword [rsp + 0x158]
test edx, edx
mov dword [rsp + 0xd4], 1
mov dword [rsp + 0xec], ecx
mov r8d, ecx
mov dword [rsp + 0x90], ecx
jle 0x4cab30
mov rax, qword [rsp + 0x150]
add rax, 0x10
cmp dword [rax], ecx
jl 0x4cab1f
inc r8d
inc ecx
add rax, 0x20
dec rdx
jne 0x4cab16
mov dword [rsp + 0x90], r8d
mov ecx, dword [rbp + 0x44]
mov ebx, dword [rbp + 0x48]
cmp r8d, ecx
mov dword [rsp + 0x60], ebx
jg 0x4cab4e
lea eax, [r8 + rbx]
sub ecx, r8d
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x44], ecx
jmp 0x4cab5e
mov eax, dword [rbp + 0x54]
lea ebx, [rax + 1]
add eax, r8d
mov dword [rsp + 0x60], ebx
mov dword [rbp + 0x54], eax
lea rax, [rbp + 0x88]
xor esi, esi
lea rcx, [rax + 0xc]
lea r8d, [rsi + 0xa]
nop
mov edx, dword [rcx]
test edx, edx
je 0x4cab94
cmp byte [rcx - 6], sil
je 0x4cab92
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x4cab8e
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
inc byte [rbp + 0x1f]
mov byte [rcx - 6], sil
mov dword [rcx], esi
add rcx, 0x14
dec r8
jne 0x4cab70
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rbp
call fcn.00459f90
mov eax, dword [rsp + 0x158]
mov rsi, qword [rsp + 0xe0]
xor r9d, r9d
test eax, eax
mov edi, r9d
mov dword [rsp + 0xe8], r9d
jle 0x4cacd5
mov ecx, dword [rsp + 0xec]
lea r8d, [rbx + rcx]
mov rbx, r9
mov dword [rsp + 0x5c], r8d
nop
nop
nop
mov rdx, qword [rsp + 0x150]
cmp dword [rbx + rdx + 0x10], ecx
jl 0x4cacc0
mov r9d, dword [rbx + rdx + 8]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], r8d
mov r8d, dword [rbx + rdx + 0xc]
mov rdx, qword [rbx + rdx]
mov rcx, rbp
call fcn.00480610
mov r8d, dword [rsp + 0x5c]
cmp r8d, eax
mov dword [rsp + 0x80], eax
je 0x4caca1
mov rcx, qword [rsi + 0x30]
movsxd rdi, dword [rsi + 0x3c]
cmp dword [rcx + 0x60], edi
jg 0x4cac56
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cac95
mov r8d, dword [rsp + 0x5c]
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x80]
lea rcx, [rdi + rdi*2]
mov edi, dword [rsp + 0xe8]
xor r9d, r9d
mov byte [rax + rcx*8], Ordinal_35
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], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r9b
jmp 0x4caca1
mov r8d, dword [rsp + 0x5c]
mov edi, dword [rsp + 0xe8]
mov ecx, dword [rsp + 0xec]
mov eax, dword [rsp + 0x158]
inc ecx
inc r8d
mov dword [rsp + 0x5c], r8d
mov dword [rsp + 0xec], ecx
inc edi
add rbx, 0x20
cmp edi, eax
mov dword [rsp + 0xe8], edi
jl 0x4cabf0
movzx eax, byte [rbp + 0x1f]
test al, al
jne 0x4cace5
inc dword [rbp + 0x54]
mov ebx, dword [rbp + 0x54]
jmp 0x4cacf1
dec al
movzx eax, al
mov byte [rbp + 0x1f], al
mov ebx, dword [rbp + rax*4 + 0x24]
mov rax, qword [rsi + 0x30]
movsxd rdi, dword [rsi + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x4cad0f
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cad47
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x60]
lea rcx, [rdi + rdi*2]
xor r11d, r11d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x90]
mov byte [rax + rcx*8], gethostbyaddr
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], r11
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], r11b
mov eax, dword [rsp + 0x134]
movsxd rdi, dword [rsi + 0x3c]
mov dword [rsp + 0x80], eax
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x60], edi
jg 0x4cad73
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cadaa
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x80]
lea rcx, [rdi + rdi*2]
xor r10d, r10d
mov byte [rax + rcx*8], WSAGetLastError
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], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov byte [rax + rcx*8 + 1], r10b
jmp 0x4cadad
xor r10d, r10d
test ebx, ebx
je 0x4cadf2
movzx edx, byte [rbp + 0x1f]
cmp dl, 8
jae 0x4cade9
lea r8, [rbp + 0x88]
mov ecx, r10d
mov rax, r8
cmp dword [rax + 0xc], ebx
je 0x4cade3
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x4cadc7
movzx eax, dl
mov dword [rbp + rax*4 + 0x24], ebx
inc byte [rbp + 0x1f]
jmp 0x4cadf9
mov byte [rax + 6], 1
jmp 0x4cadf9
lea r8, [rbp + 0x88]
jmp 0x4cadf9
lea r8, [rbp + 0x88]
mov eax, dword [rsp + 0x60]
mov edi, dword [rsp + 0x90]
lea rcx, [r8 + 0xc]
lea r9d, [rax + rdi - 1]
mov r8d, 0xa
mov edx, dword [rcx]
cmp edx, eax
jl 0x4cae41
cmp edx, r9d
jg 0x4cae41
cmp byte [rcx - 6], 0
je 0x4cae3e
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x4cae36
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
inc byte [rbp + 0x1f]
mov eax, dword [rsp + 0x60]
mov byte [rcx - 6], 0
mov dword [rcx], r10d
add rcx, 0x14
dec r8
jne 0x4cae13
cmp edi, dword [rbp + 0x44]
jle 0x4cae55
mov dword [rbp + 0x44], edi
mov dword [rbp + 0x48], eax
mov rcx, qword [rsp + 0xc8]
call fcn.0044cae0
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x138], eax
inc eax
mov dword [rbp + 0x50], eax
movzx eax, byte [rbp + 0x1f]
test al, al
jne 0x4cae89
inc dword [rbp + 0x54]
mov ecx, dword [rbp + 0x54]
mov dword [rsp + 0x60], ecx
jmp 0x4cae99
dec al
movzx eax, al
mov byte [rbp + 0x1f], al
mov eax, dword [rbp + rax*4 + 0x24]
mov dword [rsp + 0x60], eax
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4caeb7
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4caeec
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x5c]
lea rcx, [rbx + rbx*2]
xor r11d, r11d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x60]
mov byte [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], r11
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], r11b
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
mov edi, dword [rsp + 0x134]
cmp dword [rax + 0x60], ebx
jg 0x4caf11
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4caf45
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xb4]
lea rcx, [rbx + rbx*2]
xor ebx, ebx
mov byte [rax + rcx*8], 0x6a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov byte [rax + rcx*8 + 1], bl
jmp 0x4caf47
xor ebx, ebx
lea rax, [rbp + 0x88]
mov byte [rsp + 0x131], 1
mov r8d, 0xa
lea rcx, [rax + 0xc]
mov edx, dword [rcx]
test edx, edx
je 0x4caf84
cmp byte [rcx - 6], 0
je 0x4caf82
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x4caf7e
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
inc byte [rbp + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebx
add rcx, 0x14
dec r8
jne 0x4caf60
mov rdx, qword [rsp + 0xc8]
lea eax, [r8 + 1]
cmp dword [rsp + 0xa0], 0
je 0x4cb013
mov rcx, qword [rsp + 0x88]
test byte [rcx + 0x4c], 4
jne 0x4cb013
test eax, eax
jne 0x4cafba
cmp byte [rdx + 0x35], al
je 0x4cb013
movsxd rax, dword [rsp + 0x120]
mov qword [rsp + 0x108], rbx
cmp eax, dword [rsi + 0x3c]
jge 0x4cb013
mov rbx, qword [rsi + 8]
mov rcx, qword [rsi]
lea rdi, [rax + rax*2]
movsx edx, byte [rbx + rdi*8 + 1]
mov r8, qword [rbx + rdi*8 + 0x10]
call fcn.00441fd0
mov r8d, dword [rsp + 0x120]
xor r11d, r11d
mov qword [rbx + rdi*8], r11
mov qword [rbx + rdi*8 + 8], r11
mov qword [rbx + rdi*8 + 0x10], r11
mov byte [rbx + rdi*8], 0x9a
mov eax, dword [rsi + 0x3c]
dec eax
cmp r8d, eax
jne 0x4cb013
mov dword [rsi + 0x3c], eax
mov eax, dword [rsi + 0x3c]
xor esi, esi
lea rcx, [rbp + 0x94]
mov dword [rsp + 0x90], eax
lea r8d, [rsi + 0xa]
nop
nop
mov edx, dword [rcx]
test edx, edx
je 0x4cb054
cmp byte [rcx - 6], sil
je 0x4cb052
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x4cb04e
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
inc byte [rbp + 0x1f]
mov byte [rcx - 6], sil
mov dword [rcx], esi
add rcx, 0x14
dec r8
jne 0x4cb030
cmp dword [rsp + 0xd4], esi
mov rsi, qword [rsp + 0xe0]
je 0x4cb0c7
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
mov edi, dword [rsp + 0x134]
cmp dword [rax + 0x60], ebx
jg 0x4cb092
lea edx, [r8 + 1]
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb0c7
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x60]
lea rcx, [rbx + rbx*2]
xor r11d, r11d
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0x5c]
mov byte [rax + rcx*8], 0x64
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov qword [rax + rcx*8 + 0x10], r11
mov dword [rax + rcx*8 + 0xc], edx
mov byte [rax + rcx*8 + 1], r11b
mov rdx, qword [rsp + 0x78]
movsxd rcx, dword [rsp + 0xd4]
xor eax, eax
cmp dword [rdx], eax
mov ebx, eax
mov qword [rsp + 0xa0], rcx
jle 0x4cb19b
mov qword [rsp + 0x80], rax
test rcx, rcx
je 0x4cb14d
mov rax, qword [rsi + 0x30]
movsxd rdi, dword [rsi + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x4cb113
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb170
inc dword [rsi + 0x3c]
mov rcx, qword [rsi + 8]
mov eax, dword [rsp + 0x5c]
lea rdx, [rdi + rdi*2]
mov dword [rcx + rdx*8 + 4], eax
mov eax, dword [rsp + 0xb8]
mov byte [rcx + rdx*8], Ordinal_50
add eax, ebx
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], ebx
mov dword [rcx + rdx*8 + 0xc], eax
xor eax, eax
mov qword [rcx + rdx*8 + 0x10], rax
mov byte [rcx + rdx*8 + 1], al
jmp 0x4cb170
mov ecx, dword [rsp + 0xb8]
mov byte [rsp + 0x130], 1
mov rdx, qword [rdx + 8]
mov rdx, qword [rdx + rax]
lea r8d, [rbx + rcx]
mov rcx, rbp
call fcn.004d69b0
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
add rax, 0x28
inc ebx
cmp ebx, dword [rdx]
mov qword [rsp + 0x80], rax
jl 0x4cb0f0
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x4cb1aa
inc dword [rax]
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
mov edi, dword [rdx]
cmp dword [rax + 0x60], ebx
jg 0x4cb1d1
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
je 0x4cb1d1
mov ebx, 1
jmp 0x4cb20c
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xd8]
lea rcx, [rbx + rbx*2]
xor r11d, r11d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xb8]
mov byte [rax + rcx*8], 0x2a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], r11
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], r11b
mov rdi, qword [rsi + 8]
mov rcx, qword [rsi]
test rdi, rdi
je 0x4cb270
cmp byte [rcx + 0x50], 0
jne 0x4cb270
test ebx, ebx
jns 0x4cb227
mov ebx, dword [rsi + 0x3c]
dec ebx
movsxd rax, ebx
lea rbx, [rax + rax*2]
movsx edx, byte [rdi + rbx*8 + 1]
mov r8, qword [rdi + rbx*8 + 0x10]
call fcn.00441fd0
mov rax, qword [rsp + 0xa8]
xor ecx, ecx
test rax, rax
mov qword [rdi + rbx*8 + 0x10], rcx
jne 0x4cb25c
mov qword [rdi + rbx*8 + 0x10], rcx
mov byte [rdi + rbx*8 + 1], cl
jmp 0x4cb282
mov qword [rdi + rbx*8 + 0x10], rax
mov byte [rdi + rbx*8 + 1], 0xfa
jmp 0x4cb282
mov r8, qword [rsp + 0xa8]
mov edx, 0xfffffffa
call fcn.00441fd0
movsxd rbx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x60], ebx
mov dword [rsp + 0xa0], ebx
jg 0x4cb2a7
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb2d8
inc dword [rsi + 0x3c]
mov rcx, qword [rsi + 8]
lea rdx, [rbx + rbx*2]
xor r8d, r8d
lea eax, [rbx + 1]
mov byte [rcx + rdx*8], Ordinal_46
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], eax
mov dword [rcx + rdx*8 + 8], r8d
mov dword [rcx + rdx*8 + 0xc], eax
mov qword [rcx + rdx*8 + 0x10], r8
mov byte [rcx + rdx*8 + 1], r8b
mov rax, qword [rsp + 0x78]
mov rbx, qword [rbp + 0x10]
mov ecx, dword [rbx + 0x3c]
mov edi, dword [rax]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x60], ecx
mov dword [rsp + 0x80], ecx
jg 0x4cb30e
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x4cb350
mov ecx, dword [rsp + 0x80]
inc dword [rbx + 0x3c]
mov r9d, dword [rsp + 0xb8]
mov edx, dword [rsp + 0xd8]
movsxd rax, ecx
xor r10d, r10d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_32
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r9d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], r10
mov byte [rax + rcx*8 + 1], r10b
jmp 0x4cb35b
mov r9d, dword [rsp + 0xb8]
xor r10d, r10d
lea r8d, [rdi + r9 - 1]
lea rcx, [rbp + 0x94]
mov eax, 0xa
nop
mov edx, dword [rcx]
cmp edx, r9d
jl 0x4cb3a0
cmp edx, r8d
jg 0x4cb3a0
cmp byte [rcx - 6], 0
je 0x4cb398
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x4cb394
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
inc byte [rbp + 0x1f]
mov byte [rcx - 6], 0
mov rax, qword [rsp + 0x68]
mov dword [rcx], r10d
add rcx, 0x14
dec rax
mov qword [rsp + 0x68], rax
jne 0x4cb370
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cb3d0
mov edi, 1
mov rcx, rsi
mov edx, edi
call fcn.00441a80
test eax, eax
jne 0x4cb40b
jmp 0x4cb3d5
mov edi, 1
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x58]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xbc]
mov byte [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cb426
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb461
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xb0]
lea rcx, [rbx + rbx*2]
inc edx
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xb4]
mov byte [rax + rcx*8], 0x89
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cb47c
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb4b5
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xc0]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xf0]
mov byte [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov edx, dword [rsi + 0x3c]
mov eax, dword [rsp + 0xa0]
cmp edx, eax
jbe 0x4cb4cf
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea rdx, [rsp + 0x130]
dec ecx
mov dword [rax + 0x64], ecx
mov rcx, rbp
call fcn.00485050
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cb506
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb538
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xb0]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8], Ordinal_27
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
cmp dword [rsp + 0xd4], 0
je 0x4cb5a2
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
mov edi, dword [rsp + 0x134]
cmp dword [rax + 0x60], ebx
jg 0x4cb56b
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb5fc
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x90]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov dword [rax + rcx*8 + 4], edi
mov byte [rax + rcx*8], 5
mov byte [rax + rcx*8 + 3], 0
lea edi, [rdx + 1]
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
jmp 0x4cb608
mov rcx, qword [rsp + 0xc8]
call fcn.0044cae0
movsxd rax, dword [rsp + 0x70]
cmp eax, dword [rsi + 0x3c]
jge 0x4cb608
mov rbx, qword [rsi + 8]
mov rcx, qword [rsi]
lea rdi, [rax + rax*2]
movsx edx, byte [rbx + rdi*8 + 1]
mov r8, qword [rbx + rdi*8 + 0x10]
call fcn.00441fd0
xor r11d, r11d
mov qword [rbx + rdi*8], r11
mov qword [rbx + rdi*8 + 8], r11
mov qword [rbx + rdi*8 + 0x10], r11
mov byte [rbx + rdi*8], 0x9a
mov eax, dword [rsi + 0x3c]
dec eax
cmp dword [rsp + 0x70], eax
jne 0x4cb603
mov dword [rsi + 0x3c], eax
lea edi, [r11 + 1]
jmp 0x4cb608
mov edi, 1
jmp 0x4cb608
mov edi, 1
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cb623
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb659
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x58]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xbc]
mov byte [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cb674
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb6aa
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xb4]
lea rcx, [rbx + rbx*2]
xor r8d, r8d
mov byte [rax + rcx*8], reloc.WS2_32.dll_recv
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], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
movsxd rbx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x60], ebx
mov dword [rsp + 0x90], ebx
jg 0x4cb6cc
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb700
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0xb0]
lea rcx, [rbx + rbx*2]
inc edx
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8], Ordinal_27
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cb71b
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb74a
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x58]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
xor edx, edx
mov byte [rax + rcx*8], reloc.WS2_32.dll_select
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov byte [rax + rcx*8 + 3], 0
mov r8, qword [rsi + 0x30]
mov eax, 0xffffffff
sub eax, dword [rsp + 0xbc]
js 0x4cb771
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x4cb771
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
movsxd rbx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x60], ebx
mov dword [rsp + 0xbc], ebx
jg 0x4cb79c
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb7d1
inc dword [rsi + 0x3c]
mov rcx, qword [rsi + 8]
mov eax, dword [rsp + 0xb0]
lea rdx, [rbx + rbx*2]
mov dword [rcx + rdx*8 + 4], eax
lea eax, [rbx + 2]
mov byte [rcx + rdx*8], 0x89
mov dword [rcx + rdx*8 + 8], eax
xor eax, eax
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 0xc], eax
mov qword [rcx + rdx*8 + 0x10], rax
mov byte [rcx + rdx*8 + 1], al
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cb7ec
mov edx, edi
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cb821
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x58]
lea rcx, [rbx + rbx*2]
xor r9d, r9d
mov byte [rax + rcx*8], reloc.WS2_32.dll_select
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], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r9b
jmp 0x4cb824
xor r9d, r9d
cmp dword [rsp + 0x168], 0
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0xa0], r9d
jle 0x4cb997
mov rdx, qword [rsp + 0x160]
mov rsi, rax
mov ebp, 1
add rdx, 8
mov qword [rsp + 0xc8], rdx
nop
nop
mov rax, qword [rdx - 8]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x4cb871
mov edi, dword [rcx]
jmp 0x4cb874
mov edi, r9d
mov eax, dword [rdx + 8]
movsxd rbx, dword [rsi + 0x3c]
mov dword [rsp + 0x80], eax
mov rax, qword [rdx]
mov qword [rsp + 0x68], rax
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x60], ebx
jg 0x4cb8a8
mov edx, ebp
mov rcx, rsi
call fcn.00441a80
test eax, eax
je 0x4cb8a5
mov ebx, ebp
jmp 0x4cb8da
xor r9d, r9d
mov rax, qword [rsi + 8]
inc dword [rsi + 0x3c]
mov edx, dword [rsp + 0x80]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], Ordinal_143
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], 0
mov rdi, qword [rsi + 8]
mov rcx, qword [rsi]
test rdi, rdi
je 0x4cb940
cmp byte [rcx + 0x50], 0
jne 0x4cb940
test ebx, ebx
jns 0x4cb8f5
mov ebx, dword [rsi + 0x3c]
dec ebx
movsxd rax, ebx
lea rbx, [rax + rax*2]
movsx edx, byte [rdi + rbx*8 + 1]
mov r8, qword [rdi + rbx*8 + 0x10]
call fcn.00441fd0
mov rax, qword [rsp + 0x68]
xor r9d, r9d
test rax, rax
mov qword [rdi + rbx*8 + 0x10], r9
jne 0x4cb929
mov qword [rdi + rbx*8 + 0x10], r9
mov byte [rdi + rbx*8 + 1], r9b
jmp 0x4cb952
mov qword [rdi + rbx*8 + 0x10], rax
mov byte [rdi + rbx*8 + 1], 0xfb
jmp 0x4cb952
mov r8, qword [rsp + 0x68]
mov edx, 0xfffffffb
call fcn.00441fd0
xor r9d, r9d
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0xc8]
inc r8d
add rdx, 0x18
cmp r8d, dword [rsp + 0x168]
mov dword [rsp + 0xa0], r8d
mov qword [rsp + 0xc8], rdx
jl 0x4cb860
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0x1f0]
mov ebx, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0x188]
mov r9d, reloc.WS2_32.dll_recv
inc ebx
mov rcx, rbp
mov r8d, ebx
call fcn.004d3740
mov r11d, dword [rsp + 0x90]
mov rax, qword [rsp + 0x200]
mov rdi, qword [rsp + 0x1f8]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ebx
mov r8, qword [rdi]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x108]
mov r9d, 0xffffffff
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.00491a60
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cba2b
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cba5d
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x58]
lea rcx, [rbx + rbx*2]
xor edi, edi
mov byte [rax + rcx*8], reloc.WS2_32.dll_select
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], dil
jmp 0x4cba5f
xor edi, edi
mov r8, qword [rsi + 0x30]
mov eax, 0xffffffff
sub eax, dword [rsp + 0xf0]
js 0x4cba86
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x4cba86
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
lea rdx, [rsp + 0x130]
mov rcx, rbp
dec eax
mov dword [r8 + 0x64], eax
call fcn.00484e50
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cbac1
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cc00c
mov rax, qword [rsi + 8]
inc dword [rsi + 0x3c]
mov edx, dword [rsp + 0xc0]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], reloc.WS2_32.dll_select
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], 0
jmp 0x4cc00c
mov r8, qword [rsp + 0x1f8]
mov qword [rsp + 0xa8], r9
cmp qword [r8 + 0x30], 0
jne 0x4cbe53
mov rax, qword [r8]
cmp dword [rax], 1
jne 0x4cbe53
mov r11, qword [r8 + 0x28]
cmp dword [r11], 1
jne 0x4cbe53
cmp qword [r11 + 0x30], 0
jne 0x4cbe53
mov r11, qword [r11 + 0x28]
mov rax, qword [rax + 8]
test byte [r11 + 0x48], 0x10
mov rdx, qword [rax]
mov qword [rsp + 0xc8], r11
jne 0x4cbe53
cmp byte [rdx], 0x9b
jne 0x4cbe53
test ecx, ecx
je 0x4cbe53
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax + 8]
bt word [rcx + 2], 8
jae 0x4cbe53
test byte [rdx + 4], 0x10
jne 0x4cbe53
mov rdx, qword [r11 + 0x70]
mov rax, qword [rbp]
mov ebx, 0xfff0bdc0
test rdx, rdx
je 0x4cbbbf
mov ecx, dword [rax + 0x28]
mov ebx, r9d
test ecx, ecx
jle 0x4cbbbf
mov rax, qword [rax + 0x20]
add rax, 0x18
nop
cmp qword [rax], rdx
je 0x4cbbbf
inc ebx
add rax, 0x20
cmp ebx, ecx
jl 0x4cbbb0
mov eax, dword [rbp + 0x50]
mov r10, rbp
mov ecx, ebx
mov dword [rsp + 0x1f0], eax
inc eax
mov edx, 1
mov dword [rbp + 0x50], eax
mov eax, dword [r11 + 0x3c]
mov qword [rsp + 0xe0], r9
mov dword [rsp + 0xa0], eax
mov rax, qword [rbp + 0x1c0]
mov rdi, r9
test rax, rax
cmovne r10, rax
shl edx, cl
mov eax, dword [r10 + 0x16c]
test edx, eax
jne 0x4cbc47
or eax, edx
movsxd r9, ebx
mov dword [r10 + 0x16c], eax
mov rax, qword [r10]
mov r8, r9
mov rdx, qword [rax + 0x20]
shl r8, 5
cmp ebx, 1
mov rax, qword [r8 + rdx + 0x18]
mov edx, dword [rax]
mov dword [r10 + r9*4 + 0x170], edx
jne 0x4cbc47
mov rcx, r10
call fcn.004a7960
mov r11, qword [rsp + 0xc8]
mov rax, qword [r11]
mov r8d, dword [r11 + 0x3c]
xor r9d, r9d
mov edx, ebx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.00446990
mov rdx, qword [rsp + 0xc8]
test byte [rdx + 0x48], 0x20
je 0x4cbc89
mov rdi, qword [rdx + 0x10]
test rdi, rdi
je 0x4cbc89
mov eax, dword [rdi + 0x64]
and al, 3
cmp al, 2
je 0x4cbc89
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x4cbc77
mov rax, qword [rdx + 0x10]
test rax, rax
je 0x4cbcc0
test byte [rax + 0x64], 4
jne 0x4cbcb7
movzx ecx, word [rax + 0x5c]
cmp cx, word [rdx + 0x46]
jge 0x4cbcb7
cmp qword [rax + 0x48], 0
jne 0x4cbcb7
test rdi, rdi
je 0x4cbcb4
cmp cx, word [rdi + 0x5c]
jge 0x4cbcb7
mov rdi, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x4cbc92
test rdi, rdi
je 0x4cbce2
mov eax, dword [rdi + 0x58]
mov rdx, rdi
mov rcx, rbp
mov dword [rsp + 0xa0], eax
call fcn.00481820
mov qword [rsp + 0xe0], rax
mov r9d, dword [rsp + 0xa0]
mov r8d, dword [rsp + 0x1f0]
mov edx, getservbyname
mov rcx, rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
call fcn.0044f840
mov rax, qword [rsp + 0xe0]
test rax, rax
je 0x4cbd80
mov rcx, qword [rsi + 8]
mov r9, qword [rsi]
test rcx, rcx
mov qword [rsp + 0x68], rcx
je 0x4cbd70
cmp byte [r9 + 0x50], 0
jne 0x4cbd70
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rcx + rbx*8 + 1]
mov r8, qword [rcx + rbx*8 + 0x10]
mov rcx, r9
call fcn.00441fd0
mov r11, qword [rsp + 0x68]
mov rax, qword [rsp + 0xe0]
mov qword [r11 + rbx*8 + 0x10], rax
mov byte [r11 + rbx*8 + 1], 0xfa
jmp 0x4cbd80
mov r8, rax
mov edx, 0xfffffffa
mov rcx, r9
call fcn.00441fd0
mov rax, qword [rsp + 0x160]
movsxd rbx, dword [rsi + 0x3c]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x80], eax
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x60], ebx
jg 0x4cbdb0
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cbde9
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x1f0]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x80]
mov byte [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_50
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [rsi + 0x30]
movsxd rbx, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x4cbe07
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x4cbe39
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov edx, dword [rsp + 0x1f0]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
xor edx, edx
mov byte [rax + rcx*8], 0x3d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov byte [rax + rcx*8 + 3], 0
mov rdx, qword [rsp + 0xc8]
mov r8, rdi
mov rcx, rbp
call fcn.00472550
xor edi, edi
jmp 0x4cbf8f
xor dil, dil
cmp qword [r8 + 0x40], 0
mov rbx, r9
mov qword [rsp + 0x1f0], r9
jne 0x4cbedc
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x130]
call fcn.00435b60
test al, al
movzx edi, al
je 0x4cbed4
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x88]
xor r8d, r8d
call fcn.004450a0
test rax, rax
mov rbx, rax
mov qword [rsp + 0xa8], rax
je 0x4cbedc
mov rax, qword [rsp + 0x88]
cmp byte [rax + 0x50], 0
jne 0x4cbedc
mov rcx, qword [rbx + 8]
cmp dil, 1
setne dl
mov byte [rcx + 0x18], dl
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
mov byte [rdx], 0x9a
jmp 0x4cbedc
mov rbx, qword [rsp + 0x1f0]
lea rdx, [rsp + 0x130]
mov rcx, rbp
call fcn.00484e50
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
movzx r11d, dil
xor edi, edi
mov r9, rbx
mov dword [rsp + 0x30], edi
mov word [rsp + 0x28], r11w
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call fcn.004a87d0
test rax, rax
mov rbx, rax
jne 0x4cbf4e
mov rsi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.00445760
mov rax, qword [rsp + 0x50]
mov r8, qword [rsp + 0x98]
lea edx, [rdi + 1]
jmp 0x4cc38c
lea rdx, [rsp + 0x130]
mov rcx, rbp
call fcn.00485050
cmp byte [rbx + 0x34], dil
jle 0x4cbf77
mov r9d, dword [rbx + 0x44]
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.00441dd0
mov rcx, rbx
call fcn.0044cae0
lea rdx, [rsp + 0x130]
mov rcx, rbp
call fcn.00455990
mov r8d, dword [rsp + 0xb4]
mov rdx, qword [rsp + 0x188]
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rbp
mov qword [rsp + 0x108], rdi
call fcn.004d3740
mov eax, dword [rsp + 0xb4]
mov r9d, 0xffffffff
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x1f8]
mov rcx, rbp
mov r8, qword [rax]
mov rdx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.00491a60
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x88]
call fcn.00445760
mov r9, qword [rsi + 0x30]
mov eax, 0xffffffff
sub eax, dword [rsp + 0xb4]
js 0x4cc033
mov rdx, qword [r9 + 0x80]
test rdx, rdx
je 0x4cc033
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r9 + 0x64], eax
cmp byte [rsp + 0xd0], 3
jne 0x4cc14f
cmp byte [rbp + 0x1f2], 2
jne 0x4cc14f
mov rcx, qword [rbp]
mov rbx, qword [rbp + 0x10]
lea r8, str.DISTINCT
lea rdx, str.USE_TEMP_B_TREE_FOR__s
call fcn.00461c80
mov edx, dword [rbx + 0x3c]
mov rcx, qword [rbx + 0x30]
cmp dword [rcx + 0x60], edx
mov edi, dword [rbp + 0x200]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x1f0], edx
jg 0x4cc0af
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
je 0x4cc0a8
mov edx, 1
jmp 0x4cc0e1
mov edx, dword [rsp + 0x1f0]
inc dword [rbx + 0x3c]
xor r8d, r8d
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], 0x9b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
mov rdi, qword [rbx + 8]
mov rcx, qword [rbx]
test rdi, rdi
je 0x4cc140
cmp byte [rcx + 0x50], 0
jne 0x4cc140
test edx, edx
jns 0x4cc0fc
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rbx, [rax + rax*2]
movsx edx, byte [rdi + rbx*8 + 1]
mov r8, qword [rdi + rbx*8 + 0x10]
call fcn.00441fd0
mov rax, qword [rsp + 0x68]
xor ecx, ecx
test rax, rax
mov qword [rdi + rbx*8 + 0x10], rcx
jne 0x4cc12e
mov qword [rdi + rbx*8 + 0x10], rcx
mov byte [rdi + rbx*8 + 1], cl
jmp 0x4cc14f
mov qword [rdi + rbx*8 + 0x10], rax
mov byte [rdi + rbx*8 + 1], 0xff
jmp 0x4cc14f
mov r8, qword [rsp + 0x68]
mov edx, 0xffffffff
call fcn.00441fd0
cmp qword [rsp + 0x108], 0
je 0x4cc29f
cmp byte [rbp + 0x1f2], 2
jne 0x4cc26f
cmp dword [rsp + 0x110], 0
mov rcx, qword [rbp]
mov rbx, qword [rbp + 0x10]
lea rax, str.RIGHT_PART_OF_ORDER_BY
lea r8, str.ORDER_BY
lea rdx, str.USE_TEMP_B_TREE_FOR__s
cmovg r8, rax
call fcn.00461c80
mov rcx, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rcx + 0x60], edi
mov qword [rsp + 0x68], rax
mov eax, dword [rbp + 0x200]
mov dword [rsp + 0x1f0], eax
jg 0x4cc1d0
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
je 0x4cc1d0
mov eax, 1
jmp 0x4cc204
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
mov edx, dword [rsp + 0x1f0]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 4], edx
xor edx, edx
mov byte [rax + rcx*8], 0x9b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov byte [rax + rcx*8 + 3], 0
mov eax, edi
mov rdi, qword [rbx + 8]
mov rcx, qword [rbx]
test rdi, rdi
je 0x4cc260
cmp byte [rcx + 0x50], 0
jne 0x4cc260
test eax, eax
jns 0x4cc21f
mov eax, dword [rbx + 0x3c]
dec eax
cdqe
lea rbx, [rax + rax*2]
movsx edx, byte [rdi + rbx*8 + 1]
mov r8, qword [rdi + rbx*8 + 0x10]
call fcn.00441fd0
mov rax, qword [rsp + 0x68]
xor ecx, ecx
test rax, rax
mov qword [rdi + rbx*8 + 0x10], rcx
jne 0x4cc250
mov qword [rdi + rbx*8 + 0x10], rcx
mov byte [rdi + rbx*8 + 1], cl
jmp 0x4cc26f
mov qword [rdi + rbx*8 + 0x10], rax
mov byte [rdi + rbx*8 + 1], 0xff
jmp 0x4cc26f
mov r8, qword [rsp + 0x68]
mov edx, 0xffffffff
call fcn.00441fd0
mov rax, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x1f8]
lea r8, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x98]
mov rcx, rbp
mov r9d, dword [rax]
call fcn.0045db50
mov r9, qword [rsi + 0x30]
mov rax, 0xffffffffffffffff
sub eax, dword [rsp + 0x190]
js 0x4cc2c8
mov rdx, qword [r9 + 0x80]
test rdx, rdx
je 0x4cc2c8
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
mov r8, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x88]
dec eax
mov dword [r9 + 0x64], eax
xor eax, eax
mov edx, eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rdx
jmp 0x4cc38c
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x98]
mov edx, 1
jmp 0x4cc38c
mov edx, 1
jmp 0x4cc38c
mov edx, 1
jmp 0x4cc38c
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x98]
mov edx, 1
jmp 0x4cc38c
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x98]
mov edx, 1
jmp 0x4cc38c
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x98]
mov edx, 1
jmp 0x4cc38c
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x98]
mov edx, 1
test edx, edx
mov ecx, dword [rsp + 0x128]
mov dword [rbp + 0x200], ecx
jne 0x4cc3b5
mov rcx, qword [rsp + 0x200]
cmp byte [rcx], 9
jne 0x4cc3b5
mov rdx, rax
mov rcx, rbp
call fcn.00470820
mov rbx, qword [rsp + 0x150]
test rbx, rbx
je 0x4cc498
cmp qword [rsi + 0x320], 0
je 0x4cc3e0
mov rdx, rbx
mov rcx, rsi
call fcn.00425e50
jmp 0x4cc498
cmp rbx, qword [rsi + 0x168]
jb 0x4cc40e
cmp rbx, qword [rsi + 0x170]
jae 0x4cc40e
mov rax, qword [rsi + 0x160]
mov qword [rbx], rax
dec dword [rsi + 0x14c]
mov qword [rsi + 0x160], rbx
jmp 0x4cc498
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x4cc48f
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4cc429
call qword [0x0072d0f8]
mov rcx, rbx
call qword [0x0072d0b0]
mov edx, dword [0x00772960]
mov rcx, rbx
neg eax
add edx, eax
mov eax, dword [0x00772988]
cmp edx, eax
mov dword [0x00772960], edx
cmovg eax, edx
mov edx, dword [0x00772984]
dec edx
mov dword [0x00772988], eax
mov eax, dword [0x007729ac]
cmp edx, eax
mov dword [0x00772984], edx
cmovg eax, edx
mov dword [0x007729ac], eax
call qword [0x0072d0a0]
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4cc498
call qword [0x0072d108]
jmp 0x4cc498
mov rcx, rbx
call qword [0x0072d0a0]
mov rbx, qword [rsp + 0x160]
test rbx, rbx
je 0x4cc587
cmp qword [rsi + 0x320], 0
je 0x4cc4c7
mov rdx, rbx
mov rcx, rsi
call fcn.00425e50
mov eax, dword [rsp + 0x68]
jmp 0x4cc58f
cmp rbx, qword [rsi + 0x168]
jb 0x4cc4f9
cmp rbx, qword [rsi + 0x170]
jae 0x4cc4f9
mov rax, qword [rsi + 0x160]
mov qword [rbx], rax
dec dword [rsi + 0x14c]
mov eax, dword [rsp + 0x68]
mov qword [rsi + 0x160], rbx
jmp 0x4cc58f
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x4cc57e
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4cc514
call qword [0x0072d0f8]
mov rcx, rbx
call qword [0x0072d0b0]
mov edx, dword [0x00772960]
mov rcx, rbx
neg eax
add edx, eax
mov eax, dword [0x00772988]
cmp edx, eax
mov dword [0x00772960], edx
cmovg eax, edx
mov edx, dword [0x00772984]
dec edx
mov dword [0x00772988], eax
mov eax, dword [0x007729ac]
cmp edx, eax
mov dword [0x00772984], edx
cmovg eax, edx
mov dword [0x007729ac], eax
call qword [0x0072d0a0]
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4cc587
call qword [0x0072d108]
mov eax, dword [rsp + 0x68]
jmp 0x4cc58f
mov rcx, rbx
call qword [0x0072d0a0]
mov eax, dword [rsp + 0x68]
jmp 0x4cc58f
mov eax, edi
mov rdi, qword [rsp + 0x1d0]
mov rsi, qword [rsp + 0x1d8]
mov rbp, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x208]
add rsp, 0x1e8
ret