Function at 0x428220
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e38fa
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x66c488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call fcn.0048750f
test eax, eax
jne 0x4282cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x260]
mov esi, eax
call fcn.0042d340
push esi
push 0x82000002
push dword [eax]
push str.launcher_error_:__s___0x_p____d
push 0x674ec4
call fcn.00414540
mov eax, dword [edi + 0x260]
add esp, 0x18
mov dword [edi + 0x268], eax
mov eax, dword [edi + 0x3c4]
mov dword [edi + 0x260], 0x10
mov dword [edi + 0x26c], 0x82000002
mov dword [edi + 0x270], esi
test eax, eax
je 0x4282c8
push dword [edi + 0x3c8]
push 0x82000002
call eax
add esp, 8
xor eax, eax
jmp 0x4285e1
push 0x444
call fcn.0046c5ad
add esp, 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4282f6
mov ecx, eax
call fcn.00434240
jmp 0x4282f8
xor eax, eax
push 0x28
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x120], eax
call fcn.0046c5ad
add esp, 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x428329
mov ecx, eax
call fcn.0040c960
jmp 0x42832b
xor eax, eax
push 0x28
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x220], eax
call fcn.0046c5ad
add esp, 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x42835c
mov ecx, eax
call fcn.0040c960
jmp 0x42835e
xor eax, eax
push 0x2c
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x224], eax
call fcn.0046c5ad
mov esi, eax
add esp, 4
mov dword [ebp - 0x154], esi
mov dword [ebp - 4], 3
test esi, esi
je 0x42839e
push 0x2c
push 0
push esi
call fcn.005b41e0
add esp, 0xc
mov ecx, esi
call fcn.00426390
jmp 0x4283a0
xor eax, eax
push 0x44
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x228], eax
call fcn.0046c5ad
add esp, 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4283d1
mov ecx, eax
call fcn.0040f420
jmp 0x4283d3
xor eax, eax
mov dword [edi + 0x39c], eax
push 0x284
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x40], 0x421b60
call fcn.0046c5ad
add esp, 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x428410
mov ecx, eax
call fcn.0046afe0
mov ecx, eax
jmp 0x428412
xor ecx, ecx
mov dword [edi + 0x11c], ecx
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 8]
test eax, eax
jne 0x42844d
mov eax, dword [edi + 0x11c]
push dword [eax + 0x27c]
push str.http_downloader_creation_failed___s_
push 0x674ec4
call fcn.00414540
add esp, 0xc
xor eax, eax
jmp 0x4285e1
push str.Launcher.svl
lea ecx, [ebp - 0x28]
call fcn.00411640
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 6
push eax
lea ecx, [edi + 0x274]
call fcn.00411aa0
test al, al
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
sete bl
cmp eax, 0x10
jb 0x428493
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ecd0
test bl, bl
je 0x428513
call fcn.0046d771
mov ecx, eax
test ecx, ecx
jne 0x4284ac
push 0x80004005
call fcn.0040aa40
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x154], esi
push 0x9c
mov dword [ebp - 4], 7
call fcn.0047d4ea
test eax, eax
je 0x4284e6
push 0x9c
push eax
lea ecx, [ebp - 0x154]
call fcn.0040a560
mov esi, dword [ebp - 0x154]
push esi
push 0x674ec4
call fcn.00414540
add esp, 8
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x428513
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [ebp - 0x150]
xorps xmm0, xmm0
push eax
push str.UpdaterModifier.exe
movlpd qword [ebp - 0x150], xmm0
movlpd qword [ebp - 0x148], xmm0
movlpd qword [ebp - 0x140], xmm0
call fcn.0047dabf
test eax, eax
je 0x428550
push str.UpdaterModifier.exe
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xbe8
call fcn.0046c5ad
add esp, 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x428578
push edi
mov ecx, eax
call fcn.004151d0
jmp 0x42857a
xor eax, eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0xc], eax
mov dword [edi + 0x3d4], 1
call fcn.0046a380
test eax, eax
jne 0x4285ab
push str.Launcher_thread_create_failed
push 0x674ec4
call fcn.00414540
add esp, 8
push 0
mov dword [edi + 0x3d8], 0
call fcn.005c25d2
mov dword [edi + 0x250], eax
add esp, 4
mov dword [edi + 0x254], edx
mov eax, 1
mov dword [edi + 0x3dc], 0
mov byte [edi + 0x3e0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b07f1
mov esp, ebp
pop ebp
ret