Function at 0x492360
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e4838
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.00406ab0
mov ecx, dword [0x4e9898]
push ecx
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.00406540
mov edx, dword [0x4e9898]
lea ecx, [esp + 0x30]
push edx
push ebx
push ebp
mov dword [esp + 0x54], ebx
call fcn.004063a0
mov edi, 0x510bac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x510bac
lea ecx, [esp + 0x38]
call fcn.00406480
mov al, byte [esi]
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.00406ab0
mov ecx, dword [0x4e9898]
push ecx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00406540
mov edx, dword [0x4e9898]
lea ecx, [esp + 0x20]
push edx
push ebx
push ebp
mov byte [esp + 0x54], 1
call fcn.004063a0
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.00406480
mov al, byte [esi]
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00406ab0
mov ecx, dword [0x4e9898]
push ecx
push ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.00406540
mov edx, dword [0x4e9898]
mov byte [esp + 0x48], 2
push edx
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.004063a0
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x492477
mov eax, 0x4e9894
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jne 0x492484
mov ecx, 0x4e9894
push eax
push ecx
call fcn.004b12f6
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
mov ecx, 0x4e9894
je 0x49249d
mov ecx, eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x4924aa
mov eax, 0x4e9894
push ecx
push eax
call fcn.004b12f6
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebx
jne 0x4924c1
mov eax, 0x4e9894
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x4924d4
mov eax, 0x4e9894
push str.iClickPM.dll
push eax
call fcn.004af770
add esp, 8
test eax, eax
jne 0x492512
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4924f3
mov eax, 0x4e9894
push eax
mov ecx, ebp
call fcn.004920a0
mov ecx, dword [0x5175dc]
cmp eax, 1
jne 0x49250d
call fcn.00432780
jmp 0x492512
call fcn.004327b0
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x492536
mov al, byte [ecx - 1]
cmp al, bl
je 0x49252c
cmp al, 0xff
je 0x49252c
dec al
mov byte [ecx - 1], al
jmp 0x492536
dec ecx
push ecx
call fcn.004d35e7
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 0x492566
mov al, byte [ecx - 1]
cmp al, bl
je 0x49255c
cmp al, 0xff
je 0x49255c
dec al
mov byte [ecx - 1], al
jmp 0x492566
dec ecx
push ecx
call fcn.004d35e7
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 0x4925a7
mov al, byte [ecx - 1]
cmp al, bl
je 0x49259d
cmp al, 0xff
je 0x49259d
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.004d35e7
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