Function at 0x4169f0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677d8f
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x71906c]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp + 0x18]
push 0x104
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00507a50
add esp, 0xc
lea ecx, [ebp - 0x2e0]
call fcn.004df730
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x144], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416aa3
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x144]
call fcn.00407210
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 1
push eax
call fcn.004cd55a
add esp, 4
test eax, eax
jne 0x416b36
mov edx, dword [ebp - 0x130]
mov eax, edx
mov ecx, dword [ebp - 0x134]
sub eax, ecx
push 1
push 0x700bbc
cmp eax, 1
jb 0x416b1c
cmp edx, 0x10
lea esi, [ebp - 0x144]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x144]
add esi, ecx
mov dword [ebp - 0x134], eax
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x416b36
mov byte [ebp - 0x2d8], 0
lea ecx, [ebp - 0x144]
push dword [ebp - 0x2d8]
push 1
call fcn.00407e50
call fcn.004d314f
test al, al
je 0x416bae
mov eax, dword [0x729d00]
test eax, eax
je 0x416bae
cmp dword [eax + 4], 5
jl 0x416bae
sub esp, 0xc
lea ecx, [ebp - 0x2c4]
push 0x21c
push str.CDoWebInstLogic::OnInsOwerLogic
push 5
call fcn.0040e480
mov esi, eax
mov edx, str.ower_dlfile_mode:
mov byte [ebp - 4], 2
lea ecx, [esi + 0x30]
call fcn.0040e2f0
mov eax, dword [ebp - 0x2cc]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x416b8b
mov edx, dword [eax]
lea ecx, [esi + 0x30]
call fcn.0040e2f0
mov ecx, dword [0x729d00]
push esi
call fcn.00410070
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 1
call fcn.0040e880
cmp dword [edi + 0x10], 0
lea ebx, [edi + 0x10]
ja 0x41737e
mov ebx, dword [ebp - 0x2cc]
mov eax, dword [ebx + 0x64]
mov edi, dword [ebx + 0x60]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2d8], edi
cmp edi, eax
je 0x416fa5
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x174]
call fcn.00406d70
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x12c]
call fcn.00406d70
mov byte [ebp - 4], 4
lea eax, [ebp - 0x174]
cmp dword [ebp - 0x160], 0x10
cmovae eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov esi, eax
mov ebx, esi
mov dword [ebp - 0x2d0], esi
lea eax, [ebx + 1]
nop
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x416c30
mov edx, dword [ebp - 0x118]
sub ebx, eax
mov ecx, dword [ebp - 0x11c]
mov eax, edx
sub eax, ecx
push ebx
cmp ebx, eax
ja 0x416c7e
push dword [ebp - 0x2d0]
cmp edx, 0x10
lea esi, [ebp - 0x12c]
lea eax, [ecx + ebx]
cmovae esi, dword [ebp - 0x12c]
add esi, ecx
mov dword [ebp - 0x11c], eax
push esi
call fcn.005074d0
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x416c98
push esi
mov byte [ebp - 0x2e4], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x2e4]
push ebx
call fcn.00407e50
call fcn.004d314f
test al, al
je 0x416d45
mov eax, dword [0x729d00]
test eax, eax
je 0x416d45
cmp dword [eax + 4], 5
jl 0x416d45
sub esp, 0xc
lea ecx, [ebp - 0x2c4]
push 0x224
push str.CDoWebInstLogic::OnInsOwerLogic
push 5
call fcn.0040e480
mov dword [ebp - 0x2d0], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 5
mov edx, str.dlfile_:
mov ecx, esi
call fcn.0040e2f0
cmp dword [ebp - 0x160], 0x10
lea edx, [ebp - 0x174]
mov ecx, esi
cmovae edx, dword [ebp - 0x174]
call fcn.0040e2f0
mov ebx, dword [0x729d00]
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x416d36
mov edi, dword [ebp - 0x2d0]
nop
mov ecx, dword [esi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [ebx + 0xc]
jne 0x416d20
mov edi, dword [ebp - 0x2d8]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 4
call fcn.0040e880
push 0
push 0
push dword [ebp - 0x2e8]
lea eax, [ebp - 0x12c]
push 0x4145f0
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x1a4]
push eax
call fcn.004cdc49
add esp, 0x20
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x416d85
mov eax, dword [eax]
push eax
push 0x3a8
sub esp, 0x18
lea eax, [ebp - 0x174]
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x18c]
push eax
call fcn.004cdc49
add esp, 0x20
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x416db7
mov eax, dword [eax]
push eax
call fcn.004dfde0
mov byte [ebp - 4], 6
add esp, 0x18
mov edx, dword [ebp - 0x178]
mov bl, al
cmp edx, 8
jb 0x416e06
mov ecx, dword [ebp - 0x18c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416dfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417649
push edx
push ecx
call fcn.0042e7b0
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 7
mov word [ebp - 0x18c], ax
cmp edx, 8
jb 0x416e67
mov ecx, dword [ebp - 0x1a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416e5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417649
push edx
push ecx
call fcn.0042e7b0
add esp, 8
call fcn.004d314f
test bl, bl
jne 0x41703b
test al, al
je 0x416ecb
mov eax, dword [0x729d00]
test eax, eax
je 0x416ecb
cmp dword [eax + 4], 5
jl 0x416ecb
sub esp, 0xc
lea ecx, [ebp - 0x2c4]
push 0x230
push str.CDoWebInstLogic::OnInsOwerLogic
push 5
call fcn.0040e480
mov esi, eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
mov edx, str.dlfile_:_fail
call fcn.0040e2f0
mov ecx, dword [0x729d00]
push esi
call fcn.00410070
lea ecx, [ebp - 0x2c4]
call fcn.0040e880
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmovae eax, dword [ebp - 0x12c]
push eax
call ebx
test eax, eax
jne 0x416f0e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x416f4c
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416f42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417649
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x416f8a
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416f80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417649
push edx
push ecx
call fcn.0042e7b0
add esp, 8
add edi, 0x18
mov dword [ebp - 0x2d8], edi
cmp edi, dword [ebp - 0x2c8]
jne 0x416be0
mov ebx, dword [ebp - 0x2cc]
push 0x17
push str.dlowerpkgfailexename
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.00407210
mov eax, dword [ebp - 0x2dc]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x417173
cmp dword [eax + 0x48], 0x10
lea ecx, [eax + 0x34]
jb 0x416ff0
mov ecx, dword [eax + 0x34]
mov edi, dword [eax + 0x44]
mov esi, dword [ebp - 0x118]
mov eax, esi
mov edx, dword [ebp - 0x11c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x417163
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
lea esi, [eax + edx]
push esi
call fcn.005074d0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4171d3
test al, al
je 0x417096
mov eax, dword [0x729d00]
test eax, eax
je 0x417096
cmp dword [eax + 4], 5
jl 0x417096
sub esp, 0xc
lea ecx, [ebp - 0x2c4]
push 0x22b
push str.CDoWebInstLogic::OnInsOwerLogic
push 5
call fcn.0040e480
mov esi, eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 8
mov edx, str.dlfile_:_ok
call fcn.0040e2f0
mov ecx, dword [0x729d00]
push esi
call fcn.00410070
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 4
call fcn.0040e880
mov esi, dword [ebp - 0x2cc]
lea eax, [ebp - 0x12c]
lea ecx, [esi + 0x6c]
cmp ecx, eax
je 0x4170c3
cmp dword [ebp - 0x118], 0x10
push dword [ebp - 0x11c]
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.00407210
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x417101
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4170f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417649
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x417430
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417154
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41764e
push edx
push ecx
call fcn.0042e7b0
add esp, 8
jmp 0x417430
mov byte [ebp - 0x2c8], 0
push dword [ebp - 0x2c8]
push edi
jmp 0x4171c8
mov edx, dword [ebp - 0x118]
mov eax, edx
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
push 4
push str.none
cmp eax, 4
jb 0x4171b9
cmp edx, 0x10
lea esi, [ebp - 0x12c]
lea eax, [ecx + 4]
cmovae esi, dword [ebp - 0x12c]
add esi, ecx
mov dword [ebp - 0x11c], eax
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x4171d3
mov byte [ebp - 0x2c8], 0
push dword [ebp - 0x2c8]
push 4
lea ecx, [ebp - 0x12c]
call fcn.00407e50
mov edx, dword [ebp - 0x118]
mov eax, edx
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
push 6
push str.mode
cmp eax, 6
jb 0x417219
cmp edx, 0x10
lea esi, [ebp - 0x12c]
lea eax, [ecx + 6]
cmovae esi, dword [ebp - 0x12c]
add esi, ecx
mov dword [ebp - 0x11c], eax
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x417233
mov byte [ebp - 0x2c8], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x2c8]
push 6
call fcn.00407e50
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x41723d
mov ecx, dword [ebx]
mov esi, dword [ebp - 0x118]
mov eax, esi
mov edi, dword [ebx + 0x10]
mov edx, dword [ebp - 0x11c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x417281
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
lea esi, [eax + edx]
push esi
call fcn.005074d0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x41729a
mov byte [ebp - 0x2c8], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x2c8]
push edi
call fcn.00407e50
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
push str.hget
push 0
call fcn.004186c0
mov ecx, eax
call fcn.004064d0
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4172fc
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4172f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417653
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x417351
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417347
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417658
push edx
push ecx
call fcn.0042e7b0
add esp, 8
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
call fcn.004df870
xor al, al
jmp 0x41762b
call fcn.004d314f
test al, al
je 0x417410
mov eax, dword [0x729d00]
test eax, eax
je 0x417410
cmp dword [eax + 4], 5
jl 0x417410
sub esp, 0xc
lea ecx, [ebp - 0x2c4]
push 0x239
push str.CDoWebInstLogic::OnInsOwerLogic
push 5
call fcn.0040e480
mov dword [ebp - 0x2c8], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0xa
mov edx, str.ower_dlfile_mode:
mov ecx, esi
call fcn.0040e2f0
mov eax, dword [ebp - 0x2cc]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4173dd
mov edx, dword [eax]
mov ecx, esi
call fcn.0040e2f0
mov edx, str.Resources_have_been_released__no_need_to_download
mov ecx, esi
call fcn.0040e2f0
push dword [ebp - 0x2c8]
mov ecx, dword [0x729d00]
call fcn.00410070
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 1
call fcn.0040e880
mov esi, dword [ebp - 0x2cc]
lea ecx, [esi + 0x84]
cmp ecx, edi
je 0x417430
cmp dword [edi + 0x14], 0x10
jb 0x417428
mov edi, dword [edi]
push dword [ebx]
push edi
call fcn.00407210
push dword [ebp - 0x2d4]
push esi
call fcn.0040eaf0
mov bl, al
mov eax, dword [ebp - 0x2dc]
test eax, eax
je 0x417455
cmp dword [eax + 0x48], 0x10
lea ecx, [eax + 0x34]
jb 0x41745a
mov ecx, dword [ecx]
jmp 0x41745a
mov ecx, str.none
push ecx
mov ecx, str.fail
test bl, bl
mov eax, 0x7011f8
cmove eax, ecx
push eax
lea eax, [ebp - 0x15c]
push str.instowserpkg_sexename_s
push eax
call fcn.004cd29a
add esp, 0x10
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x148]
mov eax, edx
mov ecx, dword [ebp - 0x14c]
sub eax, ecx
push 6
push str.mode
cmp eax, 6
jb 0x4174c9
cmp edx, 0x10
lea esi, [ebp - 0x15c]
lea eax, [ecx + 6]
cmovae esi, dword [ebp - 0x15c]
add esi, ecx
mov dword [ebp - 0x14c], eax
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x4174e3
mov byte [ebp - 0x2d4], 0
lea ecx, [ebp - 0x15c]
push dword [ebp - 0x2d4]
push 6
call fcn.00407e50
mov eax, dword [ebp - 0x2cc]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4174f3
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0x148]
mov eax, esi
mov edx, dword [ebp - 0x14c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x417537
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
lea esi, [eax + edx]
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x417550
mov byte [ebp - 0x2d4], 0
lea ecx, [ebp - 0x15c]
push dword [ebp - 0x2d4]
push edi
call fcn.00407e50
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
push str.hget
push 0
call fcn.004186c0
mov ecx, eax
call fcn.004064d0
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x4175b2
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4175a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41765d
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp edx, 0x10
jb 0x417603
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4175f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417662
push edx
push ecx
call fcn.0042e7b0
add esp, 8
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
call fcn.004df870
mov al, bl
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.0042e165
mov esp, ebp
pop ebp
ret 0x14
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
int3