Function at 0x14005c7a0
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 - 0x1b8]
sub rsp, 0x278
mov rbx, qword [0x14011f188]
test r9, r9
movaps xmmword [rax - 0x58], xmm6
mov r14, r8
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x58], rbx
cmovne rax, r9
mov r13, rcx
xor r12d, r12d
mov qword [rsp + 0x78], rax
mov qword [rax], r12
test rcx, rcx
je case.0x14005c96d.4
mov r15d, dword [rbp + 0x1c0]
xorps xmm6, xmm6
lea rsi, [0x1400fcb50]
nop dword [rax]
lea rdi, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov rax, qword [0x14011f188]
sub ecx, dword [0x140127cd8]
cmp ecx, dword [rax + 0x88]
jbe 0x14005c86b
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, [rbp + 0x88]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14005c85f
mov edx, 1
lea ecx, [rdx - 2]
call fcn.140001710
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140127cd8], eax
cmp byte [rbx + 0x7f], 0
jne 0x14005c891
cmp byte [rbx + 0xc2], 0
jne 0x14005c891
inc dword [rbx + 0x6c]
mov eax, dword [0x140127cd0]
cmp dword [rbx + 0x6c], eax
jle 0x14005c891
cmp eax, 0xffffffff
jle 0x14005c891
mov byte [rbx + 0x7f], 1
cmp byte [rbx + 0x7c], 0
je 0x14005c8b5
nop word [rax + rax]
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001710
cmp byte [rbx + 0x7c], 0
jne 0x14005c8a0
mov qword [0x140127be0], r13
cmp byte [rbx + 0xc6], 0
je 0x14005c8fa
movsxd rax, dword [0x1401271c0]
mov qword [rdi + rax*8 + 0x126540], r13
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1401271c0]
mov dword [rdi + rdx*4 + 0x125f00], eax
inc edx
cmp edx, 0x190
cmovge edx, r12d
mov dword [0x1401271c0], edx
cmp qword [0x140121a60], 0xffffffffffffffff
je 0x14005c913
cmp byte [r13], 0x10
je 0x14005c913
mov rdx, r13
call fcn.140008838
movzx ecx, byte [r13]
cmp cl, 1
je 0x14005c949
lea eax, [rcx - 0xf]
cmp al, 4
jbe 0x14005c949
lea eax, [rcx - 0x16]
cmp al, 5
jbe 0x14005c949
cmp cl, 0x15
mov rdx, r12
mov rcx, r13
cmove rdx, r14
call fcn.140077ec0
mov r15d, eax
cmp eax, 1
jne 0x14005caee
movzx edi, byte [r13]
lea eax, [rdi - 1]
cmp eax, 0x1a
ja case.default.0x14005c96d
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x5e088]
add rcx, rdx
jmp rcx
mov rax, qword [r13 + 8]
cmp byte [rax], 1
jne 0x14005c988
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14005c988
call fcn.1400695f0
jmp 0x14005c994
mov rcx, qword [0x1401271e0]
call fcn.140069550
test eax, eax
je 0x14005ca3e
mov rax, qword [r13 + 0x20]
cmp byte [rax], 3
jne 0x14005c9d9
nop word [rax + rax]
mov rcx, qword [rax + 0x20]
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
call fcn.14005c7a0
mov rcx, qword [rsp + 0x50]
mov r15d, eax
mov rax, qword [r13 + 0x20]
cmp rcx, rax
je 0x14005c9b0
jmp 0x14005c9f6
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 3
mov rcx, rax
call fcn.14005c7a0
mov rcx, qword [rsp + 0x50]
mov r15d, eax
lea rdi, [0x140000000]
cmp rcx, r13
je 0x14005c817
cmp dword [rbp + 0x1c8], 3
je 0x14005dc7f
cmp r15d, 1
jne 0x14005dc7f
test rcx, rcx
jne 0x14005cac6
mov r13, qword [r13 + 0x28]
cmp byte [r13], 9
jne case.default.0x14005c96d
mov r13, qword [r13 + 0x28]
jmp case.default.0x14005c96d
mov r13, qword [r13 + 0x28]
cmp byte [r13], 9
jne 0x14005cadc
mov rax, qword [r13 + 0x20]
cmp byte [rax], 3
jne 0x14005ca89
nop word [rax + rax]
mov rcx, qword [rax + 0x20]
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
call fcn.14005c7a0
mov rcx, qword [rsp + 0x50]
mov r15d, eax
mov rax, qword [r13 + 0x20]
cmp rcx, rax
je 0x14005ca60
jmp 0x14005caa6
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 3
mov rcx, rax
call fcn.14005c7a0
mov rcx, qword [rsp + 0x50]
mov r15d, eax
cmp dword [rbp + 0x1c8], 3
je 0x14005dc7f
cmp r15d, 1
jne 0x14005dc7f
test rcx, rcx
je 0x14005db05
mov rax, qword [r13 + 0x30]
cmp qword [rcx + 0x30], rax
jne 0x14005de70
mov r13, rcx
jmp case.default.0x14005c96d
cmp dword [rbp + 0x1c8], 3
jne case.default.0x14005c96d
mov eax, 1
movaps xmm6, xmmword [rsp + 0x260]
add rsp, 0x278
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 0x14005cb26
mov dl, 1
mov rcx, r13
call fcn.140066730
test rax, rax
je 0x14005d232
cmp dword [rbp + 0x1c8], 3
lea rcx, [rax + 8]
je 0x14005dc8f
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x30]
cmp qword [r13 + 0x30], rax
jne 0x14005dc8f
mov r13, rdx
jmp case.default.0x14005c96d
cmp dil, 0xb
je 0x14005cb7b
cmp dil, 0xc
jne 0x14005cb96
mov rcx, qword [0x1401271e0]
xor r8d, r8d
xor edx, edx
call fcn.1400449f0
mov qword [rbp - 0x58], rax
cmp rax, 0
je 0x14005dc9f
cmp byte [r13 + 1], 1
mov r11, qword [0x1401271e8]
ja 0x14005cba5
mov edi, 1
mov dword [rbp + 0x1d8], edi
jmp 0x14005cbbd
mov r11, qword [0x1401271e8]
mov edi, dword [rbp + 0x1d8]
jmp 0x14005cbbd
mov rcx, r11
call fcn.1400278d0
mov dword [rbp + 0x1d8], eax
mov edi, eax
test eax, eax
je 0x14005dd1a
mov qword [rsp + 0x50], r12
xor r14d, r14d
mov r12, qword [r13 + 0x28]
cmp byte [r12], 0x11
jne 0x14005cbda
mov rsi, r12
mov r12, qword [r12 + 0x20]
jmp 0x14005cbdd
mov rsi, r14
cmp byte [r13], 0xf
mov rax, qword [rbx]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 8]
mov qword [rbp - 0x70], rax
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0x28], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp + 0x30], rax
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x38], rax
je 0x14005cc13
mov qword [rbx], 1
movzx eax, byte [r13]
add eax, 0xfffffff6
cmp eax, 6
ja case.default.0x14005cc37
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x5e0f4]
add rcx, rdx
jmp rcx
cmp byte [r13 + 1], 0
jbe 0x14005ccb7
mov rdx, qword [r13 + 8]
cmp byte [rdx + 1], 0
jne 0x14005cca3
mov rdx, qword [rdx + 0x18]
test rdx, rdx
je 0x14005cca3
mov ecx, dword [rdx + 0x10]
test ecx, ecx
je 0x14005cc93
sub ecx, 1
je 0x14005cc8b
sub ecx, 1
je 0x14005cc81
cmp ecx, 2
je 0x14005cc71
mov rdi, r14
xor r14b, r14b
jmp 0x14005ccbd
mov rcx, qword [rdx]
call fcn.140062fa0
mov rdi, rax
xor r14b, r14b
jmp 0x14005ccbd
cvttsd2si rdi, qword [rdx]
xor r14b, r14b
jmp 0x14005ccbd
mov rdi, qword [rdx]
xor r14b, r14b
jmp 0x14005ccbd
mov rcx, qword [rdx]
call fcn.14009def0
mov rdi, rax
xor r14b, r14b
jmp 0x14005ccbd
mov rcx, qword [0x1401271e0]
call fcn.14009def0
mov rdi, rax
xor r14b, r14b
jmp 0x14005ccbd
mov rdi, r14
mov r14b, 1
mov rbx, qword [0x14011f188]
mov r15d, 4
mov qword [rbp - 0x78], rbx
mov qword [rsp + 0x60], 0
test r14b, r14b
jne 0x14005cce5
cmp qword [rbx], rdi
jg 0x14005d139
mov rcx, qword [r13 + 0x20]
cmp byte [rcx], 3
jne 0x14005cd2d
mov rbx, qword [rbp + 0x1d0]
nop word [rax + rax]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x60]
mov r8, rbx
mov edx, 2
call fcn.14005c7a0
mov rcx, qword [r13 + 0x20]
mov r15d, eax
mov rax, qword [rsp + 0x60]
cmp rax, rcx
je 0x14005cd00
mov rbx, qword [rbp - 0x78]
jmp 0x14005cd4b
mov r8, qword [rbp + 0x1d0]
lea r9, [rsp + 0x60]
mov edx, 3
call fcn.14005c7a0
mov r15d, eax
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14005cd65
cmp r15d, 6
jne 0x14005cd5b
cmp rax, r13
je 0x14005cd6b
mov qword [rsp + 0x50], rax
jmp 0x14005d139
cmp r15d, 6
jne 0x14005cd73
mov r15d, 1
jmp 0x14005cd7d
cmp r15d, 1
jne 0x14005d139
test rsi, rsi
je 0x14005ce1e
mov rax, qword [0x14011f188]
mov qword [0x140127be0], rsi
cmp byte [rax + 0xc6], 0
je 0x14005cdde
movsxd rax, dword [0x1401271c0]
lea r15, [0x140000000]
mov qword [r15 + rax*8 + 0x126540], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1401271c0]
mov dword [r15 + rdx*4 + 0x125f00], eax
inc edx
cmp edx, 0x190
mov eax, 0
cmovge edx, eax
mov dword [0x1401271c0], edx
cmp qword [0x140121a60], 0xffffffffffffffff
je 0x14005cdf0
mov rdx, rsi
call fcn.140008838
xor edx, edx
mov rcx, rsi
call fcn.140077ec0
mov r15d, eax
cmp eax, 1
jne 0x14005d139
mov rcx, qword [0x1401271e0]
lea r15d, [rax + 4]
call fcn.140069550
test eax, eax
jne 0x14005d139
inc qword [rbx]
jmp 0x14005ccd7
mov rbx, qword [0x14011f188]
mov r15d, 4
mov qword [rbp - 0x78], rbx
mov qword [rsp + 0x60], r14
nop dword [rax]
cmp qword [0x140121a60], 0xffffffffffffffff
mov qword [0x140127be0], r13
je 0x14005ce59
mov rdx, r13
call fcn.140008838
xor edx, edx
mov rcx, r13
call fcn.140077ec0
cmp eax, 1
jne 0x14005d136
mov rcx, qword [0x1401271e0]
call fcn.140069550
test eax, eax
je 0x14005d139
mov rcx, qword [r13 + 0x20]
cmp byte [rcx], 3
jne 0x14005cebd
mov rbx, qword [rbp + 0x1d0]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x60]
mov r8, rbx
mov edx, 2
call fcn.14005c7a0
mov rcx, qword [r13 + 0x20]
mov r15d, eax
mov rax, qword [rsp + 0x60]
cmp rax, rcx
je 0x14005ce90
mov rbx, qword [rbp - 0x78]
jmp 0x14005cedb
mov r8, qword [rbp + 0x1d0]
lea r9, [rsp + 0x60]
mov edx, 3
call fcn.14005c7a0
mov r15d, eax
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14005cefb
cmp r15d, 6
jne 0x14005cd5b
cmp rax, r13
jne 0x14005cd5b
mov r15d, 1
jmp 0x14005cf13
cmp r15d, 6
jne 0x14005cf09
mov r15d, 1
jmp 0x14005cf13
cmp r15d, 1
jne 0x14005d139
cmp byte [rbx + 0xc6], 0
je 0x14005cf58
movsxd rax, dword [0x1401271c0]
lea rdi, [0x140000000]
mov qword [rdi + rax*8 + 0x126540], r13
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1401271c0]
mov dword [rdi + rdx*4 + 0x125f00], eax
inc edx
cmp edx, 0x190
cmovge edx, r14d
mov dword [0x1401271c0], edx
inc qword [rbx]
jmp 0x14005ce40
mov rdx, qword [rbp + 0x1d0]
lea r8, [rsp + 0x50]
mov r9, rsi
mov rcx, r13
call fcn.14005e800
mov r15d, eax
jmp case.default.0x14005cc37
lea rdx, [0x140107620]
mov rcx, r11
call fcn.1400c1404
mov rdx, qword [rbp + 0x1d0]
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, r13
test eax, eax
je 0x14005cfb1
call fcn.14005fa60
mov r15d, eax
jmp case.default.0x14005cc37
call fcn.14005fef0
mov r15d, eax
jmp case.default.0x14005cc37
mov rax, qword [0x1401271e0]
lea r8, [rsp + 0x50]
mov rdx, qword [rbp + 0x1d0]
mov r9, rsi
mov qword [rsp + 0x28], r11
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140060350
mov r15d, eax
jmp case.default.0x14005cc37
mov rbx, qword [0x1401271e0]
mov ecx, 0x204a0
mov dword [rsp + 0x68], 4
call fcn.1400bade4
lea r9, [rsp + 0x68]
mov qword [rbp - 0x78], rax
mov r8, rax
mov rdx, rbx
mov rdi, rax
mov qword [rax + 0x20468], r14
mov qword [rax + 0x20488], r14
call fcn.14005ed50
test al, al
je 0x14005d06a
mov eax, dword [rbp + 0x1d8]
lea r8, [rsp + 0x50]
mov rdx, qword [rbp + 0x1d0]
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.14005efb0
mov r15d, eax
jmp 0x14005d06f
mov r15d, dword [rsp + 0x68]
cmp qword [rdi + 0x20488], 0
je 0x14005d085
mov rcx, qword [rdi + 0x20460]
call fcn.1400c1574
mov rcx, qword [rdi + 0x20468]
call fcn.1400c1574
mov edx, 0x204a0
mov rcx, rdi
call fcn.1400baddc
jmp 0x14005d139
mov rcx, qword [0x1401271e0]
lea r8, [rbp + 0x1c0]
lea rdx, [rbp + 0x20]
call fcn.1400449f0
mov rbx, rax
test rax, rax
je 0x14005d11c
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 + 0x1d0]
mov dword [rsp + 0x20], ecx
mov rcx, r13
call fcn.14005f490
cmp byte [rbp + 0x1c0], 0
mov r15d, eax
je 0x14005d139
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005d139
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 9
lea rcx, [0x140127530]
mov edx, eax
call fcn.14000f240
mov r15d, eax
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov rax, qword [rbp - 0x70]
mov qword [rbx + 8], rax
mov rax, qword [rbp + 0x28]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp + 0x30]
mov qword [rbx + 0x18], rax
mov rax, qword [rbp + 0x38]
mov qword [rbx + 0x20], rax
test r15d, r15d
je 0x14005dc87
lea eax, [r15 - 7]
cmp eax, 1
jbe 0x14005dc87
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005d19c
mov rax, qword [r13 + 0x30]
cmp qword [rcx + 0x30], rax
jne 0x14005dd05
mov r13, rcx
jmp 0x14005dc67
cmp byte [r12], 9
jne 0x14005d1b8
cmp r15d, 4
jne 0x14005d1b3
mov r13, qword [r12 + 0x20]
jmp 0x14005dc67
mov r12, qword [r12 + 0x28]
cmp dword [rbp + 0x1c8], 3
je case.0x14005c96d.4
mov r13, r12
jmp 0x14005dc67
mov rcx, qword [rsp + 0x58]
mov esi, dword [rbx + 0x60]
mov rbx, qword [rbx + 0x58]
mov qword [rcx + 0x58], r12
cmp dil, 0x17
jne 0x14005d239
mov eax, esi
or eax, 0x10
mov dword [rcx + 0x60], eax
mov rax, qword [r13 + 0x10]
test rax, rax
je 0x14005d24d
mov rcx, qword [rax]
test rcx, rcx
je 0x14005d24d
mov rdx, rbx
call fcn.1400a0910
test eax, eax
jne 0x14005d24d
cmp dword [rbx + 0x10], 5
jne 0x14005d217
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005d225
call fcn.1400c1574
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400baddc
xor eax, eax
jmp 0x14005caee
mov rax, qword [r13 + 0x28]
cmp byte [rax], 0x18
je 0x14005d24d
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 0x14005d289
nop dword [rax + rax]
mov rcx, qword [rax + 0x20]
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
call fcn.14005c7a0
mov rcx, qword [rsp + 0x50]
mov r15d, eax
mov rax, qword [r13 + 0x20]
cmp rcx, rax
je 0x14005d260
jmp 0x14005d2a6
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 3
mov rcx, rax
call fcn.14005c7a0
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 0x14005d2ff
test r15d, r15d
jne 0x14005d2d0
cmp qword [rax + 0x58], 0
jne 0x14005d2d0
mov qword [rax + 0x58], rbx
mov r12b, 1
jmp 0x14005d2ff
cmp dword [rbx + 0x10], 5
jne 0x14005d2df
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005d2ed
call fcn.1400c1574
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400baddc
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 0x14005d430
cmp al, 0x17
jne 0x14005d39e
mov r14, qword [rbx + 0x58]
test r14, r14
je 0x14005d391
mov rsi, qword [r13 + 0x10]
test rsi, rsi
je 0x14005d37a
mov eax, dword [rsi + 0x10]
test eax, eax
je 0x14005d37a
xor ecx, ecx
mov edi, ecx
test eax, eax
jle 0x14005d391
mov ebx, ecx
nop word [rax + rax]
mov rdx, qword [rsi + 8]
mov rcx, r14
mov rdx, qword [rbx + rdx]
call fcn.140098540
test al, al
jne 0x14005dc62
inc edi
add rbx, 8
cmp edi, dword [rsi + 0x10]
jl 0x14005d350
mov rbx, qword [rsp + 0x58]
jmp 0x14005d391
mov rdx, qword [0x1401273d0]
mov rcx, r14
call fcn.140098540
test al, al
jne 0x14005dc67
mov r13, qword [r13 + 0x28]
cmp byte [r13], 0x17
je 0x14005d322
jmp 0x14005d400
mov r8, qword [rbx + 0x58]
test r8, r8
je 0x14005d405
cmp al, 0x18
je 0x14005d405
mov rdx, qword [0x1401273d0]
mov rcx, r8
call fcn.140098540
test al, al
je 0x14005d400
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x10], 5
jne 0x14005d3d1
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005d3df
call fcn.1400c1574
mov rbx, qword [rsp + 0x58]
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, qword [rbx + 0x58]
call fcn.1400baddc
mov qword [rbx + 0x58], 0
mov r15d, 1
mov rcx, qword [rsp + 0x50]
cmp qword [rbx + 0x58], 0
jne 0x14005d429
movzx eax, byte [r13]
cmp al, 9
jne 0x14005d45b
cmp r15d, 1
jne 0x14005d429
test rcx, rcx
jne 0x14005d429
mov r13, qword [r13 + 0x20]
jmp 0x14005dc67
movzx eax, byte [r13]
jmp 0x14005d44d
cmp al, 0x17
jne 0x14005d44d
nop dword [rax]
nop dword [rax + rax]
mov r13, qword [r13 + 0x28]
movzx eax, byte [r13]
cmp al, 0x17
je 0x14005d440
cmp al, 9
jne 0x14005d45b
mov rax, qword [r13 + 0x28]
mov r13, rax
movzx eax, byte [rax]
cmp al, 0x18
jne 0x14005d50d
cmp r15d, 1
jne 0x14005d472
test rcx, rcx
je 0x14005dc67
mov rcx, qword [rsp + 0x58]
lea r9, [rbp + 0x40]
mov rbx, qword [rbx + 0x58]
xor eax, eax
mov rsi, qword [0x1401271d0]
xor r8d, r8d
mov r14, qword [0x1401271c8]
mov qword [rcx + 0x58], rax
mov rcx, r13
lea edx, [rax + 3]
mov qword [0x1401271d0], rax
mov qword [0x1401271c8], rax
call fcn.14005c7a0
mov edi, eax
test rsi, rsi
je 0x14005d4e8
mov rcx, qword [0x1401271d0]
test rcx, rcx
je 0x14005d4da
call fcn.1400c1574
cmp qword [0x1401271c8], 0x400000
jbe 0x14005d4da
dec dword [0x1401271c4]
mov qword [0x1401271d0], rsi
mov qword [0x1401271c8], r14
cmp edi, 1
jne 0x14005dd7b
cmp qword [rbp + 0x40], 0
jne 0x14005dd7b
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x58], rbx
mov rbx, rax
cmp qword [rbx + 0x58], 0
je 0x14005d523
test r12b, r12b
je 0x14005d523
test byte [rbx + 0x60], 2
je 0x14005de55
cmp dword [rbp + 0x1c8], 3
je 0x14005dc7f
cmp r15d, 1
jne 0x14005dc7f
test rcx, rcx
je 0x14005dc67
mov rax, qword [r13 + 0x30]
cmp qword [rcx + 0x30], rax
jne 0x14005de70
mov r13, rcx
jmp 0x14005dc67
mov rax, qword [0x1401271d0]
mov rbx, r12
mov qword [rbp - 0x80], rax
mov edi, 4
mov rax, qword [0x1401271c8]
mov qword [rbp - 0x30], r12
cmp byte [r13 + 1], 0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rbx
mov qword [0x1401271d0], r12
mov qword [0x1401271c8], r12
mov qword [rbp - 0x78], r12
mov dword [rsp + 0x68], r12d
mov dword [rbp - 0x70], edi
jne 0x14005d5b2
mov dword [rbp - 0x40], 0x49
lea r15d, [rdi - 3]
jmp 0x14005d8b9
lea rax, [rsp + 0x60]
xor edx, edx
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
mov rcx, r13
call fcn.140076b30
mov r15d, eax
cmp eax, 1
jne 0x14005d7fc
cmp byte [r13 + 1], 2
jne 0x14005d869
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 0x14005d636
cmp ecx, edi
je 0x14005d636
cmp dword [rax + 0x28], 0x49
jne 0x14005d636
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 0x14005d71f
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WSOCK32.dll_htonl]
jmp 0x14005d71f
mov eax, dword [r9 + 0x2c]
mov ecx, 0xff
cmp eax, ecx
cmovb eax, ecx
add eax, 1
mov ebx, eax
je 0x14005d6a6
lea rcx, [rax + rax]
call fcn.1400c1588
mov qword [rbp + 8], rax
mov r8, rax
test rax, rax
jne 0x14005d690
mov rax, qword [0x1401273b8]
lea rdx, str.Out_of_memory.
mov qword [rsp + 0x28], rax
lea rcx, [0x140127530]
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov qword [rbp - 0x60], r12
call fcn.14000f6a0
mov r15d, eax
jmp 0x14005d705
mov qword [rbp - 0x60], rbx
mov rdx, rbx
cmp rbx, 0x400000
jbe 0x14005d6a6
inc dword [0x1401271c4]
sub rdx, rbx
mov qword [rbp + 0x48], r8
mov qword [rsp + 0x40], rdx
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x60]
mov qword [rbp + 0xc0], 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 + 0x48]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.140073da0
test rax, rax
jne 0x14005d711
mov r15d, dword [rbp - 0x68]
cmp r15d, 1
jne 0x14005d7a6
jmp 0x14005d71f
cmp dword [rbp - 8], 0x49
jne 0x14005d71f
mov dword [rbp - 8], r12d
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140069de0
mov dword [rbp - 0x70], eax
mov edi, eax
cmp eax, 3
jl 0x14005d7a0
cmp byte [0x140127cbc], 0
lea rdx, str.Parameter_2_invalid.
lea rcx, [0x140127530]
je 0x14005d763
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], r13
call fcn.14000f6a0
mov r15d, eax
jmp 0x14005d7a6
cmp byte [0x140127cbf], 0
je 0x14005d786
mov eax, dword [r13 + 4]
mov r8, rsi
movzx r9d, word [r13 + 2]
mov dword [rsp + 0x20], eax
call fcn.14000f540
mov r15d, r12d
jmp 0x14005d7a6
mov qword [rsp + 0x28], r12
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x20], r13
call fcn.140010690
mov r15d, eax
jmp 0x14005d7a6
mov r15d, 1
cmp dword [rbp - 8], 5
jne 0x14005d7b6
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 0x14005d7c4
call fcn.1400c1574
cmp r15d, 1
jne 0x14005d7f9
cmp edi, 4
je 0x14005d869
cmp dword [rbp - 0x40], 5
jne 0x14005d890
lea rdx, [rbp - 0x50]
lea rcx, str.String
call fcn.1400113b0
mov r15d, eax
cmp eax, 1
je 0x14005d890
mov rbx, r12
cmp qword [rbp - 0x80], 0
je 0x14005d83e
mov rcx, qword [0x1401271d0]
test rcx, rcx
je 0x14005d827
call fcn.1400c1574
cmp qword [0x1401271c8], 0x400000
jbe 0x14005d827
dec dword [0x1401271c4]
mov rax, qword [rbp - 0x80]
mov qword [0x1401271d0], rax
mov rax, qword [rsp + 0x60]
mov qword [0x1401271c8], rax
test rbx, rbx
je 0x14005dab1
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
mov rcx, rbx
call fcn.14005c7a0
mov rcx, qword [rsp + 0x50]
mov r15d, eax
jmp 0x14005dab9
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x14005d877
cmp eax, 5
je 0x14005d890
jmp 0x14005d88c
mov rcx, qword [rbp - 0x50]
mov r9d, 1
mov edx, r9d
xor r8d, r8d
call fcn.14009d430
mov dword [rsp + 0x68], eax
cmp dword [rbp - 0x40], 0
mov rbx, r12
jne 0x14005d8b9
mov rcx, qword [rbp - 0x80]
cmp qword [rbp - 0x50], rcx
jne 0x14005d8b9
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x60], r12
mov rax, qword [r13 + 0x20]
mov rsi, qword [rax + 0x20]
test rsi, rsi
je 0x14005d9f2
nop word [rax + rax]
cmp byte [rsi], 0x1b
jne 0x14005d9eb
movzx r14d, byte [rsi + 1]
test r14d, r14d
jne 0x14005d8f1
mov rbx, qword [rsi + 0x20]
mov qword [rsp + 0x70], rbx
jmp 0x14005d9de
mov edi, r12d
test r14d, r14d
je 0x14005d9de
nop dword [rax]
lea rax, [rsp + 0x60]
mov edx, edi
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x50]
mov rcx, rsi
call fcn.140076b30
mov r15d, eax
cmp eax, 1
jne 0x14005da74
cmp dword [rbp - 0x40], 0x49
je 0x14005d965
mov eax, dword [rbp - 0x70]
lea r9, [rbp + 0x50]
mov r8d, dword [rsp + 0x68]
lea rdx, [rbp - 0x50]
mov dword [rsp + 0x20], eax
call fcn.14005e110
mov r15d, eax
add eax, 0xfffffffd
cmp eax, 1
ja 0x14005da74
cmp r15d, 3
mov r15d, 1
sete bl
jmp 0x14005d9b6
mov edx, dword [rbp + 0x60]
mov ecx, edx
test edx, edx
je 0x14005da40
sub ecx, 1
je 0x14005da30
sub ecx, 1
je 0x14005d99b
cmp ecx, 2
je 0x14005d990
cmp edx, 5
mov eax, r12d
sete al
jmp 0x14005d9b1
mov rcx, qword [rbp + 0x50]
call fcn.1400695f0
jmp 0x14005d9b1
movsd xmm0, qword [rbp + 0x50]
ucomisd xmm0, xmm6
jp 0x14005d9ac
je 0x14005da66
mov eax, 1
test eax, eax
setne bl
cmp dword [rbp + 0x60], 5
jne 0x14005d9c6
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
test bl, bl
jne 0x14005da6e
inc edi
cmp edi, r14d
jl 0x14005d900
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14005d8d0
mov r14, qword [rbp + 0x1d0]
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x14005da8a
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14005da1e
call fcn.1400c1574
cmp qword [rsp + 0x60], 0x400000
jbe 0x14005da1e
dec dword [0x1401271c4]
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x60], rdi
jmp 0x14005d7fc
cmp qword [rbp + 0x50], 0
mov eax, r12d
setne al
jmp 0x14005d9b1
mov rcx, qword [rbp + 0x50]
call fcn.140069550
test eax, eax
jne 0x14005d9ac
cmp qword [rbp + 0x58], 0
je 0x14005da66
mov rax, qword [rbp + 0x50]
cmp word [rax], 0
je 0x14005d9ac
mov eax, r12d
jmp 0x14005d9b1
mov rbx, qword [rsi + 0x20]
jmp 0x14005da77
mov rbx, r12
mov qword [rsp + 0x70], rbx
cmp edi, r14d
jl 0x14005d9eb
jmp 0x14005d9de
cmp dword [rbp - 0x40], 5
jne 0x14005da9a
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 0x14005d7fc
call fcn.1400c1574
jmp 0x14005d7fc
mov rcx, r12
mov qword [rsp + 0x50], rcx
cmp r15d, 1
jne 0x14005dc7f
cmp dword [rbp + 0x1c8], 3
je 0x14005dc7f
test rcx, rcx
je 0x14005daf0
mov rax, qword [r13 + 0x30]
cmp qword [rcx + 0x30], rax
jne 0x14005de70
mov rbx, qword [rsp + 0x58]
mov r13, rcx
jmp case.default.0x14005c96d
mov r13, qword [r13 + 0x28]
mov rbx, qword [rsp + 0x58]
jmp case.default.0x14005c96d
cmp qword [r13 + 0x10], 0
je 0x14005db0e
mov r13, qword [r13 + 0x28]
jmp case.default.0x14005c96d
mov rcx, qword [r13 + 0x20]
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, 2
call fcn.14005c7a0
mov rcx, qword [rsp + 0x50]
lea rdi, [0x140000000]
mov r15d, eax
cmp rcx, r13
je 0x14005c817
cmp dword [rbp + 0x1c8], 3
je 0x14005de7d
cmp eax, 1
jne 0x14005de7d
test rcx, rcx
je 0x14005db05
mov rax, qword [rcx + 0x30]
cmp qword [r13 + 0x30], rax
jmp 0x14005cace
mov rsi, qword [r13 + 8]
cmp byte [rsi + 0x29], 0
jne 0x14005dbc4
mov rbx, qword [rsi + 0x40]
cmp dword [rbx + 0x10], 4
jne 0x14005dbb1
mov rdi, qword [rbx]
cmp byte [rdi + 0x23], 0
jne 0x14005db8c
mov rcx, qword [rdi + 0x10]
call fcn.140005680
jmp 0x14005db8f
mov rax, rdi
test byte [rax + 0x21], 2
je 0x14005dbb1
cmp dword [rbx + 8], 0
jne 0x14005dbb1
mov rdx, rdi
lea rcx, [0x140127530]
call fcn.1400123b0
mov rbx, qword [rsp + 0x58]
jmp 0x14005dbce
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
call fcn.1400a0910
mov rbx, qword [rsp + 0x58]
jmp 0x14005dbce
xor edx, edx
mov rcx, r13
call fcn.140077ec0
mov r15d, eax
cmp r15d, 1
jne 0x14005dc87
cmp dword [rbp + 0x1c8], 3
je 0x14005dc87
mov r13, qword [r13 + 0x20]
jmp case.default.0x14005c96d
cmp r15d, 1
jne 0x14005dc87
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14005dc0f
cmp qword [rcx + 0x40], r13
jne 0x14005dc0f
mov rax, qword [r13 + 0x20]
mov qword [rcx + 0x40], rax
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x14005dc37
nop dword [rax]
cmp qword [rcx + 0x28], r13
jne 0x14005dc37
mov rax, qword [r13 + 0x20]
mov qword [rcx + 0x28], rax
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x14005dc20
cmp dword [rbp + 0x1c8], 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.0x14005c96d.4
mov r13, qword [r13 + 0x20]
jmp case.default.0x14005c96d
mov rbx, qword [rsp + 0x58]
xor r12d, r12d
test r13, r13
je case.0x14005c96d.4
mov r14, qword [rbp + 0x1d0]
jmp 0x14005c806
mov rdx, qword [rsp + 0x78]
mov qword [rdx], rcx
mov eax, r15d
jmp 0x14005caee
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x78]
mov qword [rdx], rax
jmp case.0x14005c96d.4
mov rax, qword [0x1401271e0]
lea rdx, str.Parameter_1_invalid.
test rax, rax
lea rcx, [0x140127530]
cmovne rsi, rax
cmp byte [0x140127cbc], 0
je 0x14005dd55
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], r13
call fcn.14000f6a0
mov r12d, eax
jmp 0x14005caee
mov qword [rsp + 0x28], r12
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x20], r13
call fcn.140010690
mov r12d, eax
mov eax, r12d
jmp 0x14005caee
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
mov qword [rdx], rax
mov eax, r15d
jmp 0x14005caee
test r11, r11
lea rdx, str.Parameter_2_invalid.
lea rcx, [0x140127530]
cmovne rsi, r11
cmp byte [0x140127cbc], 0
je 0x14005dd55
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], r13
call fcn.14000f6a0
mov r12d, eax
jmp 0x14005caee
cmp byte [0x140127cbf], 0
je 0x14005dce5
mov eax, dword [r13 + 4]
mov r8, rsi
movzx r9d, word [r13 + 2]
mov dword [rsp + 0x20], eax
call fcn.14000f540
mov eax, r12d
jmp 0x14005caee
test rbx, rbx
je 0x14005ddaa
cmp dword [rbx + 0x10], 5
jne 0x14005dd8f
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005dd9d
call fcn.1400c1574
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400baddc
test edi, 0xfffffff7
je 0x14005de4e
cmp byte [0x140127cbc], 0
lea rdx, str.Jumps_cannot_exit_a_FINALLY_block.
mov rcx, qword [0x140127be0]
je 0x14005ddf6
mov qword [rsp + 0x28], 0
lea r8, [0x1400fcb50]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea rcx, [0x140127530]
call fcn.14000f6a0
jmp 0x14005caee
cmp byte [0x140127cbf], 0
je 0x14005de25
mov eax, dword [rcx + 4]
lea r8, [0x1400fcb50]
movzx r9d, word [rcx + 2]
lea rcx, [0x140127530]
mov dword [rsp + 0x20], eax
call fcn.14000f540
xor eax, eax
jmp 0x14005caee
mov qword [rsp + 0x28], 0
lea r9, [0x1400fcb50]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
lea rcx, [0x140127530]
call fcn.140010690
jmp 0x14005caee
mov eax, edi
jmp 0x14005caee
mov rdx, qword [0x140127be0]
lea rcx, [0x140127530]
xor r8d, r8d
call fcn.140011cc0
jmp 0x14005caee
mov rdx, qword [rsp + 0x78]
mov qword [rdx], rcx
jmp case.0x14005c96d.4
mov rdx, qword [rsp + 0x78]
mov qword [rdx], rcx
jmp 0x14005caee
cmp dword [rbp + 0x1c8], 1
je case.0x14005c96d.4
mov eax, 7
jmp 0x14005caee
mov rax, qword [r13 + 0x28]
test rax, rax
jne 0x14005dc92
mov eax, 5
jmp 0x14005caee
mov rax, qword [r13 + 0x28]
test rax, rax
je 0x14005dec9
mov rdx, qword [rsp + 0x78]
mov qword [rdx], rax
mov eax, 6
jmp 0x14005caee
cmp byte [r13 + 1], 0
jne 0x14005df84
test byte [rbx + 0x60], 0x10
jne 0x14005dcfd
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400bade4
xor r9d, r9d
mov qword [rbp + 0x1c0], rax
mov r8, rsi
lea rdx, str.An_exception_was_thrown.
mov rcx, r13
mov rbx, rax
call fcn.14000ec60
mov qword [rbx], rax
test rax, rax
je 0x14005df41
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.14000f170
mov r12d, eax
jmp 0x14005caee
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rbx
call fcn.1400baddc
mov rax, qword [0x14011f188]
cmp qword [rax + 0x58], 0
jne 0x14005dcfd
movaps xmm3, xmm6
mov qword [rsp + 0x20], r12
xor r8d, r8d
lea rcx, str.Out_of_memory.__The_current_thread_will_exit.
mov edx, 0x10000
call fcn.1400a44b0
mov eax, r12d
jmp 0x14005caee
mov ecx, reloc.WSOCK32.dll_getservbyport
call fcn.1400bade4
mov qword [rbp + 0x1c0], 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.140077ec0
mov ebx, eax
cmp eax, 1
je 0x14005dfce
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rdi
call fcn.1400baddc
mov eax, ebx
jmp 0x14005caee
cmp dword [rdi + 0x10], 0
jne 0x14005e061
cmp qword [rdi + 0x20], 0
jne 0x14005e061
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
cmp rbx, 0xffffffffffffffff
jne 0x14005dffa
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14005dff0
lea r14, [rbx*2 + 2]
mov rcx, r14
call fcn.1400c1588
mov qword [rdi + 0x20], rax
test rax, rax
je 0x14005e031
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.1400bcbb0
test rax, rax
jne 0x14005e061
mov edx, reloc.WSOCK32.dll_getservbyport
mov rcx, rdi
call fcn.1400baddc
movaps xmm3, xmm6
mov qword [rsp + 0x20], r12
xor r8d, r8d
lea rcx, str.Out_of_memory.__The_current_thread_will_exit.
mov edx, 0x10000
call fcn.1400a44b0
xor eax, eax
jmp 0x14005caee
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
mov r8, rdi
mov rcx, r13
call fcn.14000f170
xor eax, eax
jmp 0x14005caee
mov eax, 8
jmp 0x14005caee