Function at 0x41d580
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x49fc10
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
xor ebp, ebp
call fcn.00460a7a
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41d5c7
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x70], ebp
call fcn.00460a7a
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41d5f5
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 1
call fcn.00460a7a
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41d624
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x74], 2
call fcn.00434a60
mov eax, dword [eax]
push str.ESTsoftALUpdate
push eax
lea edx, [esp + 0x30]
mov bl, 3
push edx
mov byte [esp + 0x80], bl
call fcn.00435c10
mov ecx, dword [esp + 0x88]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x38]
push str._s_sUpdateInfo.ini
push eax
mov byte [esp + 0x90], 4
call fcn.00402320
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x20
mov byte [esp + 0x70], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d6a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x70], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d6cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
push 0x4a5956
push str.Updated
push str.ProductInfo
call edi
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x41d768
cmp dword [0x4cd000], 0
jne 0x41d8bc
test ebx, ebx
mov eax, ebx
je 0x41d933
mov ebp, dword [eax + 8]
mov ebx, dword [ebx]
lea edx, [esp + 0x2c]
push edx
mov ecx, ebp
call fcn.00406850
mov ecx, dword [esp + 0x78]
mov eax, dword [eax]
push ecx
push eax
call fcn.0048184e
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
jne 0x41d938
test ebx, ebx
jne 0x41d6fa
cmp byte [ebp + 0x5c], 5
mov ecx, ebp
je 0x41da5b
call fcn.0041ccc0
push esi
push str.012
push str.Updated
push str.ProductInfo
mov ebp, eax
call edi
mov eax, dword [ebp + 4]
push esi
push eax
push str.EngName
push str.ProductInfo
call edi
mov eax, dword [ebp + 8]
push esi
push eax
push str.LocalName
push str.ProductInfo
call edi
mov eax, dword [ebp + 0x34]
push esi
push eax
push str.Mutex
push str.ProductInfo
call edi
mov eax, dword [ebp + 0x2c]
push esi
push eax
push str.MainApp
push str.ProductInfo
call edi
mov eax, dword [ebp + 0x1c]
push esi
push eax
push str.NewVersion
push str.ProductInfo
call edi
mov ecx, dword [esp + 0x1c]
push esi
push ecx
push str.Descript1
push str.ProductInfo
call edi
push 0x4a6b18
push 0x4a8f38
lea ecx, [esp + 0x20]
call fcn.004068b0
push 0x4a8f34
push 0x4a6b18
lea ecx, [esp + 0x20]
call fcn.004068b0
mov edx, dword [esp + 0x18]
push esi
push edx
push str.Descript2
push str.ProductInfo
call edi
mov eax, dword [ebp + 0x6c]
sub eax, 0x10
push eax
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [esp + 0x78], eax
push 0x4a8f34
push 0x4a6b18
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 7
call fcn.004068b0
mov ebx, dword [esp + 0x78]
push esi
push ebx
push str.SimpleDescript
push str.ProductInfo
call edi
mov ebp, dword [ebp + 0x68]
push esi
push ebp
push str.LogoImageURL
push str.ProductInfo
call edi
push esi
push 0x4a5956
push str.DownloadedPath
push str.FileInfo
call edi
lea eax, [ebx - 0x10]
mov byte [esp + 0x70], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d9e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41d9e6
add esi, 0xfffffff0
mov byte [esp + 0x70], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d8dd
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x70], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d902
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 dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41dc0f
call fcn.0045fd3b
push 0
push 0
push 0x466
mov ecx, 0x4cd010
mov dword [0x4cd004], ebp
call fcn.00401510
push 0
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebp
call fcn.004089d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 5
call fcn.00402260
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x70], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d993
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebp
call fcn.004089d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 6
call fcn.00402260
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x70], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d9d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
mov ecx, ebp
call fcn.004080c0
test eax, eax
jne 0x41d768
add esi, 0xfffffff0
mov byte [esp + 0x70], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41da07
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x70], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41da2c
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 dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41da54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41dc14
push 0x41d4d0
call fcn.00405ca0
mov ecx, ebp
call fcn.00406620
test eax, eax
je 0x41d9e6
push 0x41d4d0
mov ecx, ebp
call fcn.00405ca0
push 0
mov ecx, ebp
call fcn.00406ed0
test eax, eax
jne 0x41daaf
lea ecx, [esp + 0x20]
call fcn.004016f0
lea ecx, [esp + 0x18]
call fcn.004016f0
lea ecx, [esp + 0x1c]
call fcn.004016f0
xor eax, eax
jmp 0x41dc14
push 0
mov ecx, ebp
call fcn.00405df0
test eax, eax
je 0x41da8d
push eax
lea ecx, [esp + 0x34]
call fcn.0041ceb0
mov ecx, ebp
mov byte [esp + 0x70], 8
call fcn.0041ccc0
push esi
push 0x4a75c0
push str.Updated
push str.ProductInfo
mov ebp, eax
call edi
mov eax, dword [ebp + 4]
push esi
push eax
push str.EngName
push str.ProductInfo
call edi
mov eax, dword [ebp + 8]
push esi
push eax
push str.LocalName
push str.ProductInfo
call edi
mov eax, dword [ebp + 0x34]
push esi
push eax
push str.Mutex
push str.ProductInfo
call edi
mov eax, dword [ebp + 0x2c]
push esi
push eax
push str.MainApp
push str.ProductInfo
call edi
mov eax, dword [ebp + 0x1c]
push esi
push eax
push str.NewVersion
push str.ProductInfo
call edi
mov ecx, dword [esp + 0x1c]
push esi
push ecx
push str.Descript1
push str.ProductInfo
call edi
push 0x4a6b18
push 0x4a8f38
lea ecx, [esp + 0x20]
call fcn.004068b0
push 0x4a8f34
push 0x4a6b18
lea ecx, [esp + 0x20]
call fcn.004068b0
mov edx, dword [esp + 0x18]
push esi
push edx
push str.Descript2
push str.ProductInfo
call edi
lea eax, [ebp + 0x6c]
push eax
lea ecx, [esp + 0x7c]
call fcn.00401ae0
push 0x4a8f34
push 0x4a6b18
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 9
call fcn.004068b0
mov ecx, dword [esp + 0x78]
push esi
push ecx
push str.SimpleDescript
push str.ProductInfo
call edi
mov edx, dword [ebp + 0x68]
push esi
push edx
push str.LogoImageURL
push str.ProductInfo
call edi
mov eax, dword [esp + 0x48]
push esi
push eax
push str.DownloadedPath
push str.FileInfo
call edi
lea ecx, [esp + 0x78]
call fcn.004016f0
lea ecx, [esp + 0x30]
call fcn.00406420
lea ecx, [esp + 0x20]
call fcn.004016f0
lea ecx, [esp + 0x18]
call fcn.004016f0
lea ecx, [esp + 0x1c]
call fcn.004016f0
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4