Function at 0x492df0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e59e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
mov al, byte [ebp + 0x44]
lea esi, [ebp + 0x44]
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
call fcn.00407190
mov ecx, dword [0x4ea898]
push ecx
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.00406bb0
mov edx, dword [0x4ea898]
lea ecx, [esp + 0x30]
push edx
push ebx
push ebp
mov dword [esp + 0x54], ebx
call fcn.00406a10
mov edi, 0x51204c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x51204c
lea ecx, [esp + 0x38]
call fcn.00406af0
mov al, byte [esi]
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.00407190
mov ecx, dword [0x4ea898]
push ecx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00406bb0
mov edx, dword [0x4ea898]
lea ecx, [esp + 0x20]
push edx
push ebx
push ebp
mov byte [esp + 0x54], 1
call fcn.00406a10
mov edi, str..old
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str..old
lea ecx, [esp + 0x28]
call fcn.00406af0
mov al, byte [esi]
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00407190
mov ecx, dword [0x4ea898]
push ecx
push ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.00406bb0
mov edx, dword [0x4ea898]
mov byte [esp + 0x48], 2
push edx
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.00406a10
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x492f07
mov eax, 0x4ea894
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jne 0x492f14
mov ecx, 0x4ea894
push eax
push ecx
call fcn.004b23c6
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
mov ecx, 0x4ea894
je 0x492f2d
mov ecx, eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x492f3a
mov eax, 0x4ea894
push ecx
push eax
call fcn.004b23c6
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebx
jne 0x492f51
mov eax, 0x4ea894
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x492f64
mov eax, 0x4ea894
push str.iClickPM.dll
push eax
call fcn.004b0b80
add esp, 8
test eax, eax
jne 0x492fa2
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x492f83
mov eax, 0x4ea894
push eax
mov ecx, ebp
call fcn.00432430
mov ecx, dword [0x518bc0]
cmp eax, 1
jne 0x492f9d
call fcn.00432360
jmp 0x492fa2
call fcn.00432390
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x492fc6
mov al, byte [ecx - 1]
cmp al, bl
je 0x492fbc
cmp al, 0xff
je 0x492fbc
dec al
mov byte [ecx - 1], al
jmp 0x492fc6
dec ecx
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
cmp ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x492ff6
mov al, byte [ecx - 1]
cmp al, bl
je 0x492fec
cmp al, 0xff
je 0x492fec
dec al
mov byte [ecx - 1], al
jmp 0x492ff6
dec ecx
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
cmp ecx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x493037
mov al, byte [ecx - 1]
cmp al, bl
je 0x49302d
cmp al, 0xff
je 0x49302d
pop edi
dec al
pop esi
pop ebp
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
dec ecx
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret