Function at 0x42a0b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x42a0b9
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.0040588c
mov eax, dword [ebp - 8]
call fcn.0040588c
mov eax, dword [ebp + 8]
call fcn.0040588c
xor eax, eax
push ebp
push 0x42a319
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42a2df
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
test bl, bl
jne 0x42a127
mov eax, dword [ebp - 4]
call fcn.004297ec
test al, al
je 0x42a127
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42a2e9
mov eax, dword [0x4917f8]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
je 0x42a146
mov eax, dword [ebp + 8]
call fcn.0040589c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x14], eax
test bl, bl
jne 0x42a15a
mov eax, dword [ebp - 4]
call fcn.004297ec
test al, al
jne 0x42a2c6
xor eax, eax
push ebp
push 0x42a2bc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00409088
mov eax, dword [ebp - 0x18]
call fcn.0040589c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x42a2b2
mov eax, dword [ebp - 8]
push eax
push 0xa
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x41b73c]
call fcn.0041eccc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42a2ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004297ec
test al, al
je 0x42a1e1
mov eax, dword [ebp - 4]
call fcn.0040589c
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405604
mov eax, dword [ebp - 0x1c]
call fcn.0040589c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.004297ec
test al, al
je 0x42a232
lea eax, [ebp - 0x20]
mov ecx, 0x42a338
mov edx, dword [ebp - 4]
call fcn.00405724
mov eax, dword [ebp - 0x20]
call fcn.0040589c
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x24]
mov ecx, 0x42a338
mov edx, dword [ebp - 4]
call fcn.00405724
mov eax, dword [ebp - 0x24]
call fcn.0040589c
push eax
mov eax, dword [ebp - 4]
call fcn.0040589c
push eax
call sub.kernel32.dll_MoveFileA
xor eax, eax
push ebp
push 0x42a28b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00409edc
mov eax, dword [ebp - 0x28]
call fcn.00409b54
test al, al
jne 0x42a26a
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00409edc
mov eax, dword [ebp - 0x2c]
call fcn.0040a1f0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0041e9d4
mov eax, dword [ebp - 4]
call fcn.004296e4
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42a295
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a2b2
mov eax, dword [ebp - 0x10]
call fcn.004043f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42a2c6
cmp dword [ebp + 8], 0
je 0x42a2d5
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 0x42a2e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a320
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00405430
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405430
lea eax, [ebp + 8]
call fcn.0040540c
ret