Function at 0x446f50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x40e]
mov word [ebp - 0x410], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, edi
and eax, 0xff
sub eax, 0x20
je 0x44704a
dec eax
jne 0x447095
cmp dword [0x52a4d8], ebx
je 0x446fc0
push 0x50f9e4
lea eax, [ebp - 0x410]
push 0x103
push eax
push 0xffffffffffffffff
mov ecx, 0x52a488
call fcn.00408020
jmp 0x447095
cmp dword [0x50f620], 2
jne 0x447029
mov edx, dword [0x52af04]
cmp edx, ebx
je 0x447029
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
push edx
push str.Sessions
push str._s_d
lea ecx, [ebp - 0x208]
push 0x103
push ecx
stosw word es:[edi], ax
call esi
add esp, 0x14
lea edx, [ebp - 0x208]
lea eax, [ebp - 0x410]
mov ecx, 0x52a488
push edx
push 0x103
push eax
call fcn.00407fa0
mov edi, dword [ebp + 0x14]
jmp 0x447095
cmp word [0x6d1318], bx
je 0x447095
push 0x6d1318
push 0x50f4e4
lea ecx, [ebp - 0x410]
push 0x103
push ecx
jmp 0x447090
cmp dword [0x52a4d8], ebx
je 0x447071
push str.IECache
lea edx, [ebp - 0x410]
push 0x103
push edx
push 0xffffffffffffffff
mov ecx, 0x52a488
call fcn.00408020
jmp 0x447095
cmp word [0x6d1110], bx
je 0x447095
push 0x6d1110
push 0x50f4e4
lea eax, [ebp - 0x410]
push 0x103
push eax
call esi
add esp, 0x10
cmp word [ebp - 0x410], bx
je 0x4471d5
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x616]
mov word [ebp - 0x618], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x618]
push 0x104
lea edx, [ebp - 0x410]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x618]
lea ecx, [ebp - 0x208]
push eax
push 0x52a6e4
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x208]
push 1
push edx
call fcn.0042be80
lea eax, [ebp - 0x208]
push eax
call fcn.0042c110
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov word [ebp + eax*2 - 0x20a], bx
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, ebx
je 0x447168
mov eax, dword [ebp + 0x20]
lea edx, [ebp - 0x208]
push edx
push 0x50f4e4
push 0x103
push eax
call esi
add esp, 0x10
xor eax, eax
lea esp, [ebp - 0x624]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
lea ecx, [ebp - 0x208]
test ecx, ecx
jne 0x447176
xor esi, esi
jmp 0x4471ac
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.004ba380
mov esi, esp
push ebx
push ebx
push edi
push esi
lea eax, [ebp - 0x208]
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp + 0x20]
push esi
push 0x510594
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
xor eax, eax
lea esp, [ebp - 0x624]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 8], ebx
je 0x4471fd
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edi
push edx
call dword [ebp + 0xc]
lea esp, [ebp - 0x624]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
push edi
push eax
call dword [ebp + 0xc]
lea esp, [ebp - 0x624]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c