Function at 0x42ebf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f078
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 8]
mov esi, dword [ebp + 8]
add eax, 0x88
push eax
push str.ClientConfigPath
mov ecx, esi
call fcn.0044d940
push str..dat
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044cfd0
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0046ac70
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.00407f10
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push str.ServerConfigPath
call fcn.0044d940
mov eax, dword [edi + 8]
or ebx, 0xffffffff
mov al, byte [eax + 0x80]
test al, al
je 0x42ecff
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x42f330
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
push 0x4a8b18
call fcn.004071f0
test al, al
jne 0x42eccd
push 4
push 0x4a8b18
lea ecx, [ebp + 0xc]
call fcn.00407350
mov byte [ebp - 4], 2
lea eax, [ebp + 0xc]
push eax
push str.JustDownloadUpdates
mov ecx, esi
call fcn.0044d940
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ecff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
mov al, byte [eax + 0x81]
test al, al
je 0x42ed7c
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x42f33a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
push 0x4a8b18
call fcn.004071f0
test al, al
jne 0x42ed4a
push 4
push 0x4a8b18
lea ecx, [ebp + 0xc]
call fcn.00407350
mov byte [ebp - 4], 5
lea eax, [ebp + 0xc]
push eax
push str.StartMinimized
mov ecx, esi
call fcn.0044d940
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ed7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
cmp dword [eax + 8], 0
jle 0x42f344
push dword [eax + 4]
mov ecx, esi
push 0x4aaf7c
call fcn.0044d940
mov eax, dword [edi + 8]
mov ecx, esi
add eax, 0x90
push eax
push str.restartapp
call fcn.0044d940
mov eax, dword [edi + 8]
mov ecx, esi
add eax, 0x94
push eax
push str.restartappcmd
call fcn.0044d940
mov eax, dword [edi + 8]
mov al, byte [eax + 0x98]
test al, al
je 0x42ee3f
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x42f350
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xc]
push 0x4a8b18
call fcn.004071f0
test al, al
jne 0x42ee0d
push 4
push 0x4a8b18
lea ecx, [ebp + 0xc]
call fcn.00407350
mov byte [ebp - 4], 8
lea eax, [ebp + 0xc]
push eax
push str.startappfirst
mov ecx, esi
call fcn.0044d940
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ee3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
mov al, byte [eax + 0x82]
test al, al
je 0x42eebc
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x42f35a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0xc]
push 0x4a8b18
call fcn.004071f0
test al, al
jne 0x42ee8a
push 4
push 0x4a8b18
lea ecx, [ebp + 0xc]
call fcn.00407350
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0xc]
push eax
push str.NoGUI
mov ecx, esi
call fcn.0044d940
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42eebc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
mov al, byte [eax + 0x83]
test al, al
je 0x42ef39
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x42f364
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0xc]
push 0x4a8b18
call fcn.004071f0
test al, al
jne 0x42ef07
push 4
push 0x4a8b18
lea ecx, [ebp + 0xc]
call fcn.00407350
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0xc]
push eax
push str.ReducedGUI
mov ecx, esi
call fcn.0044d940
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ef39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
mov al, byte [eax + 0x84]
test al, al
je 0x42efb6
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x42f36e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0xc]
push 0x4a8b18
call fcn.004071f0
test al, al
jne 0x42ef84
push 4
push 0x4a8b18
lea ecx, [ebp + 0xc]
call fcn.00407350
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0xc]
push eax
push str.ForceMSIBasicUI
mov ecx, esi
call fcn.0044d940
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42efb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x42f378
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0xc]
push str.checknow
call fcn.004071f0
test al, al
jne 0x42eff4
push 8
push str.checknow
lea ecx, [ebp + 0xc]
call fcn.00407350
mov byte [ebp - 4], 0x14
mov eax, dword [edi + 0x14]
cmp eax, 1
jne 0x42f009
push 6
push str.silent
jmp 0x42f023
cmp eax, 2
jne 0x42f017
push 9
push str.silentall
jmp 0x42f023
cmp eax, 3
jne 0x42f02b
push 0xe
push str.silentcritical
lea ecx, [ebp + 0xc]
call fcn.00407350
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x42f382
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14]
push str._install
call fcn.004071f0
test al, al
jne 0x42f069
push 8
push str._install
lea ecx, [ebp - 0x14]
call fcn.00407350
mov byte [ebp - 4], 0x16
lea edi, [esi + 0xc]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x42f086
push 1
push 0x4aa548
mov ecx, edi
call fcn.004023a0
mov esi, dword [ebp - 0x14]
mov ecx, edi
push dword [esi - 0xc]
push esi
call fcn.004023a0
mov byte [ebp - 4], 0x14
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42f0af
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x42f0c5
push 1
push 0x4aa548
mov ecx, edi
call fcn.004023a0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push dword [edi - 0xc]
lea ecx, [esi + 0xc]
push edi
call fcn.004023a0
mov eax, esi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
add eax, 0xfffffff0
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
jl 0x42f103
cmp edx, dword [ecx]
jne 0x42f103
lock inc dword [eax]
jmp 0x42f13d
mov eax, dword [edx]
add ecx, 4
push 2
mov dword [ebp - 0x18], ecx
push dword [ecx]
mov ecx, edx
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x42f38c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ecx + 4], eax
add ecx, 0x10
mov edx, dword [edx]
inc edx
push edx
push dword [ebp - 0x20]
call fcn.004024f0
mov ecx, dword [ebp - 0x14]
add esp, 8
lea eax, [ecx + 0x10]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x20]
mov ecx, dword [ebp + 8]
push eax
call fcn.0044d870
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 8]
lea ecx, [eax + 0x50]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
cmp dword [eax - 0xc], 0
je 0x42f2b4
mov ecx, dword [eax - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x18]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
jl 0x42f194
cmp edx, dword [ecx]
jne 0x42f194
lock inc dword [eax]
jmp 0x42f1ce
mov eax, dword [edx]
add ecx, 4
push 2
mov dword [ebp - 0x24], ecx
push dword [ecx]
mov ecx, edx
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x42f391
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ecx + 4], eax
add ecx, 0x10
mov edx, dword [edx]
inc edx
push edx
push dword [ebp - 0x28]
call fcn.004024f0
mov ecx, dword [ebp - 0x18]
add esp, 8
lea eax, [ecx + 0x10]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x18]
push 1
push 0x4ab090
call fcn.004023a0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
call fcn.00464a30
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
call fcn.0040ccb0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004023a0
mov byte [ebp - 4], 0x1c
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f246
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
je 0x42f25e
push 1
push 0x4aa548
lea ecx, [esi + 0xc]
call fcn.004023a0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push dword [esi - 0xc]
lea ecx, [ecx + 0xc]
push esi
call fcn.004023a0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42f28b
push eax
call fcn.00473d1a
add esp, 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0x19
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42f2b4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
lea ecx, [ecx + 0x9c]
call fcn.00447690
mov byte [ebp - 4], 0x14
mov eax, ebx
mov edx, dword [ebp - 0x14]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f2e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42f2fb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42f31a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
push 1
push 0xc000008c
call fcn.004086a0
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
call fcn.004024e0
call fcn.004024e0
int3