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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8cc
mov eax, dword [0x3021ae88]
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 0x30009522
mov ebx, dword [0x302727d0]
test ebx, ebx
je 0x3000922b
mov edi, edi
cmp dword [ebx], esi
je 0x30009255
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
jne 0x30009220
xor ebx, ebx
cmp dword [0x3026f244], 0
je 0x30009287
push esi
push str.ProcessMessage:_Skipping_monitoring_process__d_as_single_process_mode_set.
call fcn.30009b00
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x30009262
mov edi, dword [ebx + 8]
mov dword [ebp - 0x864], edi
cmp dword [ebx + 0x28], 0
je 0x3000922d
push esi
push str.ProcessMessage:_Skipping_monitoring_process__d
call fcn.30009b00
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret
cmp dword [0x3026f250], 0
je 0x30009513
mov eax, dword [str.loader.exe]
lea edi, [ebp - 0x3c]
mov ecx, 7
mov dword [ebp - 0x1c], eax
mov eax, dword [0x301f4a90]
mov esi, str.loader_x64.exe
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [0x301f4a94]
mov dword [ebp - 0x14], eax
mov eax, dword [0x301f4a98]
mov dword [ebp - 0x10], eax
mov eax, dword [0x301f4a9c]
mov dword [ebp - 0xc], eax
mov ax, word [0x301f4aa0]
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.30160f00
mov edx, dword [0x30271448]
add esp, 0xc
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x30009300
sub ecx, esi
sar ecx, 1
lea eax, [ecx + 1]
push eax
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.301686b6
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test ebx, ebx
je 0x30009372
mov eax, dword [ebx + 4]
test eax, eax
je 0x30009372
mov esi, dword [ebp - 0x868]
lea ecx, [ebp - 0x86c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x300093a9
push esi
push str.ProcessMessage:_IsWow64Process_failed_for_process__d__standalone_mode_
call fcn.30009b20
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015dd6d
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 0x30009341
push esi
push str.ProcessMessage:_Unable_to_open_handle_to_process__d__standalone_mode_
call fcn.30009b00
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x86c], 0
je 0x300093b7
lea eax, [ebp - 0x3c]
jmp 0x30009421
push 0x302728a0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [0x302728a0], 9
jne 0x3000941e
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.30008130
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.30008130
add esp, 0x14
lea eax, [ebp - 0x860]
push eax
jmp 0x30009448
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.30008130
add esp, 0x14
push dword [0x30271448]
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.30008170
add esp, 0x1c
call fcn.300293e0
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 0x300094ea
push str.ProcessMessage:_Injected_monitor_into_process__u__standalone_mode_
call fcn.30009b00
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.300293e0
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret
push str.ProcessMessage:_Failed_to_inject_monitor_into_process__d__standalone_mode_
call fcn.30009b00
add esp, 8
call fcn.300293e0
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret
push edi
push esi
push str.PROCESS:0:_d__d
call fcn.3004de10
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret