Function at 0x413680
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af7ac
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4e506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
mov al, byte [0x4ea9f0]
mov edi, dword [0x4ea9ec]
mov esi, dword [ebp + 8]
mov byte [ebp - 0x217], al
mov byte [ebp - 0x22c], al
mov al, byte [0x4ea9f6]
push 0x4eab24
mov byte [ebp - 0x215], al
mov al, byte [0x4eaa07]
push 0x41af20
push 0x4eab2c
mov dword [ebp - 0x224], edi
mov byte [ebp - 0x218], al
mov dword [ebp - 0xd8], 0
call fcn.0046a8b6
add esp, 0xc
test eax, eax
je 0x4147c0
mov byte [ebp - 0x220], 0
lea ecx, [ebp - 0x150]
push dword [ebp - 0x220]
mov edx, esi
mov dword [ebp - 0xd4], 0x4eab24
call fcn.00419c80
add esp, 4
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xf0]
call fcn.0040be50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0x18
xor eax, eax
mov dword [ebp - 0x30], 0
push str.MBAMInstallerService.exe
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004078c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041a5e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4137ca
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4137c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147c5
push edx
push ecx
call fcn.0046e3a3
add esp, 8
cmp byte [ebp - 0x215], 0
je 0x413892
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0xf0]
call fcn.0041aa90
test al, al
jne 0x413892
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x413807
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x44
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Could_not_find_local_installer_service__downloading_it_instead
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41388b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413881
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147ca
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov byte [ebp - 0x215], 0
mov esi, dword [ebp - 0x21c]
mov ecx, esi
call fcn.00414800
test al, al
jne 0x4138ad
mov esi, 0xb
jmp 0x414708
xor al, al
mov byte [ebp - 0x216], al
mov byte [ebp - 0x220], al
cmp byte [ebp - 0x215], al
je 0x413978
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4138de
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x4f
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Using_local_installer_service:
mov ecx, eax
call fcn.0040f6d0
lea edx, [ebp - 0xf0]
mov ecx, eax
call fcn.00419b00
push eax
call fcn.0040fa40
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41432a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413969
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147cf
push edx
push ecx
call fcn.0046e3a3
add esp, 8
jmp 0x41432a
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea eax, [esi + 0x98]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040be50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 8
lea edi, [ebp - 0xd0]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xc0]
cmovae ecx, edx
cmovae edi, edx
push edi
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0xd0]
cmovae ecx, edx
mov edx, fcn.0048d090
push eax
push ecx
lea ecx, [ebp - 0x228]
call fcn.00419bb0
mov esi, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [esi + 0xa8], 0
je 0x413a6a
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xd0]
cmovae ecx, dword [ebp - 0xd0]
cmp dword [ebp - 0xc0], 7
jne 0x413a3d
push 7
mov edx, str.release
call fcn.0041a530
add esp, 4
test eax, eax
je 0x413a6a
push 1
push 0x4c84b4
lea ecx, [ebp - 0x58]
call fcn.004078c0
cmp dword [esi + 0xac], 8
lea eax, [esi + 0x98]
mov ecx, dword [eax + 0x10]
jb 0x413a60
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.0040c200
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040be50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
lea edi, [ebp - 0xb8]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xa8]
cmovae ecx, edx
cmovae edi, edx
push edi
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0xb8]
cmovae ecx, edx
mov edx, fcn.0048d090
push eax
push ecx
lea ecx, [ebp - 0x228]
call fcn.00419bb0
add esp, 0xc
lea ecx, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
cmovae ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0xa8], 9
jne 0x413b02
push 9
mov edx, 0x4c84b8
call fcn.0041a530
add esp, 4
test eax, eax
jne 0x413b02
push eax
push 0x4c786c
lea ecx, [ebp - 0x58]
call fcn.004078c0
push 1
push 0x4c84cc
lea ecx, [ebp - 0x58]
call fcn.0040c200
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
jne 0x413b2a
push 7
push str.release
jmp 0x413b43
add eax, 0xb0
lea edx, [ebp - 0x88]
cmp edx, eax
je 0x413b4e
cmp dword [eax + 0x14], 8
jb 0x413b41
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004078c0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040be50
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
lea edx, [ebp - 0xa0]
mov esi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x90]
cmovae ecx, esi
cmovae edx, esi
push edx
mov edx, fcn.0048d090
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0xa0]
cmovae ecx, esi
push eax
push ecx
lea ecx, [ebp - 0x228]
call fcn.00419bb0
add esp, 0xc
lea ecx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x90], 7
jne 0x413bdf
push 7
mov edx, str.release
call fcn.0041a530
add esp, 4
test eax, eax
jne 0x413bdf
xor al, al
jmp 0x413be1
mov al, 1
mov esi, dword [ebp - 0x21c]
mov byte [ebp - 0x216], al
mov byte [ebp - 0x220], al
mov ecx, dword [esi + 0xd8]
test ecx, ecx
je 0x413c30
mov al, 1
lea edx, [ebp - 0x88]
mov byte [ebp - 0x216], al
mov byte [ebp - 0x220], al
lea eax, [esi + 0xc8]
cmp edx, eax
je 0x413c30
cmp dword [eax + 0x14], 8
jb 0x413c23
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004078c0
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040c200
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x413c64
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0x8b
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Modifier:
mov ecx, eax
call fcn.0040f6d0
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
mov ecx, eax
call fcn.004104f0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 9
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x413d00
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413cf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147d4
push edx
push ecx
call fcn.0046e3a3
add esp, 8
xor eax, eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x120]
push eax
push 0
call fcn.00415470
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x58]
push eax
movzx eax, byte [esi + 5]
lea ecx, [ebp - 0x214]
push eax
call fcn.0045ec80
cmp byte [ebp - 0x217], 0
mov byte [ebp - 4], 0xd
je 0x413e9d
cmp dword [0x4e5e94], 8
lea ecx, [ebp - 0x1c4]
push dword [0x4e5e90]
mov eax, 0x4e5e80
mov byte [ebp - 0x20f], 1
cmovae eax, dword [0x4e5e80]
push eax
call fcn.004078c0
cmp dword [0x4e5eac], 8
lea ecx, [ebp - 0x194]
push dword [0x4e5ea8]
mov eax, 0x4e5e98
cmovae eax, dword [0x4e5e98]
push eax
call fcn.004078c0
cmp dword [0x4e5ec4], 8
lea ecx, [ebp - 0x17c]
push dword [0x4e5ec0]
mov eax, 0x4e5eb0
cmovae eax, dword [0x4e5eb0]
push eax
call fcn.004078c0
cmp dword [0x4e5e94], 8
lea ecx, [ebp - 0x1dc]
push dword [0x4e5e90]
mov esi, dword [ebp - 0x224]
mov eax, 0x4e5e80
cmovae eax, dword [0x4e5e80]
push eax
mov dword [ebp - 0x164], esi
call fcn.004078c0
push 1
push 0x4d010c
lea ecx, [ebp - 0x1dc]
call fcn.0040c200
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0044b790
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x413e52
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0040c200
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x413e9d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413e93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147d9
push edx
push ecx
call fcn.0046e3a3
add esp, 8
push str.Downloading_installer_service
mov edx, 0x96
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupinstallerservicefactory.cpp
call fcn.004412b0
add esp, 4
xor cl, cl
xor edi, edi
mov eax, edi
mov esi, str.mbam_c.isvc.64bitv4
inc edi
cmp eax, 0xa
jge 0x41421f
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.0041a8a0
push 0x17
push str.ISvc_download_attempt:
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0041a300
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x413f61
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413f57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147c5
push edx
push ecx
call fcn.0046e3a3
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x2c], 8
mov edx, 0x9e
mov word [ebp - 0x70], ax
mov ecx, str.c:jenkinsworkspacembam_windows_a_mb4_mbsetup_srcmbsetupinstallerservicefactory.cpp
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], 7
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004412b0
add esp, 4
mov dword [ebp - 0x24c], 0
cmp byte [ebp - 0x218], 0
mov edx, str.mbam_c.isvc.32bitv4
mov dword [ebp - 0x248], 7
cmove edx, esi
xor eax, eax
mov ecx, edx
mov word [ebp - 0x25c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413fc4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x25c]
call fcn.004078c0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x244]
call fcn.0040be50
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x28]
call fcn.0040be50
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1f4]
cmp dword [ebp - 0x1e0], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x1e4]
cmovae eax, dword [ebp - 0x1f4]
push eax
call fcn.0040c200
cmp byte [ebp - 0x210], 0
mov eax, str.ark.mwbsys.com
mov edx, str.ark_stage.mwbsys.com
mov dword [ebp - 0x60], 0
cmove edx, eax
mov dword [ebp - 0x5c], 7
mov ecx, edx
xor eax, eax
mov word [ebp - 0x70], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414060
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004078c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x214]
call fcn.0045efe0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 0x217], al
cmp edx, 8
jb 0x4140db
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4140d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147c5
push edx
push ecx
call fcn.0046e3a3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x41412d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414123
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147c5
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x230]
cmp edx, 8
jb 0x414171
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147c5
push edx
push ecx
call fcn.0046e3a3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
cmp edx, 8
jb 0x4141d2
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4141c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147c5
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x414210
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414206
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147c5
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov cl, byte [ebp - 0x217]
test cl, cl
jne 0x414227
jmp 0x413eb8
test cl, cl
je 0x414384
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41423e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0xa8
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Obtained_installer_service
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 0xd
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4142c5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4142bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147de
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov esi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x214]
call fcn.0045ed90
lea ecx, [ebp - 0x108]
call fcn.00404c50
lea ecx, [ebp - 0x120]
call fcn.00404c50
lea ecx, [ebp - 0xa0]
call fcn.00404c50
lea ecx, [ebp - 0xb8]
call fcn.00404c50
lea ecx, [ebp - 0xd0]
call fcn.00404c50
lea ecx, [ebp - 0x88]
call fcn.00404c50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00404c50
mov edi, dword [ebp - 0x224]
push 0x4e5c88
lea ecx, [ebp - 0x138]
call fcn.0040be50
push 0x1d
push str.MBAMInstallerService_old.exe
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x19
call fcn.0040c200
cmp dword [ebp - 0x124], 8
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp - 0x215], 0
je 0x4144c7
mov byte [ebp - 0x220], 1
jmp 0x4144d0
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41439b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0xab
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Could_not_obtain_installer_service
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
mov byte [ebp - 4], 0xd
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x414422
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414418
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147e3
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov esi, dword [ebp - 0x21c]
cmp byte [esi + 0x15b], 0
je 0x4146ae
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0xf0]
call fcn.0041aa90
test al, al
je 0x4146ae
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x414465
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0xb1
mov ecx, eax
call fcn.0040dcd0
mov edx, 0x4c834c
mov ecx, eax
call fcn.0040f6d0
mov edx, str.Using_local_installer_service_for_uninstall
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00404c50
jmp 0x4142cb
cmp byte [ebp - 0x216], 0
je 0x41453c
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 0x1a
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4144e7
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0xc6
mov ecx, eax
call fcn.0040dcd0
mov edx, str.:_Will_use_local_installer_service_for_uninstall
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x28]
call fcn.00404c50
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040be50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00415020
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x218], al
mov byte [ebp - 4], 0x19
call fcn.00404c50
cmp byte [ebp - 0x218], 0
je 0x41469c
sub esp, 8
push edi
push ecx
push dword [ebp - 0x22c]
mov ecx, esi
push dword [ebp - 0x220]
call fcn.00415e00
cmp byte [esi + 0x1c6], 0
je 0x414688
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4145b3
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0xd0
mov ecx, eax
call fcn.0040dcd0
mov edx, str._TEST__Pausing_before_starting_ISvc_...
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x28]
call fcn.00404c50
push 0
push str.TESTING
push str.Click_OK_to_continue.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x28]
call fcn.0045e700
mov byte [ebp - 4], 0x1d
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x414633
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x4e94e0
call fcn.004104f0
add esp, 4
mov edx, 0x4c8438
mov ecx, eax
call fcn.0040f6d0
mov edx, 0x4c8124
mov ecx, eax
call fcn.0040f6d0
push 0xd2
mov ecx, eax
call fcn.0040dcd0
mov edx, str._TEST__Resuming_after_OK_button_clicked__starting_ISvc
mov ecx, eax
call fcn.0040f6d0
push eax
call fcn.0040fa40
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x28]
call fcn.00404c50
call fcn.00418030
lea ecx, [ebp - 0x138]
xor esi, esi
call fcn.00404c50
jmp 0x414708
lea ecx, [ebp - 0x138]
mov esi, 0xa
call fcn.00404c50
jmp 0x414708
lea ecx, [ebp - 0x214]
call fcn.0045ed90
lea ecx, [ebp - 0x108]
call fcn.00404c50
lea ecx, [ebp - 0x120]
call fcn.00404c50
lea ecx, [ebp - 0xa0]
call fcn.00404c50
lea ecx, [ebp - 0xb8]
call fcn.00404c50
lea ecx, [ebp - 0xd0]
call fcn.00404c50
lea ecx, [ebp - 0x88]
call fcn.00404c50
lea ecx, [ebp - 0x58]
call fcn.00404c50
mov esi, 9
mov edx, dword [ebp - 0xdc]
cmp edx, 8
jb 0x414748
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41473e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147e8
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov edx, dword [ebp - 0x13c]
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
cmp edx, 8
jb 0x4147a1
mov ecx, dword [ebp - 0x150]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414797
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147ed
push edx
push ecx
call fcn.0046e3a3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046de82
mov esp, ebp
pop ebp
ret 0x20
call fcn.0048cc70
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
call fcn.004892fc
int3