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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dd21
mov eax, dword fs:[0]
push eax
mov eax, 0x2284
call fcn.0052c270
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 8
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
jb 0x4d3782
mov eax, dword [ecx]
jmp 0x4d3784
mov eax, ecx
push eax
push 0x104
lea eax, [ebp - 0x834]
push eax
push 0x104
lea eax, [ebp - 0x62c]
push eax
call fcn.004d3600
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x424]
push 0x104
push eax
lea eax, [ebp - 0x62c]
push eax
call esi
test eax, eax
jne 0x4d37de
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x424]
push 0x104
push eax
call fcn.0054bd88
add esp, 0xc
jmp 0x4d37ee
cmp eax, 0x104
jl 0x4d37ee
xor eax, eax
mov word [ebp - 0x21e], ax
push 0x208
lea eax, [ebp - 0xe50]
push eax
lea eax, [ebp - 0x834]
push eax
call esi
test eax, eax
jne 0x4d3824
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0xe50]
push 0x208
push eax
call fcn.0054bd88
add esp, 0xc
jmp 0x4d3834
cmp eax, 0x208
jl 0x4d3834
xor eax, eax
mov word [ebp - 0xa42], ax
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.004d33d0
push edi
push 0xa08
lea eax, [ebp - 0x2260]
push eax
lea eax, [ebp - 0xe50]
push eax
call fcn.004d33d0
push edi
push 0x104
lea eax, [ebp - 0xa3c]
push eax
push ebx
call fcn.004d33d0
add esp, 0x30
lea eax, [ebp - 0xa3c]
push 5
push eax
lea eax, [ebp - 0x2260]
push eax
lea eax, [ebp - 0x218]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
jg 0x4d3aef
xor eax, eax
mov dword [ebp - 0x2268], 0
mov dword [ebp - 0x2264], 0
mov dword [ebp - 0x2264], 7
mov dword [ebp - 0x2268], 0
mov word [ebp - 0x2278], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2290]
push esi
push eax
call fcn.00423a00
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2278]
push 0xffffffffffffffff
push 0
push eax
call fcn.00406650
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x227c]
cmp eax, 8
jb 0x4d3924
inc eax
lea ecx, [ebp - 0x2290]
push eax
push dword [ebp - 0x2290]
call fcn.00407270
push 0x31
xor eax, eax
mov dword [ebp - 0x227c], 7
push str.An_attempt_was_made_to_execute_the_below_command.
lea ecx, [ebp - 0x2278]
mov dword [ebp - 0x2280], 0
mov word [ebp - 0x2290], ax
call fcn.00406760
push 0x3b
push str._n__________________________________________________________
lea ecx, [ebp - 0x2278]
call fcn.00406760
push 0xa
push str._nCommand:
lea ecx, [ebp - 0x2278]
call fcn.00406760
cmp word [ebp - 0x218], 0
jne 0x4d3985
xor ecx, ecx
jmp 0x4d399f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d3990
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2278]
call fcn.00406760
push 0xc
push str._nArguments:
lea ecx, [ebp - 0x2278]
call fcn.00406760
cmp word [ebp - 0x2260], 0
jne 0x4d39d2
xor ecx, ecx
jmp 0x4d39ef
lea ecx, [ebp - 0x2260]
lea edx, [ecx + 2]
jmp 0x4d39e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d39e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2260]
push eax
lea ecx, [ebp - 0x2278]
call fcn.00406760
push 0xd
push str._nError_Code:
lea ecx, [ebp - 0x2278]
call fcn.00406760
lea eax, [ebp - 0x2290]
push esi
push eax
call fcn.00425f30
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2278]
push 0xffffffffffffffff
push 0
push eax
call fcn.00406650
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x227c]
cmp eax, 8
jb 0x4d3a5a
inc eax
lea ecx, [ebp - 0x2290]
push eax
push dword [ebp - 0x2290]
call fcn.00407270
push 0x3b
xor eax, eax
mov dword [ebp - 0x227c], 7
push str._n__________________________________________________________
lea ecx, [ebp - 0x2278]
mov dword [ebp - 0x2280], 0
mov word [ebp - 0x2290], ax
call fcn.00406760
cmp dword [ebp - 0x2264], 8
mov eax, dword [ebp - 0x2278]
jae 0x4d3a9e
lea eax, [ebp - 0x2278]
push 0x40
push str.ShellExecute___ERROR
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2264]
cmp eax, 8
jb 0x4d3ad2
inc eax
lea ecx, [ebp - 0x2278]
push eax
push dword [ebp - 0x2278]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2264], 7
mov dword [ebp - 0x2268], 0
mov word [ebp - 0x2278], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8