Function at 0x180032ca0
Capabilities:
Create thread
Delete file
Get file size
Hide thread from debugger
Inject thread
Read file via mapping
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x23b8]
mov eax, 0x24b8
call fcn.18005f3d0
sub rsp, rax
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rbp + 0x23a0], rax
mov r14, r8
lea rax, [0x18000d790]
mov rbx, rdx
lea r15, [0x18000d600]
mov rsi, rcx
xor edx, edx
mov r8d, 0x1100
lea rcx, [rbp + 0x1a0]
sub r15, rax
call fcn.18004c900
xor edx, edx
lea rcx, [rbp + 0x12a0]
mov r8d, 0x1100
call fcn.18004c900
mov rcx, qword [0x180082e98]
lea rdx, [rbp + 0x1a0]
xor edi, edi
mov r8d, 0x1000
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x18003322f
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rcx, eax
lea rax, [rbp + 0x1a0]
add rax, rcx
cmp byte [rax], 0x5c
je 0x180032d60
dec rax
cmp byte [rax], 0x5c
jne 0x180032d58
lea rdx, [rbp + 0x1a0]
mov byte [rax + 1], dil
lea rcx, [rbp + 0x12a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, str.garbageImpRec.txt
lea rcx, [rbp + 0x12a0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, str.importsImpRec_
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rdx, rbx
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rax, [rsp + 0x58]
mov r9d, 4
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18003322f
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x208
call fcn.18004c900
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x1a0]
xor edx, edx
xor ecx, ecx
lea r9d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rsi
call sym.TitanEngine.dll_RemoteLoadLibraryW
test al, al
je 0x18003322f
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x18003322f
lea rdx, str.Trace
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1800331d1
mov qword [rsp + 0x2508], r12
mov r9d, 0x1000
mov r8, r15
mov qword [rsp + 0x24b0], r13
xor edx, edx
mov dword [rsp + 0x20], 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, 0x1000
mov dword [rsp + 0x20], 4
mov r8d, r9d
mov qword [rsp + 0x48], rax
xor edx, edx
mov rcx, rsi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdx, r14
mov rcx, rsi
mov r13, rax
call fcn.18000b8c0
mov ecx, dword [rsp + 0x40]
sub rbx, r14
mov qword [rbp - 0x78], rcx
add rax, rbx
lea rcx, [0x18006dd58]
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CreateFileA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rcx, rsi
call fcn.18000b8c0
lea rcx, [0x18006dd80]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CreateFileMappingA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rcx, rsi
call fcn.18000b8c0
lea rcx, [0x18006dda0]
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CloseHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov rcx, rsi
call fcn.18000b8c0
mov qword [rsp + 0x78], rax
lea r8, [0x18000d790]
lea rax, [rsp + 0x58]
mov r9, r15
mov rdx, r12
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180033140
lea rax, [rsp + 0x58]
mov r9d, 0x28
lea r8, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [rbp + 0x12a0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r9, eax
lea rdx, [r13 + 0x28]
lea rax, [rsp + 0x58]
mov rcx, rsi
lea r8, [rbp + 0x12a0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rsp + 0x60]
mov r9, r12
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], 4
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov rbx, rax
lea edx, [r9 + 0x11]
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x180033140
cmp dword [rsp + 0x50], edi
je 0x180033140
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], pe_nt_image_headers64
lea rcx, [rbp + 0x12a0]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180033111
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rbx
mov r12d, eax
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r15, rax
test rax, rax
je 0x1800330ea
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x1800330ea
mov edi, dword [rax]
mov r9, rax
mov r8, r15
mov edx, r12d
mov rcx, rbx
call fcn.18000dc30
jmp 0x18003310c
lea rdx, [rsp + 0x54]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x18003310c
test byte [rsp + 0x54], 2
jne 0x18003310c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x48]
lea rcx, [rbp + 0x12a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x180033140
mov r8b, 1
lea rcx, [rbp + 0x12a0]
xor edx, edx
call sym.TitanEngine.dll_HandlerCloseAllLockHandles
lea rcx, [rbp + 0x12a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x208
call fcn.18004c900
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x1a0]
xor edx, edx
xor ecx, ecx
lea r9d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9b, 1
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, rsi
call sym.TitanEngine.dll_RemoteFreeLibraryW
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r13, qword [rsp + 0x24b0]
mov r12, qword [rsp + 0x2508]
jmp 0x180033226
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x208
call fcn.18004c900
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x1a0]
xor edx, edx
xor ecx, ecx
lea r9d, [rax + 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9b, 1
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, rsi
call sym.TitanEngine.dll_RemoteFreeLibraryW
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov rcx, qword [rbp + 0x23a0]
xor rcx, rsp
call fcn.180049ad0
add rsp, 0x24b8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret