Function at 0x418b38
Capabilities:
Delete file

Disassembly:
push 0x1c
mov eax, 0x457b2c
call fcn.0043cc79
mov ebx, ecx
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 8]
add eax, 0x84
push eax
push str.ClientConfigPath
mov ecx, edi
call fcn.00429f0b
push str..dat
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00429b0e
and 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.004394d1
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x18]
call fcn.004041ca
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push str.ServerConfigPath
call fcn.00429f0b
mov eax, dword [ebx + 4]
mov esi, str.true
mov al, byte [eax + 0x80]
test al, al
je 0x418be3
push esi
lea ecx, [ebp + 0xc]
call fcn.00402eb5
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
push str.JustDownloadUpdates
mov ecx, edi
call fcn.00429f0b
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov eax, dword [ebx + 4]
mov al, byte [eax + 0x81]
test al, al
je 0x418c1c
push esi
lea ecx, [ebp + 0xc]
call fcn.00402eb5
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
push str.StartMinimized
mov ecx, edi
call fcn.00429f0b
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebx + 4]
push 0
add ecx, 4
call fcn.0040301c
push eax
push 0x469d4c
mov ecx, edi
call fcn.00429f0b
mov eax, dword [ebx + 4]
mov ecx, edi
add eax, 0x8c
push eax
push str.restartapp
call fcn.00429f0b
mov eax, dword [ebx + 4]
mov ecx, edi
add eax, 0x90
push eax
push str.restartappcmd
call fcn.00429f0b
mov eax, dword [ebx + 4]
mov al, byte [eax + 0x94]
test al, al
je 0x418c99
push esi
lea ecx, [ebp + 0xc]
call fcn.00402eb5
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
push str.startappfirst
mov ecx, edi
call fcn.00429f0b
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov eax, dword [ebx + 4]
mov al, byte [eax + 0x82]
test al, al
je 0x418cd2
push esi
lea ecx, [ebp + 0xc]
call fcn.00402eb5
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 4
push eax
push str.NoGUI
mov ecx, edi
call fcn.00429f0b
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov eax, dword [ebx + 4]
mov al, byte [eax + 0x83]
test al, al
je 0x418d0b
push esi
lea ecx, [ebp + 0xc]
call fcn.00402eb5
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
push str.ReducedGUI
mov ecx, edi
call fcn.00429f0b
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
push str.checknow
lea ecx, [ebp + 8]
call fcn.00402eb5
mov byte [ebp - 4], 6
cmp dword [ebx + 0x10], 1
jne 0x418d29
mov esi, str.silent
jmp 0x418d41
cmp dword [ebx + 0x10], 2
jne 0x418d36
mov esi, str.silentall
jmp 0x418d41
cmp dword [ebx + 0x10], 3
jne 0x418d52
mov esi, str.silentcritical
push esi
call fcn.00441e1e
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00402e18
push 0x469e20
lea ecx, [ebp + 0xc]
call fcn.00402eb5
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.00429ede
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00429ede
mov ecx, dword [edi + 0x10]
sub ecx, 0x10
call fcn.00401b37
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.00429e9f
mov eax, dword [ebx + 4]
lea ecx, [eax + 0x50]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x4c]
cmp dword [ecx - 0xc], 0
je 0x418e45
add ecx, 0xfffffff0
call fcn.00401b37
add eax, 0x10
mov dword [ebp + 0xc], eax
push 0x469e40
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.00401881
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
call fcn.00435930
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x18]
call fcn.00404935
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0xc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004019fa
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00429ede
lea ecx, [ebp - 0x24]
call fcn.004021be
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov edi, dword [ebx + 4]
add edi, 0x98
cmp dword [edi + 0xc], 0
je 0x418ead
lea ebx, [edi + 8]
push ebx
call fcn.0042704b
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004270a0
test eax, eax
jne 0x418e7c
push dword [ebp - 0x18]
mov eax, dword [edi + 0x20]
add eax, 4
push eax
push ebx
call fcn.004272f5
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004272b6
mov byte [ebp - 4], 0xc
xor eax, eax
push dword [ebp + 0xc]
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [edi + 0x24]
call fcn.00411964
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
lea ecx, [esi - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
xor eax, eax
call fcn.0043cc42
ret 8