Function at 0x42ce54
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x42ce5d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a0
mov eax, dword [ebp - 8]
call fcn.004058a0
mov eax, dword [ebp + 8]
call fcn.004058a0
xor eax, eax
push ebp
push 0x42d0bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42d083
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
test bl, bl
jne 0x42cecb
mov eax, dword [ebp - 4]
call fcn.0042c450
test al, al
je 0x42cecb
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42d08d
mov eax, dword [0x4967f8]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
je 0x42ceea
mov eax, dword [ebp + 8]
call fcn.004058b0
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x14], eax
test bl, bl
jne 0x42cefe
mov eax, dword [ebp - 4]
call fcn.0042c450
test al, al
jne 0x42d06a
xor eax, eax
push ebp
push 0x42d060
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0040909c
mov eax, dword [ebp - 0x18]
call fcn.004058b0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x42d056
mov eax, dword [ebp - 8]
push eax
push 0xa
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x41b74c]
call fcn.0041ecdc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42d04f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042c450
test al, al
je 0x42cf85
mov eax, dword [ebp - 4]
call fcn.004058b0
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405618
mov eax, dword [ebp - 0x1c]
call fcn.004058b0
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0042c450
test al, al
je 0x42cfd6
lea eax, [ebp - 0x20]
mov ecx, 0x42d0dc
mov edx, dword [ebp - 4]
call fcn.00405738
mov eax, dword [ebp - 0x20]
call fcn.004058b0
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x24]
mov ecx, 0x42d0dc
mov edx, dword [ebp - 4]
call fcn.00405738
mov eax, dword [ebp - 0x24]
call fcn.004058b0
push eax
mov eax, dword [ebp - 4]
call fcn.004058b0
push eax
call sub.kernel32.dll_MoveFileA
xor eax, eax
push ebp
push 0x42d02f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00409e8c
mov eax, dword [ebp - 0x28]
call fcn.00409b04
test al, al
jne 0x42d00e
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00409e8c
mov eax, dword [ebp - 0x2c]
call fcn.0040a1a0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0041e9e4
mov eax, dword [ebp - 4]
call fcn.0042c348
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42d039
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d056
mov eax, dword [ebp - 0x10]
call fcn.0040440c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42d06a
cmp dword [ebp + 8], 0
je 0x42d079
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42d08d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d0c4
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00405444
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405444
lea eax, [ebp + 8]
call fcn.00405420
ret