Function at 0x4920f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e4810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
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 + 0x28]
mov byte [esp + 0x28], al
call fcn.00406ab0
mov ecx, dword [0x4e9898]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.00406540
mov edx, dword [0x4e9898]
lea ecx, [esp + 0x24]
push edx
push ebx
push ebp
mov dword [esp + 0x48], ebx
call fcn.004063a0
mov edi, str..tmp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str..tmp
lea ecx, [esp + 0x2c]
call fcn.00406480
mov al, byte [esi]
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00406ab0
mov ecx, dword [0x4e9898]
push ecx
push ebx
push esi
lea ecx, [esp + 0x20]
call fcn.00406540
mov edx, dword [0x4e9898]
lea ecx, [esp + 0x14]
push edx
push ebx
push ebp
mov byte [esp + 0x48], 1
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 + 0x1c]
call fcn.00406480
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4921ce
mov eax, 0x4e9894
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
mov eax, dword [esp + 0x28]
mov ecx, 0x4e9894
cmp eax, ebx
je 0x4921e6
mov ecx, eax
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x4921f2
mov eax, 0x4e9894
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call fcn.004161c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x49224d
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x492213
mov eax, 0x4e9894
push eax
call esi
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call fcn.00406ab0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
call fcn.00406ab0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x30]
cmp eax, ecx
je 0x4922c3
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x492265
mov eax, 0x4e9894
push eax
call esi
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call fcn.00406ab0
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x4922ae
mov al, byte [ecx - 1]
cmp al, bl
je 0x4922a4
cmp al, 0xff
je 0x4922a4
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
dec ecx
push ecx
call fcn.004d35e7
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x4922d0
mov ecx, 0x4e9894
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x4922dd
mov eax, 0x4e9894
push ecx
push eax
call fcn.004b12f6
mov ecx, dword [esp + 0x20]
add esp, 8
cmp ecx, ebx
je 0x49230b
mov al, byte [ecx - 1]
cmp al, bl
je 0x492301
cmp al, 0xff
je 0x492301
dec al
mov byte [ecx - 1], al
jmp 0x49230b
dec ecx
push ecx
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x49233b
mov al, byte [ecx - 1]
cmp al, bl
je 0x492331
cmp al, 0xff
je 0x492331
dec al
mov byte [ecx - 1], al
jmp 0x49233b
dec ecx
push ecx
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret