Function at 0x4696b8
Capabilities:
Delete file

Disassembly:
sub esp, 0x524
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
mov esi, ecx
push 0x409
push dword [esi]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x6c], ebx
jne 0x4698f9
cmp dword [esi + 0x44], ebx
je 0x4698f9
push 2
push dword [esi]
call edi
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push eax
mov dword [esp + 0x18], eax
call ebp
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x200
lea eax, [esp + 0x138]
push eax
push 0x2b0
push dword [0x495150]
call edi
push 0x40
lea eax, [esp + 0xb8]
push eax
push 0x247
push dword [0x495150]
call edi
push 0x52024
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x13c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x469769
push 1
push dword [esp + 0x14]
call ebp
jmp 0x469924
push 0x40
lea eax, [esp + 0x38]
push eax
push 0x26c
push dword [0x495150]
call edi
lea eax, [esp + 0x34]
push eax
push 0x403
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x259
mov ecx, esi
call fcn.00469130
push ebx
push 0x1f4
mov edi, 0x7ba
push edi
push dword [esi]
mov dword [esi + 0x40], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4697f9
lea eax, [esp + 0x18]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4697e5
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
lea eax, [esp + 0x24]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4697be
push 0x14
push dword [esi + 0x44]
call ebp
cmp eax, 0x102
je 0x4697e5
push edi
push dword [esi]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
call edi
push dword [esi + 0x44]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x40], ebx
call ebp
push 0x7bc
push dword [esi]
mov dword [esi + 0x44], ebx
call edi
push 0x64
mov ecx, esi
call fcn.004694f8
push ebx
mov ecx, esi
mov dword [esi + 0x28], ebx
call fcn.00468fc7
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x46984d
push eax
call ebp
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x46985b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
mov ecx, esi
call fcn.004691c7
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.004675ed
mov eax, dword [esi + 4]
cmp eax, ebx
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
je 0x46989f
push dword [esp + 0x14]
push 3
push 0x900
push eax
call ebp
mov eax, dword [0x495140]
cmp eax, ebx
je 0x4698bf
mov ecx, dword [esi + 8]
push ebx
and ecx, 0xff
push ecx
push eax
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageA]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3e9
push dword [esi]
call edi
cmp eax, 1
je 0x4698e1
push 0x3ed
push dword [esi]
call edi
cmp eax, 1
jne 0x469924
push 2
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 2
push 0x111
push dword [esi]
call ebp
jmp 0x469924
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x469907
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x2c]
cmp eax, ebx
mov dword [esi + 0x44], ebx
je 0x469918
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push 2
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x524
ret