Function at 0x566c1c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
and dword [rax + 0x18], 0
mov rdx, rcx
lea rcx, [rax - 0x198]
call fcn.004021f8
nop
lea r8, [rsp + 0x288]
lea rdx, [0x00799028]
lea rcx, [rsp + 0x38]
call fcn.004023b4
nop
lea r8, [rsp + 0x288]
lea rdx, [0x0079c14c]
lea rcx, [rsp + 0x88]
call fcn.004023b4
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xe0]
call fcn.0058ca38
nop
lea rax, [rsp + 0x88]
mov edi, 0x100
mov rcx, qword [rsp + 0xd0]
cmp rcx, rax
je 0x566cdd
test rcx, rcx
je 0x566cdd
mov rax, qword [rsp + 0x88]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x566cd7
call fcn.006a4944
jmp 0x566cdd
call fcn.006a3610
nop
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
cmp rcx, rax
je 0x566d14
test rcx, rcx
je 0x566d14
mov rax, qword [rsp + 0x38]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x566d0f
call fcn.006a4944
jmp 0x566d14
call fcn.006a3610
lea rcx, [rsp + 0xe0]
call fcn.00595310
test eax, eax
je 0x566d73
lea r8, [rsp + 0xe0]
lea rdx, str._e___select___
lea rcx, [rsp + 0x220]
call fcn.00420494
nop
mov dword [rsp + 0x290], 1
lea r8, [0x0079ea88]
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.0040fd24
nop
mov ebx, 3
mov dword [rsp + 0x290], ebx
jmp 0x566dd8
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x1d0]
call fcn.0046bfc8
nop
mov dword [rsp + 0x290], 4
mov r8, rax
lea rdx, str._e___
lea rcx, [rsp + 0x88]
call fcn.00420494
nop
mov dword [rsp + 0x290], reloc.WS2_32.dll_inet_ntoa
lea r8, [0x0079ea88]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.0040fd24
nop
mov ebx, 0x1c
mov dword [rsp + 0x290], ebx
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.004021f8
nop
test bl, 0x10
je 0x566e30
and ebx, 0xffffffef
mov dword [rsp + 0x290], ebx
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
cmp rcx, rax
je 0x566e30
test rcx, rcx
je 0x566e30
mov rax, qword [rsp + 0x38]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x566e2a
call fcn.006a4944
jmp 0x566e30
call fcn.006a3610
nop
test bl, 8
je 0x566e7d
and ebx, 0xfffffff7
mov dword [rsp + 0x290], ebx
lea rax, [rsp + 0x88]
mov rcx, qword [rsp + 0xd0]
cmp rcx, rax
je 0x566e7d
test rcx, rcx
je 0x566e7d
mov rax, qword [rsp + 0x88]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x566e77
call fcn.006a4944
jmp 0x566e7d
call fcn.006a3610
nop
test bl, 4
je 0x566eca
and ebx, 0xfffffffb
mov dword [rsp + 0x290], ebx
lea rax, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x218]
cmp rcx, rax
je 0x566eca
test rcx, rcx
je 0x566eca
mov rax, qword [rsp + 0x1d0]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x566ec4
call fcn.006a4944
jmp 0x566eca
call fcn.006a3610
nop
test bl, 2
je 0x566f17
and ebx, 0xfffffffd
mov dword [rsp + 0x290], ebx
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x1c8]
cmp rcx, rax
je 0x566f17
test rcx, rcx
je 0x566f17
mov rax, qword [rsp + 0x180]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x566f11
call fcn.006a4944
jmp 0x566f17
call fcn.006a3610
nop
test bl, 1
je 0x566f59
lea rax, [rsp + 0x220]
mov rcx, qword [rsp + 0x268]
cmp rcx, rax
je 0x566f59
test rcx, rcx
je 0x566f59
mov rax, qword [rsp + 0x220]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x566f54
call fcn.006a4944
jmp 0x566f59
call fcn.006a3610
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x178]
lea r8, str.explorer.exe
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rax, [rsp + 0x130]
mov rcx, qword [rsp + 0x178]
cmp rcx, rax
je 0x566fbf
test rcx, rcx
je 0x566fbf
mov rax, qword [rsp + 0x130]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rdi
jbe 0x566fb9
call fcn.006a4944
jmp 0x566fbf
call fcn.006a3610
nop
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
je 0x566ffb
test rcx, rcx
je 0x566ffb
mov rdx, qword [rsp + 0xe0]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, rdi
jbe 0x566ff6
call fcn.006a4944
jmp 0x566ffb
call fcn.006a3610
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret