Function at 0x1400fa3e0
Capabilities:
Resume thread

Disassembly:
xor ecx, ecx
jmp 0x1400fa3e0
push r14
sub rsp, 0x520
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov r14, rcx
test rcx, rcx
je 0x1400fa40d
mov rax, qword [0x140312880]
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140312860], eax
je 0x1400fa425
mov eax, 0x10dd
jmp 0x1400fa78c
cmp dword [0x140312878], 0
je 0x1400fa438
call fcn.1400fa1f0
jmp 0x1400fa786
mov qword [rsp + 0x538], rbx
mov rbx, qword [0x140312890]
mov qword [rsp + 0x540], rbp
xor ebp, ebp
mov qword [rsp + 0x518], rsi
mov qword [rsp + 0x510], rdi
test rbx, rbx
je 0x1400fa566
nop word [rax + rax]
cmp dword [rbx + 8], ebp
je 0x1400fa4da
mov rdx, qword [rbx + 0x20]
mov edi, ebp
cmp byte [rdx + 0x1f], bpl
jbe 0x1400fa4b3
movsxd rcx, edi
lea r9, [rsp + 0x20]
add rcx, qword [rbx + 0x18]
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call fcn.140102190
mov rdx, rax
cmp dword [rsp + 0x20], ebp
jne 0x1400fa4b3
mov edi, eax
mov rax, qword [rbx + 0x20]
sub edi, dword [rbx + 0x20]
movzx ecx, byte [rax + 0x1f]
cmp edi, ecx
jl 0x1400fa481
mov rax, qword [rbx + 0x20]
movzx ecx, byte [rax + 0x1f]
cmp edi, ecx
je 0x1400fa4d4
mov rax, qword [rbx + 0x10]
mov qword [0x140312880], rax
mov dword [0x140312878], 0xd
mov rax, qword [rbx + 0x18]
jmp 0x1400fa553
mov rax, qword [rbx + 0x20]
mov word [rax + 0x30], 0x25ff
lea rcx, [rax + 0x30]
lea rdx, [rax + 0x28]
lea rax, [rcx + 6]
sub edx, eax
mov dword [rcx + 2], edx
mov r9, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
add rcx, 0x30
mov byte [r9], 0xe9
lea rax, [r9 + 5]
inc r9
sub ecx, eax
mov dword [r9], ecx
lea rdx, [r9 + 4]
mov rax, qword [rbx + 0x20]
mov r8, qword [rax + 0x20]
sub r8, rdx
cmp rdx, qword [rax + 0x20]
cmova r8, rbp
test r8, r8
je 0x1400fa54f
mov rax, rdx
sub rax, r9
sub rax, 4
nop word [rax + rax]
inc rax
mov byte [rdx], 0xcc
lea rdx, [rdx + 1]
cmp rax, r8
jb 0x1400fa540
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400fa470
mov rdi, qword [0x140312888]
test rdi, rdi
je 0x1400fa633
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x60], 0x100001
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400fa627
mov rbx, qword [0x140312890]
test rbx, rbx
je 0x1400fa627
mov rdx, qword [rsp + 0x128]
nop dword [rax]
cmp dword [rbx + 8], ebp
je 0x1400fa5d8
mov rcx, qword [rbx + 0x20]
cmp rdx, rcx
jb 0x1400fa61f
lea rax, [rcx + 8]
cmp rdx, rax
jae 0x1400fa61f
sub rdx, rcx
mov qword [rsp + 0x128], rdx
add rdx, qword [rbx + 0x18]
jmp 0x1400fa600
mov r8, qword [rbx + 0x18]
cmp rdx, r8
jb 0x1400fa61f
mov rax, qword [rbx + 0x20]
movzx ecx, byte [rax + 0x1f]
add rcx, r8
cmp rdx, rcx
jae 0x1400fa61f
sub rdx, r8
mov qword [rsp + 0x128], rdx
add rdx, qword [rbx + 0x20]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x128], rdx
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rdx, qword [rsp + 0x128]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400fa5b0
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1400fa576
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, qword [0x140312890]
mov rsi, rax
test rdi, rdi
je 0x1400fa6e2
nop dword [rax]
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x20]
mov r8d, dword [rdi + 0x28]
movzx edx, byte [rcx + 0x1f]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rdi + 0x20]
mov rcx, rsi
mov rdx, qword [rdi + 0x18]
movzx r8d, byte [rax + 0x1f]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp dword [rdi + 8], ebp
je 0x1400fa6c6
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x1400fa6c6
mov rdx, r8
and rdx, 0xffffffffffff0000
xor eax, eax
mov qword [r8], rax
mov qword [r8 + 8], rax
mov qword [r8 + 0x10], rax
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x20], rax
mov qword [r8 + 0x28], rax
mov qword [r8 + 0x30], rax
mov rax, qword [rdx + 0x10]
mov qword [r8 + 0x20], rax
mov qword [rdx + 0x10], r8
mov qword [rdi + 0x20], rbp
mov rbx, qword [rdi]
mov edx, gethostbyname
mov rcx, rdi
call fcn.1401139ac
mov rdi, rbx
test rbx, rbx
jne 0x1400fa650
mov rbx, qword [0x140312868]
mov rsi, qword [rsp + 0x518]
mov qword [0x140312890], rbp
test rbx, rbx
je 0x1400fa722
nop dword [rax]
lea r9, [rsp + 0x24]
mov edx, 0x10000
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1400fa700
mov rdi, qword [0x140312888]
test rdi, rdi
je 0x1400fa752
nop
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rdi]
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1401139ac
mov rdi, rbx
test rbx, rbx
jne 0x1400fa730
mov rdi, qword [rsp + 0x510]
mov rbx, qword [rsp + 0x538]
mov qword [0x140312888], rbp
mov dword [0x140312860], ebp
mov rbp, qword [rsp + 0x540]
test r14, r14
je 0x1400fa786
mov rax, qword [0x140312880]
mov qword [r14], rax
mov eax, dword [0x140312878]
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.140113910
add rsp, 0x520
pop r14
ret