Function at 0x42c1b6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
add eax, 0x64
push eax
push str.ClientConfigPath
mov eax, esi
call fcn.00421ab8
push str..dat
lea ecx, [ebp - 4]
mov eax, esi
call fcn.00421b1a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp + 0x10]
push 0
lea eax, [ebp - 4]
call fcn.0041c62c
add esi, 0x18
lea ebx, [ebp - 4]
call fcn.0040444c
mov esi, dword [ebp + 0xc]
mov eax, ebx
push eax
push str.ServerConfigPath
mov eax, esi
call fcn.00421ab8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x60], 0
mov edi, str.true
je 0x42c24f
push edi
lea eax, [ebp + 0xc]
call fcn.00401895
lea eax, [ebp + 0xc]
push eax
push str.JustDownloadUpdates
mov eax, esi
call fcn.00421ab8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x61], 0
je 0x42c27c
push edi
lea eax, [ebp + 0xc]
call fcn.00401895
lea eax, [ebp + 0xc]
push eax
push str.StartMinimized
mov eax, esi
call fcn.00421ab8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebx + 0x10]
add eax, 4
push eax
push 0x43c8fc
mov eax, esi
call fcn.00421ab8
mov eax, dword [ebx + 0x10]
add eax, 0x6c
push eax
push str.restartapp
mov eax, esi
call fcn.00421ab8
mov eax, dword [ebx + 0x10]
add eax, 0x70
push eax
push str.restartappcmd
mov eax, esi
call fcn.00421ab8
push str.checknow
lea eax, [ebp + 0xc]
call fcn.00401895
mov eax, dword [ebx + 0x1c]
cmp eax, 1
jne 0x42c2d1
push str.silent
jmp 0x42c2e7
cmp eax, 2
jne 0x42c2dd
push str.silentall
jmp 0x42c2e7
cmp eax, 3
jne 0x42c2f0
push str.silentcritical
lea eax, [ebp + 0xc]
push eax
call fcn.0040186f
push 0x43c990
lea eax, [ebp + 8]
call fcn.00401895
lea eax, [ebp + 8]
push eax
mov eax, esi
call fcn.00421a14
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040169e
lea eax, [ebp + 0xc]
push eax
mov eax, esi
call fcn.00421a14
mov eax, dword [esi + 0x10]
sub eax, 0x10
call fcn.00401a81
mov edi, eax
lea eax, [ebp + 0x10]
push eax
add edi, 0x10
mov eax, esi
mov dword [ebp + 0x10], edi
call fcn.00421a3b
mov eax, dword [ebx + 0x10]
lea ecx, [eax + 0x44]
mov eax, dword [eax + 0x40]
cmp dword [eax - 0xc], 0
mov dword [ebp - 8], ecx
je 0x42c3d2
add eax, 0xfffffff0
call fcn.00401a81
add eax, 0x10
mov dword [ebp + 8], eax
push 0x43c9cc
lea eax, [ebp + 8]
push eax
call fcn.00401c6f
mov edi, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041e09d
pop ecx
lea edi, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.0042946e
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 8]
call fcn.004019ec
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040169e
lea eax, [ebp + 8]
push eax
mov eax, esi
call fcn.00421a14
cmp dword [ebp - 0x14], 0
je 0x42c3c4
push dword [ebp - 0x14]
call fcn.0040f8eb
pop ecx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040169e
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx + 0x10]
add eax, 0x74
call fcn.004231c0
lea eax, [edi - 0x10]
call fcn.0040169e
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc