Function at 0x425b00
Capabilities:
Create process on windows
Print debug messages
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2cc
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 8]
push esi
lea esi, [ebx + 8]
push edi
mov ecx, dword [eax + 4]
lea eax, [esp + 0x28]
add ecx, esi
push eax
call fcn.00402eb0
push eax
call fcn.004079d0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x13], al
call fcn.00402760
push esi
lea ecx, [esp + 0x24]
call fcn.00406030
cmp byte [esp + 0x24], 0
jne 0x425b70
mov edi, 4
jmp 0x425bf6
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov edi, dword [eax + esi + 0x38]
mov al, byte [esp + 0x13]
mov byte [esp + 0x14], al
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x425bb0
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx]
test eax, eax
jle 0x425bb0
dec eax
mov dword [ecx], eax
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
push edx
lea eax, [edx + 1]
mov dword [ecx], eax
mov al, byte [esp + 0x17]
mov byte [edx], al
call fcn.00402420
add esp, 4
jmp 0x425bc8
mov esi, dword [edi]
lea eax, [esp + 0x14]
push eax
call fcn.00402420
add esp, 4
mov ecx, edi
push eax
call dword [esi + 0xc]
lea esi, [ebx + 8]
mov dword [esp + 0x1c], eax
call fcn.00402450
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402430
add esp, 8
mov ecx, 4
test al, al
mov edi, 0
cmovne edi, ecx
mov eax, dword [esi]
push 0
mov ecx, dword [eax + 4]
add ecx, esi
mov edx, dword [ecx + 0xc]
or edx, edi
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00402e30
lea ecx, [esp + 0x20]
call fcn.00405fc0
mov ecx, esi
call fcn.00407780
lea eax, [esp + 0x98]
push eax
lea ecx, [ebx + 0xc]
call fcn.00423620
mov eax, dword [0x49ad34]
test eax, eax
je 0x425c68
lea ecx, [esp + 0x98]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x425f74
mov eax, dword [0x4989c0]
cmp eax, 2
je 0x425c7e
cmp eax, 3
je 0x425c7e
cmp dword [ebx], 2
jl 0x425cc9
jmp 0x425c91
lea ecx, [esp + 0x98]
call fcn.004056f0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x98]
call fcn.004056f0
push eax
push 0x488288
push 2
call fcn.0045af7b
add esp, 4
push eax
call fcn.004253d0
add esp, 0xc
push 2
call fcn.0045af7b
add esp, 4
push eax
call fcn.0045c054
add esp, 4
xor edx, edx
call fcn.004254d0
mov eax, dword [0x4989c0]
test eax, eax
je 0x425d6f
cmp eax, 2
je 0x425d6f
cmp dword [0x49ad24], 0
jne 0x425cff
push 0xffffffffffffffff
push dword [0x49ad20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x425d0b
push dword [0x49ad1c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00425620
test al, al
je 0x425d4c
push 2
push 0
push 0
push dword [0x49ad30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa0]
call fcn.00406940
push eax
call fcn.004056f0
push eax
push dword [0x49ad30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x49ad24], 0
jne 0x425d63
push dword [0x49ad20]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x425d6f
push dword [0x49ad1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx]
cmp eax, 4
jne 0x425db6
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x425ff1
cmp dword [0x49ad44], eax
je 0x425ff1
lea eax, [esp + 0x80]
push eax
lea ecx, [ebx + 0xc]
call fcn.00423620
lea eax, [esp + 0x80]
push eax
call dword [0x49ad44]
add esp, 4
jmp 0x425f68
cmp eax, 3
jne 0x425f74
cmp dword [0x49ad2c], 0
lea eax, [esp + 0x80]
lea ecx, [ebx + 0xc]
push eax
je 0x425dee
call fcn.00423620
lea eax, [esp + 0x80]
push eax
call dword [0x49ad2c]
add esp, 4
jmp 0x425f68
call fcn.00423620
lea ecx, [esp + 0x80]
call fcn.00405620
test al, al
jne 0x425f68
cmp byte [0x49ad09], al
je 0x425f68
push 0x104
lea eax, [esp + 0xcc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xc8]
push 0x5c
push eax
call fcn.00451b3f
add esp, 8
test eax, eax
je 0x425e44
xor ecx, ecx
mov word [eax + 2], cx
push str.debug_message.exe
lea eax, [esp + 0xcc]
push 0x104
push eax
call fcn.0045a2c3
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.004056f0
mov edi, eax
call fcn.00406940
lea ecx, [esp + 0xb0]
mov esi, eax
call fcn.00401900
lea eax, [esp + 0xb0]
mov edx, esi
push eax
mov ecx, edi
call fcn.0042df00
add esp, 4
lea ecx, [esp + 0xb0]
call fcn.00405620
test al, al
jne 0x425f5c
xorps xmm0, xmm0
mov dword [esp + 0x38], 0x44
lea ecx, [esp + 0xb0]
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
call fcn.00401a00
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x425ef8
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x425f41
push 0xffffffffffffffff
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x28]
call esi
jmp 0x425f5c
cmp dword [esi + 0x14], 8
jb 0x425f49
mov esi, dword [esi]
push 0x40010
push str.Fatal_error
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0xb0]
call fcn.00401850
lea ecx, [esp + 0x80]
call fcn.004057e0
lea ecx, [esp + 0x98]
call fcn.004057e0
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebx + 8]
lea esi, [ebx + 0x58]
mov eax, dword [eax + 4]
mov dword [eax + esi - 0x50], 0x48b468
mov eax, dword [esi - 0x50]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + esi - 0x54], eax
lea ecx, [esi - 0x4c]
call fcn.00422580
mov eax, dword [esi - 0x50]
push esi
mov eax, dword [eax + 4]
mov dword [eax + esi - 0x50], 0x478128
mov eax, dword [esi - 0x50]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 0x54], eax
mov dword [esi], vtable.std::ios_base.0
call fcn.0044f812
mov ecx, dword [esp + 0x2d8]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
call fcn.0043a290
int3