Function at 0x4466ec
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x54
push 0
push 0
dec ecx
jne 0x4466f5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x446afe
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov edx, 0x446b1c
mov eax, 0x80000000
call fcn.004362d4
cmp dword [ebp - 4], 0
je 0x446a82
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x446773
push 0x104
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsW
lea eax, [ebp - 4]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.004070dc
jmp 0x4467c7
push 0x104
lea eax, [ebp - 0x21e]
push eax
lea eax, [ebp - 0x278]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x278]
call fcn.0040652c
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
lea eax, [ebp - 0x27c]
lea edx, [ebp - 0x21e]
mov ecx, 0
call fcn.00406124
mov edx, dword [ebp - 0x27c]
lea eax, [ebp - 4]
call fcn.004070f8
cmp dword [ebp - 4], 0
je 0x446a82
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.00406f30
lea eax, [ebp - 0xc]
call fcn.00445320
push 0x7fffffff
mov ebx, dword [0x67ce5c]
mov ebx, dword [ebx]
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x446b5c
call ebx
test eax, eax
jle 0x44681c
push 0
mov ebx, dword [0x67d144]
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
mov ecx, 0x446b78
mov edx, 0x446b88
call ebx
push 0x446b98
lea eax, [ebp - 0x284]
push eax
lea edx, [ebp - 0x288]
mov eax, dword [ebp - 0xc]
call fcn.0040f6c8
mov eax, dword [ebp - 0x288]
mov cl, 0x25
mov edx, 0x66bf80
call fcn.00446598
mov edx, dword [ebp - 0x284]
lea eax, [ebp - 0x280]
call fcn.004070f8
push dword [ebp - 0x280]
push 0x446bb4
lea eax, [ebp - 0x290]
push eax
lea edx, [ebp - 0x294]
mov eax, dword [ebp - 0x10]
call fcn.0040f6c8
mov eax, dword [ebp - 0x294]
mov cl, 0x25
mov edx, 0x66bf80
call fcn.00446598
mov edx, dword [ebp - 0x290]
lea eax, [ebp - 0x28c]
call fcn.004070f8
push dword [ebp - 0x28c]
push 0x446bd4
lea eax, [ebp - 0x29c]
push eax
lea edx, [ebp - 0x2a0]
mov eax, dword [ebp - 0x14]
call fcn.0040f6c8
mov eax, dword [ebp - 0x2a0]
mov cl, 0x25
mov edx, 0x66bf80
call fcn.00446598
mov edx, dword [ebp - 0x29c]
lea eax, [ebp - 0x298]
call fcn.004070f8
push dword [ebp - 0x298]
lea eax, [ebp - 8]
mov edx, 6
call fcn.00407380
push 0
mov ebx, dword [0x67d144]
mov ebx, dword [ebx]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, 0x446bf0
call ebx
test al, al
jne 0x446951
lea eax, [ebp - 4]
call fcn.00406050
call fcn.0040718c
mov ebx, eax
lea eax, [ebp - 4]
call fcn.00406050
cmp word [eax + ebx*2 - 2], 0x20
je 0x446946
push dword [ebp - 4]
push 0x446c04
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00407380
jmp 0x446951
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00407230
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x4469c0
lea eax, [ebp - 4]
call fcn.00406050
call fcn.0040718c
cmp eax, 0x7ffe
jle 0x4469c0
lea eax, [ebp - 4]
call fcn.00406050
cmp word [eax + 0xfffa], 0x25
jne 0x446992
lea eax, [ebp - 4]
mov edx, 0x7ffd
call fcn.00407198
jmp 0x4469c0
lea eax, [ebp - 4]
call fcn.00406050
cmp word [eax + 0xfff8], 0x25
jne 0x4469b3
lea eax, [ebp - 4]
mov edx, 0x7ffc
call fcn.00407198
jmp 0x4469c0
lea eax, [ebp - 4]
mov edx, 0x7ffe
call fcn.00407198
lea eax, [ebp - 0x264]
mov edx, 0x44
call fcn.0040b1c4
mov dword [ebp - 0x264], 0x44
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x446a18
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406f68
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x446a5e
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2a4]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x2a4]
call fcn.0040652c
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x446a82
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x446a72
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x446a82
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446b05
lea eax, [ebp - 0x2a4]
mov edx, 3
call fcn.00405e94
lea eax, [ebp - 0x298]
call fcn.00406ecc
lea eax, [ebp - 0x294]
mov edx, 2
call fcn.00405e94
lea eax, [ebp - 0x28c]
call fcn.00406ecc
lea eax, [ebp - 0x288]
mov edx, 2
call fcn.00405e94
lea eax, [ebp - 0x280]
call fcn.00406ecc
lea eax, [ebp - 0x27c]
mov edx, 2
call fcn.00405e94
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406ed4
ret