Function at 0x4023f0
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Move file
Read .ini file
Self delete
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff9b0
push ebx
push esi
push edi
mov eax, 0x4ac5b4
call fcn.00484c88
xor edx, edx
mov dword [ebp - 0x16c], edx
xor ecx, ecx
mov dword [ebp - 0x170], ecx
mov esi, 0x4a889d
lea edi, [ebp - 0x314]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a89a1
lea edi, [ebp - 0x714]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a8da1
lea edi, [ebp - 0x818]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov dl, 1
mov eax, dword [0x40dc38]
call fcn.0040438c
mov dword [ebp - 0x174], eax
mov dl, 1
mov eax, dword [0x40dc38]
call fcn.0040438c
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], 1
xor ecx, ecx
mov dword [ebp - 0x180], ecx
mov esi, 0x4a8ea5
lea edi, [ebp - 0x91c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x184], edx
mov ecx, dword [ebp - 0x184]
mov eax, dword [ecx]
mov edx, dword [eax]
call dword [edx + 0x44]
xor ecx, ecx
mov dword [0x4a7240], ecx
mov dword [ebp - 0x188], 1
mov esi, 0x4a8fa9
lea edi, [ebp - 0xa20]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov eax, dword [sym.Update.exe__MainForm]
xor edx, edx
mov dword [eax + 0x564], edx
push 0x4ab95e
push 0x103
lea ecx, [ebp - 0x818]
push ecx
push 0x4ab956
push 0x4ab94d
push 0x4ab944
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x818]
push eax
call fcn.0048adb8
pop ecx
push dword [ebp - 0x188]
push 0x4ab971
lea edx, [ebp - 0x91c]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0xa20]
push ecx
push 0x4ab989
lea eax, [ebp - 0x91c]
push eax
push 0x4ab97d
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp dword [ebp - 0x188], 0xa
jg 0x403df3
lea edx, [ebp - 0xa20]
push edx
call fcn.004848b4
pop ecx
test eax, eax
je 0x403da1
mov esi, 0x4a90ad
lea edi, [ebp - 0xb24]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a91b1
lea edi, [ebp - 0xc28]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0xb24]
push eax
push 0x4ab995
push 0x4ab98a
lea edx, [ebp - 0xa20]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0xc28]
push ecx
push 0x4ab9a1
push 0x4ab996
lea eax, [ebp - 0xa20]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0xc28]
push edx
call fcn.0048adb8
pop ecx
lea ecx, [ebp - 0xb24]
push ecx
call fcn.004848b4
pop ecx
test eax, eax
je 0x402623
lea edx, [ebp - 0xb24]
mov eax, dword [sym.Update.exe__MainForm]
call fcn.00405c38
test al, al
jne 0x40266d
inc dword [ebp - 0x188]
push dword [ebp - 0x188]
push 0x4ab9a2
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0xa20]
push eax
push 0x4ab9ba
lea edx, [ebp - 0x91c]
push edx
push 0x4ab9ae
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x402561
lea ecx, [ebp - 0xc28]
push ecx
call fcn.004848b4
pop ecx
test eax, eax
je 0x4026fa
push 0x4ab9bb
lea eax, [ebp - 0xc28]
push eax
call fcn.004849c5
add esp, 8
test eax, eax
jne 0x4026fa
lea edx, [ebp - 0xc28]
push edx
lea ecx, [ebp - 0x818]
push ecx
call fcn.004849c5
add esp, 8
test eax, eax
jne 0x4026fa
inc dword [ebp - 0x188]
push dword [ebp - 0x188]
push 0x4ab9bf
lea eax, [ebp - 0x91c]
push eax
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea edx, [ebp - 0xa20]
push edx
push 0x4ab9d7
lea ecx, [ebp - 0x91c]
push ecx
push 0x4ab9cb
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x402561
mov dword [ebp - 0x18c], 1
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], 1
push dword [ebp - 0x18c]
push 0x4ab9d8
lea edx, [ebp - 0x91c]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x314]
push ecx
push 0x4ab9e5
lea eax, [ebp - 0x91c]
push eax
lea edx, [ebp - 0xa20]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x402836
push 1
lea ecx, [ebp - 0x314]
push ecx
call fcn.0040905c
add esp, 8
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x4027ef
push 0
lea eax, [ebp - 0x314]
push eax
lea edx, [ebp - 0x714]
push edx
push str.UPDATE_KILL_PROCESS_SUCCEED
call fcn.00401d20
add esp, 0x10
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x194], eax
mov word [ebp - 0x158], 8
lea edx, [ebp - 0x714]
lea eax, [ebp - 4]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x194]
mov eax, dword [ecx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a55bc
inc dword [ebp - 0x18c]
push dword [ebp - 0x18c]
push str.kill_proc__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x314]
push eax
push 0x4aba0f
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x314]
push eax
call fcn.004848b4
pop ecx
test eax, eax
jne 0x40275c
mov dword [ebp - 0x18c], 1
push dword [ebp - 0x18c]
push 0x4aba10
lea edx, [ebp - 0x91c]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x314]
push ecx
push 0x4aba2a
lea eax, [ebp - 0x91c]
push eax
lea edx, [ebp - 0xa20]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x4029fc
push 5
push 0
push 0
lea ecx, [ebp - 0x314]
push ecx
push 0x4aba2b
push 0
call sub.SHELL32.DLL_ShellExecuteA
cmp eax, 0x20
setg al
and eax, 1
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x402941
push 0
lea edx, [ebp - 0x314]
push edx
lea ecx, [ebp - 0x714]
push ecx
push 0x4aba30
call fcn.00401d20
add esp, 0x10
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x198], edx
mov word [ebp - 0x158], 0x14
lea edx, [ebp - 0x714]
lea eax, [ebp - 8]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x198]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a55bc
jmp 0x4029b5
push 0
lea ecx, [ebp - 0x314]
push ecx
lea eax, [ebp - 0x714]
push eax
push 0x4aba4b
call fcn.00401d20
add esp, 0x10
mov edx, dword [sym.Update.exe__MainForm]
mov ecx, dword [edx + 0x32c]
add ecx, 0x220
mov dword [ebp - 0x19c], ecx
mov word [ebp - 0x158], 0x20
lea edx, [ebp - 0x714]
lea eax, [ebp - 0xc]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a55bc
inc dword [ebp - 0x18c]
push dword [ebp - 0x18c]
push str.run_proc_before_update__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x314]
push eax
push 0x4aba7f
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x314]
push eax
call fcn.004848b4
pop ecx
test eax, eax
jne 0x40289b
mov esi, 0x4a92b5
lea edi, [ebp - 0xd2c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a93b9
lea edi, [ebp - 0xe30]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a94bd
lea edi, [ebp - 0xf34]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a95c1
lea edi, [ebp - 0x1038]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a96c5
lea edi, [ebp - 0x113c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x1a0], eax
xor edx, edx
mov dword [ebp - 0x1a4], edx
mov esi, 0x4a97c9
lea edi, [ebp - 0x1240]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a98cd
lea edi, [ebp - 0x1344]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4a99d1
lea edi, [ebp - 0x1448]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x1a8], eax
mov esi, 0x4a9ad5
lea edi, [ebp - 0x154c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18c], 1
push dword [ebp - 0x18c]
push 0x4aba80
lea eax, [ebp - 0x91c]
push eax
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea edx, [ebp - 0xd2c]
push edx
push 0x4aba8f
lea ecx, [ebp - 0x91c]
push ecx
lea eax, [ebp - 0xa20]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x403746
xor edx, edx
mov dword [ebp - 0x180], edx
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x31c]
xor edx, edx
call fcn.004774f4
mov ecx, dword [sym.Update.exe__MainForm]
xor eax, eax
mov dword [ecx + 0x560], eax
mov edx, dword [sym.Update.exe__MainForm]
xor ecx, ecx
mov dword [edx + 0x568], ecx
push 0x2f
lea eax, [ebp - 0xd2c]
push eax
call fcn.004849b9
add esp, 8
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jne 0x402b89
push 0x5c
lea edx, [ebp - 0xd2c]
push edx
call fcn.004849b9
add esp, 8
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jne 0x402ba0
lea ecx, [ebp - 0xd2c]
mov dword [ebp - 0x1ac], ecx
jmp 0x402ba6
inc dword [ebp - 0x1ac]
push 0
push dword [ebp - 0x1ac]
lea eax, [ebp - 0x314]
push eax
push str.UPDATE_UPDATING_FILE
call fcn.00401d20
add esp, 0x10
mov word [ebp - 0x158], 0x2c
lea edx, [ebp - 0x314]
lea eax, [ebp - 0x10]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x340]
call fcn.00465034
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a55bc
push dword [ebp - 0x18c]
push str.file_target__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0xe30]
push eax
push 0x4abab4
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push dword [ebp - 0x18c]
push str.file_path__d
lea eax, [ebp - 0x91c]
push eax
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea edx, [ebp - 0x1038]
push edx
push 0x4abac2
lea ecx, [ebp - 0x91c]
push ecx
lea eax, [ebp - 0xa20]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push dword [ebp - 0x18c]
push 0x4abac3
lea edx, [ebp - 0x91c]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x314]
push ecx
push 0x4abacf
lea eax, [ebp - 0x91c]
push eax
lea edx, [ebp - 0xa20]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x314]
push ecx
call fcn.0048b6e4
pop ecx
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0xe30]
push eax
lea edx, [ebp - 0x1038]
push edx
push 0x4abad0
lea ecx, [ebp - 0x113c]
push ecx
call fcn.00487f0c
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x1b0], eax
jmp 0x402d67
mov edx, dword [ebp - 0x1b0]
movsx ecx, byte [ebp + edx - 0x113c]
cmp ecx, 0x5c
je 0x402d53
mov eax, dword [ebp - 0x1b0]
movsx edx, byte [ebp + eax - 0x113c]
cmp edx, 0x2f
je 0x402d53
mov ecx, dword [ebp - 0x1b0]
movsx eax, byte [ebp + ecx - 0x113c]
cmp eax, 0x2e
je 0x402d53
mov edx, dword [ebp - 0x1b0]
movsx ecx, byte [ebp + edx - 0x113c]
cmp ecx, 0x20
jne 0x402d61
mov eax, dword [ebp - 0x1b0]
mov byte [ebp + eax - 0x113c], 0x5f
inc dword [ebp - 0x1b0]
lea edx, [ebp - 0x113c]
push edx
call fcn.004848b4
pop ecx
cmp eax, dword [ebp - 0x1b0]
ja 0x402d07
push 0x4abae6
push 0x104
lea ecx, [ebp - 0x314]
push ecx
push 0x4abae4
lea eax, [ebp - 0x113c]
push eax
push 0x4abad6
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0x314]
push edx
call fcn.0048b6e4
pop ecx
mov dword [ebp - 0x1a0], eax
push dword [ebp - 0x18c]
push str.file_size__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x314]
push eax
push 0x4abb09
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x314]
push eax
call fcn.0048b6e4
pop ecx
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
add dword [ebp - 0x170], edx
mov ecx, dword [ebp - 0x1a0]
cmp ecx, dword [ebp - 0x1a4]
jl 0x402ed0
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [ebp - 0x1b4]
add dword [eax + 0x564], edx
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x31c]
mov edx, 0x64
call fcn.004774f4
imul eax, dword [ebp - 0x170], 0x64
mov edx, dword [sym.Update.exe__MainForm]
mov ecx, dword [edx + 0x56c]
cdq
idiv ecx
mov edx, eax
mov eax, dword [sym.Update.exe__MainForm]
mov eax, dword [eax + 0x324]
call fcn.004774f4
mov edx, dword [0x4b3974]
mov eax, dword [edx]
call fcn.0045a364
inc dword [ebp - 0x18c]
push dword [ebp - 0x18c]
push 0x4abb0a
lea edx, [ebp - 0x91c]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0xd2c]
push ecx
push 0x4abb19
lea eax, [ebp - 0x91c]
push eax
lea edx, [ebp - 0xa20]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x403746
push dword [ebp - 0x18c]
push str.file_checksum__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0xf34]
push eax
push 0x4abb2b
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push dword [ebp - 0x18c]
push str.file_copyonly__d
lea eax, [ebp - 0x91c]
push eax
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea edx, [ebp - 0x314]
push edx
push 0x4abb3d
lea ecx, [ebp - 0x91c]
push ecx
lea eax, [ebp - 0xa20]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0x314]
push edx
call fcn.0048b6e4
pop ecx
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jne 0x402faf
push dword [ebp - 0x18c]
push str.file_compress__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x154c]
push eax
push 0x4abb4f
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov esi, 0x4a9bd9
lea edi, [ebp - 0x1650]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1240]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea edx, [ebp - 0x1038]
push edx
call fcn.004848b4
pop ecx
test eax, eax
je 0x40301b
lea ecx, [ebp - 0x1038]
push ecx
call fcn.00402008
pop ecx
lea eax, [ebp - 0xe30]
push eax
lea edx, [ebp - 0x1038]
push edx
lea ecx, [ebp - 0x1240]
push ecx
push str._s_s_s
lea eax, [ebp - 0x1650]
push eax
call fcn.00487f0c
add esp, 0x14
jmp 0x40303d
lea edx, [ebp - 0xe30]
push edx
lea ecx, [ebp - 0x1240]
push ecx
push str._s_s
lea eax, [ebp - 0x1650]
push eax
call fcn.00487f0c
add esp, 0x10
xor edx, edx
mov dword [ebp - 0x1b8], edx
lea ecx, [ebp - 0x1344]
push ecx
call fcn.00401fb8
pop ecx
lea eax, [ebp - 0x1344]
push eax
lea edx, [ebp - 0xd2c]
push edx
call fcn.00408b7c
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x403090
lea ecx, [ebp - 0xf34]
push ecx
lea eax, [ebp - 0x1344]
push eax
call fcn.00402128
add esp, 8
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jne 0x4030be
cmp dword [0x4a7240], 0
jne 0x4030be
mov edx, dword [0x4b3974]
mov eax, dword [edx]
call fcn.0045a364
inc dword [ebp - 0x1b8]
cmp dword [ebp - 0x1b8], 3
jl 0x403045
cmp dword [ebp - 0x17c], 0
je 0x403187
push 0x80
lea edx, [ebp - 0x1650]
push edx
call sub.KERNEL32.DLL_SetFileAttributesA
push 0x2f
lea ecx, [ebp - 0xd2c]
push ecx
call fcn.004849b9
add esp, 8
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x403104
inc dword [ebp - 0x1ac]
jmp 0x403110
lea eax, [ebp - 0xd2c]
mov dword [ebp - 0x1ac], eax
push 0
push dword [ebp - 0x1ac]
lea edx, [ebp - 0x714]
push edx
push str.UPDATE_DOWNLOAD_FILE_SUCCEED
call fcn.00401d20
add esp, 0x10
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x1bc], eax
mov word [ebp - 0x158], 0x38
lea edx, [ebp - 0x714]
lea eax, [ebp - 0x14]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1bc]
mov eax, dword [ecx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a55bc
jmp 0x4032af
cmp dword [0x4a7240], 0
jne 0x4032af
push 0x2f
lea ecx, [ebp - 0xd2c]
push ecx
call fcn.004849b9
add esp, 8
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x4031bc
inc dword [ebp - 0x1ac]
jmp 0x4031c8
lea eax, [ebp - 0xd2c]
mov dword [ebp - 0x1ac], eax
push 0
push dword [ebp - 0x1ac]
lea edx, [ebp - 0x714]
push edx
push str.UPDATE_DOWNLOAD_FILE_FAILED
call fcn.00401d20
add esp, 0x10
push 0x15
push 0x4abb98
lea ecx, [ebp - 0x714]
push ecx
push 0
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 4
je 0x40303d
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x1c4], edx
mov word [ebp - 0x158], 0x44
lea edx, [ebp - 0x714]
lea eax, [ebp - 0x18]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a55bc
mov word [ebp - 0x158], 0x50
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1ac]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a55bc
inc dword [ebp - 0x190]
mov dword [ebp - 0x180], 1
cmp dword [0x4a7240], 0
je 0x4032cc
xor eax, eax
mov edx, dword [ebp - 0x168]
mov dword fs:[0], edx
jmp 0x404383
cmp dword [ebp - 0x1a8], 0
je 0x403316
push 0x4abbaa
lea ecx, [ebp - 0x1448]
push ecx
call fcn.00484884
add esp, 8
cmp dword [ebp - 0x17c], 0
je 0x40341e
push 0
lea eax, [ebp - 0x1650]
push eax
lea edx, [ebp - 0x1344]
push edx
call sub.KERNEL32.DLL_CopyFileA
mov dword [ebp - 0x17c], eax
jmp 0x40341e
push str.lzss
lea ecx, [ebp - 0x154c]
push ecx
call fcn.00484a6c
add esp, 8
test eax, eax
jne 0x40335c
cmp dword [ebp - 0x17c], 0
je 0x40341e
lea eax, [ebp - 0x1650]
push eax
lea edx, [ebp - 0x1344]
push edx
call fcn.0040a270
add esp, 8
mov dword [ebp - 0x17c], eax
jmp 0x40341e
push 0x4abbb1
lea ecx, [ebp - 0x154c]
push ecx
call fcn.00484a6c
add esp, 8
test eax, eax
jne 0x4033eb
mov word [ebp - 0x158], 0x5c
lea eax, [ebp - 0xf0]
push eax
call fcn.0040a2fc
pop ecx
inc dword [ebp - 0x14c]
mov word [ebp - 0x158], 0x68
cmp dword [ebp - 0x17c], 0
je 0x4033c9
lea edx, [ebp - 0x1344]
push edx
lea ecx, [ebp - 0x1650]
push ecx
lea eax, [ebp - 0xf0]
push eax
call fcn.0040a4bc
add esp, 0xc
xor edx, edx
mov dl, al
mov dword [ebp - 0x17c], edx
dec dword [ebp - 0x14c]
push 2
lea ecx, [ebp - 0xf0]
push ecx
call fcn.0040a468
add esp, 8
mov word [ebp - 0x158], 0
jmp 0x40341e
push 0x4abbb5
lea eax, [ebp - 0x154c]
push eax
call fcn.00484a6c
add esp, 8
test eax, eax
jne 0x403416
cmp dword [ebp - 0x17c], 0
je 0x40341e
xor edx, edx
mov dword [ebp - 0x17c], edx
jmp 0x40341e
xor ecx, ecx
mov dword [ebp - 0x17c], ecx
cmp dword [ebp - 0x17c], 0
je 0x40354a
push 0
lea eax, [ebp - 0xe30]
push eax
lea edx, [ebp - 0x714]
push edx
push str.UPDATE_UPDATE_FILE_SUCCEED
call fcn.00401d20
add esp, 0x10
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x1c8], eax
mov word [ebp - 0x158], 0x74
lea edx, [ebp - 0x714]
lea eax, [ebp - 0xf4]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c8]
mov eax, dword [ecx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0xf4]
mov edx, 2
call fcn.004a55bc
mov word [ebp - 0x158], 0x80
lea edx, [ebp - 0xe30]
lea eax, [ebp - 0xf8]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.004a55bc
push dword [ebp - 0x18c]
push str.file_ver__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x314]
push eax
push 0x4abbe0
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push 0x4abbef
lea eax, [ebp - 0x314]
push eax
lea edx, [ebp - 0x113c]
push edx
push str.local_version
call sub.KERNEL32.DLL_WritePrivateProfileStringA
jmp 0x403639
cmp dword [ebp - 0x180], 0
jne 0x403639
push 0
lea ecx, [ebp - 0xe30]
push ecx
lea eax, [ebp - 0x714]
push eax
push str.UPDATE_UPDATE_FILE_FAILED
call fcn.00401d20
add esp, 0x10
mov edx, dword [sym.Update.exe__MainForm]
mov ecx, dword [edx + 0x32c]
add ecx, 0x220
mov dword [ebp - 0x1cc], ecx
mov word [ebp - 0x158], 0x8c
lea edx, [ebp - 0x714]
lea eax, [ebp - 0xfc]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0xfc]
mov edx, 2
call fcn.004a55bc
mov word [ebp - 0x158], 0x98
lea edx, [ebp - 0xe30]
lea eax, [ebp - 0x100]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.004a55bc
inc dword [ebp - 0x190]
push 0x10
push 0x4abc1f
lea ecx, [ebp - 0x714]
push ecx
push 0
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x180], 1
push 0x4abc43
lea eax, [ebp - 0x818]
push eax
push 0x4abc3a
push 0x4abc31
call sub.KERNEL32.DLL_WritePrivateProfileStringA
lea edx, [ebp - 0x1448]
push edx
call fcn.004848b4
pop ecx
test eax, eax
je 0x403671
lea ecx, [ebp - 0x1448]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [ebp - 0x1344]
push eax
call fcn.004848b4
pop ecx
test eax, eax
je 0x40368e
lea edx, [ebp - 0x1344]
push edx
call sub.KERNEL32.DLL_DeleteFileA
lea ecx, [ebp - 0x1038]
push ecx
call fcn.004848b4
pop ecx
test eax, eax
je 0x4036ab
lea eax, [ebp - 0x1240]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov edx, dword [sym.Update.exe__MainForm]
mov eax, dword [edx + 0x31c]
mov edx, 0x64
call fcn.004774f4
imul eax, dword [ebp - 0x170], 0x64
mov edx, dword [sym.Update.exe__MainForm]
mov ecx, dword [edx + 0x56c]
cdq
idiv ecx
mov edx, eax
mov eax, dword [sym.Update.exe__MainForm]
mov eax, dword [eax + 0x324]
call fcn.004774f4
mov edx, dword [0x4b3974]
mov eax, dword [edx]
call fcn.0045a364
cmp dword [ebp - 0x180], 0
jne 0x40375b
inc dword [ebp - 0x18c]
push dword [ebp - 0x18c]
push str.file_source__d
lea edx, [ebp - 0x91c]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0xd2c]
push ecx
push 0x4abc65
lea eax, [ebp - 0x91c]
push eax
lea edx, [ebp - 0xa20]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0xd2c]
push ecx
call fcn.004848b4
pop ecx
test eax, eax
jne 0x402b1b
cmp dword [ebp - 0x180], 0
jne 0x403df3
mov dword [ebp - 0x18c], 1
push dword [ebp - 0x18c]
push 0x4abc66
lea eax, [ebp - 0x91c]
push eax
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea edx, [ebp - 0x314]
push edx
push 0x4abc75
lea ecx, [ebp - 0x91c]
push ecx
lea eax, [ebp - 0xa20]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x4039f4
push 0x2c
lea edx, [ebp - 0x314]
push edx
call fcn.004849ad
add esp, 8
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
je 0x403843
mov ecx, dword [ebp - 0x1d0]
mov byte [ecx], 0
inc dword [ebp - 0x1d0]
jmp 0x4037ef
inc dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1d0]
cmp byte [eax], 0
je 0x403816
mov edx, dword [ebp - 0x1d0]
movsx ecx, byte [edx]
cmp ecx, 0x20
je 0x4037e9
mov eax, dword [ebp - 0x1d0]
movsx edx, byte [eax]
cmp edx, 9
je 0x4037e9
lea ecx, [ebp - 0x314]
push ecx
lea eax, [ebp - 0xd2c]
push eax
call fcn.00484884
add esp, 8
push dword [ebp - 0x1d0]
lea edx, [ebp - 0xe30]
push edx
call fcn.00484884
add esp, 8
jmp 0x40386f
lea ecx, [ebp - 0x314]
push ecx
lea eax, [ebp - 0xd2c]
push eax
call fcn.00484884
add esp, 8
lea edx, [ebp - 0x314]
push edx
lea ecx, [ebp - 0xe30]
push ecx
call fcn.00484884
add esp, 8
push 0x80
lea eax, [ebp - 0xe30]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
lea edx, [ebp - 0xe30]
push edx
lea ecx, [ebp - 0xd2c]
push ecx
call sub.KERNEL32.DLL_MoveFileA
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x403929
lea eax, [ebp - 0xe30]
push eax
lea edx, [ebp - 0xd2c]
push edx
lea ecx, [ebp - 0x714]
push ecx
push str.UPDATE_RENAME_FILE_SUCCEED
call fcn.00401d20
add esp, 0x10
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x1d4], edx
mov word [ebp - 0x158], 0xa4
lea edx, [ebp - 0x714]
lea eax, [ebp - 0x104]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1d4]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x104]
mov edx, 2
call fcn.004a55bc
jmp 0x4039ad
lea ecx, [ebp - 0xe30]
push ecx
lea eax, [ebp - 0xd2c]
push eax
lea edx, [ebp - 0x714]
push edx
push str.UPDATE_RENAME_FILE_FAILED
call fcn.00401d20
add esp, 0x10
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x1d8], eax
mov word [ebp - 0x158], 0xb0
lea edx, [ebp - 0x714]
lea eax, [ebp - 0x108]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1d8]
mov eax, dword [ecx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.004a55bc
inc dword [ebp - 0x190]
inc dword [ebp - 0x18c]
push dword [ebp - 0x18c]
push str.rename_file__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x314]
push eax
push 0x4abcba
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x314]
push eax
call fcn.004848b4
pop ecx
test eax, eax
jne 0x4037b8
mov dword [ebp - 0x18c], 1
push dword [ebp - 0x18c]
push 0x4abcbb
lea edx, [ebp - 0x91c]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x314]
push ecx
push 0x4abcca
lea eax, [ebp - 0x91c]
push eax
lea edx, [ebp - 0xa20]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x403b45
push 0x80
lea ecx, [ebp - 0x314]
push ecx
call sub.KERNEL32.DLL_SetFileAttributesA
lea eax, [ebp - 0x314]
push eax
call sub.KERNEL32.DLL_DeleteFileA
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x403afe
push 0
lea edx, [ebp - 0x314]
push edx
lea ecx, [ebp - 0x714]
push ecx
push str.UPDATE_DELETE_FILE_SUCCEED
call fcn.00401d20
add esp, 0x10
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x1dc], edx
mov word [ebp - 0x158], 0xbc
lea edx, [ebp - 0x714]
lea eax, [ebp - 0x10c]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.004a55bc
inc dword [ebp - 0x18c]
push dword [ebp - 0x18c]
push str.delete_file__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x314]
push eax
push 0x4abcf5
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x314]
push eax
call fcn.004848b4
pop ecx
test eax, eax
jne 0x403a59
mov dword [ebp - 0x18c], 1
push dword [ebp - 0x18c]
push 0x4abcf6
lea edx, [ebp - 0x91c]
push edx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x314]
push ecx
push 0x4abd0f
lea eax, [ebp - 0x91c]
push eax
lea edx, [ebp - 0xa20]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x403d17
push 5
push 0
push 0
lea ecx, [ebp - 0x314]
push ecx
push str.open
push 0
call sub.SHELL32.DLL_ShellExecuteA
cmp eax, 0x20
setg al
and eax, 1
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x403c56
push 0
lea edx, [ebp - 0x314]
push edx
lea ecx, [ebp - 0x714]
push ecx
push str.UPDATE_RUN_PROCESS_SUCCEED
call fcn.00401d20
add esp, 0x10
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x1e0], edx
mov word [ebp - 0x158], 0xc8
lea edx, [ebp - 0x714]
lea eax, [ebp - 0x110]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.004a55bc
jmp 0x403cd0
push 0
lea ecx, [ebp - 0x314]
push ecx
lea eax, [ebp - 0x714]
push eax
push str.UPDATE_RUN_PROCESS_FAILED
call fcn.00401d20
add esp, 0x10
mov edx, dword [sym.Update.exe__MainForm]
mov ecx, dword [edx + 0x32c]
add ecx, 0x220
mov dword [ebp - 0x1e4], ecx
mov word [ebp - 0x158], 0xd4
lea edx, [ebp - 0x714]
lea eax, [ebp - 0x114]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.004a55bc
inc dword [ebp - 0x18c]
push dword [ebp - 0x18c]
push str.run_proc_after_update__d
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x314]
push eax
push 0x4abd63
lea edx, [ebp - 0x91c]
push edx
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x314]
push eax
call fcn.004848b4
pop ecx
test eax, eax
jne 0x403baa
cmp dword [ebp - 0x190], 0
jg 0x403da1
push dword [ebp + 8]
push 0x104
lea edx, [ebp - 0x314]
push edx
push 0x4abd70
push str.last_update
lea ecx, [ebp - 0xa20]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push dword [ebp - 0x188]
push 0x4abd71
lea eax, [ebp - 0x91c]
push eax
call fcn.00487f0c
add esp, 0xc
push 0x4abd8a
lea edx, [ebp - 0x314]
push edx
lea ecx, [ebp - 0x91c]
push ecx
push 0x4abd7e
call sub.KERNEL32.DLL_WritePrivateProfileStringA
lea edx, [ebp - 0xb24]
mov eax, dword [sym.Update.exe__MainForm]
call fcn.00405ccc
inc dword [ebp - 0x188]
push dword [ebp - 0x188]
push 0x4abda0
lea ecx, [ebp - 0x91c]
push ecx
call fcn.00487f0c
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0xa20]
push eax
push 0x4abdb8
lea edx, [ebp - 0x91c]
push edx
push 0x4abdac
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp dword [ebp - 0x188], 0xa
jle 0x40256e
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x324]
mov edx, 0x64
call fcn.004774f4
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x1e8], eax
mov word [ebp - 0x158], 0xe0
mov edx, 0x4abdb9
lea eax, [ebp - 0x118]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ecx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.004a55bc
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x403ee9
push 0
push 0
lea ecx, [ebp - 0x314]
push ecx
push str.UPDATE_SUCCEED_FILES
call fcn.00401d20
add esp, 0x10
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x1ec], edx
mov word [ebp - 0x158], 0xec
lea edx, [ebp - 0x314]
lea eax, [ebp - 0x11c]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x11c]
mov edx, 2
call fcn.004a55bc
jmp 0x403f5d
push 0
push 0
lea ecx, [ebp - 0x314]
push ecx
push 0x4abdd1
call fcn.00401d20
add esp, 0x10
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x1f0], edx
mov word [ebp - 0x158], 0xf8
lea edx, [ebp - 0x314]
lea eax, [ebp - 0x120]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.004a55bc
mov eax, dword [ebp - 0x174]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x403fa1
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x1f4], eax
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx]
mov edx, dword [ebp - 0x174]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x174]
mov edx, dword [eax]
call dword [edx + 0x44]
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x128], ecx
cmp dword [ebp - 0x128], 0
je 0x403fe6
mov eax, dword [ebp - 0x128]
mov edx, dword [eax]
mov dword [ebp - 0x124], edx
mov word [ebp - 0x158], 0x110
mov edx, 3
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x158], 0x104
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x1f8], edx
mov word [ebp - 0x158], 0x11c
mov edx, 0x4abde4
lea eax, [ebp - 0x12c]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x12c]
mov edx, 2
call fcn.004a55bc
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x404109
push 0
push 0
lea ecx, [ebp - 0x314]
push ecx
push str.UPDATE_FAILED_FILES
call fcn.00401d20
add esp, 0x10
mov eax, dword [sym.Update.exe__MainForm]
mov edx, dword [eax + 0x32c]
add edx, 0x220
mov dword [ebp - 0x1fc], edx
mov word [ebp - 0x158], 0x128
lea edx, [ebp - 0x314]
lea eax, [ebp - 0x130]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1fc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x130]
mov edx, 2
call fcn.004a55bc
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x200], eax
mov edx, dword [ebp - 0x200]
mov eax, dword [edx]
mov edx, dword [ebp - 0x178]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
call dword [edx + 0x44]
mov dword [ebp - 0x180], 1
jmp 0x404136
push 0
push 0
lea ecx, [ebp - 0x314]
push ecx
push str.UPDATE_ALL_SUCCEED
call fcn.00401d20
add esp, 0x10
push 0x40
push 0x4abe0e
lea eax, [ebp - 0x314]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0
je 0x40417b
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx]
mov dword [ebp - 0x134], eax
mov word [ebp - 0x158], 0x140
mov edx, 3
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x158], 0x134
push 0
push 0
lea edx, [ebp - 0x314]
push edx
push str.UPDATE_COMPLETED
call fcn.00401d20
add esp, 0x10
mov word [ebp - 0x158], 0x14c
lea edx, [ebp - 0x314]
lea eax, [ebp - 0x13c]
call fcn.004a5548
inc dword [ebp - 0x14c]
mov edx, dword [eax]
mov eax, dword [sym.Update.exe__MainForm]
mov eax, dword [eax + 0x340]
call fcn.00465034
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x13c]
mov edx, 2
call fcn.004a55bc
push 0x4abe3e
push str..update.log
call fcn.004867cc
add esp, 8
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
jne 0x404213
mov eax, 1
mov edx, dword [ebp - 0x168]
mov dword fs:[0], edx
jmp 0x404383
mov word [ebp - 0x158], 0x158
add esp, 0xfffffff8
call fcn.0041e050
fstp qword [esp]
xor ecx, ecx
mov dword [ebp - 0x140], ecx
lea eax, [ebp - 0x140]
inc dword [ebp - 0x14c]
call fcn.0041ec94
cmp dword [ebp - 0x140], 0
je 0x404251
mov edx, dword [ebp - 0x140]
jmp 0x404256
mov edx, 0x4abe47
push edx
push str._n_s_n_n
push dword [ebp - 0x204]
call fcn.00486800
add esp, 0xc
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x140]
mov edx, 2
call fcn.004a55bc
xor eax, eax
mov dword [ebp - 0x208], eax
jmp 0x40431a
mov word [ebp - 0x158], 0x164
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x210], eax
xor edx, edx
mov dword [ebp - 0x144], edx
lea ecx, [ebp - 0x144]
inc dword [ebp - 0x14c]
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
mov edx, dword [ebp - 0x208]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x144], 0
je 0x4042e5
mov eax, dword [ebp - 0x144]
jmp 0x4042ea
mov eax, 0x4abe4c
push eax
push 0x4abe48
push dword [ebp - 0x204]
call fcn.00486800
add esp, 0xc
dec dword [ebp - 0x14c]
lea eax, [ebp - 0x144]
mov edx, 2
call fcn.004a55bc
inc dword [ebp - 0x208]
mov ecx, dword [sym.Update.exe__MainForm]
mov eax, dword [ecx + 0x32c]
add eax, 0x220
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x20c]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x208]
jg 0x40428d
push str.______________________________________n_n
push dword [ebp - 0x204]
call fcn.00486800
add esp, 8
push dword [ebp - 0x204]
call fcn.00486460
pop ecx
cmp dword [ebp - 0x180], 0
sete al
and eax, 1
mov edx, dword [ebp - 0x168]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret