Function at 0x4485a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d37bd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx + 8]
mov edi, dword [ebp + 8]
add eax, 0x8c
push eax
push str.ClientConfigPath
mov ecx, edi
call fcn.00464a20
push str..dat
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00464180
mov dword [ebp - 4], 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004879b0
lea eax, [ebp - 0x18]
lea ecx, [edi + 0x18]
push eax
call fcn.004095a0
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
push str.ServerConfigPath
call fcn.00464a20
mov eax, dword [ebx + 8]
or ebx, 0xffffffff
cmp byte [eax + 0x84], 0
je 0x4486cf
call fcn.00404710
mov dword [ebp - 0x20], eax
test eax, eax
je 0x448d69
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push 0x4ee200
call fcn.00403720
test al, al
jne 0x44868e
push 4
push 0x4ee200
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
push str.JustDownloadUpdates
mov ecx, edi
call fcn.00464a20
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4486cf
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 8]
cmp byte [eax + 0x85], 0
je 0x44876f
call fcn.00404710
mov dword [ebp - 0x20], eax
test eax, eax
je 0x448d69
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push 0x4ee200
call fcn.00403720
test al, al
jne 0x44872e
push 4
push 0x4ee200
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14]
push eax
push str.StartMinimized
mov ecx, edi
call fcn.00464a20
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44876c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0
jle 0x448d73
push dword [eax + 4]
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x4f1d3c
call fcn.00464a20
mov eax, dword [esi + 8]
mov ecx, edi
add eax, 0x94
push eax
push str.restartapp
call fcn.00464a20
mov eax, dword [esi + 8]
mov ecx, edi
add eax, 0x98
push eax
push str.restartappcmd
call fcn.00464a20
mov eax, dword [esi + 8]
cmp byte [eax + 0x9c], 0
je 0x448858
call fcn.00404710
mov dword [ebp - 0x20], eax
test eax, eax
je 0x448d69
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
push 0x4ee200
call fcn.00403720
test al, al
jne 0x448814
push 4
push 0x4ee200
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x14]
push eax
push str.startappfirst
mov ecx, edi
call fcn.00464a20
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x448855
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 8]
cmp byte [eax + 0x86], 0
je 0x4488f2
call fcn.00404710
mov dword [ebp - 0x20], eax
test eax, eax
je 0x448d69
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
push 0x4ee200
call fcn.00403720
test al, al
jne 0x4488b4
push 4
push 0x4ee200
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
push eax
push str.NoGUI
mov ecx, edi
call fcn.00464a20
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4488f2
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp byte [eax + 0x87], 0
je 0x448990
call fcn.00404710
mov edi, eax
test edi, edi
je 0x448d69
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14]
push 0x4ee200
call fcn.00403720
test al, al
jne 0x44894f
push 4
push 0x4ee200
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x14]
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
push str.ReducedGUI
call fcn.00464a20
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x448993
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp byte [eax + 0x88], 0
je 0x448a30
call fcn.00404710
mov dword [ebp - 0x20], eax
test eax, eax
je 0x448d69
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14]
push 0x4ee200
call fcn.00403720
test al, al
jne 0x4489f2
push 4
push 0x4ee200
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x14]
push eax
push str.ForceMSIBasicUI
mov ecx, edi
call fcn.00464a20
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x448a30
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
call fcn.00404710
mov edi, eax
test edi, edi
je 0x448d69
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x14]
push str.checknow
call fcn.00403720
test al, al
jne 0x448a7a
push 8
push str.checknow
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
cmp eax, 1
jne 0x448a92
push 6
push str.silent
jmp 0x448aac
cmp eax, 2
jne 0x448aa0
push 9
push str.silentall
jmp 0x448aac
cmp eax, 3
jne 0x448ab4
push 0xe
push str.silentcritical
lea ecx, [ebp - 0x14]
call fcn.004038b0
call fcn.00404710
mov edi, eax
test edi, edi
je 0x448d69
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x20]
push str._install
call fcn.00403720
test al, al
jne 0x448afe
push 8
push str._install
lea ecx, [ebp - 0x20]
call fcn.004038b0
mov byte [ebp - 4], 0x16
mov edi, dword [ebp + 8]
add edi, 0xc
mov dword [ebp - 0x1c], edi
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x448b21
push 1
push 0x4f0b70
mov ecx, edi
call fcn.004025d0
mov esi, dword [ebp - 0x20]
mov ecx, edi
push dword [esi - 0xc]
push esi
call fcn.004025d0
mov byte [ebp - 4], 0x14
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x448b59
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x448b6f
push 1
push 0x4f0b70
mov ecx, edi
call fcn.004025d0
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push dword [edi - 0xc]
push edi
call fcn.004025d0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
sub ecx, 0x10
call fcn.00402770
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00464950
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 0x50]
lea esi, [eax + 0x54]
cmp dword [ecx - 0xc], 0
je 0x448cc4
add ecx, 0xfffffff0
call fcn.00402770
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x20]
push 1
push 0x4f1e44
call fcn.004025d0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x38]
mov ecx, esi
call fcn.004810d0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.0040de60
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x20]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025d0
mov byte [ebp - 4], 0x1c
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x448c49
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x448c63
push 1
push 0x4f0b70
call fcn.004025d0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push dword [esi - 0xc]
push esi
call fcn.004025d0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x448c8a
push eax
call fcn.004aaaa1
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0x19
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x448cc4
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x2c]
call esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
lea ecx, [ecx + 0xa0]
call fcn.0045f1c0
mov byte [ebp - 4], 0x14
mov ecx, ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x448d01
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x448d28
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x448d53
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
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.00402740
push 0x8000000b
call fcn.00402740
int3