Function at 0x448240
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1410
call fcn.0052d050
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp dword [eax + 4], esi
push edi
jne 0x44826c
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
jmp 0x4486ad
cmp byte [eax + 0x10], 0
je 0x448279
mov al, 1
jmp 0x4486ad
test byte [eax + 0x24], 0x10
mov byte [ebp - 0x140c], 0
je 0x44866b
mov ecx, dword [eax + 0x14]
cmp ecx, esi
mov edi, 0x1000
mov ebx, 0x571014
je 0x4482d3
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4482a0
sub eax, esi
mov esi, eax
push esi
push ecx
lea eax, [ebp - 0x140c]
push edi
push eax
call fcn.00521b73
push 1
mov eax, edi
sub eax, esi
push ebx
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esp, 0x20
inc esi
push 2
mov eax, edi
sub eax, esi
push 0x571018
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esp, 0x10
lea eax, [ebp - 0x40c]
push eax
inc esi
push 0x400
inc esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jbe 0x448356
lea eax, [ebp - 0x40c]
mov byte [ebp - 0xd], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448314
sub eax, ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40c]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esi, dword [ebp - 8]
push 1
mov eax, edi
sub eax, esi
push ebx
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esp, 0x20
inc esi
push 0x400
lea eax, [ebp - 0x40c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x448406
lea eax, [ebp - 0x40c]
mov byte [ebp - 0xd], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44837f
sub eax, edx
lea eax, [ebp + eax - 0x40d]
jmp 0x4483a3
mov cl, byte [eax]
cmp cl, 0x5c
je 0x4483af
cmp cl, 0x2f
je 0x4483af
cmp cl, 0x3a
je 0x4483af
dec eax
lea ecx, [ebp - 0x40c]
cmp eax, ecx
jae 0x448391
jmp 0x4483b2
mov byte [eax], 0
cmp byte [ebp - 0x40c], 0
je 0x448406
lea eax, [ebp - 0x40c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4483c4
sub eax, edx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40c]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esi, dword [ebp - 8]
push 1
mov eax, edi
sub eax, esi
push ebx
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esp, 0x20
inc esi
push 0x400
lea eax, [ebp - 0x40c]
push eax
push str._NT_SYMBOL_PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x448470
lea eax, [ebp - 0x40c]
mov byte [ebp - 0xd], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44842e
sub eax, ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40c]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esi, dword [ebp - 8]
push 1
mov eax, edi
sub eax, esi
push ebx
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esp, 0x20
inc esi
push 0x400
lea eax, [ebp - 0x40c]
push eax
push str._NT_ALTERNATE_SYMBOL_PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x4484da
lea eax, [ebp - 0x40c]
mov byte [ebp - 0xd], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448498
sub eax, ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40c]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esi, dword [ebp - 8]
push 1
mov eax, edi
sub eax, esi
push ebx
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esp, 0x20
inc esi
push 0x400
lea eax, [ebp - 0x40c]
push eax
push str.SYSTEMROOT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x448597
lea eax, [ebp - 0x40c]
mov byte [ebp - 0xd], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448506
sub eax, ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40c]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esi, dword [ebp - 8]
push 1
mov eax, edi
sub eax, esi
push ebx
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
lea eax, [ebp - 0x40c]
add esp, 0x20
inc esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448551
sub eax, ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x40c]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
push 0xa
add esi, ebx
mov eax, edi
sub eax, esi
push str._system32_
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
add esp, 0x20
add esi, 0xa
mov eax, dword [ebp + 8]
test byte [eax + 0x24], 0x10
je 0x44866b
push 0x400
lea eax, [ebp - 0x40c]
push eax
push str.SYSTEMDRIVE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jbe 0x44864e
push 4
mov eax, edi
sub eax, esi
push str.SRV
push eax
lea eax, [ebp + esi - 0x140c]
push eax
mov byte [ebp - 0xd], 0
call fcn.00521b73
lea eax, [ebp - 0x40c]
add esp, 0x10
add esi, 4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4485ef
sub eax, ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x40c]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
push 0xb
add esi, ebx
mov eax, edi
sub eax, esi
push str.websymbols
push eax
lea eax, [ebp + esi - 0x140c]
push eax
call fcn.00521b73
push 0x2c
add esi, 0xb
push str.http:__msdl.microsoft.com_download_symbols_
sub edi, esi
lea eax, [ebp + esi - 0x140c]
push edi
push eax
call fcn.00521b73
add esp, 0x30
jmp 0x448668
push 0x3d
push str.SRVc:websymbolshttp:__msdl.microsoft.com_download_symbols_
sub edi, esi
lea eax, [ebp + esi - 0x140c]
push edi
push eax
call fcn.00521b73
add esp, 0x10
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
lea ecx, [ebp - 0x140c]
push ecx
call fcn.00447cd3
test al, al
je 0x44825a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
push eax
push edi
push ebx
call fcn.00447e9b
test al, al
je 0x44869e
mov al, 1
jmp 0x4486a9
push edi
push ebx
call fcn.00447fa7
test al, al
je 0x4486ad
mov byte [esi + 0x10], 1
pop edi
pop esi
pop ebx
leave
ret 4