Function at 0x464270
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f21c6
push eax
mov eax, dword [0x525d7c]
mov dword fs:[0], esp
sub esp, 0x7c
test eax, eax
push ebx
push ebp
jne 0x464566
push str.Qvod_Terminal
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
test eax, eax
je 0x4642cd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
add esp, 0x88
ret
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x36]
and eax, 0xffff
and edx, 0xffff
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x38]
and ecx, 0xffff
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [0x52520c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x3a]
and eax, 0xffff
lea eax, [eax + edx*8]
cdq
mov ebx, eax
mov eax, dword [0x525208]
mov ebp, edx
mov edx, eax
or edx, ecx
mov dword [esp + 0x18], ebp
je 0x464356
mov edx, ebx
sub edx, eax
mov eax, ebp
sbb eax, ecx
mov dword [esp + 0x10], eax
js 0x464566
jg 0x464356
cmp edx, 0x2710
jbe 0x464566
mov ecx, dword [0x50d0e0]
push esi
push edi
mov dword [esp + 0x10], ecx
push str.QvodTerminal.exe
lea edx, [esp + 0x18]
push 0x525768
push edx
mov dword [esp + 0xa0], 0
call fcn.00402910
mov esi, eax
mov edi, dword [esi]
mov eax, dword [esp + 0x10]
cmp eax, edi
mov byte [esp + 0x94], 1
je 0x464408
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4643a9
mov ecx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x4643b0
mov eax, dword [edi - 0xc]
test eax, eax
jge 0x4643ef
mov esi, dword [edi - 8]
lea ecx, [esp + 0x10]
push esi
call fcn.004022b0
test eax, eax
je 0x464408
mov ecx, dword [esp + 0x10]
lea ebp, [esi + esi]
push ebp
lea eax, [esi + esi + 2]
push edi
push eax
push ecx
call fcn.00402060
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [edx - 8], esi
mov eax, dword [esp + 0x10]
mov word [eax + ebp], 0
mov ebp, dword [esp + 0x20]
jmp 0x464408
lea ecx, [esp + 0x10]
call fcn.00402350
mov esi, dword [esi]
mov dword [esp + 0x10], esi
lea eax, [esi - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x94], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x46443f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46443f
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
mov esi, dword [eax - 8]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x46447b
cmp esi, dword [eax - 4]
jle 0x4644b0
test esi, esi
jne 0x464533
mov eax, dword [0x50d0e0]
lea edx, [esi + esi + 2]
lea ecx, [edi + 0xc]
push edx
lea edx, [esi + esi + 2]
push ecx
push edx
push eax
mov dword [esp + 0x20], eax
call fcn.00402060
mov eax, dword [esp + 0x20]
add esp, 0x10
push edi
mov dword [eax - 8], esi
call fcn.00408030
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x48]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [0x50d0e4]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [0x525208], ebx
mov dword [0x52520c], ebp
mov dword [esp + 0x94], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x46451b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46451b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
add esp, 0x88
ret
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.004de48f
add esp, 4
test eax, eax
je 0x46455f
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
jmp 0x464488
xor eax, eax
jmp 0x4644b4
mov ecx, dword [esp + 0x84]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret