Function at 0x4011fb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x898
mov eax, dword [ebp + 0xc]
push esi
sub eax, 0x110
push edi
je 0x4015fb
dec eax
je 0x401263
sub eax, 0x24
je 0x401228
dec eax
je 0x401259
dec eax
dec eax
je 0x401228
jmp 0x40164f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x40fedc]
jmp 0x401651
cmp word [ebp + 0x10], 0x3e7
jne 0x40164f
and dword [ebp + 0xc], 0
call sym.sfxfe32.EXE_DZStartSelfEx
test eax, eax
je 0x4015d1
mov esi, 0x96
push ebx
push esi
mov ebx, 0x410340
push 0
push ebx
call fcn.00405810
add esp, 0xc
lea eax, [ebp - 0x40]
mov dword [0x410340], esi
push 1
pop edi
push str.BdqtkdzmAktd
push eax
mov dword [0x410364], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x40]
push 0x104
mov dword [0x4103a0], eax
lea eax, [ebp - 0x898]
push eax
mov dword [0x41039c], edi
push dword [0x4104e4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x898]
mov dword [0x410344], edi
mov dword [0x410348], eax
lea eax, [ebp - 0x384]
push eax
call fcn.00401747
pop ecx
push ebx
call sym.sfxfe32.EXE_DZSelfEx
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x40155c
mov eax, dword [0x41038c]
lea ecx, [ebp - 0x384]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x410358], ecx
lea ecx, [ebp - 0x178]
mov dword [ebp + 8], eax
mov dword [0x41034c], ecx
lea ecx, [eax - 1]
mov dword [0x410354], ecx
jmp 0x40133e
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 0
jne 0x40155c
test eax, eax
jle 0x40155c
lea eax, [ebp - 0x178]
push ebx
mov dword [0x410344], 7
mov dword [0x41034c], eax
call sym.sfxfe32.EXE_DZSelfEx
push dword [0x40d030]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x152]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401549
push 0x410
push eax
lea eax, [ebp - 0x794]
push eax
call fcn.00405810
and dword [0x4103ca], 0
add esp, 0xc
lea eax, [ebp - 0x794]
mov dword [0x410344], 9
push ebx
mov dword [0x4103c2], eax
mov dword [0x4103c6], 0x40f
call sym.sfxfe32.EXE_DZSelfEx
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x401549
lea eax, [ebp - 0x794]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40141d
lea eax, [ebp - 0x690]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40141d
push 0x40d094
push dword [0x40fee0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x40d098
push 0x65
push dword [0x40fee4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x40144b
lea eax, [ebp - 0x794]
push eax
push dword [0x40fee0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x690]
push eax
push 0x65
push dword [0x40fee4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dword [0x40feec], edi
push dword [0x40fee0]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x10]
push eax
push dword [0x40fee4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call esi
push edi
mov dword [ebp - 0x18], eax
call esi
cmp dword [0x40feec], 0
mov dword [ebp - 0x14], eax
je 0x4014e4
push 6
call esi
lea edi, [eax + eax + 4]
push 0x44
sub edi, dword [ebp - 0xc]
push 4
call esi
add eax, edi
add eax, dword [ebp - 4]
push eax
push 6
call esi
lea eax, [eax + eax + 4]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [0x40fee0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
pop edi
xor eax, eax
inc dword [0x410354]
push ebx
mov dword [0x410344], 8
mov dword [0x4103c2], eax
mov dword [0x4103c6], eax
mov dword [0x4103ca], eax
call sym.sfxfe32.EXE_DZSelfEx
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x401549
lea eax, [ebp - 0x178]
push ebx
mov dword [0x410344], 7
mov dword [0x41034c], eax
call sym.sfxfe32.EXE_DZSelfEx
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x401546
lea eax, [ebp - 0x152]
push eax
push 0x4103e0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp + 0xc], edi
dec dword [0x410354]
dec dword [ebp + 8]
cmp dword [ebp + 0xc], 0
je 0x40133b
call sym.sfxfe32.EXE_DZEndSelfEx
cmp dword [ebp + 0xc], 0
pop ebx
je 0x4015d4
call fcn.00401657
test eax, eax
je 0x4015b0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x488]
push eax
call esi
test eax, eax
jne 0x401591
lea eax, [ebp - 0x58c]
push eax
call esi
test eax, eax
je 0x4015b0
lea eax, [ebp - 0x58c]
push 0x2000
push eax
lea eax, [ebp - 0x488]
push eax
push dword [0x40fee0]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [ebp - 0x384]
push 0x4103e0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x384]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4015f3
push 1
pop edi
lea eax, [ebp - 0x58c]
push 0x2000
push eax
lea eax, [ebp - 0x488]
push eax
push dword [0x40fee0]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x40fee8], edi
jmp 0x40164f
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov edi, 0x104
lea eax, [ebp - 0x27c]
push edi
push eax
push 7
push dword [0x4104e4]
call esi
lea eax, [ebp - 0x27c]
push eax
push dword [0x40fee0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x27c]
push edi
push eax
push 8
push dword [0x4104e4]
call esi
lea eax, [ebp - 0x27c]
push eax
push 0x65
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
pop edi
pop esi
leave
ret 0x10