Function at 0x180031e90
Capabilities:
Check if file exists
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x720
mov qword [rsp + 0x708], 0xfffffffffffffffe
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0x710], rax
call fcn.180033f30
movzx eax, al
test eax, eax
jne 0x180031ecc
call fcn.1800340a0
lea rdx, str.E53784DB_6BF9_4c9a_A0D4_410AA5637C4A
lea rcx, [rsp + 0x6e0]
call fcn.180002cc0
nop
xor r8d, r8d
lea rdx, [rsp + 0x6e0]
lea rcx, [rsp + 0x38]
call fcn.180033410
nop
lea rcx, [rsp + 0x6e0]
call fcn.180002d50
lea rdx, [0x1800a19d8]
lea rcx, [rsp + 0x280]
call fcn.180035b60
nop
xor eax, eax
mov word [rsp + 0x70], ax
lea rdi, [rsp + 0x72]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x70]
mov ecx, eax
call fcn.1800349c0
lea rcx, [rsp + 0x38]
call fcn.180033490
movzx eax, al
test eax, eax
jne 0x180031fa2
lea rdx, str.dllhost.exe
lea rcx, [rsp + 0x70]
call fcn.18003ce48
test eax, eax
je 0x180031f7b
lea rdx, str.rundll32.exe
lea rcx, [rsp + 0x70]
call fcn.18003ce48
test eax, eax
jne 0x180031f85
xor ecx, ecx
call fcn.18003da74
nop
jmp 0x180031fa2
lea rcx, [rsp + 0x280]
call fcn.1800378d0
nop
lea rcx, [rsp + 0x38]
call fcn.180033460
jmp 0x1800321d0
call fcn.180033ef0
movzx eax, al
test eax, eax
jne 0x180031fb3
call fcn.180034080
xor eax, eax
mov word [rsp + 0x490], ax
lea rdi, [rsp + 0x492]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x280]
call fcn.180035bc0
lea rcx, [rsp + 0x490]
call fcn.18003d0c8
test rax, rax
jbe 0x180032007
lea rcx, [rsp + 0x490]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18003200e
xor ecx, ecx
call fcn.18003da74
mov rax, qword [rsp + 0x730]
cmp qword [rax + 8], 0
jne 0x1800320d9
mov dword [rsp + 0x6c8], 0
lea rdi, [rsp + 0x6d0]
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov byte [rsp + 0x6a0], 0
lea rdi, [rsp + 0x6a1]
xor eax, eax
mov ecx, Ordinal_41
rep stosb byte [rdi], al
mov edx, 1
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x6a0]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0x6d8], 1
mov dword [rsp + 0x6c8], 0x18
lea rax, [rsp + 0x6a0]
mov qword [rsp + 0x6d0], rax
lea r9, str.Global62E19D0B_1DDF_40d2_9549_7CF9D6733686
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x6c8]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdx, rax
mov rax, qword [rsp + 0x730]
mov qword [rax + 8], rdx
mov rax, qword [rsp + 0x730]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x730]
lea r8, [0x1800323f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x730]
lea r8, [0x180032730]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.180033ff0
movzx eax, al
test eax, eax
jne 0x180032150
call fcn.180034020
mov ecx, 0x2bf20
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x730]
lea r8, [0x180032630]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x730]
call fcn.1800324b0
lea rdx, [0x1800a1a80]
lea rcx, [rsp + 0x70]
call fcn.18003ce48
test eax, eax
jne 0x1800321b8
xor ecx, ecx
call fcn.18003da74
nop
lea rcx, [rsp + 0x280]
call fcn.1800378d0
nop
lea rcx, [rsp + 0x38]
call fcn.180033460
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.18003c690
add rsp, 0x720
pop rdi
ret