Function at 0x44ef00
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov eax, 0x473640
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20c
mov dword [ebp - 0x1cc], eax
mov eax, 0x4b5cc8
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c4], eax
mov eax, 0x44f5a2
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1e4]
mov dword [esp], eax
mov dword [ebp - 0x1bc], esp
call fcn.0047f180
mov edi, dword [0x4b7610]
xor eax, eax
mov dword [ebp - 0x1e8], eax
test edi, edi
je 0x44f140
mov edx, dword [ebp - 0x1e8]
mov esi, 0xffffffff
mov ebx, 0xf
mov dword [ebp - 0x1e0], esi
mov eax, dword [edx*4 + 0x4b7610]
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00456350
mov dword [ebp - 0x1e0], ebx
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00433740
sub esp, 4
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x28]
mov dword [esp + 4], edx
mov ecx, 0xe
mov dword [esp], eax
mov dword [ebp - 0x1e0], ecx
call fcn.00410db0
mov eax, dword [ebp - 0x28]
sub esp, 4
mov edx, dword [0x4cfc30]
inc dword [eax]
mov dword [ebp - 0x1ec], edx
mov eax, dword [edx]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x44f010
mov dword [esp], edx
mov edx, 0xd
mov dword [ebp - 0x1e0], edx
call fcn.00456230
mov eax, dword [ebp - 0x1ec]
mov dword [esp], eax
call fcn.00475b80
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x28]
mov dword [0x4cfc30], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xe
mov dword [ebp - 0x1e0], eax
call fcn.00456470
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 0xf
mov dword [ebp - 0x1e0], eax
call fcn.00456470
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x1e0], eax
call fcn.00456470
mov dword [esp], 0x4cfc30
call fcn.00457590
mov dword [esp], eax
mov dword [esp + 4], 0
call sub.msvcrt.dll__access
test eax, eax
je 0x44f140
mov dword [esp], 0x10
mov eax, 0xffffffff
mov edi, 0xc
mov dword [ebp - 0x1e0], eax
call fcn.00475ba0
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 0x1f5], 1
mov dword [esp], eax
mov dword [ebp - 0x1e0], edi
call fcn.00456130
mov byte [ebp - 0x1f5], 0
mov edx, dword [ebp - 0x1f4]
mov eax, dword [0x4cfc30]
inc dword [edx]
mov dword [ebp - 0x48], edx
mov edx, eax
mov dword [ebp - 0x1fc], eax
mov eax, dword [eax]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x44f0fe
mov dword [esp], edx
mov esi, 0xb
mov dword [ebp - 0x1e0], esi
call fcn.00456230
mov eax, dword [ebp - 0x1fc]
mov dword [esp], eax
call fcn.00475b80
mov eax, dword [ebp - 0x48]
mov ebx, 0xffffffff
mov dword [ebp - 0x1e0], ebx
mov dword [0x4cfc30], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00456470
inc dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [eax*4 + 0x4b7610]
test ecx, ecx
jne 0x44ef60
mov esi, esi
lea edi, [edi]
mov dword [esp + 8], 0x104
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov edx, 0xffffffff
mov dword [ebp - 0x1e0], edx
mov dword [esp], 0x44eecc
call sub.KERNEL32.DLL_GetEnvironmentVariableA
sub esp, 0xc
lea eax, [ebp - 0x188]
mov dword [esp], eax
mov dword [esp + 4], 0x44eed1
call fcn.00456350
lea eax, [ebp - 0x178]
lea edx, [ebp - 0x188]
mov dword [esp], eax
mov eax, 0xa
mov dword [esp + 4], edx
mov dword [ebp - 0x1e0], eax
call fcn.00433740
sub esp, 4
lea edx, [ebp - 0x1b8]
mov eax, 9
mov dword [esp + 4], 0x44eeda
mov dword [esp], edx
mov dword [ebp - 0x1e0], eax
call fcn.00456350
lea eax, [ebp - 0x1b8]
lea edx, [ebp - 0x1a8]
mov dword [esp + 4], eax
mov eax, 8
mov dword [esp], edx
mov dword [ebp - 0x1e0], eax
call fcn.00433740
sub esp, 4
lea eax, [ebp - 0x1a8]
lea edx, [ebp - 0x198]
mov dword [esp + 4], eax
mov eax, 7
mov dword [esp + 8], 0x44eedf
mov dword [esp], edx
mov dword [ebp - 0x1e0], eax
call fcn.00457c10
sub esp, 4
lea eax, [ebp - 0x178]
lea edx, [ebp - 0x198]
mov dword [esp + 8], eax
lea eax, [ebp - 0x168]
mov dword [esp], eax
mov eax, 6
mov dword [esp + 4], edx
mov dword [ebp - 0x1e0], eax
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x168]
mov dword [esp], eax
mov eax, 5
mov dword [esp + 8], 0x44eedf
mov dword [esp + 4], edx
mov dword [ebp - 0x1e0], eax
call fcn.00457c10
sub esp, 4
lea edx, [ebp - 0x158]
lea eax, [ebp - 0x28]
mov dword [esp + 8], edx
mov edi, 4
lea edx, [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [ebp - 0x1e0], edi
call fcn.00457c10
sub esp, 4
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x48]
mov dword [esp + 4], eax
mov esi, 3
mov dword [esp], edx
mov dword [ebp - 0x1e0], esi
call fcn.00410db0
sub esp, 4
lea eax, [ebp - 0x48]
mov ebx, 2
mov dword [esp], eax
mov dword [ebp - 0x1e0], ebx
call fcn.00457590
mov dword [esp + 4], eax
mov dword [esp], 0x44eecc
call sub.KERNEL32.DLL_SetEnvironmentVariableA
sub esp, 8
lea eax, [ebp - 0x48]
mov edx, 3
mov dword [esp], eax
mov dword [ebp - 0x1e0], edx
call fcn.00456470
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0x1e0], eax
call fcn.00456470
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 5
mov dword [ebp - 0x1e0], eax
call fcn.00456470
lea eax, [ebp - 0x168]
mov dword [esp], eax
mov eax, 6
mov dword [ebp - 0x1e0], eax
call fcn.00456470
lea eax, [ebp - 0x198]
mov esi, 7
mov dword [esp], eax
mov dword [ebp - 0x1e0], esi
call fcn.00456470
lea eax, [ebp - 0x1a8]
mov ecx, 8
mov dword [esp], eax
mov dword [ebp - 0x1e0], ecx
call fcn.00456470
lea eax, [ebp - 0x1b8]
mov dword [esp], eax
mov eax, 9
mov dword [ebp - 0x1e0], eax
call fcn.00456470
lea eax, [ebp - 0x178]
mov dword [esp], eax
mov eax, 0xa
mov dword [ebp - 0x1e0], eax
call fcn.00456470
lea eax, [ebp - 0x188]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x1e0], eax
call fcn.00456470
lea eax, [ebp - 0x1b8]
mov dword [esp], eax
call fcn.00433590
sub esp, 4
lea edx, [ebp - 0x1b8]
mov eax, 1
mov dword [esp], edx
mov dword [ebp - 0x1e0], eax
call fcn.00457590
mov dword [esp + 4], eax
mov dword [esp], 0x44eee1
call sub.KERNEL32.DLL_SetEnvironmentVariableA
sub esp, 8
lea eax, [ebp - 0x1b8]
mov ebx, 0xffffffff
mov dword [esp], eax
mov dword [ebp - 0x1e0], ebx
call fcn.00456470
mov dword [esp], 0x4cfc50
mov ecx, 0x94
mov dword [0x4cfc50], ecx
call sub.KERNEL32.DLL_GetVersionExA
mov eax, dword [0x4cfc60]
sub esp, 4
cmp eax, 1
je 0x44f442
cmp eax, 2
je 0x44f462
mov eax, 0x44eeec
mov dword [0x4cfc40], eax
lea eax, [ebp - 0x1e4]
mov dword [esp], eax
call fcn.0047f230
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0x44eef8
mov dword [0x4cfc40], edx
jmp 0x44f44c