Function at 0x1400201b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2b8
lea rdi, [rsp + 0x30]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d0]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x244], 0
mov qword [rsp + 0x258], 0
mov dword [rsp + 0x274], 0
mov dword [rsp + 0x294], 0
mov rcx, qword [rsp + 0x2d0]
call fcn.14001f390
test eax, eax
jne 0x14002023c
xor eax, eax
jmp 0x1400205d6
mov dword [rsp + 0x60], 0x18
mov eax, dword [rsp + 0x60]
mov r8d, eax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140410c60
lea rax, [0x140418198]
mov qword [rsp + 0x78], rax
mov r8d, 0x60
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.140410c60
mov dword [rsp + 0xb0], 0x60
lea rax, [rsp + 0x294]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x274]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x258]
xor r8d, r8d
mov edx, 0x10040
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptAcquireCertificatePrivateKey]
test eax, eax
jne 0x1400202d8
mov dword [rsp + 0x244], 0xa
jmp 0x14002054a
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc8], 1
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0xe8], 0
mov eax, 0x60
imul rax, rax, 0
lea rcx, [rsp + 0xb0]
lea rdi, [rsp + rax + 0x190]
mov rsi, rcx
mov ecx, 0x60
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x128], eax
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 8]
mov qword [rsp + 0x130], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, [rsp + 0x128]
lea rdi, [rsp + rax + 0x158]
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x208]
call fcn.140410c60
mov dword [rsp + 0x208], gethostname
mov dword [rsp + 0x20c], 1
lea rax, [rsp + 0x190]
mov qword [rsp + 0x210], rax
mov dword [rsp + 0x218], 1
lea rax, [rsp + 0x158]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x230], 0
mov eax, dword [rsp + 0x2e0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x208]
mov r8d, 2
xor edx, edx
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptMsgCalculateEncodedLength]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14002044b
jmp 0x14002054a
mov eax, dword [rsp + 0x44]
mov ecx, eax
call fcn.1403c4e30
mov rcx, qword [rsp + 0x2e8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x2e8]
cmp qword [rax], 0
jne 0x1400204b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1bf
lea rdx, [0x1404181b0]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1bf
lea rdx, [0x140418200]
lea rcx, [0x140418248]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x208]
mov r8d, 2
xor edx, edx
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CryptMsgOpenToEncode]
mov qword [rsp + 0x58], rax
mov r9d, 1
mov r8d, dword [rsp + 0x2e0]
mov rdx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CryptMsgUpdate]
test eax, eax
jne 0x140020512
jmp 0x14002054a
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x2e8]
mov r9, qword [rax]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
test eax, eax
jne 0x140020542
jmp 0x14002054a
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x58], 0
je 0x14002055e
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.CRYPT32.dll_CryptMsgClose]
nop
cmp dword [rsp + 0x30], 0
jne 0x140020592
mov rax, qword [rsp + 0x2e8]
cmp qword [rax], 0
je 0x140020592
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
call fcn.1403c4e00
mov rax, qword [rsp + 0x2e8]
mov qword [rax], 0
cmp dword [rsp + 0x294], 0
je 0x1400205d2
cmp qword [rsp + 0x258], 0
je 0x1400205d2
cmp dword [rsp + 0x274], 0xffffffff
jne 0x1400205c1
mov rcx, qword [rsp + 0x258]
call sub.ncrypt.dll_NCryptFreeObject
nop
jmp 0x1400205d2
xor edx, edx
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_ioctlsocket
call fcn.14037c300
mov rax, rdi
add rsp, 0x2b8
pop rdi
pop rsi
ret