Function at 0x40dde2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x17c
mov eax, 0x60e45d
call fcn.00429868
mov ebx, ecx
mov dword [ebp - 0x188], ebx
mov eax, dword [ebx]
push 0
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x6317ac]
mov ecx, ebx
call esi
mov byte [ebp - 0x17d], al
test al, al
jne 0x40de2a
mov esi, 0x8004ee05
mov dword [ebp - 0x17c], esi
mov byte [ebp - 0x61], 0
jmp 0x40dee7
cmp dword [ebx + 0x78], 1
je 0x40de36
cmp dword [ebx + 0x78], 2
jne 0x40de47
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x6317ac]
mov ecx, ebx
call esi
lea eax, [ebp - 0xe0]
mov byte [ebp - 0x61], 0
mov dword [ebp - 0xe0], vtable.std::_Func_impl_no_alloc_class__public:_long_int___thiscall_StandaloneUpdater::RunUpdaterMode_void_::_11::_lambda_2___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [ebp - 0xbc], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__public:_long_int___thiscall_StandaloneUpdater::RunUpdaterMode_void_::_11::_lambda_1___void__unsigned_long_long_unsigned___int64___long_int_.0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x61]
push eax
call fcn.004c9a15
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.0041174e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.0041174e
test esi, esi
jns 0x40deae
push esi
push ecx
call 0x4070c2
cmp byte [ebp - 0x61], 0
je 0x40debe
mov esi, 0x8004ee07
jmp 0x40de1b
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x6317ac]
mov ecx, ebx
call esi
mov esi, eax
mov edx, 0x4ab
push esi
push ecx
mov dword [ebp - 0x17c], esi
call fcn.004061c6
mov byte [ebp - 0x61], 1
push esi
call fcn.0049ae62
test al, al
je 0x40df55
mov edi, dword [ebx + 0x40]
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
mov bl, al
mov byte [ebp - 0x184], bl
push dword [ebp - 0x184]
push ecx
call 0x406f20
test bl, bl
mov ebx, dword [ebp - 0x188]
je 0x40df4a
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x6317ac]
mov ecx, ebx
call esi
mov esi, eax
mov edx, 0x4bd
push esi
push ecx
mov dword [ebp - 0x17c], esi
call fcn.004061c6
jmp 0x40df55
mov esi, 0x8004ee39
mov dword [ebp - 0x17c], esi
push esi
mov byte [ebp - 0x184], 0
mov byte [ebp - 0x188], 0
call fcn.0049ae62
test al, al
jne 0x40df79
cmp esi, 0x8004ee39
jne 0x40e3f7
call fcn.004bdebb
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
test al, al
je 0x40e3f7
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
push 7
pop edx
xor eax, eax
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], edx
mov word [ebp - 0xd0], ax
mov dword [ebp - 4], 3
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], edx
mov word [ebp - 0x9c], ax
push ecx
push 2
push 1
push 0x30066fc6
push 0x6825bc
push str.StandaloneUpdater::RunUpdaterMode
push 0x4cd
push str.D:dbs_shodct0202_162706cmdcclientonedriveProductStandaloneUpdaterStandaloneUpdaterLibStandaloneUpdater.cpp
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004591ec
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.0045a999
call fcn.0045a6b3
mov edi, dword [0x6c2adc]
mov eax, dword [edi]
mov esi, dword [eax]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xd0]
mov ecx, esi
push eax
push 0x6dd8c0
call dword [0x6317ac]
mov ecx, edi
call esi
mov dword [ebp - 0x174], eax
test eax, eax
jns 0x40e055
push eax
push ecx
mov edx, 0x4d2
call fcn.004098c3
mov edi, dword [0x6c2ad4]
and dword [ebp - 0x178], 0
mov eax, dword [edi]
mov esi, dword [eax + 0x4c]
lea eax, [ebp - 0x178]
push eax
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
cmp dword [ebp - 0x178], 0
mov esi, eax
mov dword [ebp - 0x68], esi
je 0x40e0ca
test esi, esi
js 0x40e0ca
mov edi, dword [0x6c2ae4]
push dword [ebp - 0x178]
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
test eax, eax
jne 0x40e0d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
push esi
push ecx
call 0x40992c
jmp 0x40e0d6
push esi
push ecx
call 0x409999
jmp 0x40e0d6
mov esi, dword [ebp - 0x68]
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
push 7
pop edx
xor eax, eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], edx
mov word [ebp - 0xb4], ax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], edx
mov word [ebp - 0x84], ax
mov byte [ebp - 4], 9
test esi, esi
js 0x40e2c8
push ecx
push 2
push 1
push 0x30066fc7
push 0x6825bc
push str.StandaloneUpdater::RunUpdaterMode
push 0x4e9
push str.D:dbs_shodct0202_162706cmdcclientonedriveProductStandaloneUpdaterStandaloneUpdaterLibStandaloneUpdater.cpp
lea ecx, [ebp - 0x30]
call fcn.004591ec
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.0045a999
call fcn.0045a6b3
mov edi, dword [0x6c2adc]
mov eax, dword [edi]
mov esi, dword [eax]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xb4]
mov ecx, esi
push eax
push 0x6dd8c0
call dword [0x6317ac]
mov ecx, edi
call esi
mov dword [ebp - 0x68], eax
test eax, eax
jns 0x40e187
push eax
push ecx
mov edx, 0x4ee
call fcn.004098c3
mov edi, dword [0x6c2ae4]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
cmp dword [ebp - 0x68], 0
jl 0x40e2c8
cmp dword [ebp - 0x174], 0
jl 0x40e24c
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xd0]
push 8
pop esi
cmp dword [ebp - 0xbc], esi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x184], 1
cmovae eax, dword [ebp - 0xd0]
cmp dword [ebp - 0xa0], esi
cmovae ecx, dword [ebp - 0xb4]
cmp edx, dword [ebp - 0xc0]
jne 0x40e245
push edx
push eax
push ecx
call fcn.00411ca0
test eax, eax
jne 0x40e245
cmp dword [ebp - 0x88], esi
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x84]
cmovae eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x70], esi
cmovae ecx, dword [ebp - 0x84]
cmp edx, dword [ebp - 0x8c]
jne 0x40e245
push edx
push eax
push ecx
call fcn.00411ca0
test eax, eax
jne 0x40e245
mov byte [ebp - 0x188], 1
jmp 0x40e2c8
mov byte [ebp - 0x188], 0
push 0
push 2
push 1
push 0x30066fcb
push 0x6825bc
push str.StandaloneUpdater::RunUpdaterMode
push 0x4fd
push str.D:dbs_shodct0202_162706cmdcclientonedriveProductStandaloneUpdaterStandaloneUpdaterLibStandaloneUpdater.cpp
lea ecx, [ebp - 0x30]
call fcn.004591ec
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.0045a999
call fcn.0045a6b3
mov edi, dword [ebx + 0x24]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xb4]
mov ecx, esi
push eax
call dword [0x6317ac]
mov ecx, edi
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x6317ac]
mov ecx, ebx
call esi
push eax
push ecx
mov edx, 0x500
mov dword [ebp - 0x17c], eax
call fcn.004061c6
cmp dword [ebp - 0x17c], 0
jge 0x40e2e8
mov edi, dword [0x6c2ad4]
mov eax, dword [edi]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x70]
mov esi, 0x1000
cmp eax, 8
jb 0x40e331
mov ecx, dword [ebp - 0x84]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x68], ecx
cmp eax, esi
jb 0x40e328
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00413cba
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x68]
push eax
push ecx
call fcn.00429588
pop ecx
pop ecx
and dword [ebp - 0x74], 0
lea ecx, [ebp - 0xb4]
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x70], edi
mov word [ebp - 0x84], ax
call fcn.00413b5a
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x40e396
mov ecx, dword [ebp - 0x9c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x174], ecx
cmp eax, esi
jb 0x40e38d
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00413cba
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x174]
push eax
push ecx
call fcn.00429588
pop ecx
pop ecx
and dword [ebp - 0x8c], 0
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x88], edi
cmp eax, 8
jb 0x40e3f7
mov ecx, dword [ebp - 0xd0]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x174], ecx
cmp eax, esi
jb 0x40e3ee
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00413cba
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x174]
push eax
push ecx
call fcn.00429588
pop ecx
pop ecx
call fcn.004bdebb
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
test al, al
je 0x40e49e
mov esi, dword [ebp - 0x17c]
mov ecx, esi
call fcn.00416a38
test al, al
je 0x40e452
cmp esi, 0x8004ee39
je 0x40e452
call fcn.004bdebb
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
push eax
push ecx
call 0x409c23
mov edi, dword [0x6c2abc]
mov byte [ebp - 0x69], 0
mov byte [ebp - 0x68], 0
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x69]
mov ecx, esi
push eax
call dword [0x6317ac]
mov ecx, edi
call esi
cmp byte [ebp - 0x69], 0
je 0x40e49e
sub esp, 0x14
mov edx, str.UnexpectedFailure
test eax, eax
mov ecx, str.Success
cmovs ecx, edx
push dword [ebp - 0x68]
push ecx
push eax
sub esp, 0xc
call fcn.00409a73
mov edx, dword [ebp - 0x17c]
lea ecx, [ebp - 0x128]
call fcn.00416a80
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0xa
call fcn.0049879d
call fcn.004bdebb
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
test al, al
je 0x40e4f6
lea eax, [ebp - 0x40]
push eax
call fcn.00499b5c
push 0xc
pop ecx
mov esi, eax
lea edi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
cmp byte [ebx + 0x70], al
setne al
mov dword [ebp - 0x68], eax
call fcn.0044da02
cmp dword [ebp - 0x114], 8
lea edx, [ebp - 0x128]
mov edi, dword [ebp - 0x68]
cmovae edx, dword [ebp - 0x128]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov ecx, 0x681358
xor esi, esi
push ecx
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push 0x68135c
push esi
push esi
push ecx
xor ecx, ecx
mov esi, dword [ebp - 0x17c]
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp - 0xf0]
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
push dword [ebp - 0x108]
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push dword [ebp - 0x188]
push dword [ebp - 0x184]
push edi
push eax
mov eax, 0x682614
push eax
push eax
push eax
push ecx
push ecx
push edx
push esi
push str.OneDriveStandaloneUpdaterOverallResult
push 0x67feb4
push str.StandaloneUpdater::RunUpdaterMode
mov edx, 0x53f
mov ecx, str.D:dbs_shodct0202_162706cmdcclientonedriveProductStandaloneUpdaterStandaloneUpdaterLibStandaloneUpdater.cpp
call fcn.004062dc
cmp dword [0x6c9ed0], 5
jbe 0x40e63e
push ecx
push ecx
call fcn.0040113c
test al, al
je 0x40e63e
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x178], edi
call fcn.0044da02
mov dword [ebp - 0x184], eax
xor edx, edx
lea eax, [ebp - 0x174]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x178]
push 4
pop ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x184]
push eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
call fcn.00401048
lea eax, [ebp - 0x60]
push eax
push 5
push 0
push 0
push 0x694759
push 0x6c9ed0
call fcn.00401090
cmp byte [ebp - 0x17d], 0
je 0x40e6b8
xor ecx, ecx
cmp dword [ebx + 0x78], ecx
jne 0x40e697
cmp byte [ebx + 0x7d], cl
jne 0x40e697
mov esi, dword [ebx + 0x58]
push ecx
push ecx
mov edx, esp
mov eax, dword [esi]
mov dword [edx], ecx
mov edi, dword [eax + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x40e66f
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x38]
mov ecx, edi
mov dword [edx], eax
mov eax, dword [ebx + 0x3c]
mov dword [edx + 4], eax
call dword [0x6317ac]
mov ecx, esi
call edi
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x6317ac]
mov ecx, ebx
call esi
mov ecx, ebx
call fcn.00410af2
mov edi, dword [0x6c2c18]
push dword [ebx + 0x68]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
call fcn.00410910
push 0x44
lea eax, [ebp - 0x170]
push 0
push eax
call fcn.0042a970
add esp, 0xc
lea ecx, [ebp - 0x170]
call fcn.00416fca
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0xb
call fcn.0041717f
cmp byte [ebp - 0x61], 0
je 0x40e74a
cmp byte [ebx + 0x7d], 0
jne 0x40e74a
call fcn.004bdebb
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
test al, al
je 0x40e74a
call fcn.004a1161
mov edi, eax
push 0x503
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
test al, al
je 0x40e74a
mov edi, dword [ebx + 0x40]
mov eax, dword [edi]
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x6317ac]
mov ecx, edi
call esi
lea ecx, [ebp - 0x170]
call 0x40e76c
lea ecx, [ebp - 0x128]
call fcn.00413b5a
mov eax, dword [ebp - 0x17c]
call fcn.00429817
ret