Function at 0x4444f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8eed
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x507074]
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, 0x8c
push eax
push str.ClientConfigPath
mov ecx, esi
call fcn.0045e0f0
push str..dat
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0045d8c0
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.0047dfe0
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.004090b0
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push str.ServerConfigPath
call fcn.0045e0f0
mov eax, dword [edi + 8]
or ebx, 0xffffffff
cmp byte [eax + 0x84], 0
je 0x4445fe
call fcn.004043d0
test eax, eax
je 0x444b7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
push 0x4e151c
call fcn.00403470
test al, al
jne 0x4445cc
push 4
push 0x4e151c
lea ecx, [ebp + 0xc]
call fcn.004035e0
mov byte [ebp - 4], 2
lea eax, [ebp + 0xc]
push eax
push str.JustDownloadUpdates
mov ecx, esi
call fcn.0045e0f0
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 0x4445fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
cmp byte [eax + 0x85], 0
je 0x44467a
call fcn.004043d0
test eax, eax
je 0x444b7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
push 0x4e151c
call fcn.00403470
test al, al
jne 0x444648
push 4
push 0x4e151c
lea ecx, [ebp + 0xc]
call fcn.004035e0
mov byte [ebp - 4], 5
lea eax, [ebp + 0xc]
push eax
push str.StartMinimized
mov ecx, esi
call fcn.0045e0f0
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 0x44467a
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 0x444b84
push dword [eax + 4]
mov ecx, esi
push 0x4e505c
call fcn.0045e0f0
mov eax, dword [edi + 8]
mov ecx, esi
add eax, 0x94
push eax
push str.restartapp
call fcn.0045e0f0
mov eax, dword [edi + 8]
mov ecx, esi
add eax, 0x98
push eax
push str.restartappcmd
call fcn.0045e0f0
mov eax, dword [edi + 8]
cmp byte [eax + 0x9c], 0
je 0x44473c
call fcn.004043d0
test eax, eax
je 0x444b7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xc]
push 0x4e151c
call fcn.00403470
test al, al
jne 0x44470a
push 4
push 0x4e151c
lea ecx, [ebp + 0xc]
call fcn.004035e0
mov byte [ebp - 4], 8
lea eax, [ebp + 0xc]
push eax
push str.startappfirst
mov ecx, esi
call fcn.0045e0f0
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 0x44473c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
cmp byte [eax + 0x86], 0
je 0x4447b8
call fcn.004043d0
test eax, eax
je 0x444b7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0xc]
push 0x4e151c
call fcn.00403470
test al, al
jne 0x444786
push 4
push 0x4e151c
lea ecx, [ebp + 0xc]
call fcn.004035e0
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0xc]
push eax
push str.NoGUI
mov ecx, esi
call fcn.0045e0f0
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 0x4447b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
cmp byte [eax + 0x87], 0
je 0x444834
call fcn.004043d0
test eax, eax
je 0x444b7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0xc]
push 0x4e151c
call fcn.00403470
test al, al
jne 0x444802
push 4
push 0x4e151c
lea ecx, [ebp + 0xc]
call fcn.004035e0
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0xc]
push eax
push str.ReducedGUI
mov ecx, esi
call fcn.0045e0f0
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 0x444834
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
cmp byte [eax + 0x88], 0
je 0x4448b0
call fcn.004043d0
test eax, eax
je 0x444b7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0xc]
push 0x4e151c
call fcn.00403470
test al, al
jne 0x44487e
push 4
push 0x4e151c
lea ecx, [ebp + 0xc]
call fcn.004035e0
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0xc]
push eax
push str.ForceMSIBasicUI
mov ecx, esi
call fcn.0045e0f0
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 0x4448b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004043d0
test eax, eax
je 0x444b7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0xc]
push str.checknow
call fcn.00403470
test al, al
jne 0x4448ee
push 8
push str.checknow
lea ecx, [ebp + 0xc]
call fcn.004035e0
mov byte [ebp - 4], 0x14
mov eax, dword [edi + 0x14]
cmp eax, 1
jne 0x444903
push 6
push str.silent
jmp 0x44491d
cmp eax, 2
jne 0x444911
push 9
push str.silentall
jmp 0x44491d
cmp eax, 3
jne 0x444925
push 0xe
push str.silentcritical
lea ecx, [ebp + 0xc]
call fcn.004035e0
call fcn.004043d0
test eax, eax
je 0x444b7a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14]
push str._install
call fcn.00403470
test al, al
jne 0x444963
push 8
push str._install
lea ecx, [ebp - 0x14]
call fcn.004035e0
mov byte [ebp - 4], 0x16
lea edi, [esi + 0xc]
mov eax, dword [edi]
mov dword [ebp - 0x18], edi
cmp dword [eax - 0xc], 0
je 0x444983
push 1
push 0x4e3e90
mov ecx, edi
call fcn.00402420
mov esi, dword [ebp - 0x14]
mov ecx, edi
push dword [esi - 0xc]
push esi
call fcn.00402420
mov byte [ebp - 4], 0x14
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4449ac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4449c2
push 1
push 0x4e3e90
mov ecx, edi
call fcn.00402420
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
push dword [edi - 0xc]
push edi
call fcn.00402420
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
sub ecx, 0x10
call fcn.004025a0
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0045e020
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 8]
lea ecx, [eax + 0x54]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x50]
cmp dword [ecx - 0xc], 0
je 0x444afc
add ecx, 0xfffffff0
call fcn.004025a0
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 8]
push 1
push 0x4e5164
call fcn.00402420
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.00477ec0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call fcn.0040d7e0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp + 8]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402420
mov byte [ebp - 4], 0x1c
or eax, 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x444a90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0xc]
cmp dword [eax - 0xc], 0
je 0x444aab
push 1
push 0x4e3e90
call fcn.00402420
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
push dword [esi - 0xc]
push esi
call fcn.00402420
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x444ad2
push eax
call fcn.004a03e1
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x19
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x444afc
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 + 0xa0]
call fcn.00459260
mov byte [ebp - 4], 0x14
mov edx, ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x444b2a
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 0x444b45
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 0x444b64
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.00402570
push 0x8000000b
call fcn.00402570
int3