Function at 0x140005dd0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebp, ebp
movsxd rsi, ecx
mov dword [rsp + 0x48], ebp
mov r14, rdx
mov dword [0x140028b2c], 0xd3d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.14000a794
mov qword [rsp + 0x30], rbp
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x38], rbp
lea edi, [rbp + 3]
nop
cmp dword [rbx], 0x64
jge 0x140005e4e
call fcn.14000a768
mov ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xff
sub ecx, eax
cmp ecx, 0x64
jl 0x140005e25
mov dword [rbx], ecx
add rbx, 4
sub rdi, 1
jne 0x140005e20
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
jne 0x140005e86
call fcn.14000a768
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r8d, ecx
je 0x140005e62
mov eax, dword [rsp + 0x38]
lea rdx, str._d._d._d._d
mov r9d, dword [rsp + 0x34]
lea rcx, [0x14002b880]
mov dword [rsp + 0x28], r8d
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfW]
call fcn.140005d00
movsx rcx, byte [0x14002a2e9]
movsx r9, byte [0x14002a2ec]
movsx r8, byte [0x14002a2ed]
movsx rdx, byte [0x14002a2ee]
shr eax, 1
and eax, 0xf
mov qword [0x14002b7c8], rcx
movsx rcx, byte [0x14002a2ea]
add eax, 0x41
mov qword [0x14002b7c0], rax
movsx eax, byte [0x14002a2ef]
mov word [0x14002b8a0], ax
movzx eax, r9w
mov qword [0x14002b7d0], rcx
movsx rcx, byte [0x14002a2eb]
mov word [0x14002b8a6], ax
mov qword [0x14002b7d8], rcx
mov qword [0x14002b7e0], r9
mov qword [0x14002b7e8], r8
mov qword [0x14002b7f0], rdx
mov qword [0x14002b7f8], rbp
mov word [0x14002b8a2], dx
mov word [0x14002b8a4], r8w
mov word [0x14002b8a8], bp
mov qword [rsp + 0x40], rbp
cmp esi, 3
jl 0x1400061ef
mov qword [rsp + 0x90], r12
mov edi, 1
mov ebx, edi
mov qword [rsp + 0xa0], r15
lea r12, [0x14002b7a0]
mov r15, rsi
cmp rbx, rsi
jge 0x14000602f
nop dword [rax]
mov rsi, qword [r14 + rbx*8]
cmp byte [rsi], 0x2d
jne 0x140006271
movzx eax, byte [rsi + 1]
cmp al, 0x3f
je 0x14000626b
cmp al, 0x68
je 0x14000626b
cmp al, 0x6e
je 0x140005ff5
cmp al, 0x70
jne 0x140006240
add rsi, 2
cmp byte [rsi], bpl
jne 0x140005fd0
mov rsi, qword [r14 + rbx*8 + 8]
inc edi
inc rbx
cmp rbx, r15
jge 0x14000621c
mov rcx, rsi
call fcn.14000d500
mov dword [0x140028b2c], eax
dec eax
cmp eax, 0xfffe
jbe 0x140006021
jmp 0x1400061f5
mov rcx, qword [r14 + rbx*8 + 8]
inc edi
inc rbx
mov rdx, r12
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140006010
inc edi
inc rbx
cmp rbx, r15
jl 0x140005f90
lea rax, [rsp + 0x48]
mov dword [0x14002a2c4], 0xa
mov qword [rsp + 0x28], rax
lea r8, [0x140005770]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
mov dword [0x14002a208], 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x140005a00]
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop word [rax + rax]
mov ecx, dword [0x14002a2c4]
mov eax, ecx
mov edx, dword [0x14002a208]
and eax, edx
test al, 0x10
jne 0x1400060ce
test edx, edx
je 0x140006167
test ecx, ecx
je 0x1400060ce
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
cmp ebp, 0xf
jl 0x140006090
mov edx, dword [0x14002a208]
mov ecx, dword [0x14002a2c4]
test edx, edx
je 0x140006167
test ecx, ecx
je 0x140006167
lea eax, [rdx - 7]
cmp eax, 1
ja 0x14000611f
lea eax, [rcx - 7]
cmp eax, 1
ja 0x14000611f
lea r8, [0x1400246b4]
lea rdx, str.Search_Error.txt
lea rcx, [rsp + 0x40]
call fcn.14000d154
mov rcx, qword [rsp + 0x40]
lea rdx, str._s___Patch_xx_r_n
mov r8, r12
call fcn.140001a30
jmp 0x1400061bb
cmp edx, 7
jb 0x14000612d
cmp ecx, 7
jae 0x1400061c5
lea rcx, str._r_______________r_n
call fcn.140001a80
lea r8, [0x1400246b4]
lea rdx, str.Search_Retry.txt
lea rcx, [rsp + 0x40]
call fcn.14000d154
mov rcx, qword [rsp + 0x40]
lea rdx, str._s_r_n
mov r8, r12
call fcn.140001a30
jmp 0x1400061bb
lea r8, [0x1400246b4]
lea rdx, str.Search_Result.txt
lea rcx, [rsp + 0x40]
call fcn.14000d154
mov eax, dword [0x14002a208]
mov edx, 0x85764034
test eax, eax
mov ecx, 0x8a40054
mov r9d, 0x40
mov r8, r12
cmove ecx, edx
mov edx, 0x20
cmove r9d, edx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x40]
lea rdx, str.pdr_2__s__d_1_0x_08X_1_Narr_r_n
call fcn.140001a30
mov rcx, qword [rsp + 0x40]
call fcn.14000a9d8
mov r12, qword [rsp + 0x90]
xor eax, eax
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400083c0
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140001b60
int3
mov ecx, 2
call fcn.14000a8cc
mov rcx, rax
lea rdx, str.____invalid_port:__s_n
mov r8, rsi
call fcn.140001a30
mov ecx, 1
call fcn.14000a75c
int3
mov ecx, 2
call fcn.14000a8cc
mov rcx, rax
lea rdx, str.____expected_port_number_after__p_n
call fcn.140001a30
mov ecx, 1
call fcn.14000a75c
int3
mov ecx, 2
movsxd rbx, edi
call fcn.14000a8cc
mov r8, qword [r14 + rbx*8]
lea rdx, str.____unknown_parameter:__s_n
mov rcx, rax
call fcn.140001a30
mov ecx, 1
call fcn.14000a75c
int3
call fcn.140001b60
int3
call fcn.140001b60
int3