Function at 0x180038e10
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rdi
sub rsp, 0x200
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x24], 0
jne 0x180038e45
mov qword [rsp + 0x58], 1
jmp 0x180038e4e
mov qword [rsp + 0x58], 0
cvtsi2sd xmm0, qword [rsp + 0x58]
call fcn.18003aa80
mov dword [rsp + 0x34], eax
movzx ecx, byte [0x180076d21]
movsx ecx, cl
mov dword [rsp + 0x28], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x2c], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x2c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x34]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180039089
xor eax, eax
cmp eax, 0xa
je 0x180039089
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x40
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1800382e0
mov rcx, rax
call fcn.180038040
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x88], rax
lea rax, [0x180060529]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0xa0], 0
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x38], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
call fcn.180029e70
movsx eax, al
shl eax, 1
mov dword [rsp + 0x3c], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x3c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180039084
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
cdqe
cvtsi2sd xmm0, rax
call fcn.18003aa80
mov dword [rsp + 0x50], eax
movzx ecx, byte [0x180076d21]
movsx ecx, cl
mov dword [rsp + 0x44], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x48], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x48]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x50]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180039084
xor eax, eax
cmp eax, 8
je 0x180039084
mov dword [rsp + 0x24], 1
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x180038e33
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]