Function at 0x40b950
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43347f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
mov eax, dword [0x44647c]
push ebx
push ebp
push esi
push edi
sub esp, 0x1c
mov edi, esp
xor esi, esi
mov ebp, ecx
mov ebx, 7
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.VssClient::DeleteAllSnapshots
mov dword [esp + 0x128], eax
mov dword [esp + 0x3c], ebp
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.VssClient::DeleteAllSnapshots
mov ecx, edi
call fcn.00402060
push 0x15
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x4c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str..delete.cpp
mov dword [esp + 0x154], esi
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str..delete.cpp
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0xa0]
mov dword [esp + 0x150], 0xffffffff
call fcn.00418520
mov dword [esp + 0x114], 1
mov dword [esp + 0x20], esi
mov edi, dword [0x43f490]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 3
push 1
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov edi, dword [0x43f494]
mov dword [edx + 4], edi
mov edi, dword [0x43f498]
mov dword [edx + 8], edi
mov edi, dword [0x43f49c]
push eax
mov byte [esp + 0x134], 2
mov dword [edx + 0xc], edi
call dword [ecx + 0xa4]
push str.L_m_pVssObject__Query_GUID_NULL__VSS_OBJECT_NONE__VSS_OBJECT_SNAPSHOT__pIEnumSnapshots___
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.Executing_COM_call__s
mov ebp, eax
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.Executing_COM_call__s
mov ecx, edi
call fcn.00402060
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x50], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.VssClient::DeleteAllSnapshots
mov byte [esp + 0x154], 3
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.VssClient::DeleteAllSnapshots
mov ecx, edi
call fcn.00402060
push 0x1e
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x74], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str..delete.cpp
mov byte [esp + 0x174], 4
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str..delete.cpp
mov ecx, edi
call fcn.00402060
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x174], 2
call fcn.00418290
add esp, 0x60
cmp ebp, esi
jge 0x40bc66
push str.L_m_pVssObject__Query_GUID_NULL__VSS_OBJECT_NONE__VSS_OBJECT_SNAPSHOT__pIEnumSnapshots___
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str._nERROR:_COM_call__s_failed.
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str._nERROR:_COM_call__s_failed.
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0x84]
push ecx
call fcn.004187d0
add esp, 0x24
push ebp
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Returned_HRESULT__0x_08lx
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__Returned_HRESULT__0x_08lx
mov ecx, edi
call fcn.00402060
lea edx, [esp + 0x84]
push edx
call fcn.004187d0
lea eax, [esp + 0x6c]
push ebp
push eax
call fcn.00417f50
add esp, 0x2c
cmp dword [eax + 0x18], 8
mov byte [esp + 0x114], 5
jb 0x40bbb4
mov eax, dword [eax + 4]
jmp 0x40bbb7
add eax, 4
push eax
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Error_text:__s
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__Error_text:__s
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0x84]
push ecx
call fcn.004187d0
mov eax, dword [esp + 0x84]
add esp, 0x24
cmp eax, 8
mov byte [esp + 0x114], 2
jb 0x40bc16
mov edx, dword [esp + 0x4c]
push edx
call fcn.00426a53
add esp, 4
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x2c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov word [edi + 4], si
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, edi
call fcn.00402060
lea eax, [esp + 0x80]
push eax
call fcn.004187d0
add esp, 0x20
push 0x442394
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], ebp
call fcn.00426efa
cmp ebp, 1
jne 0x40bd00
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x2c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str._nThere_are_no_shadow_copies_on_the_system_n
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str._nThere_are_no_shadow_copies_on_the_system_n
mov ecx, edi
call fcn.00402060
lea edx, [esp + 0x80]
push edx
call fcn.004187d0
add esp, 0x20
mov eax, dword [esp + 0x20]
cmp eax, esi
mov byte [esp + 0x114], 1
je 0x40bcc2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x64]
mov dword [esp + 0x114], 0xffffffff
call fcn.00418690
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x108]
call fcn.0042714d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xa4]
push ecx
push 1
push eax
call dword [edx + 0xc]
push str.L_pIEnumSnapshots__Next__1__Prop__ulFetched___
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.Executing_COM_call__s
mov ebp, eax
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.Executing_COM_call__s
mov ecx, edi
call fcn.00402060
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x50], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.VssClient::DeleteAllSnapshots
mov byte [esp + 0x154], 6
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.VssClient::DeleteAllSnapshots
mov ecx, edi
call fcn.00402060
push 0x30
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x74], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str..delete.cpp
mov byte [esp + 0x174], bl
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str..delete.cpp
mov ecx, edi
call fcn.00402060
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x174], 2
call fcn.00418290
add esp, 0x60
cmp ebp, esi
jl 0x40c185
cmp dword [esp + 0x24], esi
je 0x40bcac
lea eax, [esp + 0xa8]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xf4]
movzx edx, byte [esp + 0xf3]
movzx eax, byte [esp + 0xf2]
push ecx
movzx ecx, byte [esp + 0xf5]
push edx
movzx edx, byte [esp + 0xf8]
push eax
movzx eax, byte [esp + 0xfb]
push ecx
movzx ecx, byte [esp + 0xfe]
push edx
movzx edx, byte [esp + 0x101]
push eax
movzx eax, byte [esp + 0x104]
push ecx
movzx ecx, word [esp + 0x106]
push edx
movzx edx, word [esp + 0x108]
push eax
mov eax, dword [esp + 0x108]
push ecx
mov ecx, dword [esp + 0xf8]
push edx
movzx edx, byte [esp + 0xe3]
push eax
movzx eax, byte [esp + 0xe6]
push ecx
push edx
push eax
mov eax, dword [esp + 0xf0]
movzx ecx, ah
push ecx
movzx ecx, byte [esp + 0xf2]
movzx edx, al
movzx eax, byte [esp + 0xf3]
push edx
push eax
mov eax, dword [esp + 0xf8]
push ecx
movzx ecx, word [esp + 0xfa]
movzx edx, ah
push edx
movzx edx, word [esp + 0xfc]
movzx eax, al
push eax
mov eax, dword [esp + 0xfc]
push ecx
push edx
push eax
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x90], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Deleting_shadow_copy__.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x_on__s_from_provider__.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x__0x_08lx_...
mov byte [esp + 0x194], 9
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__Deleting_shadow_copy__.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x_on__s_from_provider__.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x__0x_08lx_...
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0xe0]
push ecx
call fcn.004187d0
mov edx, dword [0x43f490]
mov eax, dword [0x43f494]
mov ecx, dword [0x43f498]
mov dword [esp + 0xc8], edx
mov edx, dword [0x43f49c]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x9c]
add esp, 0x80
mov dword [esp + 0x28], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov edi, dword [esp + 0xa8]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x2c]
push edx
push esi
push 3
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov edi, dword [esp + 0xcc]
mov dword [edx + 4], edi
mov edi, dword [esp + 0xd0]
mov dword [edx + 8], edi
mov edi, dword [esp + 0xd4]
push eax
mov dword [edx + 0xc], edi
call dword [ecx + 0x90]
mov ebp, eax
cmp ebp, esi
jl 0x40bfa3
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x118], 2
call sub.VSSAPI.DLL_VssFreeSnapshotProperties
jmp 0x40bd00
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.Error_while_deleting_shadow_copies...
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.Error_while_deleting_shadow_copies...
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0x80]
push ecx
call fcn.004187d0
movzx edx, byte [esp + 0x77]
movzx eax, byte [esp + 0x76]
add esp, 0x20
push edx
push eax
mov eax, dword [esp + 0x5c]
movzx ecx, ah
push ecx
movzx ecx, byte [esp + 0x5e]
movzx edx, al
movzx eax, byte [esp + 0x5f]
push edx
push eax
mov eax, dword [esp + 0x64]
push ecx
movzx ecx, word [esp + 0x66]
movzx edx, ah
push edx
movzx edx, word [esp + 0x68]
movzx eax, al
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x5c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Last_shadow_copy_that_could_not_be_deleted:__.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__Last_shadow_copy_that_could_not_be_deleted:__.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0xac]
push ecx
call fcn.004187d0
add esp, 0x4c
push str.L_m_pVssObject__DeleteSnapshots_Snap.m_SnapshotId__VSS_OBJECT_SNAPSHOT_FALSE_lSnapshots_idNonDeleted__
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x34], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.Executing_COM_call__s
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.Executing_COM_call__s
mov ecx, edi
call fcn.00402060
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x54], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
mov byte [esp + 0x150], 0xa
mov word [edi + 4], si
push str.VssClient::DeleteAllSnapshots
call fcn.00426a3d
add esp, 4
push eax
push str.VssClient::DeleteAllSnapshots
mov ecx, edi
call fcn.00402060
push 0x4e
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x78], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str..delete.cpp
mov byte [esp + 0x174], 0xb
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str..delete.cpp
mov ecx, edi
call fcn.00402060
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x174], 9
call fcn.00418290
add esp, 0x60
push str.L_m_pVssObject__DeleteSnapshots_Snap.m_SnapshotId__VSS_OBJECT_SNAPSHOT_FALSE_lSnapshots_idNonDeleted__
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str._nERROR:_COM_call__s_failed.
call fcn.00402500
lea edx, [esp + 0x84]
push edx
call fcn.004187d0
add esp, 0x24
push ebp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.__Returned_HRESULT__0x_08lx
call fcn.00402500
lea eax, [esp + 0x84]
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 + 0x114], 0xc
jb 0x40c25d
mov eax, dword [eax + 4]
jmp 0x40c260
push str.L_pIEnumSnapshots__Next__1__Prop__ulFetched___
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str._nERROR:_COM_call__s_failed.
call fcn.00402500
lea eax, [esp + 0x84]
push eax
call fcn.004187d0
add esp, 0x24
push ebp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__Returned_HRESULT__0x_08lx
call fcn.00402500
lea ecx, [esp + 0x84]
push ecx
call fcn.004187d0
lea edx, [esp + 0x50]
push ebp
push edx
call fcn.00417f50
add esp, 0x2c
cmp dword [eax + 0x18], 8
mov byte [esp + 0x114], 8
jb 0x40c1ef
mov eax, dword [eax + 4]
jmp 0x40c1f2
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 + 0x84]
push eax
call fcn.004187d0
add esp, 0x24
lea ecx, [esp + 0x2c]
mov byte [esp + 0x114], 2
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 ecx, [esp + 0x80]
push ecx
call fcn.004187d0
add esp, 0x20
push 0x442394
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebp
call fcn.00426efa
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.__Error_text:__s
call fcn.00402500
lea edx, [esp + 0x84]
push edx
call fcn.004187d0
add esp, 0x24
lea ecx, [esp + 0x2c]
mov byte [esp + 0x114], 9
call fcn.004011f0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
call fcn.00402500
lea eax, [esp + 0x80]
push eax
call fcn.004187d0
add esp, 0x20
push 0x442394
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebp
call fcn.00426efa
int3