Function at 0x42c550
Capabilities:
Check if file exists
Delete file
Get file attributes
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x5949f0]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42c59b
mov eax, dword [ecx]
jmp 0x42c59d
mov eax, ecx
push 0
push 0x585fa0
mov byte [eax], 0
call fcn.00422fb0
call fcn.00426c70
add esp, 0x18
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x2c
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0050da00
add esp, 0xc
mov dword [esp + 0x18], 0x30
push 0x65
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
call esi
push 0x65
push dword [esp + 0x30]
mov dword [esp + 0x38], eax
call esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
call fcn.0043bb20
test eax, eax
jne 0x42c61b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0050a877
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x180]
call fcn.00426bc0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x188]
mov dword [esp + 0x1cc], 0xf
push eax
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x1cc], 0
mov byte [esp + 0x1bc], 0
call fcn.004230b0
push 1
push 0x5860e4
lea ecx, [esp + 0x1b8]
call fcn.004237b0
mov esi, eax
lea eax, [esp + 0x18]
push eax
call fcn.0043c000
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004238e0
mov eax, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x42c6a0
inc eax
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x1c]
call fcn.00423360
mov eax, dword fs:[0x2c]
lea esi, [esp + 0x1b0]
cmp dword [esp + 0x1c4], 0x10
cmovae esi, dword [esp + 0x1b0]
mov ebx, dword [eax]
mov eax, dword [0x599d14]
mov dword [esp + 0x98], ebx
cmp eax, dword [ebx + 4]
jle 0x42c708
push 0x599d14
call fcn.0050aa47
add esp, 4
cmp dword [0x599d14], 0xffffffff
jne 0x42c708
call fcn.00428000
push 0x534560
call fcn.0050ad9e
add esp, 4
push 0x599d14
call fcn.0050aa08
add esp, 4
push esi
push str.work_path_:_s
push 0
push 0x58616c
push 0x599d18
call fcn.004280e0
add esp, 0x14
mov dword [esp + 0x1dc], 0xf
lea eax, [esp + 0x1b0]
mov dword [esp + 0x1d8], 0
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x1c8], 0
push 0xffffffffffffffff
push 0
push eax
call fcn.004230b0
push 1
push 0x5860e4
lea ecx, [esp + 0x1d0]
call fcn.004237b0
mov esi, eax
lea eax, [esp + 0x18]
push eax
call fcn.0043bf80
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004238e0
push 4
push 0x5862f4
mov ecx, eax
call fcn.004237b0
mov eax, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x42c7a9
inc eax
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x1c]
call fcn.00423360
cmp dword [esp + 0x1dc], 0x10
lea esi, [esp + 0x1c8]
mov eax, dword [0x599d14]
cmovae esi, dword [esp + 0x1c8]
cmp eax, dword [ebx + 4]
jle 0x42c802
push 0x599d14
call fcn.0050aa47
add esp, 4
cmp dword [0x599d14], 0xffffffff
jne 0x42c802
call fcn.00428000
push 0x534560
call fcn.0050ad9e
add esp, 4
push 0x599d14
call fcn.0050aa08
add esp, 4
push esi
push str.client_exe:_s
push 0
push 0x58616c
push 0x599d18
call fcn.004280e0
push ecx
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42c842
mov eax, dword [ecx]
jmp 0x42c844
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0x1e4]
push 0
push eax
call fcn.004230b0
call fcn.00427750
add esp, 0x18
test eax, eax
je 0x42dcaf
cmp dword [esp + 0x194], 0x10
lea edx, [esp + 0x180]
mov ecx, str.kiupgrade.exe
cmovae edx, dword [esp + 0x180]
call fcn.00426d10
mov esi, eax
push esi
push str.kiupgrade.exe
push str._s_pid__d
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x18
test esi, esi
jg 0x42c8ba
mov ecx, esi
call fcn.0042f740
test al, al
je 0x42c8e0
push str.kiupgrade.exe
push str.kill__s
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x14
mov ecx, esi
call fcn.00426f30
push str.checking_rollback
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x10
mov dword [esp + 0xec], 0xf
lea eax, [esp + 0x180]
mov dword [esp + 0xe8], 0
lea ecx, [esp + 0xd8]
mov byte [esp + 0xd8], 0
push 0xffffffffffffffff
push 0
push eax
call fcn.004230b0
push 0xd
push str._rollback.txt
lea ecx, [esp + 0xe0]
call fcn.004237b0
push 0
push 0x585fa0
lea ecx, [esp + 0x128]
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], 0
mov byte [esp + 0x128], 0
call fcn.00422fb0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42c99f
mov eax, dword [ecx]
jmp 0x42c9a1
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0xf4]
push 0
push eax
call fcn.004230b0
call fcn.00427750
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x18
test eax, eax
je 0x42cc45
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42c9f6
mov eax, dword [ecx]
jmp 0x42c9f8
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0xf4]
push 0
push eax
call fcn.004230b0
lea ecx, [esp + 0x98]
call fcn.0042ec50
add esp, 0x18
lea ecx, [esp + 0x120]
push eax
call fcn.00422ba0
mov eax, dword [esp + 0x94]
cmp eax, 0x10
jb 0x42ca49
inc eax
lea ecx, [esp + 0x80]
push eax
push dword [esp + 0x84]
call fcn.00423360
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x188]
mov dword [esp + 0x84], 0xf
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.004230b0
push 1
push 0x5860e4
lea ecx, [esp + 0x70]
call fcn.004237b0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x128]
push ecx
mov ecx, eax
call fcn.004238e0
cmp dword [esp + 0x134], 0x10
lea eax, [esp + 0x80]
lea edi, [esp + 0x120]
cmovae edi, dword [esp + 0x120]
push eax
call fcn.0043bfc0
cmp dword [eax + 0x14], 0x10
jb 0x42cac8
mov eax, dword [eax]
push edi
push eax
call fcn.00516c0b
add esp, 8
test eax, eax
mov eax, dword [esp + 0x94]
sete bl
cmp eax, 0x10
jb 0x42caf8
inc eax
lea ecx, [esp + 0x80]
push eax
push dword [esp + 0x84]
call fcn.00423360
test bl, bl
je 0x42cb18
push str.leave_rollback
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x10
jmp 0x42cb78
push str.rollback
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
sub esp, 8
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42cb5a
mov eax, dword [ecx]
jmp 0x42cb5c
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0x84]
push 0
push eax
call fcn.004230b0
call fcn.004273c0
add esp, 0x18
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42cba3
mov eax, dword [ecx]
jmp 0x42cba5
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0x84]
push 0
push eax
call fcn.004230b0
call fcn.00427830
add esp, 0x18
test eax, eax
jne 0x42cc02
cmp dword [esp + 0xec], 0x10
lea eax, [esp + 0xd8]
cmovae eax, dword [esp + 0xd8]
push eax
call esi
test eax, eax
jne 0x42cc2b
cmp dword [esp + 0xec], 0x10
lea eax, [esp + 0xd8]
cmovae eax, dword [esp + 0xd8]
push eax
push str.delete_fail__s
jmp 0x42cc16
cmp dword [esp + 0x7c], 0x10
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push eax
push str.delete_dir_fail:_s
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x14
mov eax, dword [esp + 0x7c]
cmp eax, 0x10
jb 0x42cc77
inc eax
lea ecx, [esp + 0x68]
push eax
push dword [esp + 0x6c]
call fcn.00423360
jmp 0x42cc77
cmp dword [esp + 0xec], 0x10
lea eax, [esp + 0xd8]
cmovae eax, dword [esp + 0xd8]
push eax
push str.file_lose
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x14
push str.check_addupdate
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x10
mov dword [esp + 0xbc], 0xf
lea eax, [esp + 0x180]
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xa8], 0
push 0xffffffffffffffff
push 0
push eax
call fcn.004230b0
push 0xe
push str._addupdate.ini
lea ecx, [esp + 0xb0]
call fcn.004237b0
sub esp, 0x18
mov dword [esp + 0xec], 0xf
mov ecx, esp
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov dword [esp + 0x164], 0xf
push str.add_version
mov dword [esp + 0x164], 0
mov byte [esp + 0x154], 0
call fcn.00422ca0
sub esp, 0x18
mov ecx, esp
push str.add_update
call fcn.00422ca0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42cd5f
mov eax, dword [ecx]
jmp 0x42cd61
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0xf4]
push 0
push eax
call fcn.004230b0
lea eax, [esp + 0x108]
push eax
call fcn.0043c4c0
sub esp, 0x18
mov ecx, esp
push str.add_effect
call fcn.00422ca0
sub esp, 0x18
mov ecx, esp
push str.add_update
call fcn.00422ca0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42cdcb
mov eax, dword [ecx]
jmp 0x42cdcd
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0xf4]
push 0
push eax
call fcn.004230b0
lea eax, [esp + 0x180]
push eax
call fcn.0043c4c0
lea eax, [esp + 0x80]
mov byte [esp + 0x13], 0
push eax
call fcn.0043bfc0
cmp dword [esp + 0xd4], 0x10
lea ecx, [esp + 0xc0]
cmovae ecx, dword [esp + 0xc0]
cmp dword [eax + 0x14], 0x10
lea edx, [eax + 0x10]
jb 0x42ce22
mov eax, dword [eax]
push dword [esp + 0xd0]
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.00422e30
mov ecx, dword [esp + 0x9c]
add esp, 8
mov edi, eax
cmp ecx, 0x10
jb 0x42ce59
inc ecx
push ecx
push dword [esp + 0x84]
lea ecx, [esp + 0x88]
call fcn.00423360
test edi, edi
jne 0x42cead
cmp dword [esp + 0xbc], 0x10
lea eax, [esp + 0xa8]
mov byte [esp + 0x13], 1
cmovae eax, dword [esp + 0xa8]
push eax
call esi
cmp dword [esp + 0xd4], 0x10
lea eax, [esp + 0xc0]
cmovae eax, dword [esp + 0xc0]
push eax
push str.Version__s_Is_Using
push edi
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x14
mov edi, dword [esp + 0x14c]
lea ecx, [esp + 0x138]
mov ebx, dword [esp + 0x138]
cmp edi, 0x10
mov edx, dword [esp + 0x148]
push 2
cmovae ecx, ebx
push 0x5863fc
call fcn.00422e30
add esp, 8
test eax, eax
jne 0x42cfb3
cmp byte [esp + 0x13], al
jne 0x42cfb3
push 0xffffffffffffffff
push eax
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x88], al
lea eax, [esp + 0x188]
push eax
mov dword [esp + 0xa0], 0xf
call fcn.004230b0
push 0x5860e4
lea ecx, [esp + 0x84]
call fcn.004240e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xc8]
push ecx
mov ecx, eax
call fcn.004238e0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42cf6f
mov eax, dword [ecx]
jmp 0x42cf71
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.004230b0
call fcn.004273c0
add esp, 0x18
lea eax, [esp + 0xa8]
cmp dword [esp + 0xbc], 0x10
cmovae eax, dword [esp + 0xa8]
push eax
call esi
lea ecx, [esp + 0x80]
jmp 0x42d08b
cmp edi, 0x10
lea ecx, [esp + 0x138]
push 3
cmovae ecx, ebx
push 0x586400
call fcn.00422e30
add esp, 8
test eax, eax
jne 0x42d090
push 0xffffffffffffffff
push eax
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x70], al
lea eax, [esp + 0x188]
push eax
mov dword [esp + 0x88], 0xf
call fcn.004230b0
push 1
push 0x5860e4
lea ecx, [esp + 0x70]
call fcn.004237b0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x74]
call fcn.004238e0
cmp dword [esp + 0x7c], 0x10
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42d06d
sub esp, 0x18
lea eax, [esp + 0xd8]
mov ecx, esp
push eax
call fcn.00422d00
call fcn.0043c040
sub esp, 0x18
lea eax, [esp + 0xd8]
mov ecx, esp
push eax
call fcn.00422d00
call fcn.0043c280
cmp dword [esp + 0xbc], 0x10
lea eax, [esp + 0xa8]
cmovae eax, dword [esp + 0xa8]
push eax
call esi
lea ecx, [esp + 0x68]
call fcn.00422b60
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x188]
mov dword [esp + 0x16c], 0xf
push eax
lea ecx, [esp + 0x15c]
mov dword [esp + 0x16c], 0
mov byte [esp + 0x15c], 0
call fcn.004230b0
push 0xb
push str._addnewfile
lea ecx, [esp + 0x158]
call fcn.004237b0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x158]
mov dword [esp + 0x84], 0xf
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.004230b0
cmp dword [esp + 0x7c], 0x10
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42d12e
test al, 0x10
je 0x42d12e
mov esi, 1
jmp 0x42d130
xor esi, esi
mov eax, dword [esp + 0x7c]
cmp eax, 0x10
jb 0x42d148
inc eax
lea ecx, [esp + 0x68]
push eax
push dword [esp + 0x6c]
call fcn.00423360
test esi, esi
je 0x42d195
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42d177
mov eax, dword [ecx]
jmp 0x42d179
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.004230b0
call fcn.004273c0
add esp, 0x18
push str.decide_if_new_version_exist
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
sub esp, 8
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x42d1d7
mov eax, dword [ecx]
jmp 0x42d1d9
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [esp + 0x13c]
push 0
push eax
call fcn.004230b0
sub esp, 0x18
lea eax, [esp + 0x1b0]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004230b0
call fcn.0042dde0
add esp, 0x30
call fcn.00425040
mov ecx, eax
call fcn.004250d0
sub esp, 0x18
mov dword [esp + 0x88], 0
xorps xmm0, xmm0
mov dword [esp + 0xbc], 0
xor edi, edi
movq qword [esp + 0x80], xmm0
movq qword [esp + 0xb4], xmm0
push esp
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
call fcn.0043bfc0
lea ecx, [esp + 0x80]
call fcn.0042eeb0
mov ecx, dword [esp + 0x84]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x80]
add esp, 0x18
sub ecx, esi
imul ecx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp ebx, 2
jbe 0x42d3c3
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x14]
push eax
push ebx
mov ecx, esi
mov dword [esp + 0x1c], 0x42f560
call fcn.0042ff20
add ebx, 0xfffffffe
add esp, 8
test ebx, ebx
jle 0x42d3c3
add esi, 0x18
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.004230b0
call fcn.004273c0
add esp, 0x18
mov dword [esp + 0x94], 0xf
lea ecx, [esp + 0x80]
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
push 0xffffffffffffffff
push 0
push esi
call fcn.004230b0
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
cmovae eax, dword [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42d37c
test al, 0x10
je 0x42d37c
mov edi, 1
jmp 0x42d37e
xor edi, edi
mov eax, dword [esp + 0x94]
cmp eax, 0x10
jb 0x42d39f
inc eax
lea ecx, [esp + 0x80]
push eax
push dword [esp + 0x84]
call fcn.00423360
test edi, edi
je 0x42d3b0
push esi
lea ecx, [esp + 0xa0]
call fcn.004229a0
add esi, 0x30
sub ebx, 1
jne 0x42d2f7
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
mov eax, 0x2aaaaaab
mov ecx, ebx
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42d407
lea eax, [esp + 0x9c]
push eax
push ecx
call fcn.00425040
add esp, 4
mov ecx, eax
call fcn.00425b40
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push 0x40
lea eax, [esp + 0x1e8]
mov dword [esp + 0x1e4], 0x44
push 0
push eax
call fcn.0050da00
add esp, 0xc
lea ecx, [esp + 0x108]
xorps xmm0, xmm0
movups xmmword [esp + 0x48], xmm0
call fcn.00426bc0
push 1
push 0x5860e4
lea ecx, [esp + 0x110]
call fcn.004237b0
mov esi, eax
lea eax, [esp + 0x80]
push eax
call fcn.0043c000
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004238e0
mov eax, dword [esp + 0x94]
cmp eax, 0x10
jb 0x42d489
inc eax
lea ecx, [esp + 0x80]
push eax
push dword [esp + 0x84]
call fcn.00423360
push 1
push 0x5860e4
lea ecx, [esp + 0x110]
call fcn.004237b0
push 0xd
push str.kiupgrade.exe
mov ecx, eax
call fcn.004237b0
cmp dword [esp + 0x11c], 0x10
lea esi, [esp + 0x108]
mov ecx, dword [esp + 0x98]
cmovae esi, dword [esp + 0x108]
mov eax, dword [0x599d14]
cmp eax, dword [ecx + 4]
jle 0x42d50a
push 0x599d14
call fcn.0050aa47
add esp, 4
cmp dword [0x599d14], 0xffffffff
jne 0x42d50a
call fcn.00428000
push 0x534560
call fcn.0050ad9e
add esp, 4
push 0x599d14
call fcn.0050aa08
add esp, 4
push esi
push str.upgrade__s
push 0
push 0x58616c
push 0x599d18
call fcn.004280e0
add esp, 0x14
lea eax, [esp + 0x48]
lea edx, [esp + 0x1b0]
lea ecx, [esp + 0x108]
push eax
lea eax, [esp + 0x1e4]
push eax
call fcn.00427aa0
mov eax, dword [esp + 0x50]
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42d558
push eax
call esi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42d563
push eax
call esi
cmp dword [esp + 0x11c], 0x10
lea esi, [esp + 0x108]
mov ecx, dword [esp + 0x98]
cmovae esi, dword [esp + 0x108]
mov eax, dword [0x599d14]
cmp eax, dword [ecx + 4]
jle 0x42d5c3
push 0x599d14
call fcn.0050aa47
add esp, 4
cmp dword [0x599d14], 0xffffffff
jne 0x42d5c3
call fcn.00428000
push 0x534560
call fcn.0050ad9e
add esp, 4
push 0x599d14
call fcn.0050aa08
add esp, 4
push dword [esp + 0x50]
push esi
push str._s_pid__d
push 0
push 0x58616c
push 0x599d18
call fcn.004280e0
add esp, 0x18
lea ecx, [esp + 0x168]
call fcn.00426bc0
push 1
push 0x5860e4
lea ecx, [esp + 0x170]
call fcn.004237b0
mov esi, eax
lea eax, [esp + 0x80]
push eax
call fcn.0043c000
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004238e0
mov eax, dword [esp + 0x94]
cmp eax, 0x10
jb 0x42d63c
inc eax
lea ecx, [esp + 0x80]
push eax
push dword [esp + 0x84]
call fcn.00423360
push 7
push str.dm.dat
lea ecx, [esp + 0x170]
call fcn.004237b0
cmp dword [esp + 0x17c], 0x10
lea eax, [esp + 0x168]
cmovae eax, dword [esp + 0x168]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42d676
call fcn.0042f9b0
mov esi, dword [esp + 0x98]
mov eax, dword [0x599d14]
cmp eax, dword [esi + 4]
jle 0x42d6bf
push 0x599d14
call fcn.0050aa47
add esp, 4
cmp dword [0x599d14], 0xffffffff
jne 0x42d6bf
call fcn.00428000
push 0x534560
call fcn.0050ad9e
add esp, 4
push 0x599d14
call fcn.0050aa08
add esp, 4
push str.WaitForUpgrade_Finish
push 0
push 0x58616c
push 0x599d18
call fcn.004280e0
mov eax, dword [0x599d14]
add esp, 0x10
cmp eax, dword [esi + 4]
jle 0x42d71a
push 0x599d14
call fcn.0050aa47
add esp, 4
cmp dword [0x599d14], 0xffffffff
jne 0x42d71a
call fcn.00428000
push 0x534560
call fcn.0050ad9e
add esp, 4
push 0x599d14
call fcn.0050aa08
add esp, 4
push str.ready_new_version
push 0
push 0x58616c
push 0x599d18
call fcn.004280e0
add esp, 0x10
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [esp + 0x18]
call fcn.00426bc0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x10c], 0xf
push eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
call fcn.004230b0
push 1
push 0x5860e4
lea ecx, [esp + 0xf8]
call fcn.004237b0
mov esi, eax
lea eax, [esp + 0x80]
push eax
call fcn.0043c000
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004238e0
mov eax, dword [esp + 0x94]
cmp eax, 0x10
jb 0x42d7c6
inc eax
lea ecx, [esp + 0x80]
push eax
push dword [esp + 0x84]
call fcn.00423360
push 1
push 0x5860e4
lea ecx, [esp + 0xf8]
call fcn.004237b0
mov esi, eax
lea eax, [esp + 0x80]
push eax
call fcn.0043bf80
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004238e0
push 4
push 0x5862f4
mov ecx, eax
call fcn.004237b0
mov eax, dword [esp + 0x94]
cmp eax, 0x10
jb 0x42d823
inc eax
lea ecx, [esp + 0x80]
push eax
push dword [esp + 0x84]
call fcn.00423360
lea eax, [esp + 0x198]
push eax
call fcn.0043bf80
push 4
push 0x5862f4
lea ecx, [esp + 0x1a0]
call fcn.004237b0
cmp dword [esp + 0x1ac], 0x10
lea ecx, [esp + 0x198]
mov edx, 0x585fa0
cmovae ecx, dword [esp + 0x198]
call fcn.00426d10
mov esi, eax
test esi, esi
jle 0x42d88c
push esi
push str.Kill__d
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x14
mov ecx, esi
call fcn.00426f30
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x22c]
push eax
lea edx, [esp + 0x1b8]
lea ecx, [esp + 0xf8]
call fcn.00427cd0
mov esi, eax
add esp, 8
test esi, esi
je 0x42dba0
cmp dword [esp + 0x104], 0x10
lea eax, [esp + 0xf0]
push esi
cmovae eax, dword [esp + 0xf4]
push eax
push str.StartProgram_Failed__s__d
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
mov eax, dword [esp + 0x1c4]
add esp, 0x18
cmp eax, 0x10
jb 0x42d90d
inc eax
lea ecx, [esp + 0x198]
push eax
push dword [esp + 0x19c]
call fcn.00423360
mov eax, dword [esp + 0x104]
mov dword [esp + 0x1ac], 0xf
mov dword [esp + 0x1a8], 0
mov byte [esp + 0x198], 0
cmp eax, 0x10
jb 0x42d94c
inc eax
lea ecx, [esp + 0xf0]
push eax
push dword [esp + 0xf4]
call fcn.00423360
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], 0
mov byte [esp + 0xf0], 0
cmp eax, 0x10
jb 0x42d982
inc eax
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x1c]
call fcn.00423360
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
cmp eax, 0x10
jb 0x42d9b8
inc eax
lea ecx, [esp + 0x168]
push eax
push dword [esp + 0x16c]
call fcn.00423360
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x178], 0
mov byte [esp + 0x168], 0
cmp eax, 0x10
jb 0x42d9f7
inc eax
lea ecx, [esp + 0x108]
push eax
push dword [esp + 0x10c]
call fcn.00423360
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], 0
mov byte [esp + 0x108], 0
test edi, edi
je 0x42da4b
push dword [esp + 0x14]
mov edx, ebx
push ecx
mov ecx, edi
call fcn.00423720
mov ecx, dword [esp + 0xac]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.00423250
lea ecx, [esp + 0x68]
call fcn.0042fba0
mov eax, dword [esp + 0x164]
cmp eax, 0x10
jb 0x42da75
inc eax
lea ecx, [esp + 0x150]
push eax
push dword [esp + 0x154]
call fcn.00423360
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x164], 0xf
mov dword [esp + 0x160], 0
mov byte [esp + 0x150], 0
cmp eax, 0x10
jb 0x42dab4
inc eax
lea ecx, [esp + 0x138]
push eax
push dword [esp + 0x13c]
call fcn.00423360
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x14c], 0xf
mov dword [esp + 0x148], 0
mov byte [esp + 0x138], 0
cmp eax, 0x10
jb 0x42daf3
inc eax
lea ecx, [esp + 0xc0]
push eax
push dword [esp + 0xc4]
call fcn.00423360
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], 0
mov byte [esp + 0xc0], 0
cmp eax, 0x10
jb 0x42db32
inc eax
lea ecx, [esp + 0xa8]
push eax
push dword [esp + 0xac]
call fcn.00423360
mov eax, dword [esp + 0x134]
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
cmp eax, 0x10
jb 0x42db71
inc eax
lea ecx, [esp + 0x120]
push eax
push dword [esp + 0x124]
call fcn.00423360
lea ecx, [esp + 0xd8]
mov dword [esp + 0x134], 0xf
mov dword [esp + 0x130], 0
mov byte [esp + 0x120], 0
call fcn.00422b60
jmp 0x42dd75
push 0
push str.start_program_ret__d
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x14
push 0x3e8
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42dc09
mov dword [esp + 0x98], eax
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x98]
push str.GetExitCodeProcess_dwExitCode__x
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x14
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x198]
call fcn.00422b60
lea ecx, [esp + 0xf0]
call fcn.00422b60
lea ecx, [esp + 0x18]
call fcn.00422b60
lea ecx, [esp + 0x168]
call fcn.00422b60
lea ecx, [esp + 0x108]
call fcn.00422b60
lea ecx, [esp + 0x9c]
call fcn.00422a80
lea ecx, [esp + 0x68]
call fcn.0042fba0
lea ecx, [esp + 0x150]
call fcn.00422b60
lea ecx, [esp + 0x138]
call fcn.00422b60
lea ecx, [esp + 0xc0]
call fcn.00422b60
lea ecx, [esp + 0xa8]
call fcn.00422b60
lea ecx, [esp + 0x120]
call fcn.00422b60
lea ecx, [esp + 0xd8]
call fcn.00422b60
jmp 0x42dd54
lea ecx, [esp + 0x1c8]
call fcn.00422dc0
push eax
push str.find_fail__s
push 1
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x10
lea ecx, [esp + 0x6c]
call fcn.0042ddc0
call fcn.0042fb80
sub esp, 0x18
push esp
call fcn.0043bfc0
lea ecx, [esp + 0x80]
call fcn.0042eeb0
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.0042fe00
add esp, 0x20
lea ecx, [esp + 0x68]
call fcn.0042fb60
lea esi, [eax - 1]
push esi
call fcn.0042fb40
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00422d00
call fcn.0043c040
push esi
lea ecx, [esp + 0x6c]
call fcn.0042fb40
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00422d00
call fcn.0043c280
lea ecx, [esp + 0x68]
call fcn.0042fba0
push str.WinMain
push str.exit__s
push 0
push 0x58616c
call fcn.00428090
push eax
call fcn.004280e0
add esp, 0x14
xor esi, esi
lea ecx, [esp + 0x1c8]
call fcn.00422b60
lea ecx, [esp + 0x1b0]
call fcn.00422b60
lea ecx, [esp + 0x180]
call fcn.00422b60
mov ecx, dword [esp + 0x274]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0050a877
mov esp, ebp
pop ebp
ret 0x10