Function at 0x10025ee0
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10064040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp eax, 1
jne 0x1002626e
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0x44
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x4c], xmm0
push eax
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp word [ebp - 0x1e], 0x10
jb 0x10025fb0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10025fb0
lea eax, [ecx + 8]
test eax, eax
je 0x10025f64
mov eax, dword [eax]
mov dword [0x10068314], eax
jmp 0x10025f81
mov dword [0x10068314], 0
call fcn.10037d00
mov dword [eax], 0x16
call fcn.100375c6
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 0xc]
test eax, eax
je 0x10025f91
mov eax, dword [eax]
mov dword [0x10073f9c], eax
jmp 0x10025fb0
mov dword [0x10073f9c], 0
nop dword [eax + eax]
call fcn.10037d00
mov dword [eax], 0x16
call fcn.100375c6
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlImageNtHeader
push eax
mov dword [0x100690a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100678a0], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 2
mov dword [0x10067cb8], ebx
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1002605f
cmp dword [0x10068314], eax
je 0x10026043
mov eax, dword [0x10073f9c]
nop dword [eax]
test eax, eax
je 0x10026043
push 0
lea ecx, [ebp - 8]
push ecx
push 0x1c
push 0x1005cf80
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x10068314]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002d566
mov esp, ebp
pop ebp
ret 0xc
push 0x10
push str.GreenLuma_2024
push str.Unable_to_get_exe_path___1_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
push 0x10068b78
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x100260c6
nop dword [eax + eax]
cmp dword [0x10068314], eax
je 0x100260a5
mov eax, dword [0x10073f9c]
test eax, eax
je 0x100260a5
push 0
lea ecx, [ebp - 8]
push ecx
push 0x1c
push 0x1005cfd4
jmp 0x10026011
push 0x10
push str.GreenLuma_2024
push str.Unable_to_get_exe_path___2_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x7a
jne 0x10026113
cmp dword [0x10068314], 0
je 0x100260f7
mov eax, dword [0x10073f9c]
test eax, eax
je 0x100260f7
push 0
lea ecx, [ebp - 8]
push ecx
push 0x1c
push 0x1005d028
jmp 0x10026011
push 0x10
push str.GreenLuma_2024
push str.Unable_to_get_exe_path___3_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x104
push 0x10067488
push ebx
call edi
test eax, eax
jne 0x10026166
cmp dword [0x10068314], eax
je 0x10026149
mov eax, dword [0x10073f9c]
test eax, eax
je 0x10026149
push 0
lea ecx, [ebp - 8]
push ecx
push 0x1c
push 0x1005d07c
jmp 0x10026011
push 0x10
push str.GreenLuma_2024
push str.Unable_to_get_dll_path___1_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call esi
cmp eax, 0x7a
jne 0x100261ae
cmp dword [0x10068314], 0
je 0x10026191
mov eax, dword [0x10073f9c]
test eax, eax
je 0x10026191
push 0
lea ecx, [ebp - 8]
push ecx
push 0x1c
push 0x1005d0d0
jmp 0x10026011
push 0x10
push str.GreenLuma_2024
push str.Unable_to_get_dll_path___2_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10068b78
push 0x104
push 0x100696d0
call fcn.1003797d
push 0x10067488
push 0x104
push 0x10073d78
call fcn.1003797d
add esp, 0x18
mov edx, str.user32.dll
mov ecx, 0x10073d78
call fcn.10001d80
cmp al, 1
jne 0x1002625d
push str.steamclient.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push esi
call dword [0x100678a0]
test esi, esi
je 0x10026256
mov edx, dword [eax + 0x50]
mov ecx, esi
push str.xxx____x____x____
push 0x1005d150
call fcn.10001fc0
mov edi, eax
add esp, 8
mov dword [0x10073f90], edi
test edi, edi
je 0x10026256
mov word [ebp - 8], 0x18eb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
mov esi, eax
lea eax, [ebp - 8]
push 2
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov byte [0x10066e5f], 1
nop dword [eax]
call fcn.10023d20
test al, al
jne 0x100262b8
jmp 0x1002602b
test eax, eax
jne 0x100262b8
cmp byte [0x10066e5e], al
jne 0x100262b8
xor edx, edx
xor ecx, ecx
call fcn.10028940
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtCreateUserProcess
push dword [0x100690a4]
call esi
mov ecx, eax
call fcn.10028800
push str.NtResumeThread
push dword [0x100690a4]
call esi
mov ecx, eax
call fcn.10028800
call fcn.100283e0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002d566
mov esp, ebp
pop ebp
ret 0xc