Function at 0x44aa80
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8e7e
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push str._vsutil.dll
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 1
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x44aae4
mov eax, dword [eax + 4]
jmp 0x44aae7
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
sete byte [ebp - 0x251]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x238], edi
jb 0x44ab11
mov edx, dword [ebp - 0x24c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], ax
cmp byte [ebp - 0x251], bl
je 0x44ae46
xor ecx, ecx
push 0xe
mov word [ebp - 0x288], cx
push str.FIREWALLACTION
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
call fcn.00401860
mov byte [ebp - 4], 2
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x270]
push str.vsutil.dll_was_not_found_at
push eax
call fcn.00401a30
mov byte [ebp - 4], 3
push 0x4e253c
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28c]
push edx
push eax
call fcn.00419d40
mov byte [ebp - 4], 3
cmp dword [ebp - 0x238], edi
jb 0x44abbc
mov eax, dword [ebp - 0x24c]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], cx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x258], edi
jb 0x44abec
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x274], edi
jb 0x44ac1b
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.004b29fa
add esp, 4
push 0x104
lea eax, [ebp - 0x218]
push eax
xor edx, edx
push str._SYSTEMROOT_System32
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], dx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44ac65
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00401860
mov byte [ebp - 4], 5
push str._vsutil.dll
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], edi
jb 0x44acb4
mov eax, dword [eax + 4]
jmp 0x44acb7
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x258], 8
jb 0x44acdc
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x238], 8
jb 0x44ad0c
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], dx
cmp edi, ebx
je 0x44ae41
push str.FIREWALLACTION
lea ecx, [ebp - 0x250]
call fcn.004019e0
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28c]
push str.Using_vsutil.dll_from
push ecx
call fcn.00401a30
mov byte [ebp - 4], 8
push str._instead.
push eax
lea edx, [ebp - 0x270]
push edx
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x250]
push ecx
push eax
call fcn.00419d40
mov byte [ebp - 4], 8
mov edi, 8
cmp dword [ebp - 0x258], edi
jb 0x44ad9c
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x274], edi
jb 0x44adcc
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x238], edi
jb 0x44adfb
mov eax, dword [ebp - 0x24c]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44ae20
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp + 8]
call fcn.00401860
jmp 0x44ae46
mov edi, 8
push str._vsinit.dll
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.00401b00
mov byte [ebp - 4], 0xa
push str._vsinit.dll
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x18], edi
jb 0x44ae85
mov eax, dword [eax + 4]
jmp 0x44ae88
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x290]
mov edi, eax
mov eax, dword [ecx]
cmp edi, eax
je 0x44aeb0
cmp eax, ebx
je 0x44aea8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x290]
mov dword [edx], edi
mov byte [ebp - 4], 0xa
mov edi, 8
cmp dword [ebp - 0x258], edi
jb 0x44aed0
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004b29fa
add esp, 4
mov edx, dword [ebp - 0x290]
xor ecx, ecx
push 0xe
mov word [ebp - 0x26c], cx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
lea ecx, [ebp - 0x28c]
push str.FIREWALLACTION
cmp dword [edx], ebx
je 0x44b43f
xor eax, eax
mov word [ebp - 0x288], ax
call fcn.00401860
mov byte [ebp - 4], 0xc
xor ecx, ecx
push 0x1e
mov word [ebp - 0x24c], cx
push str.Successfully_loaded_vsinit.dll
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
call fcn.00401860
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.00419d40
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x238], edi
jb 0x44af77
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x274], edi
jb 0x44afa7
mov eax, dword [ebp - 0x288]
push eax
call fcn.004b29fa
add esp, 4
mov edi, dword [ebp - 0x290]
mov eax, dword [edi]
xor ecx, ecx
mov word [ebp - 0x288], cx
push eax
mov ecx, edi
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
call fcn.00445e00
push str._vsutil.dll
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 8
jb 0x44aff3
mov eax, dword [eax + 4]
jmp 0x44aff6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x290], ecx
cmp ecx, eax
je 0x44b020
cmp eax, ebx
je 0x44b01d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x290]
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x258], 8
jb 0x44b03c
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], dx
push str.FIREWALLACTION
lea ecx, [ebp - 0x28c]
cmp dword [edi + 4], ebx
je 0x44b404
call fcn.004019e0
mov byte [ebp - 4], 0x11
push str.Successfully_loaded_vsutil.dll
lea ecx, [ebp - 0x250]
call fcn.004019e0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.00419d40
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x238], 8
jb 0x44b0b1
mov edx, dword [ebp - 0x24c]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x274], 8
jb 0x44b0e2
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.004b29fa
add esp, 4
mov eax, dword [edi + 4]
push str.ToolInit
xor edx, edx
push eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], dx
call fcn.00424a20
cmp eax, ebx
jne 0x44b130
call fcn.00424e10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x234]
call fcn.00490320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00490320
jmp 0x44b542
call eax
push str.FIREWALLACTION
lea ecx, [ebp - 0x250]
test eax, eax
je 0x44b3b1
call fcn.004019e0
mov byte [ebp - 4], 0x15
push str.Successfully_initialized_tool_interface.
lea ecx, [ebp - 0x270]
call fcn.004019e0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.00419d40
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x270]
call fcn.00490320
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x250]
call fcn.00490320
push str.zlcomm.dll
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x18], 8
jb 0x44b1ba
mov eax, dword [eax + 4]
jmp 0x44b1bd
add eax, 4
push eax
lea esi, [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
mov ecx, esi
call fcn.00443b90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x270]
call fcn.00490320
push str.FIREWALLACTION
lea ecx, [ebp - 0x250]
cmp dword [esi], ebx
je 0x44b35e
call fcn.004019e0
mov byte [ebp - 4], 0x1a
push str.Successfully_loaded_zlcomm.dll
lea ecx, [ebp - 0x270]
call fcn.004019e0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.00419d40
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x270]
call fcn.00490320
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x250]
call fcn.00490320
push str._vspubapi.dll
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.00401b00
add esp, 0xc
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x18], 8
jb 0x44b266
mov eax, dword [eax + 4]
jmp 0x44b269
add eax, 4
push eax
lea esi, [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
mov ecx, esi
call fcn.00443b90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x270]
call fcn.00490320
push str.FIREWALLACTION
lea ecx, [ebp - 0x250]
cmp dword [esi], ebx
je 0x44b30b
call fcn.004019e0
mov byte [ebp - 4], 0x1f
push str.Successfully_loaded_vspubapi.dll
lea ecx, [ebp - 0x270]
call fcn.004019e0
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.00419d40
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x270]
call fcn.00490320
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x250]
call fcn.00490320
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x234]
call fcn.00490320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00490320
xor eax, eax
jmp 0x44b545
call fcn.004019e0
mov byte [ebp - 4], 0x21
push str.Failed_to_load_vspubapi.dll
lea ecx, [ebp - 0x270]
call fcn.004019e0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.00419d40
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x270]
call fcn.00490320
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x250]
call fcn.00490320
jmp 0x44b10e
call fcn.004019e0
mov byte [ebp - 4], 0x1c
push str.Failed_to_load_zlcomm.dll
lea ecx, [ebp - 0x270]
call fcn.004019e0
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.00419d40
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x270]
call fcn.00490320
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x250]
call fcn.00490320
jmp 0x44b10e
call fcn.004019e0
mov byte [ebp - 4], 0x17
push str.Failed_to_initialize_tool_interface.
lea ecx, [ebp - 0x270]
call fcn.004019e0
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.00419d40
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x270]
call fcn.00490320
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x250]
call fcn.00490320
jmp 0x44b10e
call fcn.004019e0
mov byte [ebp - 4], 0x13
push str.Failed_to_load_vsutil.dll
lea ecx, [ebp - 0x250]
call fcn.004019e0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x250]
push edx
call fcn.00419d40
mov byte [ebp - 4], 0x13
mov edi, 8
jmp 0x44b493
xor edx, edx
mov word [ebp - 0x288], dx
call fcn.00401860
mov byte [ebp - 4], 0xe
push 0x19
xor eax, eax
push str.Failed_to_load_vsinit.dll
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], ax
call fcn.00401860
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x250]
push edx
call fcn.00419d40
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x238], edi
jb 0x44b4aa
mov eax, dword [ebp - 0x24c]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], cx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x274], edi
jb 0x44b4da
mov edx, dword [ebp - 0x288]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov word [ebp - 0x288], ax
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x274], esi
mov byte [ebp - 4], bl
cmp dword [ebp - 0x21c], edi
jb 0x44b509
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.004b29fa
add esp, 4
xor edx, edx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], edi
jb 0x44b536
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov word [ebp + 0xc], cx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], esi
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3057
mov esp, ebp
pop ebp
ret 0x20