Function at 0x432fe7
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x47b649
call fcn.00450508
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.0041dfa0
and dword [ebp - 4], 0
call fcn.00409480
push eax
lea ecx, [ebp - 0x18]
call fcn.00408c39
mov byte [ebp - 4], 2
call fcn.00409480
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408c39
mov byte [ebp - 4], 4
cmp byte [ebx], 0
mov dword [ebp - 0x20], 9
je 0x4331f0
cmp byte [ebx + 0x17], 0
lea ecx, [ebp - 0x24]
je 0x433199
xor edx, edx
mov byte [ebp - 0xd], 0
call fcn.0041e774
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040a1c3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4331f0
call fcn.0041f4fc
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4330a2
cmp edi, 0xb7
jne 0x433194
and dword [ebp - 0x14], 0
push str.update.xml
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.0040a03a
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
push eax
call fcn.0040a1c3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00409575
mov esi, dword [ebp - 0x18]
mov edx, esi
push 0
push ecx
mov ecx, dword [ebx + 8]
call fcn.0041c6ed
mov edi, eax
mov dword [ebp - 0x14], edi
pop ecx
pop ecx
test edi, edi
jne 0x4331f9
and dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
or edi, 0xffffffff
push esi
mov dword [ebp - 0x2c], edi
call fcn.0040c4a0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43312b
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], edi
je 0x433123
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
jmp 0x4331f9
push 0
mov ecx, esi
call fcn.004215c0
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x43314f
push esi
push dword [ebx + 4]
push str.Update_mver:_u_file:_s_has_broken_signature
call fcn.0041dafb
add esp, 0xc
jmp 0x43310e
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], edi
je 0x433164
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.004296e9
mov edi, eax
mov dword [ebp - 0x14], edi
pop ecx
test edi, edi
jne 0x4331f9
cmp byte [ebp - 0xd], al
je 0x4331f9
lea ecx, [ebp - 0x1c]
call fcn.00408f6d
lea ecx, [ebp - 0x18]
call fcn.00408f6d
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x4331f9
mov edx, str..cab
call fcn.0041e774
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
push eax
call fcn.0040a1c3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00409575
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4331f3
push 0
push ecx
mov ecx, dword [ebx + 8]
mov edx, esi
call fcn.0041c6ed
mov edi, eax
mov dword [ebp - 0x14], edi
pop ecx
pop ecx
test edi, edi
jne 0x4331f9
push dword [ebp - 0x28]
mov edx, dword [ebx + 4]
mov ecx, esi
call fcn.00432d24
pop ecx
mov edi, eax
jmp 0x4331f6
mov esi, dword [ebp - 0x18]
push 0x52
pop edi
mov dword [ebp - 0x14], edi
cmp dword [esi - 0xc], 0
je 0x433230
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x43322d
cmp eax, 0x20
je 0x43321c
cmp eax, 5
jne 0x43322d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x20], 1
jns 0x4331ff
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], 0
je 0x433241
call fcn.0041e914
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
call fcn.00409575
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041e015
mov eax, edi
call fcn.004504d1
ret