Function at 0x14005a780
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x268
mov rbx, qword [0x14011f188]
test r9, r9
movaps xmmword [rax - 0x58], xmm6
mov r14, r8
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x58], rbx
cmovne rax, r9
mov r13, rcx
xor r12d, r12d
mov qword [rsp + 0x70], rax
mov qword [rax], r12
test rcx, rcx
je case.0x14005a953.4
mov r15d, dword [rbp + 0x1b0]
xorps xmm6, xmm6
lea rsi, [0x1400fbbd0]
nop dword [rax]
lea rdi, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov rax, qword [0x14011f188]
sub ecx, dword [0x140127dd8]
cmp ecx, dword [rax + 0x88]
jbe 0x14005a84b
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, [rbp + 0x80]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14005a83f
mov edx, 1
lea ecx, [rdx - 2]
call fcn.1400016f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140127dd8], eax
cmp byte [rbx + 0x7f], 0
jne 0x14005a87b
cmp byte [rbx + 0xc2], 0
jne 0x14005a87b
inc dword [rbx + 0x6c]
mov eax, dword [0x140127dd0]
cmp dword [rbx + 0x6c], eax
jle 0x14005a87b
cmp eax, 0xffffffff
jle 0x14005a87b
mov byte [rbx + 0x7f], 1
mov dword [rbx + 0x88], 5
cmp byte [rbx + 0x7c], 0
je 0x14005a896
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400016f0
cmp byte [rbx + 0x7c], 0
jne 0x14005a881
mov qword [0x140127cd8], r13
cmp byte [rbx + 0xc6], 0
je 0x14005a8e0
movsxd rax, dword [0x140127290]
mov qword [rdi + rax*8 + 0x126610], r13
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x140127290]
mov dword [rdi + rdx*4 + 0x125fd0], eax
inc edx
mov dword [0x140127290], edx
cmp edx, 0x190
jl 0x14005a8e0
mov dword [0x140127290], r12d
cmp qword [0x140121a70], 0xffffffffffffffff
je 0x14005a8f9
cmp byte [r13], 0x10
je 0x14005a8f9
mov rdx, r13
call fcn.1400089c0
movzx ecx, byte [r13]
cmp cl, 1
je 0x14005a92f
lea eax, [rcx - 0xf]
cmp al, 4
jbe 0x14005a92f
lea eax, [rcx - 0x16]
cmp al, 5
jbe 0x14005a92f
cmp cl, 0x15
mov rdx, r12
mov rcx, r13
cmove rdx, r14
call fcn.140076bb0
mov r15d, eax
cmp eax, 1
jne 0x14005aace
movzx edi, byte [r13]
lea eax, [rdi - 1]
cmp eax, 0x1a
ja case.default.0x14005a953
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x5bfd8]
add rcx, rdx
jmp rcx
mov rax, qword [r13 + 8]
cmp byte [rax], 1
jne 0x14005a96e
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14005a96e
call fcn.1400678b0
jmp 0x14005a97a
mov rcx, qword [0x1401272b0]
call fcn.140067810
test eax, eax
je 0x14005aa1e
mov rax, qword [r13 + 0x20]
cmp byte [rax], 3
jne 0x14005a9b9
nop dword [rax + rax]
mov rcx, qword [rax + 0x20]
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
call fcn.14005a780
mov rcx, qword [rsp + 0x50]
mov r15d, eax
mov rax, qword [r13 + 0x20]
cmp rcx, rax
je 0x14005a990
jmp 0x14005a9d6
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 3
mov rcx, rax
call fcn.14005a780
mov rcx, qword [rsp + 0x50]
mov r15d, eax
lea rdi, [0x140000000]
cmp rcx, r13
je 0x14005a7f7
cmp dword [rbp + 0x1b8], 3
je 0x14005bbd4
cmp r15d, 1
jne 0x14005bbd4
test rcx, rcx
jne 0x14005aaa6
mov r13, qword [r13 + 0x28]
cmp byte [r13], 9
jne case.default.0x14005a953
mov r13, qword [r13 + 0x28]
jmp case.default.0x14005a953
mov r13, qword [r13 + 0x28]
cmp byte [r13], 9
jne 0x14005aabc
mov rax, qword [r13 + 0x20]
cmp byte [rax], 3
jne 0x14005aa69
nop word [rax + rax]
mov rcx, qword [rax + 0x20]
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
call fcn.14005a780
mov rcx, qword [rsp + 0x50]
mov r15d, eax
mov rax, qword [r13 + 0x20]
cmp rcx, rax
je 0x14005aa40
jmp 0x14005aa86
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 3
mov rcx, rax
call fcn.14005a780
mov rcx, qword [rsp + 0x50]
mov r15d, eax
cmp dword [rbp + 0x1b8], 3
je 0x14005bbd4
cmp r15d, 1
jne 0x14005bbd4
test rcx, rcx
je 0x14005ba5e
mov rax, qword [r13 + 0x30]
cmp qword [rcx + 0x30], rax
jne 0x14005bdc1
mov r13, rcx
jmp case.default.0x14005a953
cmp dword [rbp + 0x1b8], 3
jne case.default.0x14005a953
mov eax, 1
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [r13 + 0x28]
test rax, rax
jne 0x14005ab06
mov dl, 1
mov rcx, r13
call fcn.140064830
test rax, rax
je 0x14005b18c
cmp dword [rbp + 0x1b8], 3
lea rcx, [rax + 8]
je 0x14005bbe4
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x30]
cmp qword [r13 + 0x30], rax
jne 0x14005bbe4
mov r13, rdx
jmp case.default.0x14005a953
cmp dil, 0xb
je 0x14005ab5b
cmp dil, 0xc
jne 0x14005ab73
mov rcx, qword [0x1401272b0]
xor r8d, r8d
xor edx, edx
call fcn.140045300
mov qword [rbp - 0x58], rax
cmp rax, 0
je 0x14005bbf4
cmp byte [r13 + 1], 1
mov r11, qword [0x1401272b8]
ja 0x14005ab7f
mov edi, 1
mov dword [rbp - 0x80], edi
jmp 0x14005ab94
mov r11, qword [0x1401272b8]
mov edi, dword [rbp - 0x80]
jmp 0x14005ab94
mov rcx, r11
call fcn.1400276c0
mov dword [rbp - 0x80], eax
mov edi, eax
test eax, eax
je 0x14005bc6f
mov qword [rsp + 0x50], r12
xor r14d, r14d
mov r12, qword [r13 + 0x28]
cmp byte [r12], 0x11
jne 0x14005abb1
mov rsi, r12
mov r12, qword [r12 + 0x20]
jmp 0x14005abb4
mov rsi, r14
cmp byte [r13], 0xf
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x78], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp + 0x28], rax
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x30], rax
je 0x14005abea
mov qword [rbx], 1
movzx eax, byte [r13]
add eax, 0xfffffff6
cmp eax, 6
ja case.default.0x14005ac0e
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x5c044]
add rcx, rdx
jmp rcx
cmp byte [r13 + 1], 0
jbe 0x14005ac8e
mov rdx, qword [r13 + 8]
cmp byte [rdx + 1], 0
jne 0x14005ac7a
mov rdx, qword [rdx + 0x18]
test rdx, rdx
je 0x14005ac7a
mov ecx, dword [rdx + 0x10]
test ecx, ecx
je 0x14005ac6a
sub ecx, 1
je 0x14005ac62
sub ecx, 1
je 0x14005ac58
cmp ecx, 2
je 0x14005ac48
mov rdi, r14
xor r14b, r14b
jmp 0x14005ac94
mov rcx, qword [rdx]
call fcn.140061090
mov rdi, rax
xor r14b, r14b
jmp 0x14005ac94
cvttsd2si rdi, qword [rdx]
xor r14b, r14b
jmp 0x14005ac94
mov rdi, qword [rdx]
xor r14b, r14b
jmp 0x14005ac94
mov rcx, qword [rdx]
call fcn.14009d5f0
mov rdi, rax
xor r14b, r14b
jmp 0x14005ac94
mov rcx, qword [0x1401272b0]
call fcn.14009d5f0
mov rdi, rax
xor r14b, r14b
jmp 0x14005ac94
mov rdi, r14
mov r14b, 1
mov rbx, qword [0x14011f188]
xor eax, eax
mov r15, qword [rbp + 0x1c0]
mov qword [rsp + 0x60], rax
mov dword [rbp + 0x1c8], 4
test r14b, r14b
jne 0x14005acbd
cmp qword [rbx], rdi
jg 0x14005ad35
mov r10, qword [r13 + 0x20]
cmp byte [r10], 3
jne 0x14005acfc
nop word [rax + rax]
mov rcx, qword [r10 + 0x20]
lea r9, [rsp + 0x60]
mov r8, r15
mov edx, 2
call fcn.14005a780
mov r10, qword [r13 + 0x20]
mov rcx, qword [rsp + 0x60]
mov dword [rbp + 0x1c8], eax
cmp rcx, r10
je 0x14005acd0
jmp 0x14005ad1c
lea r9, [rsp + 0x60]
mov r8, r15
mov edx, 3
mov rcx, r10
call fcn.14005a780
mov rcx, qword [rsp + 0x60]
mov dword [rbp + 0x1c8], eax
mov r8d, eax
mov edx, eax
test rcx, rcx
je 0x14005ad41
cmp eax, 6
jne 0x14005ad30
cmp rcx, r13
je 0x14005ad46
mov qword [rsp + 0x50], rcx
mov r15d, dword [rbp + 0x1c8]
jmp 0x14005b093
cmp edx, 6
jne 0x14005ad52
mov dword [rbp + 0x1c8], 1
jmp 0x14005ad58
cmp r8d, 1
jne 0x14005ad35
test rsi, rsi
je 0x14005ad70
lea rdx, [rbp + 0x1c8]
mov rcx, rsi
call fcn.14005c850
test al, al
jne 0x14005ad35
inc qword [rbx]
jmp 0x14005acb3
mov rbx, qword [0x14011f188]
mov r15d, 4
mov qword [rbp + 0x1c8], r14
nop dword [rax]
cmp qword [0x140121a70], 0xffffffffffffffff
mov qword [0x140127cd8], r13
je 0x14005ada9
mov rdx, r13
call fcn.1400089c0
xor edx, edx
mov rcx, r13
call fcn.140076bb0
cmp eax, 1
jne 0x14005b090
mov rcx, qword [0x1401272b0]
call fcn.140067810
test eax, eax
je 0x14005b093
mov rcx, qword [r13 + 0x20]
cmp byte [rcx], 3
jne 0x14005ae10
mov r14, qword [rbp + 0x1c0]
mov rcx, qword [rcx + 0x20]
lea r9, [rbp + 0x1c8]
mov r8, r14
mov edx, 2
call fcn.14005a780
mov rcx, qword [r13 + 0x20]
mov r15d, eax
mov rax, qword [rbp + 0x1c8]
cmp rax, rcx
je 0x14005ade0
xor r14d, r14d
jmp 0x14005ae32
mov r8, qword [rbp + 0x1c0]
lea r9, [rbp + 0x1c8]
mov edx, 3
call fcn.14005a780
mov r15d, eax
mov rax, qword [rbp + 0x1c8]
test rax, rax
je 0x14005ae4c
cmp r15d, 6
jne 0x14005ae42
cmp rax, r13
je 0x14005ae52
mov qword [rsp + 0x50], rax
jmp 0x14005b093
cmp r15d, 6
jne 0x14005ae5a
mov r15d, 1
jmp 0x14005ae64
cmp r15d, 1
jne 0x14005b093
cmp byte [rbx + 0xc6], 0
je 0x14005aeae
movsxd rax, dword [0x140127290]
lea rdi, [0x140000000]
mov qword [rdi + rax*8 + 0x126610], r13
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x140127290]
mov dword [rdi + rdx*4 + 0x125fd0], eax
inc edx
mov dword [0x140127290], edx
cmp edx, 0x190
jl 0x14005aeae
mov dword [0x140127290], r14d
inc qword [rbx]
jmp 0x14005ad90
mov rdx, qword [rbp + 0x1c0]
lea r8, [rsp + 0x50]
mov r9, rsi
mov rcx, r13
call fcn.14005c920
mov r15d, eax
jmp case.default.0x14005ac0e
lea rdx, [0x140106670]
mov rcx, r11
call fcn.1400c0814
mov rdx, qword [rbp + 0x1c0]
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, r13
test eax, eax
je 0x14005af07
call fcn.14005db70
mov r15d, eax
jmp case.default.0x14005ac0e
call fcn.14005e000
mov r15d, eax
jmp case.default.0x14005ac0e
mov rax, qword [0x1401272b0]
lea r8, [rsp + 0x50]
mov rdx, qword [rbp + 0x1c0]
mov r9, rsi
mov qword [rsp + 0x28], r11
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.14005e470
mov r15d, eax
jmp case.default.0x14005ac0e
mov rbx, qword [0x1401272b0]
mov ecx, 0x204a0
mov dword [rbp + 0x1c8], 4
call fcn.1400ba174
mov qword [rsp + 0x60], rax
lea r9, [rbp + 0x1c8]
mov r8, rax
mov rdx, rbx
mov rdi, rax
mov qword [rax + 0x20468], r14
mov qword [rax + 0x20488], r14
call fcn.14005ce70
test al, al
je 0x14005afc2
mov eax, dword [rbp - 0x80]
lea r8, [rsp + 0x50]
mov rdx, qword [rbp + 0x1c0]
mov ecx, eax
shr ecx, 2
and eax, 0xfffffffb
and cl, 1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x28], cl
mov r9, rsi
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.14005d0c0
mov r15d, eax
jmp 0x14005afc9
mov r15d, dword [rbp + 0x1c8]
cmp qword [rdi + 0x20488], 0
je 0x14005afdf
mov rcx, qword [rdi + 0x20460]
call fcn.1400c0990
mov rcx, qword [rdi + 0x20468]
call fcn.1400c0990
mov edx, 0x204a0
mov rcx, rdi
call fcn.1400ba16c
jmp 0x14005b093
mov rcx, qword [0x1401272b0]
lea r8, [rbp + 0x1b0]
lea rdx, [rbp + 0x20]
call fcn.140045300
mov rbx, rax
test rax, rax
je 0x14005b076
mov rax, qword [rbp + 0x20]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov edx, edi
mov rax, qword [rbp - 0x58]
mov ecx, edi
shr edx, 2
and ecx, 0xfffffffb
and dl, 1
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov r9, rsi
mov byte [rsp + 0x28], dl
mov rdx, qword [rbp + 0x1c0]
mov dword [rsp + 0x20], ecx
mov rcx, r13
call fcn.14005d5a0
cmp byte [rbp + 0x1b0], 0
mov r15d, eax
je 0x14005b093
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005b093
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 9
lea rcx, [0x140127620]
mov edx, eax
call fcn.14000f380
mov r15d, eax
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbp - 0x70]
mov qword [rbx], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x78]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp + 0x28]
mov qword [rbx + 0x18], rax
mov rax, qword [rbp + 0x30]
mov qword [rbx + 0x20], rax
test r15d, r15d
je 0x14005bbdc
lea eax, [r15 - 7]
cmp eax, 1
jbe 0x14005bbdc
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005b0f6
mov rax, qword [r13 + 0x30]
cmp qword [rcx + 0x30], rax
jne 0x14005bc5a
mov r13, rcx
jmp 0x14005bbbc
cmp byte [r12], 9
jne 0x14005b112
cmp r15d, 4
jne 0x14005b10d
mov r13, qword [r12 + 0x20]
jmp 0x14005bbbc
mov r12, qword [r12 + 0x28]
cmp dword [rbp + 0x1b8], 3
je case.0x14005a953.4
mov r13, r12
jmp 0x14005bbbc
mov rcx, qword [rsp + 0x58]
mov esi, dword [rbx + 0x60]
mov rbx, qword [rbx + 0x58]
mov qword [rcx + 0x58], r12
cmp dil, 0x17
jne 0x14005b193
mov eax, esi
or eax, 0x10
mov dword [rcx + 0x60], eax
mov rax, qword [r13 + 0x10]
test rax, rax
je 0x14005b1a7
mov rcx, qword [rax]
test rcx, rcx
je 0x14005b1a7
mov rdx, rbx
call fcn.14009ff90
test eax, eax
jne 0x14005b1a7
cmp dword [rbx + 0x10], 5
jne 0x14005b171
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005b17f
call fcn.1400c0990
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400ba16c
xor eax, eax
jmp 0x14005aace
mov rax, qword [r13 + 0x28]
cmp byte [rax], 0x18
je 0x14005b1a7
mov eax, esi
and eax, 0xffffffef
or eax, 2
mov dword [rcx + 0x60], eax
mov qword [rsp + 0x50], r12
mov rax, qword [r13 + 0x20]
cmp byte [rax], 3
jne 0x14005b1e9
nop word [rax + rax]
mov rcx, qword [rax + 0x20]
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
call fcn.14005a780
mov rcx, qword [rsp + 0x50]
mov r15d, eax
mov rax, qword [r13 + 0x20]
cmp rcx, rax
je 0x14005b1c0
jmp 0x14005b206
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 3
mov rcx, rax
call fcn.14005a780
mov rcx, qword [rsp + 0x50]
mov r15d, eax
mov rax, qword [rsp + 0x58]
mov r12d, dword [rax + 0x60]
shr r12d, 1
and r12b, 1
test rbx, rbx
je 0x14005b25f
test r15d, r15d
jne 0x14005b230
cmp qword [rax + 0x58], 0
jne 0x14005b230
mov qword [rax + 0x58], rbx
mov r12b, 1
jmp 0x14005b25f
cmp dword [rbx + 0x10], 5
jne 0x14005b23f
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005b24d
call fcn.1400c0990
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400ba16c
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov dword [rbx + 0x60], esi
mov r13, qword [r13 + 0x28]
movzx eax, byte [r13]
cmp dil, 0x16
jne 0x14005b38c
cmp al, 0x17
jne 0x14005b2fe
mov r14, qword [rbx + 0x58]
test r14, r14
je 0x14005b2f1
mov rsi, qword [r13 + 0x10]
test rsi, rsi
je 0x14005b2da
mov eax, dword [rsi + 0x10]
test eax, eax
je 0x14005b2da
xor ecx, ecx
mov edi, ecx
test eax, eax
jle 0x14005b2f1
mov ebx, ecx
nop word [rax + rax]
mov rdx, qword [rsi + 8]
mov rcx, r14
mov rdx, qword [rbx + rdx]
call fcn.140097800
test al, al
jne 0x14005bbb7
inc edi
add rbx, 8
cmp edi, dword [rsi + 0x10]
jl 0x14005b2b0
mov rbx, qword [rsp + 0x58]
jmp 0x14005b2f1
mov rdx, qword [0x1401274b0]
mov rcx, r14
call fcn.140097800
test al, al
jne 0x14005bbbc
mov r13, qword [r13 + 0x28]
cmp byte [r13], 0x17
je 0x14005b282
jmp 0x14005b35c
mov r8, qword [rbx + 0x58]
test r8, r8
je 0x14005b361
cmp al, 0x18
je 0x14005b361
mov rdx, qword [0x1401274b0]
mov rcx, r8
call fcn.140097800
test al, al
je 0x14005b35c
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x10], 5
jne 0x14005b331
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005b33f
call fcn.1400c0990
mov rbx, qword [rsp + 0x58]
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, qword [rbx + 0x58]
call fcn.1400ba16c
xor eax, eax
mov qword [rbx + 0x58], rax
lea r15d, [rax + 1]
mov rcx, qword [rsp + 0x50]
cmp qword [rbx + 0x58], 0
jne 0x14005b385
movzx eax, byte [r13]
cmp al, 9
jne 0x14005b3ab
cmp r15d, 1
jne 0x14005b385
test rcx, rcx
jne 0x14005b385
mov r13, qword [r13 + 0x20]
jmp 0x14005bbbc
movzx eax, byte [r13]
jmp 0x14005b39d
cmp al, 0x17
jne 0x14005b39d
mov r13, qword [r13 + 0x28]
movzx eax, byte [r13]
cmp al, 0x17
je 0x14005b390
cmp al, 9
jne 0x14005b3ab
mov rax, qword [r13 + 0x28]
mov r13, rax
movzx eax, byte [rax]
cmp al, 0x18
jne 0x14005b45d
cmp r15d, 1
jne 0x14005b3c2
test rcx, rcx
je 0x14005bbbc
mov rcx, qword [rsp + 0x58]
lea r9, [rbp + 0x38]
mov rbx, qword [rbx + 0x58]
xor eax, eax
mov rsi, qword [0x1401272a0]
xor r8d, r8d
mov r14, qword [0x140127298]
mov qword [rcx + 0x58], rax
mov rcx, r13
lea edx, [rax + 3]
mov qword [0x1401272a0], rax
mov qword [0x140127298], rax
call fcn.14005a780
mov edi, eax
test rsi, rsi
je 0x14005b438
mov rcx, qword [0x1401272a0]
test rcx, rcx
je 0x14005b42a
call fcn.1400c0990
cmp qword [0x140127298], 0x400000
jbe 0x14005b42a
dec dword [0x140127294]
mov qword [0x1401272a0], rsi
mov qword [0x140127298], r14
cmp edi, 1
jne 0x14005bcd0
cmp qword [rbp + 0x38], 0
jne 0x14005bcd0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x58], rbx
mov rbx, rax
cmp qword [rbx + 0x58], 0
je 0x14005b473
test r12b, r12b
je 0x14005b473
test byte [rbx + 0x60], 2
je 0x14005bda6
cmp dword [rbp + 0x1b8], 3
je 0x14005bbd4
cmp r15d, 1
jne 0x14005bbd4
test rcx, rcx
je 0x14005bbbc
mov rax, qword [r13 + 0x30]
cmp qword [rcx + 0x30], rax
jne 0x14005bdc1
mov r13, rcx
jmp 0x14005bbbc
mov rax, qword [0x1401272a0]
mov rbx, r12
mov qword [rsp + 0x78], rax
mov edi, 4
mov rax, qword [0x140127298]
mov qword [rbp - 0x30], r12
cmp byte [r13 + 1], 0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [0x1401272a0], r12
mov qword [0x140127298], r12
mov qword [rbp - 0x70], r12
mov dword [rbp + 0x1c8], r12d
mov dword [rbp - 0x78], edi
jne 0x14005b505
mov dword [rbp - 0x40], 0x49
lea r15d, [rdi - 3]
jmp 0x14005b816
lea rax, [rsp + 0x60]
xor edx, edx
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
mov rcx, r13
call fcn.140075810
mov r15d, eax
cmp eax, 1
jne 0x14005b753
cmp byte [r13 + 1], 2
jne 0x14005b7c2
mov r9, qword [r13 + 8]
mov rdx, r12
mov qword [rbp + 8], r12
mov r8, r12
mov qword [rbp - 0x60], rdx
mov rax, qword [r9 + 0x40]
mov ecx, dword [rax + 0x10]
cmp ecx, 6
jge 0x14005b58a
cmp ecx, edi
je 0x14005b58a
cmp dword [rax + 0x28], 0x49
jne 0x14005b58a
mov dword [rbp - 8], ecx
mov rdx, qword [rax]
mov qword [rbp - 0x18], rdx
mov rax, qword [rax + 8]
mov qword [rbp - 0x10], rax
cmp ecx, 5
jne 0x14005b676
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WSOCK32.dll_htonl]
jmp 0x14005b676
mov eax, dword [r9 + 0x2c]
mov ecx, 0xff
cmp eax, ecx
cmovb eax, ecx
add eax, 1
mov ebx, eax
je 0x14005b5fd
lea rcx, [rax + rax]
call fcn.1400c09a4
mov qword [rbp + 8], rax
mov r8, rax
test rax, rax
jne 0x14005b5e7
mov rax, qword [0x140127498]
lea rdx, [0x1400ffa10]
mov qword [rsp + 0x28], rax
lea rcx, [0x140127620]
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov qword [rbp - 0x60], r12
call fcn.14000f840
mov r15d, eax
jmp 0x14005b65c
mov qword [rbp - 0x60], rbx
mov rdx, rbx
cmp rbx, 0x400000
jbe 0x14005b5fd
inc dword [0x140127294]
sub rdx, rbx
mov qword [rbp + 0x40], r8
mov qword [rsp + 0x40], rdx
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x60]
mov qword [rbp + 0xb0], r12
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x68]
lea rax, [rbp + 8]
mov dword [rbp - 8], 0x49
mov qword [rsp + 0x28], rax
mov edx, 1
lea rax, [rbp + 0x40]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140072a40
test rax, rax
jne 0x14005b668
mov r15d, dword [rbp - 0x68]
cmp r15d, 1
jne 0x14005b6fd
jmp 0x14005b676
cmp dword [rbp - 8], 0x49
jne 0x14005b676
mov dword [rbp - 8], r12d
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.1400680a0
mov dword [rbp - 0x78], eax
mov edi, eax
cmp eax, 3
jl 0x14005b6f7
cmp byte [0x140127dbc], 0
lea rdx, [0x140105270]
lea rcx, [0x140127620]
je 0x14005b6ba
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], r13
call fcn.14000f840
mov r15d, eax
jmp 0x14005b6fd
cmp byte [0x140127dbf], 0
je 0x14005b6dd
mov eax, dword [r13 + 4]
mov r8, rsi
movzx r9d, word [r13 + 2]
mov dword [rsp + 0x20], eax
call fcn.14000f6f0
mov r15d, r12d
jmp 0x14005b6fd
mov qword [rsp + 0x28], r12
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x20], r13
call fcn.140010840
mov r15d, eax
jmp 0x14005b6fd
mov r15d, 1
cmp dword [rbp - 8], 5
jne 0x14005b70d
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14005b71b
call fcn.1400c0990
cmp r15d, 1
jne 0x14005b750
cmp edi, 4
je 0x14005b7c2
cmp dword [rbp - 0x40], 5
jne 0x14005b7eb
lea rdx, [rbp - 0x50]
lea rcx, [0x1400fdb48]
call fcn.140011520
mov r15d, eax
cmp eax, 1
je 0x14005b7eb
mov rbx, r12
cmp qword [rsp + 0x78], 0
je 0x14005b797
mov rcx, qword [0x1401272a0]
test rcx, rcx
je 0x14005b77f
call fcn.1400c0990
cmp qword [0x140127298], 0x400000
jbe 0x14005b77f
dec dword [0x140127294]
mov rax, qword [rsp + 0x78]
mov qword [0x1401272a0], rax
mov rax, qword [rsp + 0x60]
mov qword [0x140127298], rax
test rbx, rbx
je 0x14005ba0a
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
mov rcx, rbx
call fcn.14005a780
mov rcx, qword [rsp + 0x50]
mov r15d, eax
jmp 0x14005ba12
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x14005b7d0
cmp eax, 5
je 0x14005b7eb
jmp 0x14005b7e5
mov rcx, qword [rbp - 0x50]
mov r9d, 1
mov edx, r9d
xor r8d, r8d
call fcn.14009cb40
mov dword [rbp + 0x1c8], eax
cmp dword [rbp - 0x40], 0
mov rbx, r12
jne 0x14005b816
mov rcx, qword [rsp + 0x78]
cmp qword [rbp - 0x50], rcx
jne 0x14005b816
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x30], rcx
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x60], r12
mov rax, qword [r13 + 0x20]
mov rsi, qword [rax + 0x20]
test rsi, rsi
je 0x14005b949
cmp byte [rsi], 0x1b
jne 0x14005b942
movzx r14d, byte [rsi + 1]
test r14d, r14d
jne 0x14005b848
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x68], rbx
jmp 0x14005b935
mov edi, r12d
test r14d, r14d
je 0x14005b935
lea rax, [rsp + 0x60]
mov edx, edi
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x48]
mov rcx, rsi
call fcn.140075810
mov r15d, eax
cmp eax, 1
jne 0x14005b9cd
cmp dword [rbp - 0x40], 0x49
je 0x14005b8bc
mov eax, dword [rbp - 0x78]
lea r9, [rbp + 0x48]
mov r8d, dword [rbp + 0x1c8]
lea rdx, [rbp - 0x50]
mov dword [rsp + 0x20], eax
call fcn.14005c060
mov r15d, eax
add eax, 0xfffffffd
cmp eax, 1
ja 0x14005b9cd
cmp r15d, 3
mov r15d, 1
sete bl
jmp 0x14005b90d
mov edx, dword [rbp + 0x58]
mov ecx, edx
test edx, edx
je 0x14005b999
sub ecx, 1
je 0x14005b989
sub ecx, 1
je 0x14005b8f2
cmp ecx, 2
je 0x14005b8e7
cmp edx, 5
mov eax, r12d
sete al
jmp 0x14005b908
mov rcx, qword [rbp + 0x48]
call fcn.1400678b0
jmp 0x14005b908
movsd xmm0, qword [rbp + 0x48]
ucomisd xmm0, xmm6
jp 0x14005b903
je 0x14005b9bf
mov eax, 1
test eax, eax
setne bl
cmp dword [rbp + 0x58], 5
jne 0x14005b91d
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
test bl, bl
jne 0x14005b9c7
inc edi
cmp edi, r14d
jl 0x14005b854
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14005b827
mov r14, qword [rbp + 0x1c0]
mov rdi, qword [rbp - 0x70]
test rdi, rdi
je 0x14005b9e3
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14005b976
call fcn.1400c0990
cmp qword [rsp + 0x60], 0x400000
jbe 0x14005b976
dec dword [0x140127294]
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x60], rdi
jmp 0x14005b753
cmp qword [rbp + 0x48], 0
mov eax, r12d
setne al
jmp 0x14005b908
mov rcx, qword [rbp + 0x48]
call fcn.140067810
test eax, eax
jne 0x14005b903
cmp qword [rbp + 0x50], 0
je 0x14005b9bf
mov rax, qword [rbp + 0x48]
cmp word [rax], 0
je 0x14005b903
mov eax, r12d
jmp 0x14005b908
mov rbx, qword [rsi + 0x20]
jmp 0x14005b9d0
mov rbx, r12
mov qword [rsp + 0x68], rbx
cmp edi, r14d
jl 0x14005b942
jmp 0x14005b935
cmp dword [rbp - 0x40], 5
jne 0x14005b9f3
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14005b753
call fcn.1400c0990
jmp 0x14005b753
mov rcx, r12
mov qword [rsp + 0x50], rcx
cmp r15d, 1
jne 0x14005bbd4
cmp dword [rbp + 0x1b8], 3
je 0x14005bbd4
test rcx, rcx
je 0x14005ba49
mov rax, qword [r13 + 0x30]
cmp qword [rcx + 0x30], rax
jne 0x14005bdc1
mov rbx, qword [rsp + 0x58]
mov r13, rcx
jmp case.default.0x14005a953
mov r13, qword [r13 + 0x28]
mov rbx, qword [rsp + 0x58]
jmp case.default.0x14005a953
cmp qword [r13 + 0x10], 0
je 0x14005ba67
mov r13, qword [r13 + 0x28]
jmp case.default.0x14005a953
mov rcx, qword [r13 + 0x20]
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
call fcn.14005a780
mov rcx, qword [rsp + 0x50]
lea rdi, [0x140000000]
mov r15d, eax
cmp rcx, r13
je 0x14005a7f7
cmp dword [rbp + 0x1b8], 3
je 0x14005bdce
cmp eax, 1
jne 0x14005bdce
test rcx, rcx
je 0x14005ba5e
mov rax, qword [rcx + 0x30]
cmp qword [r13 + 0x30], rax
jmp 0x14005aaae
mov rsi, qword [r13 + 8]
cmp byte [rsi + 0x29], 0
jne 0x14005bb1d
mov rbx, qword [rsi + 0x40]
cmp dword [rbx + 0x10], 4
jne 0x14005bb0a
mov rdi, qword [rbx]
cmp byte [rdi + 0x23], 0
jne 0x14005bae5
mov rcx, qword [rdi + 0x10]
call fcn.140005700
jmp 0x14005bae8
mov rax, rdi
test byte [rax + 0x21], 2
je 0x14005bb0a
cmp dword [rbx + 8], 0
jne 0x14005bb0a
mov rdx, rdi
lea rcx, [0x140127620]
call fcn.140012290
mov rbx, qword [rsp + 0x58]
jmp 0x14005bb27
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
call fcn.14009ff90
mov rbx, qword [rsp + 0x58]
jmp 0x14005bb27
xor edx, edx
mov rcx, r13
call fcn.140076bb0
mov r15d, eax
cmp r15d, 1
jne 0x14005bbdc
cmp dword [rbp + 0x1b8], 3
je 0x14005bbdc
mov r13, qword [r13 + 0x20]
jmp case.default.0x14005a953
cmp r15d, 1
jne 0x14005bbdc
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14005bb68
cmp qword [rcx + 0x40], r13
jne 0x14005bb68
mov rax, qword [r13 + 0x20]
mov qword [rcx + 0x40], rax
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x14005bb8c
cmp qword [rcx + 0x28], r13
jne 0x14005bb8c
mov rax, qword [r13 + 0x20]
mov qword [rcx + 0x28], rax
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x14005bb75
cmp dword [rbp + 0x1b8], 3
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x20]
mov qword [rcx + 0x20], rax
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x18]
mov qword [rcx + 0x18], rax
je case.0x14005a953.4
mov r13, qword [r13 + 0x20]
jmp case.default.0x14005a953
mov rbx, qword [rsp + 0x58]
xor r12d, r12d
test r13, r13
je case.0x14005a953.4
mov r14, qword [rbp + 0x1c0]
jmp 0x14005a7e6
mov rdx, qword [rsp + 0x70]
mov qword [rdx], rcx
mov eax, r15d
jmp 0x14005aace
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x70]
mov qword [rdx], rax
jmp case.0x14005a953.4
mov rax, qword [0x1401272b0]
lea rdx, [0x140101f68]
test rax, rax
lea rcx, [0x140127620]
cmovne rsi, rax
cmp byte [0x140127dbc], 0
je 0x14005bcaa
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], r13
call fcn.14000f840
mov r12d, eax
jmp 0x14005aace
mov qword [rsp + 0x28], r12
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x20], r13
call fcn.140010840
mov r12d, eax
mov eax, r12d
jmp 0x14005aace
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
mov qword [rdx], rax
mov eax, r15d
jmp 0x14005aace
test r11, r11
lea rdx, [0x140105270]
lea rcx, [0x140127620]
cmovne rsi, r11
cmp byte [0x140127dbc], 0
je 0x14005bcaa
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], r13
call fcn.14000f840
mov r12d, eax
jmp 0x14005aace
cmp byte [0x140127dbf], 0
je 0x14005bc3a
mov eax, dword [r13 + 4]
mov r8, rsi
movzx r9d, word [r13 + 2]
mov dword [rsp + 0x20], eax
call fcn.14000f6f0
mov eax, r12d
jmp 0x14005aace
test rbx, rbx
je 0x14005bcff
cmp dword [rbx + 0x10], 5
jne 0x14005bce4
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005bcf2
call fcn.1400c0990
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400ba16c
test edi, 0xfffffff7
je 0x14005bd9f
cmp byte [0x140127dbc], 0
lea rdx, [0x140106180]
mov rcx, qword [0x140127cd8]
je 0x14005bd49
xor eax, eax
lea r8, [0x1400fbbd0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x20], rcx
lea rcx, [0x140127620]
call fcn.14000f840
jmp 0x14005aace
cmp byte [0x140127dbf], 0
je 0x14005bd78
mov eax, dword [rcx + 4]
lea r8, [0x1400fbbd0]
movzx r9d, word [rcx + 2]
lea rcx, [0x140127620]
mov dword [rsp + 0x20], eax
call fcn.14000f6f0
xor eax, eax
jmp 0x14005aace
xor eax, eax
lea r9, [0x1400fbbd0]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
lea rcx, [0x140127620]
call fcn.140010840
jmp 0x14005aace
mov eax, edi
jmp 0x14005aace
mov rdx, qword [0x140127cd8]
lea rcx, [0x140127620]
xor r8d, r8d
call fcn.140011ba0
jmp 0x14005aace
mov rdx, qword [rsp + 0x70]
mov qword [rdx], rcx
jmp case.0x14005a953.4
mov rdx, qword [rsp + 0x70]
mov qword [rdx], rcx
jmp 0x14005aace
cmp dword [rbp + 0x1b8], 1
je case.0x14005a953.4
mov eax, 7
jmp 0x14005aace
mov rax, qword [r13 + 0x28]
test rax, rax
jne 0x14005bbe7
mov eax, 5
jmp 0x14005aace
mov rax, qword [r13 + 0x28]
test rax, rax
je 0x14005be1a
mov rdx, qword [rsp + 0x70]
mov qword [rdx], rax
mov eax, 6
jmp 0x14005aace
cmp byte [r13 + 1], 0
jne 0x14005bed5
test byte [rbx + 0x60], 0x10
jne 0x14005bc52
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400ba174
xor r9d, r9d
mov qword [rbp + 0x1b0], rax
mov r8, rsi
lea rdx, [0x140101df0]
mov rcx, r13
mov rbx, rax
call fcn.14000ed60
mov qword [rbx], rax
test rax, rax
je 0x14005be92
mov rdx, qword [0x14011f188]
xor r9d, r9d
mov r8, rbx
mov dword [rbx + 0x10], 5
mov rcx, r13
mov qword [rbx + 0x20], r12
call fcn.14000f2b0
mov r12d, eax
jmp 0x14005aace
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400ba16c
mov rax, qword [0x14011f188]
cmp qword [rax + 0x58], 0
jne 0x14005bc52
movaps xmm3, xmm6
mov qword [rsp + 0x20], r12
xor r8d, r8d
lea rcx, [0x1400ff430]
mov edx, 0x10000
call fcn.1400a3a00
mov eax, r12d
jmp 0x14005aace
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400ba174
mov qword [rbp + 0x1b0], rax
mov rdx, rax
mov rcx, r13
mov rdi, rax
mov dword [rax + 0x10], r12d
mov qword [rax + 0x20], r12
mov qword [rax + 8], 0xffffffffffffffff
call fcn.140076bb0
mov ebx, eax
cmp eax, 1
je 0x14005bf1f
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rdi
call fcn.1400ba16c
mov eax, ebx
jmp 0x14005aace
cmp dword [rdi + 0x10], 0
jne 0x14005bfb2
cmp qword [rdi + 0x20], 0
jne 0x14005bfb2
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
cmp rbx, 0xffffffffffffffff
jne 0x14005bf4b
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14005bf41
lea r14, [rbx*2 + 2]
mov rcx, r14
call fcn.1400c09a4
mov qword [rdi + 0x20], rax
test rax, rax
je 0x14005bf82
mov r8, r14
mov dword [rdi + 0x10], r12d
mov rdx, rsi
mov qword [rdi + 8], rbx
mov rcx, rax
mov qword [rdi], rax
call fcn.1400bbf50
test rax, rax
jne 0x14005bfb2
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rdi
call fcn.1400ba16c
movaps xmm3, xmm6
mov qword [rsp + 0x20], r12
xor r8d, r8d
lea rcx, [0x1400ff430]
mov edx, 0x10000
call fcn.1400a3a00
xor eax, eax
jmp 0x14005aace
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
mov r8, rdi
mov rcx, r13
call fcn.14000f2b0
xor eax, eax
jmp 0x14005aace
mov eax, 8
jmp 0x14005aace