Function at 0x4208c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a0291
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x34], esi
xor ebp, ebp
mov dword [esp + 0x20], ebp
call fcn.0041d1c0
cmp eax, ebp
mov dword [esp + 0x44], eax
push ebp
mov ecx, 0x4cd010
jne 0x42091d
push 3
push 0x468
call fcn.00401510
jmp 0x42156d
mov ebx, dword [esi + 4]
push 1
push 0x468
call fcn.00401510
push ebp
push 3
push 0x465
mov ecx, 0x4cd010
mov dword [0x4cd224], ebp
mov dword [0x4cd220], ebp
call fcn.00401510
push 0x4a5956
lea ecx, [esp + 0x28]
call fcn.00403080
push 0x4a5956
lea ecx, [esp + 0x20]
mov dword [esp + 0x104], ebp
call fcn.00403080
push 0x4a5956
lea ecx, [esp + 0x18]
mov byte [esp + 0x104], 1
call fcn.00403080
push 0x4a5956
lea ecx, [esp + 0x2c]
mov byte [esp + 0x104], 2
call fcn.00403080
cmp dword [0x4cd0e8], ebp
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [esp + 0x100], 3
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], 1
jne 0x420a8f
mov eax, dword [0x4cd0fc]
push eax
call fcn.0042f930
add esp, 4
cmp eax, 1
jne 0x420a8f
lea ecx, [esp + 0x38]
push ecx
call fcn.00434a60
mov eax, dword [eax]
push str.ESTsoftALUpdate
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x110], 4
call fcn.00435c10
mov ecx, dword [0x4cd0fc]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s_sUpdateInfo.ini
push eax
mov byte [esp + 0x120], 5
call fcn.00402320
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x20
mov byte [esp + 0x100], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x100], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x14]
push edx
push 0x4a5956
push str.Updated
push str.ProductInfo
call esi
cmp ebx, ebp
je 0x420cbd
cmp dword [0x4cd000], ebp
jne 0x421276
cmp ebx, ebp
mov eax, ebx
je 0x421322
mov edi, dword [eax + 8]
mov ebx, dword [ebx]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.00405ce0
test eax, eax
je 0x420cb5
push ebp
push ebp
push 0x466
mov ecx, 0x4cd010
mov dword [0x4cd004], edi
call fcn.00401510
cmp dword [0x4cd0e8], ebp
jne 0x420b43
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.00406850
mov ecx, dword [0x4cd0fc]
mov eax, dword [eax]
or dword [esp + 0x20], 1
push ecx
push eax
mov byte [esp + 0x108], 6
call fcn.0048184e
add esp, 8
test eax, eax
jne 0x420b43
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00406850
mov eax, dword [eax]
or dword [esp + 0x20], 2
push eax
mov dword [esp + 0x104], 7
call fcn.0042f930
add esp, 4
cmp eax, 1
jne 0x420b43
mov bl, al
jmp 0x420b45
xor bl, bl
test byte [esp + 0x20], 2
mov dword [esp + 0x100], 6
je 0x420b7c
mov eax, dword [esp + 0x38]
and dword [esp + 0x20], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [esp + 0x20], 1
mov dword [esp + 0x100], 3
je 0x420bb3
mov eax, dword [esp + 0x40]
and dword [esp + 0x20], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420bb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x420c94
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.00406850
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x104], 8
call fcn.00402260
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x100], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420c05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.004089d0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x104], 9
call fcn.00402260
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x100], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420c4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.004089d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x104], 0xa
call fcn.00402260
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x100], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420c94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
mov ecx, edi
call fcn.004080c0
test eax, eax
je 0x421327
mov ecx, edi
call fcn.00405de0
add dword [0x4cd224], eax
mov ebx, dword [esp + 0x18]
cmp ebx, ebp
jne 0x420a97
cmp dword [0x4cd0e8], ebp
jne 0x420e51
mov ecx, dword [0x4cd0fc]
push ecx
call fcn.0042f930
add esp, 4
cmp eax, 1
jne 0x420e51
cmp dword [esp + 0x2c], ebp
je 0x420e51
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x5c], 5
je 0x420e51
mov ecx, edx
call fcn.0041ccc0
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
push str.012
push str.Updated
push str.ProductInfo
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
push ecx
push eax
push str.EngName
push str.ProductInfo
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 8]
push edx
push eax
push str.LocalName
push str.ProductInfo
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x34]
push ecx
push eax
push str.Mutex
push str.ProductInfo
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x2c]
push edx
push eax
push str.MainApp
push str.ProductInfo
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x1c]
push ecx
push eax
push str.NewVersion
push str.ProductInfo
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push edx
push eax
push str.Descript1
push str.ProductInfo
call esi
push 0x4a6b18
push 0x4a8f38
lea ecx, [esp + 0x24]
call fcn.004068b0
push 0x4a8f34
push 0x4a6b18
lea ecx, [esp + 0x24]
call fcn.004068b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push str.Descript2
push str.ProductInfo
call esi
lea eax, [edi + 0x6c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ae0
push 0x4a8f34
push 0x4a6b18
lea ecx, [esp + 0x20]
mov byte [esp + 0x108], 0xb
call fcn.004068b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str.SimpleDescript
push str.ProductInfo
call esi
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 0x68]
push eax
push edi
push str.LogoImageURL
push str.ProductInfo
call esi
mov ecx, dword [esp + 0x14]
push ecx
push 0x4a5956
push str.DownloadedPath
push str.FileInfo
call esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x100], 3
call fcn.004016f0
mov edx, dword [esp + 0x34]
mov edi, dword [edx + 4]
push ebp
push 4
push 0x465
mov ecx, 0x4cd010
call fcn.00401510
cmp edi, ebp
je 0x420eab
mov edi, edi
cmp dword [0x4cd000], 0
jne 0x421549
test edi, edi
mov eax, edi
je 0x421322
mov ebp, dword [eax + 8]
mov edi, dword [edi]
push 0x41d4d0
mov ecx, ebp
call fcn.00405ca0
mov ecx, ebp
call fcn.00406620
test eax, eax
je 0x4213d1
test edi, edi
jne 0x420e70
push 0
push 2
push 0x468
mov ecx, 0x4cd010
call fcn.00401510
mov ebx, dword [esp + 0x34]
push 0
push 1
mov dword [0x4cd220], 0
mov ebp, dword [ebx + 4]
push 0x465
mov ecx, 0x4cd010
call fcn.00401510
test ebp, ebp
mov dword [esp + 0x20], 0
je 0x420f61
cmp dword [0x4cd000], 0
jne 0x421549
test ebp, ebp
mov eax, ebp
je 0x421322
mov edi, dword [eax + 8]
mov ebp, dword [ebp]
mov ecx, edi
call fcn.00405ce0
test eax, eax
je 0x420f5d
push 0
push 0
push 0x466
mov ecx, 0x4cd010
mov dword [0x4cd004], edi
call fcn.00401510
push 0x41d4d0
mov ecx, edi
call fcn.00405ca0
mov eax, dword [esp + 0x108]
push eax
mov ecx, edi
call fcn.00406ed0
test eax, eax
je 0x4213d1
mov ecx, edi
call fcn.0041ccc0
mov dword [esp + 0x20], eax
test ebp, ebp
jne 0x420eee
cmp dword [0x4cd0e8], 0
jne 0x421125
mov ecx, dword [0x4cd0fc]
push ecx
call fcn.0042f930
add esp, 4
cmp eax, 1
jne 0x421125
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x421125
cmp dword [esp + 0x3c], eax
jne 0x421125
push 0
mov ecx, edi
call fcn.00405df0
test eax, eax
je 0x4213d1
push eax
lea ecx, [esp + 0xc4]
call fcn.0041ceb0
mov ecx, edi
mov byte [esp + 0x100], 0xc
call fcn.0041ccc0
mov edx, dword [esp + 0x14]
push edx
push 0x4a75c0
push str.Updated
push str.ProductInfo
mov edi, eax
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
push ecx
push eax
push str.EngName
push str.ProductInfo
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 8]
push edx
push eax
push str.LocalName
push str.ProductInfo
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x34]
push ecx
push eax
push str.Mutex
push str.ProductInfo
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x2c]
push edx
push eax
push str.MainApp
push str.ProductInfo
call esi
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x1c]
push ecx
push eax
push str.NewVersion
push str.ProductInfo
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push edx
push eax
push str.Descript1
push str.ProductInfo
call esi
push 0x4a6b18
push 0x4a8f38
lea ecx, [esp + 0x24]
call fcn.004068b0
push 0x4a8f34
push 0x4a6b18
lea ecx, [esp + 0x24]
call fcn.004068b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push str.Descript2
push str.ProductInfo
call esi
lea eax, [edi + 0x6c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ae0
push 0x4a8f34
push 0x4a6b18
lea ecx, [esp + 0x20]
mov byte [esp + 0x108], 0xd
call fcn.004068b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str.SimpleDescript
push str.ProductInfo
call esi
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 0x68]
push eax
push edi
push str.LogoImageURL
push str.ProductInfo
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xd8]
push ecx
push edx
push str.DownloadedPath
push str.FileInfo
call esi
lea ecx, [esp + 0x18]
call fcn.004016f0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x100], 3
call fcn.00406420
mov eax, dword [0x4cd0e8]
cmp eax, 5
je 0x4213fc
test eax, eax
je 0x4213fc
cmp dword [esp + 0x108], 0
jne 0x4213fc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4213fc
cmp byte [eax + 0x5c], 5
jne 0x4213fc
call fcn.00431730
test eax, eax
je 0x4213fc
call fcn.00431d80
test eax, eax
jne 0x4213fc
push 0x4a5956
lea ecx, [esp + 0x1c]
call fcn.00403080
cmp dword [0x4cd0e8], 0xffffffff
mov bl, 0xe
mov byte [esp + 0x100], bl
jne 0x4211aa
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
add eax, 4
push eax
call fcn.0041e850
mov esi, dword [esp + 0x20]
add esi, 4
push esi
mov dword [0x4cd104], 1
call fcn.004356d0
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x20]
push str._nowupdate__s
push edx
call fcn.00402320
lea eax, [esp + 0x40]
push eax
call fcn.00435120
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
push 1
push 0
push 0
push ecx
push eax
mov byte [esp + 0x128], 0xf
call fcn.00435380
add esp, 0x28
lea ecx, [esp + 0x30]
mov esi, eax
mov byte [esp + 0x100], bl
call fcn.004016f0
cmp esi, 0x20
jbe 0x421222
push 0
push 0
push 0x10
mov ecx, 0x4cd010
call fcn.00401510
cmp esi, 5
jne 0x421268
lea edx, [esp + 0x30]
push 0x2754
push edx
call fcn.00435050
add esp, 8
mov eax, dword [eax]
push 0
push 0x10
push eax
mov byte [esp + 0x10c], 0x10
call fcn.00462fc0
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], bl
call fcn.004016f0
mov ecx, dword [esp + 0x34]
push 3
call fcn.0041cc60
lea ecx, [esp + 0x18]
call fcn.004016f0
jmp 0x421549
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x100], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42129e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x100], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4212c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x100], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4212ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x100], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42156d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42156d
call fcn.0045fd3b
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x100], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42134f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x100], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x100], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42139f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x100], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4213ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x421572
lea ecx, [esp + 0x28]
call fcn.004016f0
lea ecx, [esp + 0x14]
call fcn.004016f0
lea ecx, [esp + 0x1c]
call fcn.004016f0
lea ecx, [esp + 0x24]
call fcn.004016f0
xor eax, eax
jmp 0x421572
push 4
mov ecx, ebx
call fcn.0041cca0
mov edi, dword [ebx + 4]
lea ecx, [esp + 0x50]
call fcn.00405ed0
test edi, edi
mov byte [esp + 0x100], 0x11
je 0x421498
mov ebp, dword [esp + 0x44]
cmp dword [0x4cd000], 0
jne 0x421538
test edi, edi
mov eax, edi
je 0x421322
mov esi, dword [eax + 8]
mov edi, dword [edi]
mov ecx, esi
call fcn.00405ce0
test eax, eax
je 0x421494
mov eax, dword [esp + 0x108]
push ebp
push 0
push eax
mov ecx, esi
call fcn.00408df0
test eax, eax
je 0x421494
mov ecx, esi
call fcn.0041ccc0
add eax, 4
push eax
lea ecx, [esp + 0x58]
call fcn.00402260
mov ecx, esi
call fcn.0041ccc0
mov cl, byte [eax + 0x5d]
mov byte [esp + 0xad], cl
mov ecx, esi
call fcn.0041ccc0
mov edx, dword [eax + 0x60]
mov dword [esp + 0xb0], edx
test edi, edi
jne 0x421421
mov eax, dword [esp + 0x54]
cmp dword [eax - 0xc], 0
je 0x42150a
mov ecx, ebx
call fcn.0041ccd0
push 0
push 1
push 0
mov ecx, ebx
call fcn.0041f560
mov eax, dword [ebx + 4]
test eax, eax
mov dword [esp + 0x18], eax
je 0x42150a
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00405dc0
mov ecx, dword [eax]
call fcn.0041ccc0
mov esi, eax
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x58]
call fcn.004015f0
test eax, eax
jne 0x421503
push esi
mov ecx, ebx
call fcn.0041cc80
mov dl, byte [esp + 0xad]
mov byte [esi + 0x5d], dl
mov eax, dword [esp + 0xb0]
mov dword [esi + 0x60], eax
cmp dword [esp + 0x18], 0
jne 0x4214c1
push 3
mov ecx, ebx
call fcn.0041cc60
mov esi, dword [ebx + 4]
test esi, esi
je 0x421538
lea ebx, [ebx]
test esi, esi
mov eax, esi
je 0x421322
mov ecx, dword [eax + 8]
mov esi, dword [esi]
call fcn.00408a80
test esi, esi
jne 0x421520
lea ecx, [esp + 0x50]
mov byte [esp + 0x100], 3
call fcn.004061c0
lea ecx, [esp + 0x28]
call fcn.004016f0
lea ecx, [esp + 0x14]
call fcn.004016f0
lea ecx, [esp + 0x1c]
call fcn.004016f0
lea ecx, [esp + 0x24]
call fcn.004016f0
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 4