Function at 0x140218d00
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1ae8
call fcn.14016d973
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x532
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b08]
mov rax, qword [0x1405033c0]
xor rax, rbp
mov qword [rbp + 0x1ab0], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140174d6d
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x1108], rax
mov eax, dword [rbp + 0x1ae8]
and eax, 0x800
test eax, eax
jne 0x140218daf
mov dword [rbp + 0x1a94], 1
jmp 0x140218db9
mov dword [rbp + 0x1a94], 0
mov eax, dword [rbp + 0x1a94]
mov dword [rbp + 0x1124], eax
lea rax, [rbp + 0x1148]
mov qword [rbp + 0x1178], rax
lea rax, [rbp + 0x1198]
mov qword [rbp + 0x11e8], rax
mov qword [rbp + 0x1208], 0
mov rax, qword [rbp + 0x1ae0]
cmp qword [rax], 0x16
jae 0x140218e0f
mov edx, 8
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
lea r9, [rbp + 0xa8]
mov r8d, reloc.WLDAP32.dll_Ordinal_22
mov edx, 0x6054b50
mov rcx, qword [rbp + 0x1ae0]
call fcn.140218910
test eax, eax
jne 0x140218e47
mov edx, 7
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov r9d, reloc.WLDAP32.dll_Ordinal_22
mov r8, qword [rbp + 0x1108]
mov rdx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0x1ae0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x1ae0]
call qword [rax + 0x48]
cmp rax, 0x16
je 0x140218e8c
mov edx, reloc.WS2_32.dll_sendto
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1108]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x18
or eax, ecx
cmp eax, 0x6054b50
je 0x140218f08
mov edx, 8
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
cmp qword [rbp + 0xa8], 0x4c
jl 0x140219169
mov rax, qword [rbp + 0xa8]
sub rax, 0x14
mov r9d, reloc.WS2_32.dll_sendto
mov r8, qword [rbp + 0x1178]
mov rdx, rax
mov rax, qword [rbp + 0x1ae0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x1ae0]
call qword [rax + 0x48]
cmp rax, 0x14
jne 0x140219169
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1178]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x18
or eax, ecx
cmp eax, 0x7064b50
jne 0x140219169
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1178]
movzx eax, byte [rcx + rax + 8]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx + 8]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx + 8]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx + 8]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx + 0xc]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x1178]
movzx edx, byte [r8 + rdx + 0xc]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0x1178]
movzx edx, byte [r8 + rdx + 0xc]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0x1178]
movzx edx, byte [r8 + rdx + 0xc]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov qword [rbp + 0x1208], rax
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax]
sub rax, 0x38
cmp qword [rbp + 0x1208], rax
jbe 0x1402190c2
mov edx, 8
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov r9d, Ordinal_60
mov r8, qword [rbp + 0x11e8]
mov rdx, qword [rbp + 0x1208]
mov rax, qword [rbp + 0x1ae0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x1ae0]
call qword [rax + 0x48]
cmp rax, 0x38
jne 0x140219169
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x11e8]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x18
or eax, ecx
cmp eax, 0x6064b50
jne 0x140219169
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax + 0x68]
mov dword [rax + 0x64], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1108]
movzx eax, byte [rcx + rax + 0xa]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 0xa]
shl ecx, 8
or eax, ecx
mov rcx, qword [rbp + 0x1ae0]
mov dword [rcx + 0x10], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1108]
movzx eax, byte [rcx + rax + 8]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 8]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x24], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1108]
movzx eax, byte [rcx + rax + 4]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 4]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x44], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1108]
movzx eax, byte [rcx + rax + 6]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 6]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1108]
movzx eax, byte [rcx + rax + 0xc]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 0xc]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 0xc]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 0xc]
shl ecx, 0x18
or eax, ecx
mov dword [rbp + 4], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1108]
movzx eax, byte [rcx + rax + 0x10]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x1108]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax + 0x68]
cmp dword [rax + 0x64], 0
je 0x140219968
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1178]
movzx eax, byte [rcx + rax + 0x10]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x1178]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 0x18
or eax, ecx
mov dword [rbp + 0x1224], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x11e8]
movzx eax, byte [rcx + rax + 0x20]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x20]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x20]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x20]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x24]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x24]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x24]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x24]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov qword [rbp + 0x1248], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x11e8]
movzx eax, byte [rcx + rax + 0x18]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x1c]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x1c]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x1c]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x1c]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov qword [rbp + 0x1268], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x11e8]
movzx eax, byte [rcx + rax + 4]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 4]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 8]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 8]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 8]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 8]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov qword [rbp + 0x1288], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x11e8]
movzx eax, byte [rcx + rax + 0x28]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x28]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x28]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x28]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x2c]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x2c]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x2c]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x2c]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov qword [rbp + 0x12a8], rax
cmp qword [rbp + 0x1288], 0x2c
jae 0x140219714
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
cmp dword [rbp + 0x1224], 1
je 0x140219733
mov edx, 0xa
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, 0xffffffff
cmp qword [rbp + 0x1248], rax
jbe 0x140219757
mov edx, 2
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov rax, qword [rbp + 0x1ae0]
mov ecx, dword [rbp + 0x1248]
mov dword [rax + 0x10], ecx
mov eax, 0xffffffff
cmp qword [rbp + 0x1268], rax
jbe 0x14021978b
mov edx, 2
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, dword [rbp + 0x1268]
mov dword [rbp + 0x24], eax
mov eax, 0xffffffff
cmp qword [rbp + 0x12a8], rax
jbe 0x1402197b8
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, dword [rbp + 0x12a8]
mov dword [rbp + 4], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x11e8]
movzx eax, byte [rcx + rax + 0x10]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 0x18
or eax, ecx
mov dword [rbp + 0x44], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x11e8]
movzx eax, byte [rcx + rax + 0x14]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 0x18
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x11e8]
movzx eax, byte [rcx + rax + 0x30]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x30]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x30]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x30]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x11e8]
movzx ecx, byte [rdx + rcx + 0x34]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x34]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x34]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0x11e8]
movzx edx, byte [r8 + rdx + 0x34]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x1ae0]
mov ecx, dword [rbp + 0x24]
cmp dword [rax + 0x10], ecx
je 0x14021998d
mov edx, 0xa
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x44]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x1402199bd
cmp dword [rbp + 0x44], 1
jne 0x1402199a7
cmp dword [rbp + 0x64], 1
je 0x1402199bd
mov edx, 0xa
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x1ae0]
mov ecx, dword [rcx + 0x10]
imul rcx, rcx, 0x2e
cmp rax, rcx
jae 0x1402199e9
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x1ae0]
cmp rax, qword [rcx]
jbe 0x140219a1b
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov rax, qword [rbp + 0x1ae0]
mov rcx, qword [rbp + 0x88]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x1ae0]
cmp dword [rax + 0x10], 0
je 0x14021a4bb
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x1ae0]
mov rcx, qword [rcx + 0x68]
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rbp + 0x1ae0]
call fcn.140210a10
test eax, eax
je 0x140219a97
mov rax, qword [rbp + 0x1ae0]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x1ae0]
mov rcx, qword [rcx + 0x68]
add rcx, 0x20
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rbp + 0x1ae0]
call fcn.140210a10
test eax, eax
jne 0x140219aad
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
cmp dword [rbp + 0x1124], 0
je 0x140219afe
mov rax, qword [rbp + 0x1ae0]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x1ae0]
mov rcx, qword [rcx + 0x68]
add rcx, 0x40
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rbp + 0x1ae0]
call fcn.140210a10
test eax, eax
jne 0x140219afe
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x1ae0]
mov rcx, qword [rcx + 0x68]
mov r9d, eax
mov r8, qword [rcx]
mov rdx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x1ae0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x1ae0]
call qword [rax + 0x48]
mov ecx, dword [rbp + 4]
cmp rax, rcx
je 0x140219b4c
mov edx, reloc.WS2_32.dll_sendto
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax + 0x68]
mov rax, qword [rax]
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 4]
mov dword [rbp + 0x12e4], eax
mov dword [rbp + 0x12c4], 0
jmp 0x140219b84
mov eax, dword [rbp + 0x12c4]
inc eax
mov dword [rbp + 0x12c4], eax
mov rax, qword [rbp + 0x1ae0]
mov eax, dword [rax + 0x10]
cmp dword [rbp + 0x12c4], eax
jae 0x14021a4bb
cmp dword [rbp + 0x12e4], 0x2e
jb 0x140219c09
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x18
or eax, ecx
cmp eax, 0x2014b50
je 0x140219c1f
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xc8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x1a98], rax
mov rcx, qword [rbp + 0x1ae0]
mov rcx, qword [rcx + 0x68]
mov qword [rbp + 0x1aa0], rcx
mov rdx, qword [rbp + 0x1ae0]
mov rdx, qword [rdx + 0x68]
add rdx, 0x20
mov qword [rbp + 0x1aa8], rdx
mov edx, dword [rbp + 0x12c4]
mov r8, qword [rbp + 0x1aa8]
mov rcx, r8
call fcn.1402108f0
mov eax, eax
mov rcx, qword [rbp + 0x1aa0]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rbp + 0x1a98]
mov dword [rcx + rax*4], edx
cmp dword [rbp + 0x1124], 0
je 0x140219ce0
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x1a98], rax
mov rcx, qword [rbp + 0x1ae0]
mov rcx, qword [rcx + 0x68]
add rcx, 0x40
mov edx, dword [rbp + 0x12c4]
call fcn.1402108f0
mov eax, eax
mov rcx, qword [rbp + 0x1a98]
mov rcx, qword [rcx + 0x40]
mov edx, dword [rbp + 0x12c4]
mov dword [rcx + rax*4], edx
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0x14]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov qword [rbp + 0x13a8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0x18]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov qword [rbp + 0x13c8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0x2a]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov qword [rbp + 0x13e8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0x1c]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x1c]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x1364], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0x1e]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x1e]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x1384], eax
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax + 0x68]
cmp dword [rax + 0x68], 0
jne 0x14021a19b
cmp dword [rbp + 0x1384], 0
je 0x14021a19b
mov rax, qword [rbp + 0x13c8]
cmp qword [rbp + 0x13a8], rax
jbe 0x140219ed0
mov rax, qword [rbp + 0x13a8]
mov qword [rbp + 0x1a98], rax
jmp 0x140219ede
mov rax, qword [rbp + 0x13c8]
mov qword [rbp + 0x1a98], rax
mov rax, qword [rbp + 0x13e8]
cmp qword [rbp + 0x1a98], rax
jbe 0x140219f2c
mov rax, qword [rbp + 0x13c8]
cmp qword [rbp + 0x13a8], rax
jbe 0x140219f0e
mov rax, qword [rbp + 0x13a8]
mov qword [rbp + 0x1aa0], rax
jmp 0x140219f1c
mov rax, qword [rbp + 0x13c8]
mov qword [rbp + 0x1aa0], rax
mov rax, qword [rbp + 0x1aa0]
mov qword [rbp + 0x1aa8], rax
jmp 0x140219f3a
mov rax, qword [rbp + 0x13e8]
mov qword [rbp + 0x1aa8], rax
mov eax, 0xffffffff
cmp qword [rbp + 0x1aa8], rax
jne 0x14021a19b
mov eax, dword [rbp + 0x1384]
mov dword [rbp + 0x1404], eax
cmp dword [rbp + 0x1404], 0
je 0x14021a19b
mov qword [rbp + 0x1448], 0
mov eax, dword [rbp + 0x1364]
mov ecx, dword [rbp + 0x1384]
lea eax, [rax + rcx + 0x2e]
cmp eax, dword [rbp + 0x12e4]
jbe 0x14021a038
mov eax, dword [rbp + 0x1384]
mov ecx, eax
call fcn.140171393
mov qword [rbp + 0x1448], rax
cmp qword [rbp + 0x1448], 0
jne 0x140219fc0
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, dword [rbp + 0x1384]
mov ecx, dword [rbp + 0x1364]
mov rdx, qword [rbp + 0x88]
lea rcx, [rdx + rcx + 0x2e]
mov r9d, eax
mov r8, qword [rbp + 0x1448]
mov rdx, rcx
mov rax, qword [rbp + 0x1ae0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x1ae0]
call qword [rax + 0x48]
mov ecx, dword [rbp + 0x1384]
cmp rax, rcx
je 0x14021a028
mov rcx, qword [rbp + 0x1448]
call fcn.14016f1e7
nop
mov edx, reloc.WS2_32.dll_sendto
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov rax, qword [rbp + 0x1448]
mov qword [rbp + 0x1428], rax
jmp 0x14021a051
mov eax, dword [rbp + 0x1364]
mov rcx, qword [rbp + 0xc8]
lea rax, [rcx + rax + 0x2e]
mov qword [rbp + 0x1428], rax
mov eax, dword [rbp + 0x1404]
cmp rax, 4
jae 0x14021a080
mov rcx, qword [rbp + 0x1448]
call fcn.14016f1e7
nop
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1428]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1428]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x1464], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x1428]
movzx eax, byte [rcx + rax + 2]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x1428]
movzx ecx, byte [rdx + rcx + 2]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x1484], eax
mov eax, dword [rbp + 0x1484]
add rax, 4
mov ecx, dword [rbp + 0x1404]
cmp rax, rcx
jbe 0x14021a120
mov rcx, qword [rbp + 0x1448]
call fcn.14016f1e7
nop
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
cmp dword [rbp + 0x1464], 1
jne 0x14021a14f
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax + 0x68]
mov dword [rax + 0x64], 1
mov rax, qword [rbp + 0x1ae0]
mov rax, qword [rax + 0x68]
mov dword [rax + 0x68], 1
jmp 0x14021a18e
mov eax, dword [rbp + 0x1484]
mov rcx, qword [rbp + 0x1428]
lea rax, [rcx + rax + 4]
mov qword [rbp + 0x1428], rax
mov eax, dword [rbp + 0x1404]
sub rax, 4
mov ecx, dword [rbp + 0x1484]
sub rax, rcx
mov dword [rbp + 0x1404], eax
cmp dword [rbp + 0x1404], 0
jne 0x14021a051
mov rcx, qword [rbp + 0x1448]
call fcn.14016f1e7
nop
mov eax, 0xffffffff
cmp qword [rbp + 0x13a8], rax
je 0x14021a260
mov eax, 0xffffffff
cmp qword [rbp + 0x13c8], rax
je 0x14021a260
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0xa]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0xa]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0xa]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0xa]
shl ecx, 0x18
or eax, ecx
test eax, eax
jne 0x14021a236
mov rax, qword [rbp + 0x13a8]
cmp qword [rbp + 0x13c8], rax
jne 0x14021a24a
cmp qword [rbp + 0x13c8], 0
je 0x14021a260
cmp qword [rbp + 0x13a8], 0
jne 0x14021a260
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0x22]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x22]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x1324], eax
cmp dword [rbp + 0x1324], 0xffff
je 0x14021a2b5
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x1324], eax
je 0x14021a2cb
cmp dword [rbp + 0x1324], 1
je 0x14021a2cb
mov edx, 0xa
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, 0xffffffff
cmp qword [rbp + 0x13a8], rax
je 0x14021a370
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0x2a]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov rcx, qword [rbp + 0x13a8]
lea rax, [rax + rcx + 0x1e]
mov rcx, qword [rbp + 0x1ae0]
cmp rax, qword [rcx]
jbe 0x14021a370
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 8]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 8]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x1344], eax
mov eax, dword [rbp + 0x1344]
and eax, 0x2000
test eax, eax
je 0x14021a3ca
mov edx, 5
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax + 0x1c]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x1c]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x1e]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 0x1e]
shl edx, 8
or ecx, edx
lea eax, [rax + rcx + 0x2e]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 0x20]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 0x20]
shl edx, 8
or ecx, edx
add eax, ecx
mov dword [rbp + 0x1304], eax
mov eax, dword [rbp + 0x12e4]
cmp dword [rbp + 0x1304], eax
jbe 0x14021a486
mov edx, 9
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021afb0
jmp 0x14021a4d6
mov eax, dword [rbp + 0x1304]
mov ecx, dword [rbp + 0x12e4]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x12e4], eax
mov eax, dword [rbp + 0x1304]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
jmp 0x140219b76
cmp dword [rbp + 0x1124], 0
je 0x14021a4d1
mov rcx, qword [rbp + 0x1ae0]
call fcn.14021ab10
nop
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.14017345e
mov rax, rdi
mov rcx, qword [rbp + 0x1ab0]
xor rcx, rbp
call fcn.1401703e9
lea rsp, [rbp + 0x1ac8]
pop rdi
pop rbp
ret