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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x4842fd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c94
mov eax, dword [ebp - 8]
call fcn.00404c94
xor eax, eax
push ebp
push 0x484686
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a1ac4]
mov eax, dword [eax]
mov edx, ebx
call fcn.00482824
mov ebx, eax
test ebx, ebx
je 0x48461b
mov byte [ebp - 0x11d], 0
push 0x104
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 4]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.00404a38
mov byte [ebp - 0x11d], 0
push 0x104
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ca4
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 8]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.00404a38
xor eax, eax
push ebp
push 0x484611
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x34]
dec eax
sub eax, 2
jae 0x484499
cmp dword [ebx + 0x5c], 0
je 0x484499
mov edx, dword [ebp - 8]
mov eax, 0x4846a0
call fcn.00404de8
mov esi, eax
test esi, esi
je 0x4843f1
add esi, 2
jmp 0x484471
mov esi, 1
jmp 0x484471
mov eax, dword [ebp - 8]
cmp byte [eax + esi - 1], 0x2f
jne 0x484470
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404aa4
mov ecx, eax
lea edi, [esi + 1]
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00404d04
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.00408d64
mov eax, dword [ebp - 0x124]
push eax
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0xc]
call fcn.00408d64
mov eax, dword [ebp - 0x128]
pop edx
call fcn.00404de8
dec eax
je 0x484499
mov eax, dword [ebp - 8]
call fcn.00404aa4
mov ecx, eax
mov edx, edi
lea eax, [ebp - 8]
call fcn.00404d44
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x5c]
call fcn.00404aac
jmp 0x484499
inc esi
mov eax, dword [ebp - 8]
call fcn.00404aa4
cmp esi, eax
jl 0x4843f8
push dword [ebp - 8]
push 0x4846ac
push dword [ebx + 0x5c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404b64
mov eax, dword [ebx + 0x44]
xor edx, edx
call fcn.004051bc
je 0x4844dc
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xf
lea edx, [ebp - 0x134]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00409eec
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 8]
call fcn.00404860
jmp 0x484522
lea eax, [ebp - 0x138]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebx + 0x48]
call fcn.0047d764
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x134]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00409eec
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 8]
call fcn.00404860
cmp dword [ebp - 4], 0
jne 0x484532
cmp dword [ebp - 8], 0
je 0x484607
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004096ac
push 5
mov eax, dword [ebp - 0x18]
call fcn.00404ca4
push eax
mov eax, dword [ebp - 8]
call fcn.00404ca4
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
push 0x4846b0
push 0
call sub.shell32.dll_ShellExecuteA
mov esi, eax
mov eax, esi
cmp eax, 0x1f
ja 0x484576
bt dword [0x4846b8], eax
setb al
and al, byte [ebp + 8]
je 0x484607
lea ecx, [ebp - 0x140]
mov eax, dword [0x4a184c]
mov eax, dword [eax]
mov edx, 5
call fcn.004817a4
push dword [ebp - 0x140]
push 0x4846c0
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x148]
call fcn.0040bfcc
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x144]
call fcn.00405084
push dword [ebp - 0x144]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405174
lea ecx, [ebp - 0x14]
mov eax, dword [0x4a184c]
mov eax, dword [eax]
mov edx, 0x271d
call fcn.004817a4
push 0x10
mov eax, dword [ebp - 0x14]
call fcn.00405094
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405094
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48461b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48468d
lea eax, [ebp - 0x148]
call fcn.004047c8
lea eax, [ebp - 0x144]
mov edx, 2
call fcn.00404f04
lea eax, [ebp - 0x13c]
mov edx, 2
call fcn.004047ec
lea eax, [ebp - 0x12c]
mov edx, 3
call fcn.004047ec
lea eax, [ebp - 0x18]
call fcn.004047c8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404f04
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047ec
ret