Function at 0x4022c4
Capabilities:
Delete file
Hide graphical window
Move file

Disassembly:
push ebp
mov eax, dword [esp + 0xc]
mov ebp, esp
sub esp, 0x10
cmp eax, 0x3e8
push ebx
push esi
push edi
je 0x402308
cmp eax, 0x3eb
je 0x402318
cmp eax, 0x3ec
je 0x40263e
cmp eax, 0x3ee
je 0x40233f
cmp eax, 0xbd0
je 0x40234f
cmp eax, 0xbd1
je 0x402631
jmp 0x40268b
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x40268b
push 0
mov esi, dword [ebp + 8]
push 0
push 0x188
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push eax
push esi
call fcn.00401d6d
add esp, 8
jmp 0x40268b
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x40268b
push 5
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.004014c2
add esp, 4
call fcn.00401355
push esi
call fcn.004016c8
add esp, 4
push esi
call fcn.00401950
add esp, 4
push 0x408470
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.00401eb6
add esp, 4
push 0x408970
push 0xffffffffffffffff
push 0x1a2
push 0x3ea
push esi
mov edi, 0x4070e0
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push eax
push esi
call fcn.00401d6d
add esp, 8
push edi
push 0xfb
mov ebx, 0x3ed
call fcn.00401153
add esp, 8
push edi
push 0
push 0x180
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x408770
push 0x4074c8
push 0xef
call fcn.00401153
add esp, 8
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push 0
push 0x180
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push eax
push 0x186
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x18b
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
test eax, eax
je 0x40255e
push 1
push 0x3eb
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x3ec
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0xf8
call fcn.00401153
add esp, 8
push eax
push 0x3e9
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
mov ebx, 0x3e8
push 0xf6
call fcn.00401153
add esp, 8
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push 0xf4
call fcn.00401153
add esp, 8
push eax
push 0x3eb
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push 0xf5
call fcn.00401153
add esp, 8
push eax
push 0x3ec
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push 0x3ee
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
imul eax, eax, 3
mov edi, dword [ebp - 4]
push 1
cdq
and edx, 3
push ebx
add eax, edx
push esi
sar eax, 2
add edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
sub edi, dword [ebp - 0xc]
push edi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0x186
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x4025ed
push 0
push 0x3e9
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3ea
push esi
mov ebx, 0x3ee
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
imul eax, eax, 3
cdq
and edx, 3
push ebx
add eax, edx
push esi
sar eax, 2
add edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
sub edi, dword [ebp - 0xc]
push edi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 4
mov esi, 0x408770
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x40268b
push str.wininit.ini
mov edi, 0x4070e0
push 0x408670
push edi
call fcn.004012eb
add esp, 0xc
push edi
push esi
push 0x4061d4
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x40268b
push dword [ebp + 8]
call fcn.004014c2
add esp, 4
jmp 0x40268b
xor edi, edi
mov esi, dword [ebp + 8]
push edi
push edi
push 0x18b
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
test eax, eax
je 0x40268b
mov ebx, 0x3ea
push edi
push edi
push 0x188
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push eax
push esi
call fcn.00401d6d
add esp, 8
push edi
push edi
push 0x18b
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
test eax, eax
jne 0x40265f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret