Function at 0x140007330
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
cmp dword [rcx + 0x230], 0
mov ebp, r8d
mov r12, rdx
mov rdi, rcx
je 0x14000738c
mov ebx, 0x410
lea rcx, [0x1400c08a0]
lea rdx, [0x1400c18e0]
mov r8d, ebx
call fcn.14004fa50
lea rcx, [0x1400c0cb0]
lea rdx, [0x1400c1cf0]
mov r8d, ebx
call fcn.14004fa50
mov r11d, dword [0x1400bdffc]
jmp 0x1400073d1
cmp dword [0x1400c2100], 0
jne 0x140007758
mov ebx, 0x410
lea rcx, [0x1400c08a0]
lea rdx, [0x1400c10c0]
mov r8d, ebx
call fcn.14004fa50
lea rcx, [0x1400c0cb0]
lea rdx, [0x1400c14d0]
mov r8d, ebx
call fcn.14004fa50
mov r11d, dword [0x1400bdff8]
movzx ecx, byte [r12]
mov dword [0x1400bd0cc], r11d
cmp ecx, 7
jg 0x140007680
je 0x14000766d
test ecx, ecx
je 0x140007650
dec ecx
je 0x14000753b
dec ecx
je 0x1400074b4
sub ecx, 2
je 0x14000743c
dec ecx
je 0x14000741a
dec ecx
jne 0x140007758
jmp 0x140007660
call fcn.14000779c
lea r8, [0x14009648c]
lea rdx, [0x140096560]
mov ecx, 2
call fcn.140009060
jmp 0x140007758
mov r13d, 0x20470
mov ecx, r13d
call fcn.14004fec0
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1400537d0
lea r11d, [rbp - 1]
mov ecx, r11d
mov ebx, r11d
call fcn.140050534
lea rdx, [r12 + 1]
mov r8d, ebx
mov rcx, rax
mov rdi, rax
call fcn.14004fa50
mov ecx, reloc.WS2_32.dll_recv
call fcn.14004fec0
lea ecx, [rbp - 1]
mov qword [rax], rsi
mov qword [rax + 8], rdi
mov dword [rsi + 0x404], ecx
mov rcx, qword [rax]
mov r9, rax
mov dword [rcx], 2
and qword [rsp + 0x28], 0
lea r8, [0x140006f1c]
jmp 0x140007741
mov r13d, 0x20470
mov ecx, r13d
call fcn.14004fec0
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.1400537d0
lea rdx, [r12 + 1]
mov r8d, r13d
mov rcx, rbp
call fcn.14004fa50
movsxd rsi, dword [r12 + 0x20471]
mov rcx, rsi
call fcn.140050534
lea rdx, [r12 + 0x20475]
mov r8, rsi
mov rcx, rax
mov rdi, rax
call fcn.14004fa50
mov ecx, reloc.WS2_32.dll_recv
call fcn.14004fec0
lea rcx, [rsp + 0x78]
mov qword [rax], rbp
mov qword [rax + 8], rdi
mov qword [rsp + 0x78], rax
mov rax, qword [rax]
mov dword [rax + 0x404], esi
call fcn.1400086fc
mov r9, qword [rsp + 0x78]
jmp 0x1400074a2
mov r13d, 0x20470
mov ecx, r13d
call fcn.14004fec0
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1400537d0
lea rdx, [r12 + 1]
mov r8d, r13d
mov rcx, rsi
call fcn.14004fa50
mov rbx, qword [0x1400c2108]
mov r9, qword [0x1400c2110]
jmp 0x1400075a6
mov rax, qword [rbx]
lea r8, [rsi + 4]
mov rcx, qword [rax]
add rcx, 4
sub r8, rcx
movzx eax, word [rcx]
movzx edx, word [rcx + r8]
sub eax, edx
jne 0x14000759e
add rcx, 2
test edx, edx
jne 0x14000758a
test eax, eax
je 0x1400075fd
add rbx, 8
cmp rbx, r9
jne 0x140007579
mov ebp, 0x20471
mov ecx, ebp
call fcn.140050534
mov r8, r13
mov rdx, rsi
mov rbx, rax
mov byte [rax], 5
mov eax, 1
lea rcx, [rbx + 1]
mov dword [rsi + 0x400], eax
call fcn.14004fa50
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov r9, qword [rcx]
mov rdx, rbx
call qword [r9 + reloc.WS2_32.dll_recv]
mov rcx, rsi
call fcn.14004fa30
mov rcx, rbx
call fcn.14004fa30
jmp 0x140007758
mov rax, qword [rbx]
lea r8, [rsi + 0x202]
mov edx, 0xff
mov rcx, qword [rax]
add rcx, 0x202
call fcn.14005061c
mov r9, qword [rbx]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x140006f1c]
xor edx, edx
xor ecx, ecx
call fcn.140051038
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140007758
mov rcx, rsi
jmp 0x1400075f3
mov eax, 1
xchg dword [rdi + 0x234], eax
call fcn.14000779c
mov rcx, rdi
call fcn.1400078a4
jmp 0x140007758
mov r8d, ebp
mov rdx, r12
mov rcx, rdi
call fcn.1400079b4
jmp 0x140007758
sub ecx, 8
je 0x140007726
dec ecx
je 0x1400076ea
dec ecx
je 0x1400076b9
sub ecx, 0x5a
je 0x1400076a9
dec ecx
jne 0x140007758
and dword [0x1400c2100], ecx
jmp 0x140007758
mov eax, 1
mov dword [0x1400c2100], eax
jmp 0x140007758
movzx ecx, byte [r12 + 1]
test ecx, ecx
je 0x1400076d4
dec ecx
jne 0x140007758
lea rdx, [0x1400965a0]
jmp 0x1400076db
lea rdx, [0x140096590]
lea r8, [r12 + 2]
mov rcx, rdi
call fcn.1400082bc
jmp 0x140007758
mov edx, dword [r12 + 1]
mov rcx, rdi
call fcn.140008014
mov ecx, 2
test eax, eax
je 0x140007713
lea r8, [0x14009649c]
lea rdx, [0x140096570]
jmp 0x140007432
lea r8, [0x1400964ac]
lea rdx, [0x140096580]
jmp 0x140007432
and dword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
lea r9, [r12 + 1]
mov qword [rsp + 0x28], rax
lea r8, [0x14000839c]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call fcn.140051038
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret