Function at 0x42df48
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x42df51
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.00405700
mov eax, dword [ebp - 8]
call fcn.00405700
mov eax, dword [ebp + 8]
call fcn.00405700
xor eax, eax
push ebp
push 0x42e1b1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42e177
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
test bl, bl
jne 0x42dfbf
mov eax, dword [ebp - 4]
call fcn.0042d9ac
test al, al
je 0x42dfbf
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42e181
mov eax, dword [0x4cf7f8]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
je 0x42dfde
mov eax, dword [ebp + 8]
call fcn.00405710
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x14], eax
test bl, bl
jne 0x42dff2
mov eax, dword [ebp - 4]
call fcn.0042d9ac
test al, al
jne 0x42e15e
xor eax, eax
push ebp
push 0x42e154
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00409438
mov eax, dword [ebp - 0x18]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x42e14a
mov eax, dword [ebp - 8]
push eax
push 0xa
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x41d658]
call fcn.00421230
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42e143
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042d9ac
test al, al
je 0x42e079
mov eax, dword [ebp - 4]
call fcn.00405710
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405478
mov eax, dword [ebp - 0x1c]
call fcn.00405710
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0042d9ac
test al, al
je 0x42e0ca
lea eax, [ebp - 0x20]
mov ecx, 0x42e1d0
mov edx, dword [ebp - 4]
call fcn.00405598
mov eax, dword [ebp - 0x20]
call fcn.00405710
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x24]
mov ecx, 0x42e1d0
mov edx, dword [ebp - 4]
call fcn.00405598
mov eax, dword [ebp - 0x24]
call fcn.00405710
push eax
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
call sub.kernel32.dll_MoveFileA
xor eax, eax
push ebp
push 0x42e123
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0040a3a0
mov eax, dword [ebp - 0x28]
call fcn.0040a018
test al, al
jne 0x42e102
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0040a3a0
mov eax, dword [ebp - 0x2c]
call fcn.0040a6b4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00420f38
mov eax, dword [ebp - 4]
call fcn.0042d8a4
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42e12d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e14a
mov eax, dword [ebp - 0x10]
call fcn.00404288
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42e15e
cmp dword [ebp + 8], 0
je 0x42e16d
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 0x42e181
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e1b8
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.004052a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052a4
lea eax, [ebp + 8]
call fcn.00405280
ret