Function at 0x1400d3cf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb8]
cmp qword [rax + 0x20], 0
jne 0x1400d3d1a
mov eax, 0xffffffff
jmp 0x1400d401d
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x57e90], 0
je 0x1400d4018
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0xb0]
add rcx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rsp + 0x30], 0
jmp 0x1400d3d61
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x57e94]
cmp dword [rsp + 0x30], eax
jge 0x1400d3e14
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x57e90], 0
je 0x1400d3e14
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x30
mov rax, qword [rsp + 0xb0]
cmp dword [rax + rcx + 0x57e98], 0
jne 0x1400d3e0f
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x30
mov rax, qword [rsp + 0xb0]
lea rcx, [rax + rcx + 0x57e98]
mov r8d, gethostbyname
mov rdx, qword [rsp + 0xb8]
call fcn.1400a8d20
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x30
mov rax, qword [rsp + 0xb0]
mov dword [rax + rcx + 0x57e98], 2
mov rcx, qword [rsp + 0xb0]
add rcx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [rsp + 0x30]
jmp 0x1400d401d
jmp 0x1400d3d56
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x57e94]
cmp dword [rsp + 0x30], eax
jne 0x1400d3ff3
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x57e94], 0x3a98
jge 0x1400d3ff3
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x40], 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x40]
mov rcx, rax
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x1400d3e7f
mov dword [rsp + 0x90], 1
cmp dword [rsp + 0x90], 0
je 0x1400d3ff3
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rax + 0x57e94]
add ecx, 0xa
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x57e94], ecx
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x57e94], 0x3a98
jle 0x1400d3ed2
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x57e94], 0x3a98
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x94], eax
jmp 0x1400d3efb
mov eax, dword [rsp + 0x94]
add eax, 1
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x57e94]
cmp dword [rsp + 0x94], eax
jge 0x1400d3fde
mov dword [rsp + 0x98], 0
movsxd rdx, dword [rsp + 0x94]
imul rdx, rdx, 0x10
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + rdx + 0x1d510], rax
movsxd rdx, dword [rsp + 0x94]
imul rdx, rdx, 0x10
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x94]
mov dword [rcx + rdx + 0x1d518], eax
movsxd rcx, dword [rsp + 0x94]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0xb0]
lea r9, [rax + rcx + 0x1d510]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400d3cc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
movsxd rcx, dword [rsp + 0x94]
mov rax, qword [rsp + 0xb0]
mov qword [rax + rcx*8], r11
movsxd rcx, dword [rsp + 0x94]
mov rax, qword [rsp + 0xb0]
cmp qword [rax + rcx*8], 0
jne 0x1400d3fd9
jmp 0x1400d3fde
jmp 0x1400d3eea
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x94]
mov dword [rcx + 0x57e94], eax
mov rcx, qword [rsp + 0xb0]
add rcx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400d3d1a
mov eax, 0xffffffff
add rsp, 0xa8
ret