Function at 0x430ad9
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x46ab49
call fcn.00463b20
mov dword [ebp - 0x28], edx
mov ebx, ecx
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push str.ApplyUpdate
lea ecx, [ebp - 0x38]
call fcn.0041bb53
and dword [ebp - 4], 0
call fcn.004068d0
push eax
lea ecx, [ebp - 0x18]
call fcn.00405f99
mov byte [ebp - 4], 2
call fcn.004068d0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405f99
mov byte [ebp - 4], 4
cmp byte [ebx], 0
mov dword [ebp - 0x20], 9
jne 0x430b3e
mov esi, dword [ebp - 0x18]
push 0x52
pop edi
jmp 0x430cea
cmp byte [ebx + 0x17], 0
lea ecx, [ebp - 0x24]
je 0x430c90
xor edx, edx
mov byte [ebp - 0xd], 0
call fcn.0041c23b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040764f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
cmp dword [ebp - 0x1c], 0
je 0x430b33
mov ecx, dword [ebp - 0x1c]
call fcn.0041cfac
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x430b99
cmp edi, 0xb7
jne 0x430c8b
and dword [ebp - 0x14], 0
push str.update.xml
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.004074c4
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
push eax
call fcn.0040764f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00406985
mov esi, dword [ebp - 0x18]
mov edx, esi
push 0
push ecx
mov ecx, dword [ebx + 8]
call fcn.0041a2b7
mov edi, eax
mov dword [ebp - 0x14], edi
pop ecx
pop ecx
test edi, edi
jne 0x430ced
and dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
or edi, 0xffffffff
push esi
mov dword [ebp - 0x2c], edi
call fcn.00409673
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x14], eax
test eax, eax
je 0x430c22
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], edi
je 0x430c1a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
jmp 0x430ced
push 0
mov ecx, esi
call fcn.0041ed18
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x430c46
push esi
push dword [ebx + 4]
push str.Update_mver:_u_file:_s_has_broken_signature
call fcn.0041b909
add esp, 0xc
jmp 0x430c05
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], edi
je 0x430c5b
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xd]
push eax
mov edx, esi
call fcn.00427691
mov edi, eax
mov dword [ebp - 0x14], edi
pop ecx
test edi, edi
jne 0x430ced
cmp byte [ebp - 0xd], al
je 0x430ced
lea ecx, [ebp - 0x1c]
call fcn.00406358
lea ecx, [ebp - 0x18]
call fcn.00406358
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x430ced
mov edx, str..cab
call fcn.0041c23b
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
push eax
call fcn.0040764f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00406985
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x430cc2
push 0x52
pop edi
jmp 0x430cea
push 0
push ecx
mov ecx, dword [ebx + 8]
mov edx, esi
call fcn.0041a2b7
mov edi, eax
mov dword [ebp - 0x14], edi
pop ecx
pop ecx
test edi, edi
jne 0x430ced
push dword [ebp - 0x28]
mov edx, dword [ebx + 4]
mov ecx, esi
call fcn.00430816
pop ecx
mov edi, eax
mov dword [ebp - 0x14], edi
cmp dword [esi - 0xc], 0
je 0x430d24
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x430d21
cmp eax, 0x20
je 0x430d10
cmp eax, 5
jne 0x430d21
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x20], 1
jns 0x430cf3
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], 0
je 0x430d35
call fcn.0041c39d
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041bbc1
mov eax, edi
call fcn.00463ae9
ret