Function at 0x4497bd
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18b4
call fcn.0048e140
push ebx
push esi
push edi
push 0x4013f8
lea ecx, [ebp - 0x48]
call fcn.00419340
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00419310
lea eax, [ebp - 0x30]
push eax
call fcn.0045e10f
pop ecx
xor ebx, ebx
mov dword [ebp - 0x18], eax
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0041a110
mov esi, dword [ebp + 0x10]
xor eax, eax
push esi
mov word [ebp - 0x4c], ax
mov edi, 0x104
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x254]
push edi
push eax
call fcn.0044a01a
add esp, 0xc
test al, al
je 0x449bcd
push 0x401584
lea eax, [ebp - 0x254]
push edi
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449bcd
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x448e28
push 0x4016d4
push dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xc], esi
call edi
test eax, eax
je 0x449bcd
push 0x104
push dword [ebp + 0x14]
call fcn.0044a055
pop ecx
pop ecx
test eax, eax
je 0x449bcd
push 0x104
push esi
call fcn.0044a055
pop ecx
pop ecx
test eax, eax
je 0x449a9d
xor eax, eax
mov byte [ebp - 1], 1
mov word [ebp - 0x464], ax
mov edi, 0x104
mov word [ebp - 0x18b4], ax
mov word [ebp - 0x258], ax
mov word [ebp - 0x460], ax
lea eax, [ebp - 0x460]
push edi
push eax
push dword [ebp + 8]
call fcn.00448cf4
add esp, 0xc
test al, al
je 0x449a1f
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
push 0x401420
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
push 0x4015d4
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
push 0x401428
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
push esi
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
push 0x401430
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
push 0x4015f8
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
push 0x401428
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
je 0x449a1f
push 0x40143c
lea eax, [ebp - 0x18b4]
push 0xa28
push eax
call fcn.00449ff2
add esp, 0xc
test al, al
jne 0x449a22
mov byte [ebp - 1], bl
lea eax, [ebp - 0x18b4]
push eax
push dword [ebp + 8]
call fcn.004488b4
pop ecx
pop ecx
mov dword [ebp - 8], ebx
cmp byte [ebp - 1], bl
je 0x449a6c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18b4]
push eax
lea eax, [ebp - 0x460]
push eax
call fcn.004491b7
add esp, 0xc
test al, al
je 0x449a5e
cmp dword [ebp - 8], ebx
je 0x449a65
mov al, bl
mov byte [ebp - 1], al
jmp 0x449a68
mov al, byte [ebp - 1]
test al, al
jne 0x449a7c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp - 1], bl
je 0x449bcd
lea eax, [ebp - 0x254]
push eax
push edi
push esi
call fcn.0044a01a
add esp, 0xc
test al, al
je 0x449bcd
xor eax, eax
inc eax
jmp 0x449bcf
lea eax, [ebp - 0x14]
push eax
push 0x448e28
push 0x4016cc
push dword [ebp + 0xc]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x449ac7
call edi
cmp eax, 0x715
jne 0x449bd1
push 0x104
push esi
call fcn.0044a055
pop ecx
pop ecx
test eax, eax
je 0x449b2d
lea eax, [ebp - 0x254]
push eax
push esi
call fcn.0044846a
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ecx
pop ecx
push esi
mov byte [ebp - 1], al
call edi
mov al, byte [ebp - 1]
test al, al
je 0x449bd3
lea eax, [ebp - 0x254]
push eax
push 0x104
push esi
call fcn.0044a01a
add esp, 0xc
test al, al
jne 0x449b25
lea eax, [ebp - 0x254]
push eax
call edi
jmp 0x449bd1
mov al, byte [ebp - 1]
jmp 0x449bd3
lea eax, [ebp - 0x14]
push eax
push 0x448e28
push 0x4016c4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
test eax, eax
jne 0x449b55
call edi
cmp eax, 0x715
jne 0x449bd5
mov ebx, 0x104
push ebx
push esi
call fcn.0044a055
pop ecx
pop ecx
test eax, eax
je 0x449bbd
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x449bbd
push 3
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x449b9b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov word [esi], ax
jmp 0x449bbd
lea eax, [ebp - 0x254]
push eax
push ebx
push esi
call fcn.0044a01a
add esp, 0xc
test al, al
jne 0x449bbd
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push esi
call fcn.0044a055
test eax, eax
pop ecx
pop ecx
setne bl
jmp 0x449bd5
mov al, bl
mov bl, al
mov al, bl
mov bl, al
lea ecx, [ebp - 0x30]
call fcn.00448899
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret