Function at 0x677f10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x729118
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x7e6410]
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 edi, ecx
lea ecx, [ebp - 0x5c]
call fcn.00429050
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.00429050
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00429050
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00429050
mov eax, dword [edi + 0x30]
xor esi, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], esi
test eax, eax
je 0x678619
push esi
push esi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov dword [ebp - 0x58], ebx
cmp ebx, 1
jle 0x678619
test ebx, ebx
jle 0x678022
push 2
push esi
push 0x102c
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 2
je 0x677fc7
inc esi
mov dword [ebp - 0x44], esi
cmp esi, ebx
jl 0x677fa7
jmp 0x678022
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*2]
lea esi, [eax + ecx*4]
push esi
lea ecx, [ebp - 0x50]
call fcn.004289a0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004289a0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.004289a0
lea ecx, [ebp - 0x50]
call fcn.00429100
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005b4a50
add esp, 8
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004289a0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00428810
mov esi, dword [ebp - 0x44]
push ecx
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00428690
lea eax, [ebp - 0x54]
push eax
call fcn.0057ff90
add esp, 8
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.004289a0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00428810
lea ecx, [ebp - 0x5c]
call fcn.00429100
push eax
call fcn.005b6cf0
add esp, 4
test eax, eax
je 0x67818a
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x678089
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_APP_NAME
call dword [eax + 8]
mov edx, eax
jmp 0x67808e
mov edx, 0x790eb0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x6780ab
xor ecx, ecx
jmp 0x6780bf
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6780b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00424cc0
mov ecx, dword [0x7f7170]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x6780ea
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_CANTDEL
call dword [eax + 8]
mov edx, eax
jmp 0x6780ef
mov edx, 0x790eb0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x67810c
xor ecx, ecx
jmp 0x678120
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x678111
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00424cc0
push 0
push 0
push 1
push 3
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x40]
push eax
push dword [edi + 4]
call fcn.0042f4d0
add esp, 0x20
cmp dword [ebp - 0x2c], 8
jb 0x67815c
push dword [ebp - 0x40]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x678619
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
jmp 0x678619
cmp dword [0x800720], 0
jne 0x678360
mov eax, dword [edi + 0x3c]
test esi, esi
cmove esi, ebx
lea ecx, [esi - 1]
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*4]
call fcn.00429100
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.005b4a50
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00429100
push eax
lea ecx, [ebp - 0x50]
call fcn.00429150
test eax, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
sete bl
call fcn.00428810
test bl, bl
je 0x67822f
mov eax, dword [edi + 0x3c]
dec esi
cmovs esi, dword [ebp - 0x58]
lea ecx, [esi - 1]
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*4]
call fcn.00429100
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.005b4a50
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00429100
push eax
lea ecx, [ebp - 0x50]
call fcn.00429150
test eax, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
sete bl
call fcn.00428810
test bl, bl
jne 0x6781e3
mov eax, dword [edi + 0x3c]
lea esi, [esi - 1]
lea ecx, [esi + esi*2]
lea esi, [eax + ecx*4]
push esi
lea ecx, [ebp - 0x50]
call fcn.004289a0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004289a0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.004289a0
lea ecx, [ebp - 0x50]
call fcn.00429100
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005b4a50
add esp, 8
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.004289a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00428810
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x678299
call fcn.00453920
lea ecx, [ebp - 0x5c]
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x67830b
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x6782c7
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_APP_NAME
call dword [eax + 8]
jmp 0x6782cc
mov eax, 0x790eb0
push eax
lea ecx, [ebp - 0x40]
call fcn.00424600
mov ecx, dword [0x7f7170]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x6782f4
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_CANTDEL
call dword [eax + 8]
jmp 0x6782f9
mov eax, 0x790eb0
push eax
lea ecx, [ebp - 0x28]
call fcn.00424600
mov byte [ebp - 4], 0xb
jmp 0x6783e0
mov ecx, dword [edi + 0x28]
cmp dword [ecx + 4], 0
je 0x67853e
push 0
call fcn.00601b20
mov ecx, dword [edi + 0x28]
call fcn.005d9c10
mov ecx, 0x7f71e0
call fcn.0059fa00
lea eax, [ebp - 0x50]
mov ecx, 0x7f724c
push eax
call fcn.004289a0
lea eax, [ebp - 0x4c]
mov ecx, 0x7f7250
push eax
call fcn.004289a0
lea eax, [ebp - 0x48]
mov ecx, 0x7f7254
push eax
call fcn.004289a0
jmp 0x678526
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x67836f
call fcn.00453920
lea ecx, [ebp - 0x5c]
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x67843c
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x6783a1
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_APP_NAME
call dword [eax + 8]
jmp 0x6783a6
mov eax, 0x790eb0
push eax
lea ecx, [ebp - 0x40]
call fcn.00424600
mov ecx, dword [0x7f7170]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x6783ce
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_CANTDEL
call dword [eax + 8]
jmp 0x6783d3
mov eax, 0x790eb0
push eax
lea ecx, [ebp - 0x28]
call fcn.00424600
mov byte [ebp - 4], 0xd
push 0
push 0
push 1
push 3
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
call fcn.0042f4d0
add esp, 0x20
cmp dword [ebp - 0x14], 8
jb 0x67840e
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x678619
push dword [ebp - 0x40]
call fcn.00428680
add esp, 4
jmp 0x678619
mov ecx, 0x7f724c
call fcn.00429100
push eax
lea ecx, [ebp - 0x50]
call fcn.00429150
test eax, eax
jne 0x67854a
mov ecx, 0x7f7250
call fcn.00429100
push eax
lea ecx, [ebp - 0x4c]
call fcn.00429150
test eax, eax
jne 0x67854a
mov ecx, dword [edi + 0x28]
cmp dword [ecx + 4], eax
je 0x67853e
push eax
call fcn.00601b20
mov ecx, dword [edi + 0x28]
call fcn.005d9c10
mov ecx, 0x7f71e0
call fcn.0059fa00
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x790eb0
call fcn.00428840
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xe
push eax
call fcn.005b6a10
mov ecx, esp
mov byte [ebp - 4], 0xf
push 0x744bc4
push eax
push ecx
call fcn.00428bd0
push str.SKINPATH
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x10
push 0x7494a8
push eax
call fcn.005b55c0
add esp, 0x18
push eax
mov ecx, 0x7f724c
mov byte [ebp - 4], 0x11
call fcn.004289a0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
call fcn.00428810
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00428810
push str.skin.xml
mov ecx, 0x7f7250
call fcn.00428a30
push 0x790eb0
mov ecx, 0x7f7254
call fcn.00428a30
mov eax, dword [edi + 0x28]
push 0x1f4
push 0xe
push 0x113
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.00676c80
jmp 0x678619
mov esi, dword [edi + 0x3c]
xor ebx, ebx
mov dword [edi + 0x174], 1
mov dword [ebp - 0x44], ebx
cmp esi, dword [edi + 0x40]
je 0x6785bf
lea ecx, [ebp - 0x50]
call fcn.00429100
push eax
mov ecx, esi
call fcn.00429150
test eax, eax
jne 0x6785b6
push dword [ebp - 0x64]
lea eax, [esi + 0xc]
mov dword [ebp - 0x44], ebx
push esi
push dword [edi + 0x40]
push eax
call fcn.00676530
mov ecx, dword [edi + 0x40]
lea edx, [ebp - 0x5d]
push dword [ebp - 0x64]
push edx
lea eax, [ecx - 0xc]
push ecx
push eax
call fcn.006764b0
add dword [edi + 0x40], 0xfffffff4
add esp, 0x20
push 0
push ebx
push 0x1008
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x6785ba
inc ebx
add esi, 0xc
cmp esi, dword [edi + 0x40]
jne 0x678561
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [edi + 0x30]
mov dword [edi + 0x174], 0
call ebx
mov esi, dword [ebp - 0x44]
dec eax
cmp esi, eax
mov dword [ebp - 0x90], 3
mov dword [ebp - 0x94], 3
cmovge esi, eax
lea eax, [ebp - 0xa0]
push eax
push esi
push 0x102b
push dword [edi + 0x30]
call ebx
push 1
push esi
push 0x1013
push dword [edi + 0x30]
call ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x13
call fcn.00428810
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call fcn.00428810
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
xor eax, eax
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.006b3266
mov esp, ebp
pop ebp
ret 0x10