Function at 0x3000f7c6
Capabilities:
Delete file
Set file attributes

Disassembly:
sub esp, 0x424
mov eax, dword [0x30012970]
push ebx
push esi
push edi
mov ebx, ecx
push 0x156
push ebx
mov dword [esp + 0x434], eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [0x300126a0], eax
mov edi, 0x104
push edi
lea eax, [esp + 0x228]
push eax
push 0x13d
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push edi
lea eax, [esp + 0x228]
push eax
mov esi, 0x30012e18
push esi
call sub.MSVCRT.dll__wfullpath
add esp, 0xc
test eax, eax
jne 0x3000f838
lea eax, [esp + 0x224]
push eax
push edi
push esi
call fcn.30002c36
cmp dword [0x300126a0], 0
je 0x3000f917
push 0x3b
push 0x3b
push esi
call fcn.3000670b
add esp, 0xc
test eax, eax
je 0x3000f871
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push 0x184
jmp 0x3000f907
push 0x5d
push 0x5b
push esi
call fcn.3000670b
add esp, 0xc
test eax, eax
je 0x3000f89a
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push 0x189
jmp 0x3000f907
push 0x2c
push 0x2c
push esi
call fcn.3000670b
add esp, 0xc
test eax, eax
je 0x3000f8c3
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push 0x188
jmp 0x3000f907
cmp word [0x30012e18], 0x3a
je 0x3000f8f1
push 6
push esi
call fcn.30007b45
cmp eax, 2
pop ecx
pop ecx
jbe 0x3000f917
push 0x3a
push 0x3a
push 0x30012e1c
call fcn.3000670b
add esp, 0xc
test eax, eax
je 0x3000f917
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push 0x1ea
push ebx
call fcn.30006e80
add esp, 0x10
xor eax, eax
jmp 0x3000fcdf
push ebp
push esi
push edi
mov ebp, 0x30013020
push ebp
call fcn.30002c36
push 0x158
push ebx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [0x30012810], eax
xor eax, eax
or word [0x300126a4], 0xffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, 0x159
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x3000f9b0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x3000f9b0
push 0
push 0
push 0xf0
push dword [esp + 0x28]
mov dword [esp + 0x28], 1
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x3000f99f
mov dword [esp + 0x14], ecx
jmp 0x3000f9b0
mov eax, ecx
mov ecx, dword [esp + 0x10]
shl eax, cl
not eax
and word [0x300126a4], ax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x10
jb 0x3000f953
xor eax, eax
cmp dword [esp + 0x18], eax
je 0x3000f9f3
cmp dword [esp + 0x14], eax
jne 0x3000f9f3
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push 0x356
push ebx
call fcn.30006e80
add esp, 0x10
push dword [0x30013cc8]
jmp 0x3000fd5d
cmp dword [esp + 0x438], eax
je 0x3000fa04
xor eax, eax
inc eax
jmp 0x3000fcde
cmp dword [0x300126a0], eax
je 0x3000fc02
push esi
call fcn.300069e0
cmp word [eax], 0
pop ecx
jne 0x3000fa3b
mov edx, eax
sub edx, esi
sar edx, 1
mov ecx, edi
sub ecx, edx
cmp ecx, 0x7fffffff
ja 0x3000fa3b
push 0x300017d0
push ecx
push eax
call fcn.30002c36
push esi
call fcn.3000684a
test eax, eax
pop ecx
je 0x3000fa6e
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x24
add eax, 0x351
push eax
push 0x32a
push ebx
call fcn.30006e80
add esp, 0x10
cmp eax, 7
je 0x3000fd58
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.300069a6
mov ebp, eax
mov ax, word [ebp]
mov word [esp + 0x18], ax
xor eax, eax
cmp word [0x30012e18], ax
pop ecx
mov word [ebp], ax
mov dword [0x300129d8], esi
jne 0x3000fae7
push edi
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x20]
push eax
call fcn.300069a6
and word [eax], 0
mov ax, word [esp + 0x18]
pop ecx
push ebp
mov word [ebp], ax
push edi
lea eax, [esp + 0x28]
push eax
call fcn.3000405a
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.30002c36
jmp 0x3000fb16
push esi
call fcn.30006c8d
test eax, eax
pop ecx
jne 0x3000fb0d
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push 0x32e
jmp 0x3000fd4f
mov ax, word [esp + 0x14]
mov word [ebp], ax
xor ebp, ebp
inc ebp
push ebp
push 0
push 0x300017c8
push esi
call fcn.300064f9
push ebp
push ebp
push ebx
call fcn.30007a3e
add esp, 0x1c
test eax, eax
jne 0x3000fb3d
xor eax, eax
jmp 0x3000fcde
push 7
pop edi
push ebx
push ebp
mov ebp, 0x30012c10
push ebp
call fcn.30002d97
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x3000fbd4
push 0
push ebx
push 1
push esi
call fcn.30002e2b
add esp, 0x10
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x3000fbbb
push ebx
push 1
call fcn.3000a2be
push ebx
push 1
push ebp
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.3000ef28
push ebx
push 1
mov edi, eax
call fcn.3000a30e
add esp, 0x28
test edi, edi
je 0x3000fbbb
cmp edi, 7
je 0x3000fbbb
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push edi
push ebx
call fcn.30006e80
add esp, 0x10
push dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
cmp dword [esp + 0x10], 0xffffffff
je 0x3000fbd4
push dword [esp + 0x10]
call ebx
push esi
call fcn.3000684a
test eax, eax
pop ecx
je 0x3000fbf6
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x3000fbf6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
test edi, edi
sete al
jmp 0x3000fcde
cmp word [0x30013020], ax
mov dword [0x300129d8], ebp
jne 0x3000fcf5
cmp dword [0x30012810], eax
mov eax, dword [0x30013430]
jne 0x3000fc38
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push 0x32c
jmp 0x3000fd4f
neg eax
sbb eax, eax
push 0x24
add eax, 0x351
push eax
push 0x32d
push ebx
call fcn.30006e80
add esp, 0x10
cmp eax, 7
je 0x3000fd58
xor esi, esi
cmp word [0x30013020], si
mov dword [0x300129d8], ebp
je 0x3000fcaa
push ebp
call fcn.300069a6
cmp eax, ebp
pop ecx
jne 0x3000fcaa
push edi
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x20]
push eax
call fcn.300069a6
pop ecx
push ebp
mov word [eax], si
push edi
lea eax, [esp + 0x28]
push eax
call fcn.3000405a
lea eax, [esp + 0x20]
push eax
push edi
push ebp
call fcn.30002c36
cmp word [0x30013020], si
mov dword [0x300129d8], ebp
je 0x3000fcca
push 1
push esi
push 0x300017c8
push ebp
call fcn.300064f9
add esp, 0x10
push 1
push 1
push ebx
push dword [0x30012810]
push ebp
call fcn.3000ba26
add esp, 0x14
pop ebp
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
call fcn.300101bf
add esp, 0x424
ret
push ebp
call fcn.3000684a
test eax, eax
pop ecx
jne 0x3000fd18
mov eax, dword [0x30013430]
neg eax
sbb eax, eax
push 0x30
add eax, 0x351
push eax
push 0x32b
jmp 0x3000fd4f
push ebx
push 1
push ebp
call fcn.3000a175
add esp, 0xc
test eax, eax
jne 0x3000fc5b
mov eax, dword [0x30013430]
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0x351
push 0x30
push ecx
xor ecx, ecx
test eax, eax
sete cl
lea ecx, [ecx + ecx + 0x13f]
push ecx
push ebx
call fcn.30006e80
add esp, 0x10
push 0x13d
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x3000fb36