Function at 0x204647d0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x20480302
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov eax, dword [0x204a55cc]
mov al, byte [eax + 0x3d78]
xor ebx, ebx
cmp al, bl
je 0x2046482d
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x104
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x24], ebx
push 0x104
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov edx, dword [esp + 0x2c]
push 0x104
mov edi, eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
cmp esi, 0x104
jb 0x20464876
mov word [edi + 0x206], bx
cmp esi, ebx
jne 0x2046487e
xor esi, esi
jmp 0x204648de
cmp esi, 0x104
mov ecx, edi
jb 0x2046489d
push 1
push 0x104
call fcn.2043bde0
add esp, 8
cmp eax, esi
ja 0x204648ab
jmp 0x204648ad
push ebx
push 0x104
call fcn.2043bde0
add esp, 8
mov esi, eax
cmp esi, 0x104
jbe 0x204648de
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov ebx, eax
mov eax, dword [esp + 0x2c]
call fcn.2043c3a0
mov esi, eax
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
cmp esi, ebx
je 0x204648f4
cmp esi, dword [esp + 0x18]
jbe 0x20464903
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push 0x104
push 0x104
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x204649d9
push 4
push str.__
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
push eax
call dword [sym.imp.MSVCR80.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x204649d9
push str.system
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x204649d9
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x24], 1
push ebx
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push str.__
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
push 0x104
push 0x104
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
push eax
call edi
mov esi, eax
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0xffffffffffffffff
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
cmp esi, ebx
je 0x204649ef
cmp esi, 0x104
jbe 0x204649fc
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_4074]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret