Function at 0x4345b5
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x482886
call fcn.00456992
mov edi, edx
mov esi, ecx
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push str.ApplyUpdate
lea ecx, [ebp - 0x30]
call fcn.0041e6cc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040aaed
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040aaed
mov byte [ebp - 4], 2
or ebx, 0xffffffff
cmp byte [esi], 0
je 0x43479c
cmp byte [esi + 0x17], 0
lea ecx, [ebp - 0x20]
je 0x434747
xor edx, edx
mov byte [ebp - 0xd], 0
call fcn.0041eeb3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040951e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43479c
call fcn.0041fca5
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43465c
cmp eax, 0xb7
jne 0x4347a3
and dword [ebp - 0x18], 0
push str.update.xml
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00409379
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
push eax
call fcn.0040951e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040aacb
mov edx, dword [ebp - 0x14]
push ecx
push 0
push ecx
mov ecx, dword [esi + 8]
call fcn.0041ce33
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4347a3
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0040c04f
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4346dd
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], ebx
je 0x4347a3
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], ebx
jmp 0x4347a3
mov ecx, dword [ebp - 0x14]
push 0
call fcn.00421f7f
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
je 0x434704
push dword [ebp - 0x14]
push dword [esi + 4]
push str.Update_mver:_u_file:_s_has_broken_signature
call fcn.0041e1d8
add esp, 0xc
jmp 0x4346bf
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], ebx
je 0x434719
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], ebx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xd]
mov ecx, dword [esi + 4]
push eax
call fcn.0042a783
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
jne 0x4347a3
cmp byte [ebp - 0xd], al
je 0x4347a3
lea ecx, [ebp - 0x1c]
call fcn.0040a366
lea ecx, [ebp - 0x14]
call fcn.0040a366
jmp 0x4347a3
mov edx, str..cab
call fcn.0041eeb3
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
push eax
call fcn.0040951e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040aacb
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x43479c
push ecx
push 0
push ecx
mov ecx, dword [esi + 8]
call fcn.0041ce33
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4347a3
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00434333
pop ecx
mov dword [ebp - 0x18], eax
jmp 0x4347a3
mov dword [ebp - 0x18], 0x52
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4347de
push 9
pop edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4347de
cmp eax, 0x20
je 0x4347ce
cmp eax, 5
jne 0x4347de
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x4347af
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], 0
je 0x4347ec
call fcn.0041f00c
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040aacb
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x30]
call fcn.0041e740
mov eax, esi
call fcn.00456960
ret