Function at 0x41e990
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4349d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x44647c]
push ebx
push ebp
push esi
push edi
sub esp, 0x1c
mov esi, esp
xor ebx, ebx
mov ebp, ecx
mov edi, 7
mov dword [esp + 0x38], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.VssFileDescriptor::Initialize
mov dword [esp + 0xa8], eax
mov dword [esp + 0x34], ebp
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.VssFileDescriptor::Initialize
mov ecx, esi
call fcn.00402060
push 0x2dc
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x5c], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str..writer.cpp
mov dword [esp + 0xd4], ebx
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str..writer.cpp
mov ecx, esi
call fcn.00402060
lea ecx, [esp + 0x88]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00418520
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x94], 1
mov dword [ebp + 0x58], eax
mov dword [esp + 0x24], ebx
push str._pFileDesc__GetPath_bstrPath__
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.Executing_COM_call__s
mov byte [esp + 0xb8], 2
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.Executing_COM_call__s
mov ecx, esi
call fcn.00402060
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x58], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.VssFileDescriptor::Initialize
mov byte [esp + 0xd4], 3
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.VssFileDescriptor::Initialize
mov ecx, esi
call fcn.00402060
mov byte [esp + 0xd0], 4
push 0x2e2
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x6c], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str..writer.cpp
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str..writer.cpp
mov ecx, esi
call fcn.00402060
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0xf4], 2
call fcn.00418290
mov esi, dword [esp + 0xfc]
mov edx, dword [esi]
add esp, 0x60
lea eax, [esp + 0x24]
push eax
push esi
call dword [edx + 0xc]
mov ebp, eax
cmp ebp, ebx
jge 0x41ec79
push str._pFileDesc__GetPath_bstrPath__
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str._nERROR:_COM_call__s_failed.
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str._nERROR:_COM_call__s_failed.
mov ecx, esi
call fcn.00402060
lea ecx, [esp + 0x6c]
push ecx
call fcn.004187d0
add esp, 0x24
push ebp
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.__Returned_HRESULT__0x_08lx
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.__Returned_HRESULT__0x_08lx
mov ecx, esi
call fcn.00402060
lea edx, [esp + 0x6c]
push edx
call fcn.004187d0
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.00417f50
add esp, 0x2c
cmp dword [eax + 0x18], 8
mov byte [esp + 0x94], 5
jb 0x41ebd0
mov eax, dword [eax + 4]
jmp 0x41ebd3
add eax, 4
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.__Error_text:__s
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.__Error_text:__s
mov ecx, esi
call fcn.00402060
lea ecx, [esp + 0x6c]
push ecx
call fcn.004187d0
mov eax, dword [esp + 0x68]
add esp, 0x24
cmp eax, 8
mov byte [esp + 0x94], 2
jb 0x41ec2c
mov edx, dword [esp + 0x30]
push edx
call fcn.00426a53
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x2c], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov ecx, esi
call fcn.00402060
lea eax, [esp + 0x68]
push eax
call fcn.004187d0
add esp, 0x20
push 0x442394
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], ebp
call fcn.00426efa
mov dword [esp + 0x28], ebx
push str._pFileDesc__GetFilespec__bstrFilespec__
sub esp, 0x1c
mov ebp, esp
mov dword [esp + 0x30], esp
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push str.Executing_COM_call__s
mov byte [esp + 0xb8], 6
mov word [ebp + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.Executing_COM_call__s
mov ecx, ebp
call fcn.00402060
sub esp, 0x1c
mov ebp, esp
mov dword [esp + 0x5c], esp
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push str.VssFileDescriptor::Initialize
mov byte [esp + 0xd4], 7
mov word [ebp + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.VssFileDescriptor::Initialize
mov ecx, ebp
call fcn.00402060
push 0x2e5
sub esp, 0x1c
mov ebp, esp
mov dword [esp + 0x78], esp
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push str..writer.cpp
mov byte [esp + 0xf4], 8
mov word [ebp + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str..writer.cpp
mov ecx, ebp
call fcn.00402060
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0xf4], 6
call fcn.00418290
mov eax, dword [esi]
add esp, 0x60
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 0x10]
mov ebp, eax
cmp ebp, ebx
jge 0x41ee94
push str._pFileDesc__GetFilespec__bstrFilespec__
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str._nERROR:_COM_call__s_failed.
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str._nERROR:_COM_call__s_failed.
mov ecx, esi
call fcn.00402060
lea edx, [esp + 0x6c]
push edx
call fcn.004187d0
add esp, 0x24
push ebp
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.__Returned_HRESULT__0x_08lx
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.__Returned_HRESULT__0x_08lx
mov ecx, esi
call fcn.00402060
lea eax, [esp + 0x6c]
push eax
call fcn.004187d0
lea ecx, [esp + 0x50]
push ebp
push ecx
call fcn.00417f50
add esp, 0x2c
cmp dword [eax + 0x18], 8
mov byte [esp + 0x94], 9
jb 0x41edeb
mov eax, dword [eax + 4]
jmp 0x41edee
add eax, 4
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.__Error_text:__s
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.__Error_text:__s
mov ecx, esi
call fcn.00402060
lea edx, [esp + 0x6c]
push edx
call fcn.004187d0
mov eax, dword [esp + 0x68]
add esp, 0x24
cmp eax, 8
mov byte [esp + 0x94], 6
jb 0x41ee47
mov eax, dword [esp + 0x30]
push eax
call fcn.00426a53
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x2c], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov word [esi + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov ecx, esi
call fcn.00402060
lea ecx, [esp + 0x68]
push ecx
call fcn.004187d0
add esp, 0x20
push 0x442394
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebp
call fcn.00426efa
push str._pFileDesc__GetRecursive_bRecursive__
sub esp, 0x1c
mov ebp, esp
mov byte [esp + 0x3b], bl
mov dword [esp + 0x30], esp
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push str.Executing_COM_call__s
mov word [ebp + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.Executing_COM_call__s
mov ecx, ebp
call fcn.00402060
sub esp, 0x1c
mov ebp, esp
mov dword [esp + 0x5c], esp
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push str.VssFileDescriptor::Initialize
mov byte [esp + 0xd4], 0xa
mov word [ebp + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str.VssFileDescriptor::Initialize
mov ecx, ebp
call fcn.00402060
push 0x2e8
sub esp, 0x1c
mov ebp, esp
mov dword [esp + 0x78], esp
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push str..writer.cpp
mov byte [esp + 0xf4], 0xb
mov word [ebp + 4], bx
call fcn.00426a3d
add esp, 4
push eax
push str..writer.cpp
mov ecx, ebp
call fcn.00402060
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0xf4], 6
call fcn.00418290
mov ecx, dword [esi]
add esp, 0x60
lea edx, [esp + 0x1b]
push edx
push esi
call dword [ecx + 0x14]
mov edi, eax
cmp edi, ebx
jge 0x41f044
push str._pFileDesc__GetRecursive_bRecursive__
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str._nERROR:_COM_call__s_failed.
call fcn.00402500
lea eax, [esp + 0x6c]
push eax
call fcn.004187d0
add esp, 0x24
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__Returned_HRESULT__0x_08lx
call fcn.00402500
lea ecx, [esp + 0x6c]
push ecx
call fcn.004187d0
lea edx, [esp + 0x50]
push edi
push edx
call fcn.00417f50
add esp, 0x2c
mov ecx, dword [eax + 0x18]
mov esi, 8
cmp ecx, esi
mov byte [esp + 0x94], 0xc
jb 0x41efd0
mov eax, dword [eax + 4]
jmp 0x41efd3
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__Error_text:__s
call fcn.00402500
lea eax, [esp + 0x6c]
push eax
call fcn.004187d0
mov eax, dword [esp + 0x68]
add esp, 0x24
cmp eax, esi
mov byte [esp + 0x94], 6
jb 0x41f011
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00426a53
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
call fcn.00402500
lea edx, [esp + 0x68]
push edx
call fcn.004187d0
add esp, 0x20
push 0x442394
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
call fcn.00426efa
mov dword [esp + 0x48], ebx
push str._pFileDesc__GetAlternateLocation_bstrAlternate__
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Executing_COM_call__s
mov byte [esp + 0xb8], 0xd
call fcn.00402500
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.VssFileDescriptor::Initialize
mov byte [esp + 0xd4], 0xe
call fcn.00402500
push 0x2eb
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push str..writer.cpp
mov byte [esp + 0xf4], 0xf
call fcn.00402500
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0xf4], 0xd
call fcn.00418290
mov edx, dword [esi]
add esp, 0x60
lea eax, [esp + 0x48]
push eax
push esi
call dword [edx + 0x18]
mov esi, eax
cmp esi, ebx
jge 0x41f19c
push str._pFileDesc__GetAlternateLocation_bstrAlternate__
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str._nERROR:_COM_call__s_failed.
call fcn.00402500
lea ecx, [esp + 0x6c]
push ecx
call fcn.004187d0
add esp, 0x24
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__Returned_HRESULT__0x_08lx
call fcn.00402500
lea edx, [esp + 0x6c]
push edx
call fcn.004187d0
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00417f50
add esp, 0x2c
cmp dword [eax + 0x18], 8
mov byte [esp + 0x94], 0x10
jb 0x41f134
mov eax, dword [eax + 4]
jmp 0x41f137
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__Error_text:__s
call fcn.00402500
lea ecx, [esp + 0x6c]
push ecx
call fcn.004187d0
add esp, 0x24
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0xd
call fcn.004011f0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
call fcn.00402500
lea edx, [esp + 0x68]
push edx
call fcn.004187d0
add esp, 0x20
push 0x442394
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], esi
call fcn.00426efa
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004081e0
add esp, 8
mov edi, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0xa0], 0x11
call fcn.00401cb0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0xd
call fcn.004011f0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004081e0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x1c]
mov byte [esp + 0xa0], 0x12
call fcn.00401cb0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0xd
call fcn.004011f0
movzx dx, byte [esp + 0x1b]
lea esi, [edi + 0x5c]
mov ecx, esi
push edx
call fcn.0041a300
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004081e0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0xa0], 0x13
call fcn.00401cb0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0xd
call fcn.004011f0
push ebx
push 0x104
mov ecx, esi
call fcn.00405730
cmp dword [esi + 0x18], 8
mov eax, dword [edi + 0x70]
jb 0x41f26f
mov ecx, dword [esi + 4]
jmp 0x41f272
lea ecx, [esi + 4]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebx
jne 0x41f3ec
push str._ExpandEnvironmentStringsW_bstrPath___PWCHAR_expandedPath.c_str_____DWORD_expandedPath.length____
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Executing_Win32_call__s
call fcn.00402500
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.VssFileDescriptor::Initialize
mov byte [esp + 0xd4], 0x14
call fcn.00402500
push 0x2f6
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push str..writer.cpp
mov byte [esp + 0xf4], 0x15
call fcn.00402500
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0xf4], 0xd
call fcn.00418290
add esp, 0x60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp ebp, ebx
jg 0x41f304
mov dword [esp + 0x14], ebp
jmp 0x41f314
mov eax, ebp
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
cmp ebp, ebx
je 0x41f3ec
push str._ExpandEnvironmentStringsW_bstrPath___PWCHAR_expandedPath.c_str_____DWORD_expandedPath.length____
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str._nERROR:_Win32_call__s_failed.
call fcn.00402500
lea ecx, [esp + 0x6c]
push ecx
call fcn.004187d0
add esp, 0x24
push ebp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__GetLastError_____ld
call fcn.00402500
lea edx, [esp + 0x6c]
push edx
call fcn.004187d0
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00417f50
add esp, 0x2c
cmp dword [eax + 0x18], 8
mov byte [esp + 0x94], 0x16
jb 0x41f384
mov eax, dword [eax + 4]
jmp 0x41f387
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__Error_text:__s
call fcn.00402500
lea ecx, [esp + 0x6c]
push ecx
call fcn.004187d0
add esp, 0x24
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0xd
call fcn.004011f0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
call fcn.00402500
lea edx, [esp + 0x68]
push edx
call fcn.004187d0
add esp, 0x20
push 0x442394
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], esi
call fcn.00426efa
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
call fcn.00402280
lea ecx, [esp + 0x48]
push ecx
call fcn.00402860
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0xa0], 0x17
call fcn.00401cb0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0xd
call fcn.004011f0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
call fcn.00402280
lea edx, [esp + 0x48]
push edx
call fcn.0040cc50
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x78]
mov byte [esp + 0xa0], 0x18
call fcn.00401cb0
lea ecx, [esp + 0x2c]
call fcn.004011f0
mov eax, dword [esp + 0x48]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x94], 0xffffffff
call fcn.00418690
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x88]
call fcn.0042714d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8