Function at 0x445b10
Capabilities:
Get comspec environment variable
Query environment variable

Disassembly:
sub esp, 0xa30
mov eax, dword [esp + 0xa34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa44]
push edi
mov edi, dword [eax]
xor ebx, ebx
mov al, byte [esi]
or ebp, 0xffffffff
cmp al, bl
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov word [esp + 0x54], 5
mov word [esp + 0x56], bx
mov dword [esp + 0x58], ebx
je 0x445bb1
mov ecx, dword [edi + 0x2508]
mov ebp, dword [edi + 0x250c]
xor edx, edx
mov dx, word [ecx + 0x20]
mov ebp, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp + edx*4]
add ecx, edx
and eax, 0xff
test byte [ecx + eax*2], 0x40
je 0x445bad
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x445b9a
mov ebp, dword [esp + 0x10]
cmp byte [esi], 0x24
jne 0x445bb7
inc esi
mov al, byte [esi]
cmp al, bl
je 0x445bf1
mov ecx, dword [edi + 0x2508]
mov ebp, dword [edi + 0x250c]
xor edx, edx
mov dx, word [ecx + 0x20]
mov ebp, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp + edx*4]
add ecx, edx
and eax, 0xff
test byte [ecx + eax*2], 0x40
je 0x445bed
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x445bda
mov ebp, dword [esp + 0x10]
cmp byte [esi], bl
je 0x445c3f
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
push ebx
call dword [section..rdata]
mov ebp, eax
cmp ebp, ebx
je 0x445c3f
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [0x461004]
mov edx, dword [esp + 0x14]
push edx
call dword [0x461008]
mov eax, dword [esp + 0x18]
push eax
call dword [0x461008]
cmp ebp, ebx
jg 0x445d8c
push str.COMSPEC
call dword [0x461088]
add esp, 4
cmp eax, ebx
jne 0x445c7e
push str.No_command_interpreter._n
push 2
push edi
call fcn.00406990
push str.No_command_interpreter.
push 0x46c6c8
push edi
call fcn.00411850
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa30
ret
mov cl, byte [esi]
mov edx, dword [edi + 0x2508]
cmp cl, bl
mov ecx, dword [edi + 0x250c]
push ecx
push edx
push eax
je 0x445cfd
lea eax, [esp + 0x84]
push eax
call sub.oranls9.dll_lxscop
mov ecx, dword [edi + 0x250c]
mov edx, dword [edi + 0x2508]
push ecx
push edx
lea eax, [esp + 0x90]
push str.__c
push eax
call sub.oranls9.dll_lxscat
mov ecx, dword [edi + 0x250c]
mov edx, dword [edi + 0x2508]
push ecx
push edx
lea eax, [esp + 0xa0]
push esi
push eax
call sub.oranls9.dll_lxscat
mov ecx, dword [edi + 0x250c]
mov edx, dword [edi + 0x2508]
push ecx
lea eax, [esp + 0xac]
push edx
push eax
push esi
call sub.oranls9.dll_lxscop
add esp, 0x40
jmp 0x445d06
push esi
call sub.oranls9.dll_lxscop
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
push ebx
call dword [section..rdata]
test eax, eax
jne 0x445d6b
call dword [0x461080]
mov edx, dword [eax]
lea eax, [edi + 0x4718]
push eax
push edi
mov dword [edi + 0x25d4], edx
call fcn.00438610
push str.Command_not_success._n
push 2
push edi
call fcn.00406990
push str.Command_not_success.
push 0x46c704
push edi
call fcn.00411850
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa30
ret
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [0x461004]
mov edx, dword [esp + 0x14]
mov esi, dword [0x461008]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
push ebp
lea ecx, [esp + 0x6c]
push 0x46c708
push ecx
call dword [0x461054]
lea edx, [esp + 0x74]
push edx
push 0x46c70c
push edi
call fcn.00411850
push 0x46c710
push 2
push edi
call fcn.00406990
add esp, 0x24
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa30
ret