Function at 0x401920
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
mov eax, dword [0x4285e0]
push ebx
xor eax, ebp
push esi
push edi
mov dword [esp + 0x32c], eax
call fcn.0040ad70
mov esi, eax
mov eax, dword [esi]
push 0x429768
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x40196b
mov ecx, dword [0x429564]
push 0x421484
push 0
push 0xc
push 0xffffffffffffffff
push ecx
jmp 0x401b51
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
push 0x421474
push 0
push 0xc
mov dword [0x42986c], eax
mov eax, dword [0x429564]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov byte [esp + 0x10], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
push 0x429724
push 0x4296e4
push 0x421454
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
push 0x104
push ecx
stosb byte es:[edi], al
call fcn.00410d8c
mov eax, dword [0x429564]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x14
lea edx, [esp + 0x10]
push edx
push 0
push 0xc
push eax
call ebx
mov ecx, dword [0x429564]
push 0
push 0
push 0x7ea
push ecx
call ebx
mov edx, dword [0x429564]
push 1
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x4296e0]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x429564]
push 1
push ecx
call fcn.004021c0
add esp, 8
test al, al
je 0x401a60
mov edx, dword [0x429564]
push 0x421420
push 0
push 0xc
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push esi
call fcn.00406700
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, ebp
call fcn.00410a75
mov esp, ebp
pop ebp
ret
push 0x429724
push 0x429724
push 0x4296e4
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x1c]
push 0x421340
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push 0x103
push eax
call fcn.00410d8c
mov edx, dword [0x429564]
add esp, 0x18
push 0x141
push 0x42132c
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
je 0x401ae7
push esi
call fcn.00406700
add esp, 4
call fcn.00401710
mov eax, dword [0x429564]
push 0
push 0
push 0x10
push eax
call ebx
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, ebp
call fcn.00410a75
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
push 0x401580
push 0x429578
mov ecx, esi
call dword [edx + 0xc]
test al, al
jne 0x401b77
mov byte [esp + 0x220], al
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x221]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040ae10
push eax
call fcn.0040ae00
push eax
push 0x421314
lea eax, [esp + 0x22c]
push 0x104
push eax
call fcn.00410d8c
mov edx, dword [0x429564]
add esp, 0x14
lea ecx, [esp + 0x220]
push ecx
push 0
push 0xc
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push esi
call fcn.00406700
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, ebp
call fcn.00410a75
mov esp, ebp
pop ebp
ret
push esi
call fcn.00406700
push 0x104
lea eax, [esp + 0x120]
push 0x429578
push eax
call fcn.00410920
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
add esp, 0x10
push str.Patch
lea ecx, [esp + 0x11c]
push ecx
call esi
push 0x429768
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea edx, [esp + 0x11c]
push edx
call esi
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x118]
push ecx
push 0x429768
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00410a75
mov esp, ebp
pop ebp
ret