Function at 0x447c10
Capabilities:
Create process on windows
Create process suspended
Query environment variable
Resume thread

Disassembly:
jmp 0x447c10
sub esp, 0xbc
mov eax, dword [0x488180]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
mov esi, dword [esp + 0xd0]
push edi
xor ebx, ebx
push 0x44
lea eax, [esp + 0x54]
push ebx
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
call fcn.0044c680
add esp, 0xc
push 0x410
push 8
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
xor ecx, ecx
cmp dword [0x48b140], 1
lea edx, [esp + 0x30]
setne cl
push edx
push eax
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x410
mov dword [esp + 0x30], ecx
mov esi, eax
mov dword [esp + 0x38], ebx
call fcn.00401b63
mov ecx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x2c], ecx
add esi, ecx
cmp byte [eax], 0x22
je 0x447cd4
mov byte [eax], 0x41
mov eax, 1
add dword [esp + 0x10], eax
sub dword [esp + 0x1c], eax
cmp dword [esp + 0x24], ebx
mov byte [esi], bl
mov dword [esp + 0x38], esi
je 0x447d06
push 0x104
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
push ebp
push 0x47cde4
mov ebx, eax
push 0x104
push ebx
call fcn.0046fe5d
add esp, 0x10
mov eax, dword [0x4a60dc]
push eax
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x80], 0x100
call fcn.00401a41
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esp, 4
push 2
push 1
push 0
lea ecx, [esp + 0x94]
push ecx
mov edi, eax
call esi
push eax
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call edi
mov edx, dword [0x4a60e0]
push edx
call fcn.00401a41
add esp, 4
push 2
push 1
mov ebp, eax
push 0
lea eax, [esp + 0x98]
push eax
call esi
push eax
push ebp
call esi
push eax
call edi
mov ecx, dword [0x4a60e4]
push ecx
call fcn.00401a41
add esp, 4
push 2
push 1
push 0
lea edx, [esp + 0x9c]
push edx
mov ebp, eax
call esi
push eax
push ebp
call esi
push eax
call edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
add edi, 4
push edi
call fcn.00401627
add esp, 0x18
test eax, eax
jne 0x447dfa
lea esi, [eax + 1]
call fcn.0044baf1
mov dword [eax], 0xc
mov edx, dword [esp + 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x448096
mov eax, dword [esp + 0x38]
mov byte [eax], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
cmp dword [esp + 0x24], 0
je 0x447ecf
mov ebp, dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
xor esi, esi
mov edi, edi
lea ecx, [esp + 0x4c]
push ecx
push ebx
call ebp
test eax, eax
jne 0x447ecf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xc1
je 0x447f22
cmp esi, 1
jle 0x447e96
mov al, byte [ebx]
cmp al, 0x5c
je 0x447e60
cmp al, 0x2f
jne 0x447e8b
mov al, byte [ebx + 1]
cmp al, 0x5c
je 0x447e6b
cmp al, 0x2f
jne 0x447e8b
cmp dword [edi + 4], 0
jne 0x447e8b
cmp dword [0x48b10c], 0
jne 0x447e8b
mov edx, dword [esp + 0x28]
push 0
push 0
push edx
call fcn.0040152d
add esp, 0xc
call fcn.0044baf1
mov dword [eax], 2
test esi, esi
jne 0x447ea6
mov eax, dword [esp + 0x34]
push eax
push str._s.exe
jmp 0x447eb5
cmp esi, 1
jne 0x447ec3
mov ecx, dword [esp + 0x34]
push ecx
push str._s.EXE
push 0x104
push ebx
call fcn.0046fe5d
add esp, 0x10
add esi, 1
cmp esi, 3
jl 0x447e30
call fcn.0040159b
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea edx, [esp + 0x3c]
push edx
mov ebp, eax
lea eax, [esp + 0x54]
push eax
push 0
push 0
or esi, 4
push esi
push 1
push 0
push 0
push ecx
push ebx
call edi
test eax, eax
jne 0x447fd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xc1
jne 0x447f64
call fcn.0044baf1
mov dword [eax], 8
jmp 0x447f87
call fcn.0044baf1
mov dword [eax], 8
cmp dword [0x48b10c], 0
jne 0x447f47
mov edx, dword [esp + 0x28]
push 0
push 0
push edx
call fcn.0040152d
add esp, 0xc
call fcn.0044baf1
mov ebp, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
cmp dword [eax], ecx
setne cl
mov esi, ecx
jmp 0x448096
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x447f7c
call fcn.0044baf1
mov dword [eax], 0x26
jmp 0x447f87
call fcn.0044baf1
mov dword [eax], 2
cmp dword [esp + 0x24], 0
jne 0x447ff3
cmp dword [esp + 0x30], 0
jne 0x447ff3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0x47f768
push edx
push eax
call fcn.0047098a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x54]
push edx
push 0
push 0
push esi
push 1
push 0
push 0
push eax
push ebx
mov dword [esp + 0x58], 1
call edi
test eax, eax
je 0x447f08
push 0x32
lea ecx, [esp + 0x98]
push ecx
push str.TCSH_NOASYNCGUI
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x448003
xor esi, esi
jmp 0x44800e
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x448096
push ebx
call fcn.00401753
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x448037
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test esi, esi
jne 0x448080
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x20]
push 2
push edx
call fcn.00401bbd
add esp, 4
push eax
push 0x4a828c
call fcn.004019b0
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor esi, esi
call edi
mov ecx, dword [esp + 0x40]
push ecx
call edi
mov edx, dword [esp + 0x88]
push edx
call edi
mov eax, dword [esp + 0x8c]
push eax
call edi
mov ecx, dword [esp + 0x90]
push ecx
call edi
test ebp, ebp
je 0x4480c1
push ebp
call fcn.00401c03
add esp, 4
mov edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edx
push 0
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
test ebx, ebx
je 0x4480e5
push ebx
push 0
call ebp
push eax
call edi
mov ecx, dword [esp + 0xc8]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044c66d
add esp, 0xbc
ret