Function at 0x300097b0
Capabilities:
Create process on windows
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8cc
mov eax, dword [0x30215e88]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x864], edi
mov dword [ebp - 0x868], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x30009af2
mov ebx, dword [0x3026e5d0]
test ebx, ebx
je 0x300097fb
mov edi, edi
cmp dword [ebx], esi
je 0x30009825
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
jne 0x300097f0
xor ebx, ebx
cmp dword [0x3026b2ac], 0
je 0x30009857
push esi
push str.ProcessMessage:_Skipping_monitoring_process__d_as_single_process_mode_set.
call fcn.3000a0d0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30159c2d
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x30009832
mov edi, dword [ebx + 8]
mov dword [ebp - 0x864], edi
cmp dword [ebx + 0x28], 0
je 0x300097fd
push esi
push str.ProcessMessage:_Skipping_monitoring_process__d
call fcn.3000a0d0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30159c2d
mov esp, ebp
pop ebp
ret
cmp dword [0x3026b2b8], 0
je 0x30009ae3
mov eax, dword [str.loader.exe]
lea edi, [ebp - 0x3c]
mov ecx, 7
mov dword [ebp - 0x1c], eax
mov eax, dword [0x301f09f0]
mov esi, str.loader_x64.exe
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [0x301f09f4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x301f09f8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x301f09fc]
mov dword [ebp - 0xc], eax
mov ax, word [0x301f0a00]
push 0x44
mov word [ebp - 8], ax
lea eax, [ebp - 0x8c4]
push 0
push eax
movsw word es:[edi], word [esi]
mov dword [ebp - 0x8c8], 0x48
call fcn.3015cdc0
mov edx, dword [0x3026d8a4]
add esp, 0xc
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x300098d0
sub ecx, esi
sar ecx, 1
lea eax, [ecx + 1]
push eax
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.301646e4
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test ebx, ebx
je 0x30009942
mov eax, dword [ebx + 4]
test eax, eax
je 0x30009942
mov esi, dword [ebp - 0x868]
lea ecx, [ebp - 0x86c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x30009979
push esi
push str.ProcessMessage:_IsWow64Process_failed_for_process__d__standalone_mode_
call fcn.3000a0f0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30159c2d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x868]
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x30009911
push esi
push str.ProcessMessage:_Unable_to_open_handle_to_process__d__standalone_mode_
call fcn.3000a0d0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30159c2d
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x86c], 0
je 0x30009987
lea eax, [ebp - 0x3c]
jmp 0x300099f1
push 0x3026ed40
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [0x3026ed40], 9
jne 0x300099ee
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x248]
push eax
push str._ws_ws
lea eax, [ebp - 0x450]
push 0x104
push eax
call fcn.30008740
add esp, 0x14
lea eax, [ebp - 0x248]
push str.capemon_x64.dll
push eax
push str._ws_ws
lea eax, [ebp - 0x860]
push 0x104
push eax
call fcn.30008740
add esp, 0x14
lea eax, [ebp - 0x860]
push eax
jmp 0x30009a18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x248]
push eax
push str._ws_ws
lea eax, [ebp - 0x450]
push 0x104
push eax
call fcn.30008740
add esp, 0x14
push dword [0x3026d8a4]
push dword [ebp - 0x864]
lea eax, [ebp - 0x450]
push esi
push eax
push str._s_inject__u__u__s
lea eax, [ebp - 0x658]
push 0x104
push eax
call fcn.30008780
add esp, 0x1c
call fcn.3002a140
mov dword [eax], 1
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x8c8]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x658]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
test eax, eax
je 0x30009aba
push str.ProcessMessage:_Injected_monitor_into_process__u__standalone_mode_
call fcn.3000a0d0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push dword [ebp - 0x87c]
call esi
push dword [ebp - 0x878]
call esi
call fcn.3002a140
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30159c2d
mov esp, ebp
pop ebp
ret
push str.ProcessMessage:_Failed_to_inject_monitor_into_process__d__standalone_mode_
call fcn.3000a0d0
add esp, 8
call fcn.3002a140
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30159c2d
mov esp, ebp
pop ebp
ret
push edi
push esi
push str.PROCESS:0:_d__d
call fcn.300509d0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30159c2d
mov esp, ebp
pop ebp
ret