Function at 0x433c53
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x480e78
call fcn.004542d2
mov ebx, edx
mov edi, ecx
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push str.ApplyUpdate
lea ecx, [ebp - 0x30]
call fcn.0041e3a4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040aa2d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040aa2d
mov byte [ebp - 4], 2
cmp byte [edi], 0
je 0x433e40
cmp byte [edi + 0x17], 0
lea ecx, [ebp - 0x20]
je 0x433dea
xor ebx, ebx
xor edx, edx
mov byte [ebp - 0xd], bl
call fcn.0041eb87
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040943e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x433e40
call fcn.0041f8c8
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x433cfa
cmp esi, 0xb7
jne 0x433e46
mov dword [ebp - 0x14], ebx
push str.update.xml
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00409299
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
push eax
call fcn.0040943e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040aa0b
mov edx, dword [ebp - 0x18]
push ecx
push ebx
push ecx
mov ecx, dword [edi + 8]
call fcn.0041cb53
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x433e46
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.0040bf35
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433d7d
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], 0xffffffff
je 0x433d75
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x24], 0xffffffff
mov esi, dword [ebp - 0x14]
jmp 0x433e46
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.00421b1e
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x433da3
push dword [ebp - 0x18]
push dword [edi + 4]
push str.Update_mver:_u_file:_s_has_broken_signature
call fcn.0041defb
add esp, 0xc
jmp 0x433d5e
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], 0xffffffff
je 0x433dba
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x24], 0xffffffff
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xd]
mov ecx, dword [edi + 4]
push eax
call fcn.0042a13b
mov esi, eax
mov dword [ebp - 0x14], esi
pop ecx
test esi, esi
jne 0x433e46
cmp byte [ebp - 0xd], al
je 0x433e46
lea ecx, [ebp - 0x1c]
call fcn.0040a2b2
lea ecx, [ebp - 0x18]
call fcn.0040a2b2
jmp 0x433d75
mov edx, str..cab
call fcn.0041eb87
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
push eax
call fcn.0040943e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040aa0b
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x433e40
push ecx
push 0
push ecx
mov ecx, dword [edi + 8]
call fcn.0041cb53
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x433e46
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.004339d1
pop ecx
mov esi, eax
jmp 0x433e43
push 0x52
pop esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x433e84
push 9
pop edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x433e81
cmp eax, 0x20
je 0x433e71
cmp eax, 5
jne 0x433e81
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x433e52
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], 0
je 0x433e95
call fcn.0041ece0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040aa0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041e418
mov eax, esi
call fcn.004542a0
ret