Function at 0x40c450
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x4024
call sym.__alloca
mov eax, dword [ecx]
test eax, eax
je 0x40c559
mov esi, edx
cmp dword [edx], 0
je 0x40c559
movzx edi, word [eax + 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x41d010], 8
je 0x40c4dc
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Popped_operator__c_n
mov dword [esp + 8], str.WCMD_popoperator
mov dword [esp], 3
call sym._wine_dbg_log_1
test byte [0x41d010], 8
je 0x40c4dc
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Reducing_the_stacks___processing_operator__c_n
mov dword [esp + 8], str.WCMD_reduce
mov dword [esp], 3
call sym._wine_dbg_log_1
mov dword [ebp - 0x18], edi
mov ebx, dword [esi]
mov ecx, esi
call dbg.WCMD_peeknumber
mov edi, esi
mov esi, eax
cmp dword [ebx], 0
jne 0x40c4fd
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [edi], eax
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
test byte [0x41d010], 8
mov ebx, esi
je 0x40c539
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Popped_number__d_n
mov dword [esp + 8], str.WCMD_popnumber
mov dword [esp], 3
call sym._wine_dbg_log_1
mov edi, dword [ebp - 0x18]
cmp edi, 0x4f
jg 0x40c591
cmp edi, 0x21
mov esi, dword [ebp - 0x10]
je 0x40c6cc
cmp edi, 0x4e
jne 0x40c5a9
neg ebx
jmp 0x40c6d5
mov eax, 0x413
test byte [0x41d010], 8
je case.0x40c5c1.33
mov dword [esp + 0xc], str.No_operators_for_the_reduce_n
mov dword [esp + 8], str.WCMD_reduce
mov dword [esp], 3
call sym._wine_dbg_log_1
mov eax, 0x413
jmp case.0x40c5c1.33
cmp edi, 0x50
mov esi, dword [ebp - 0x10]
je 0x40c6d5
cmp edi, 0x7e
jne 0x40c5a9
not ebx
jmp 0x40c6d5
mov ecx, dword [esi]
test ecx, ecx
je 0x40c731
xor eax, eax
lea edx, [edi - 0x21]
cmp edx, 0x5d
ja case.0x40c5c1.34
jmp dword [edx*4 + 0x4169d0]
mov eax, 0x412
cmp dword [ecx], 0
jne case.0x40c5c1.33
mov ecx, esi
call dbg.WCMD_peeknumber
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x10
mov dword [esp], 0
call sym._xrealloc
mov ecx, dword [ebp - 0x10]
mov dword [eax], 1
mov dword [eax + 8], ecx
test byte [0x41d010], 8
je 0x40c62f
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Pushed_number__d_n
mov dword [esp + 8], str.WCMD_pushnumber
mov dword [esp], 3
mov dword [ebp - 0x10], eax
call sym._wine_dbg_log_1
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi]
mov dword [eax + 0xc], ecx
mov dword [esi], eax
mov dword [esp + 4], 0x10
mov dword [esp], 0
call sym._xrealloc
mov dword [eax], 1
mov dword [eax + 8], ebx
test byte [0x41d010], 8
je 0x40c680
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Pushed_number__d_n
mov dword [esp + 8], str.WCMD_pushnumber
mov dword [esp], 3
mov ebx, eax
call sym._wine_dbg_log_1
mov eax, ebx
mov ecx, dword [esi]
mov dword [eax + 0xc], ecx
mov dword [esi], eax
add edi, 0xffffff9f
mov si, 0x3e
cmp di, 8
ja 0x40c69f
movzx eax, di
movzx esi, word [eax + eax + 0x41872a]
mov edi, dword [ebp - 0x14]
mov dword [esp], edi
mov ecx, 0x3d
mov edx, 1
call sym._WCMD_pushoperator
movzx esi, si
mov ecx, esi
call dbg.WCMD_getprecedence
mov dword [esp], edi
mov ecx, esi
mov edx, eax
call sym._WCMD_pushoperator
jmp 0x40c724
mov eax, ebx
xor ebx, ebx
test eax, eax
sete bl
mov dword [esp + 4], 0x10
mov dword [esp], 0
call sym._xrealloc
mov edi, eax
mov dword [eax], 1
mov dword [eax + 8], ebx
test byte [0x41d010], 8
je 0x40c71d
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Pushed_number__d_n
mov dword [esp + 8], str.WCMD_pushnumber
mov dword [esp], 3
call sym._wine_dbg_log_1
mov eax, dword [esi]
mov dword [edi + 0xc], eax
mov dword [esi], edi
xor eax, eax
add esp, 0x4024
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x412
test byte [0x41d010], 8
je case.0x40c5c1.33
mov dword [esp + 0xc], str.No_operands_left_for_the_reduce__n
mov dword [esp + 8], str.WCMD_reduce
mov dword [esp], 3
call sym._wine_dbg_log_1
mov eax, 0x412
jmp case.0x40c5c1.33
mov dword [esp + 0xc], ebx
lea edi, [ebp - 0x4018]
mov dword [esp], edi
mov dword [esp + 4], 0x2000
call sym._swprintf
test byte [0x41d010], 8
je 0x40c7c6
mov eax, dword [esi]
mov ecx, dword [eax + 4]
call dbg.wine_dbgstr_wn
mov edi, eax
lea ecx, [ebp - 0x4018]
call dbg.wine_dbgstr_wn
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
lea edi, [ebp - 0x4018]
mov dword [esp + 0xc], str.Assigning__s_a_value__s_n
mov dword [esp + 8], str.WCMD_reduce
mov dword [esp], 3
call sym._wine_dbg_log_1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
sub esp, 8
mov ecx, esi
call sym._WCMD_popnumber
jmp 0x40c859
mov ecx, esi
call sym._WCMD_popnumber
xor ebx, eax
jmp 0x40c859
mov ecx, esi
call sym._WCMD_popnumber
or ebx, eax
jmp 0x40c859
mov ecx, esi
call sym._WCMD_popnumber
imul ebx, eax
jmp 0x40c859
mov ecx, esi
call sym._WCMD_popnumber
mov ecx, ebx
sar eax, cl
jmp 0x40c8d7
mov ecx, esi
call sym._WCMD_popnumber
add ebx, eax
jmp 0x40c859
mov ecx, esi
call sym._WCMD_popnumber
sub eax, ebx
jmp 0x40c8d7
mov ecx, esi
call sym._WCMD_popnumber
test ebx, ebx
je 0x40c8c9
cdq
idiv ebx
mov dword [esp], esi
xor ecx, ecx
call sym._WCMD_pushnumber
jmp 0x40c724
mov ecx, esi
call sym._WCMD_popnumber
and ebx, eax
mov dword [esp], esi
xor ecx, ecx
mov edx, ebx
call sym._WCMD_pushnumber
jmp 0x40c724
mov ecx, esi
call sym._WCMD_popnumber
cmp ebx, 0x20
jb 0x40c8d3
mov dword [esp], esi
xor ecx, ecx
xor edx, edx
call sym._WCMD_pushnumber
jmp 0x40c724
mov ecx, esi
call sym._WCMD_popnumber
test ebx, ebx
je 0x40c8c9
cdq
idiv ebx
jmp 0x40c8d7
test byte [0x41d010], 2
je case.0x40c5c1.33
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Unrecognized_operator__c_n
mov dword [esp + 8], str.WCMD_reduce
mov dword [esp], 1
call sym._wine_dbg_log_1
jmp 0x40c724
mov eax, 0x411
jmp case.0x40c5c1.33
mov ecx, ebx
shl eax, cl
mov dword [esp], esi
xor ecx, ecx
mov edx, eax
call sym._WCMD_pushnumber
jmp 0x40c724