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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c8fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
push edi
mov dword [ebp - 0x484], ecx
lea ecx, [ebp - 0x220]
call fcn.00404590
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404590
mov byte [ebp - 4], 1
call fcn.00404650
mov dword [ebp - 0x218], eax
mov byte [ebp - 0x210], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x46ce3c
lea ecx, [ebp - 0x214]
call fcn.0043df01
mov byte [ebp - 4], 2
lea eax, [ebp - 0x480]
push eax
mov ecx, 0x4681e8
call fcn.0040559b
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x48c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48c]
call fcn.00404600
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0xec
call fcn.00404600
push eax
mov ecx, 0x468688
call fcn.00402fa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x480]
call fcn.0043de93
push 0x100
lea edx, [ebp - 0x210]
push edx
push 0x45db6c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xcb
je 0x40a3a9
cmp dword [ebp - 0x21c], 0
jne 0x40a3e8
push 0x45db7c
call fcn.00414290
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043de93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0043de93
jmp 0x40a6d8
lea eax, [ebp - 0x210]
push eax
call fcn.0042a790
add esp, 4
test eax, eax
ja 0x40a44d
push 0x46bb94
lea ecx, [ebp - 0x210]
push ecx
call fcn.0042a2c0
add esp, 8
push 0x5c
lea edx, [ebp - 0x210]
push edx
call fcn.0042a810
add esp, 8
mov byte [eax], 0
push 0x5c
lea eax, [ebp - 0x210]
push eax
call fcn.0042a810
add esp, 8
mov byte [eax], 0
push 0x5c
lea ecx, [ebp - 0x210]
push ecx
call fcn.0042a810
add esp, 8
mov byte [eax], 0
jmp 0x40a45c
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x10]
call fcn.0043e01c
push 0x45dbcc
lea ecx, [ebp - 0x10]
call fcn.0043e26f
push 0x45dbf4
call fcn.00414290
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push 0x45dc18
call fcn.00414290
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.00404610
test eax, eax
je 0x40a69e
call fcn.004121b4
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0x110], 0
je 0x40a4f2
push 0x45dc3c
call fcn.00414290
add esp, 4
push 0x45dc68
lea ecx, [ebp - 0x10]
call fcn.0043cb31
test eax, eax
jg 0x40a4e1
push 0x45dc70
push 0x45dc84
lea ecx, [ebp - 0x10]
call fcn.0043c821
mov edx, dword [ebp - 0x10]
push edx
push 0x45dc94
call fcn.00414290
add esp, 8
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x274], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x270]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x274], 0x44
call fcn.0040abbd
and eax, 0xff
test eax, eax
je 0x40a5f8
push 0x45dcb8
call fcn.00414290
add esp, 4
mov dword [ebp - 0x27c], 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x45dce0
lea edx, [ebp - 0x47c]
push edx
call fcn.0042ada4
add esp, 0xc
push 0x45dce4
call fcn.00414290
add esp, 4
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x274]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x47c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x40a5d2
push 0x45dd18
call fcn.00414290
add esp, 4
jmp 0x40a5df
push 0x45dd4c
call fcn.00414290
add esp, 4
lea eax, [ebp - 0x47c]
push eax
push 0x45dd80
call fcn.00414290
add esp, 8
jmp 0x40a69c
push 0x45dda4
call fcn.00414290
add esp, 4
mov dword [ebp - 0x27c], 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x45ddcc
lea edx, [ebp - 0x47c]
push edx
call fcn.0042ada4
add esp, 0xc
push 0x45ddd0
call fcn.00414290
add esp, 4
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x274]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x47c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x40a67b
push 0x45de04
call fcn.00414290
add esp, 4
jmp 0x40a688
push 0x45de38
call fcn.00414290
add esp, 4
lea eax, [ebp - 0x47c]
push eax
push 0x45de6c
call fcn.00414290
add esp, 8
jmp 0x40a6ab
push 0x45de90
call fcn.00414290
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x214]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043de93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0043de93
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret