Function at 0x44d060
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a395
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x569080]
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.00467810
push str..dat
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004670a0
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.0048c5a0
lea eax, [ebp - 0x18]
lea ecx, [edi + 0x18]
push eax
call fcn.00409a20
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
push str.ServerConfigPath
call fcn.00467810
mov eax, dword [ebx + 8]
or ebx, 0xffffffff
cmp byte [eax + 0x84], 0
je 0x44d195
call fcn.004047f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44d920
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, 0x5321d0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x44d148
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d154
push 4
push 0x5321d0
call fcn.00403870
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
push str.JustDownloadUpdates
mov ecx, edi
call fcn.00467810
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 0x44d195
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x44d23b
call fcn.004047f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44d920
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov eax, 0x5321d0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x44d1ee
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d1fa
push 4
push 0x5321d0
call fcn.00403870
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14]
push eax
push str.StartMinimized
mov ecx, edi
call fcn.00467810
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 0x44d238
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0
jle 0x44d92a
push dword [eax + 4]
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x536864
call fcn.00467810
mov eax, dword [esi + 8]
mov ecx, edi
add eax, 0x94
push eax
push str.restartapp
call fcn.00467810
mov eax, dword [esi + 8]
mov ecx, edi
add eax, 0x98
push eax
push str.restartappcmd
call fcn.00467810
mov eax, dword [esi + 8]
cmp byte [eax + 0x9c], 0
je 0x44d32a
call fcn.004047f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44d920
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
mov eax, 0x5321d0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x44d2da
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d2e6
push 4
push 0x5321d0
call fcn.00403870
mov byte [ebp - 4], 8
lea eax, [ebp - 0x14]
push eax
push str.startappfirst
mov ecx, edi
call fcn.00467810
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 0x44d327
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x44d3ca
call fcn.004047f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44d920
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
mov eax, 0x5321d0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x44d380
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d38c
push 4
push 0x5321d0
call fcn.00403870
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x14]
push eax
push str.NoGUI
mov ecx, edi
call fcn.00467810
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 0x44d3ca
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp byte [eax + 0x87], 0
je 0x44d46e
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x44d920
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xd
mov eax, 0x5321d0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x44d421
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d42d
push 4
push 0x5321d0
call fcn.00403870
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x14]
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
push str.ReducedGUI
call fcn.00467810
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 0x44d471
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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 0x44d514
call fcn.004047f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x44d920
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x10
mov eax, 0x5321d0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x44d4ca
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d4d6
push 4
push 0x5321d0
call fcn.00403870
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x14]
push eax
push str.WinRTGUI
mov ecx, edi
call fcn.00467810
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 0x44d514
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp byte [eax + 0x89], 0
je 0x44d5b8
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x44d920
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x13
mov eax, 0x5321d0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x44d56b
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d577
push 4
push 0x5321d0
call fcn.00403870
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x14]
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
push str.ForceMSIBasicUI
call fcn.00467810
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 0x44d5bb
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov edi, dword [ebp + 8]
call fcn.004047f0
mov ebx, eax
test ebx, ebx
je 0x44d920
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x16
mov eax, str.checknow
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x44d5ff
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d60b
push 8
push str.checknow
call fcn.00403870
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
cmp eax, 1
jne 0x44d623
push 6
push str.silent
jmp 0x44d63d
cmp eax, 2
jne 0x44d631
push 9
push str.silentall
jmp 0x44d63d
cmp eax, 3
jne 0x44d645
push 0xe
push str.silentcritical
lea ecx, [ebp - 0x14]
call fcn.00403870
call fcn.004047f0
mov ebx, eax
test ebx, ebx
je 0x44d920
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x18
mov eax, str._install
lea ecx, [ebp - 0x1c]
test eax, 0xffff0000
jne 0x44d689
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x44d695
push 8
push str._install
call fcn.00403870
mov byte [ebp - 4], 0x19
lea ebx, [edi + 0xc]
mov eax, dword [ebx]
mov dword [ebp - 0x24], ebx
cmp dword [eax - 0xc], 0
je 0x44d6b5
push 1
push 0x534b40
mov ecx, ebx
call fcn.00402660
mov esi, dword [ebp - 0x1c]
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.00402660
mov byte [ebp - 4], 0x17
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44d6ee
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x44d704
push 1
push 0x534b40
mov ecx, ebx
call fcn.00402660
mov esi, dword [ebp - 0x14]
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.00402660
mov ecx, dword [edi + 0x10]
sub ecx, 0x10
call fcn.00402800
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 0x1c
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x44d73d
push 1
push 0x534b40
mov ecx, ebx
call fcn.00402660
push 0x22
mov ecx, ebx
call fcn.0040bd00
push dword [edi - 0xc]
mov ecx, ebx
push edi
call fcn.00402660
push 0x22
mov ecx, ebx
call fcn.0040bd00
mov ecx, dword [ebp - 0x10]
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 0x44d87b
add ecx, 0xfffffff0
call fcn.00402800
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1c]
push 1
push 0x535bb4
call fcn.00402660
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
call fcn.00485ae0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x20]
call fcn.0040e230
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402660
mov byte [ebp - 4], 0x1f
or eax, 0xffffffff
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44d803
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x44d819
push 1
push 0x534b40
mov ecx, ebx
call fcn.00402660
mov esi, dword [ebp - 0x1c]
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.00402660
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x44d842
push eax
call fcn.004ddca1
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0x1c
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44d878
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
lea ecx, [ecx + 0xa0]
call fcn.00462400
mov byte [ebp - 4], 0x17
lea ecx, [edi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44d8b4
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x525578]
mov ecx, ebx
call edi
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44d8dc
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44d90a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
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.004027d0
push 0x8000000b
call fcn.004027d0
int3