Function at 0x47c50f
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 0x47c750
cmp dword [esi + 0x44], ebx
je 0x47c750
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 [0x4aefc8]
call edi
push 0x40
lea eax, [esp + 0xb8]
push eax
push 0x247
push dword [0x4aefc8]
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 0x47c5c0
push 1
push dword [esp + 0x14]
call ebp
jmp 0x47c77b
push 0x40
lea eax, [esp + 0x38]
push eax
push 0x26c
push dword [0x4aefc8]
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.0047bf87
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 0x47c650
lea eax, [esp + 0x18]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x47c63c
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 0x47c615
push 0x14
push dword [esi + 0x44]
call ebp
cmp eax, 0x102
je 0x47c63c
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.0047c34f
push ebx
mov ecx, esi
mov dword [esi + 0x28], ebx
call fcn.0047be1e
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x47c6a4
push eax
call ebp
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x47c6b2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
mov ecx, esi
call fcn.0047c01e
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.0047ab8d
mov eax, dword [esi + 4]
cmp eax, ebx
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
je 0x47c6f6
push dword [esp + 0x14]
push 3
push 0x900
push eax
call ebp
mov eax, dword [0x4aefb8]
cmp eax, ebx
je 0x47c716
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 0x47c738
push 0x3ed
push dword [esi]
call edi
cmp eax, 1
jne 0x47c77b
push 2
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 2
push 0x111
push dword [esi]
call ebp
jmp 0x47c77b
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x47c75e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x2c]
cmp eax, ebx
mov dword [esi + 0x44], ebx
je 0x47c76f
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