Function at 0x4a6a18
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x4a6a20
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4a6f27
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [0x4bcf00]
mov byte [eax], 0
mov eax, dword [0x4bcf0c]
cmp byte [eax + 0x1b7], 0
je 0x4a6ece
mov eax, dword [0x4bcf0c]
cmp byte [eax + 0x34], 0
je 0x4a6a6e
call fcn.004a70d0
mov byte [ebp - 1], al
jmp 0x4a6ee9
lea edx, [ebp - 0x14]
mov eax, dword [0x4bcfd4]
mov eax, dword [eax]
call fcn.004089b4
push dword [ebp - 0x14]
push 0x4a6f40
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4bcf0c]
mov eax, dword [eax + 0x17b]
call fcn.004085a4
mov eax, dword [ebp - 0x1c]
mov cl, 0x30
mov edx, 3
call fcn.004517ac
push dword [ebp - 0x18]
push 0x4a6f4c
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00403f08
xor eax, eax
push ebp
push 0x4a6af2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00408760
test al, al
je 0x4a6ae8
mov eax, dword [ebp - 0xc]
call fcn.0040400c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6b13
xor eax, eax
push ebp
push 0x4a6e5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4bcfd4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.0040887c
test al, al
je 0x4a6e10
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00408628
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x4a6b6f
mov eax, dword [0x4bcf00]
mov byte [eax], 5
mov edx, 0x4a6f88
mov eax, 0x4a6f7c
call fcn.004714c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6ee9
mov edx, dword [0x4bcc98]
mov ecx, 0x400
mov eax, dword [ebp - 8]
call fcn.0040868c
cmp eax, 0x400
je 0x4a6bad
mov eax, dword [0x4bcf00]
mov byte [eax], 7
mov edx, 0x4a6fa8
mov eax, 0x4a6f7c
call fcn.004714c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6ee9
mov eax, 0x401
call fcn.00408dbc
mov dword [ebp - 0x10], eax
mov edx, dword [0x4bcc98]
mov eax, dword [ebp - 0x10]
mov ecx, 0x400
call fcn.00470d40
push 0x400
mov eax, dword [ebp - 0x10]
push eax
call sub.CodificadorTextoDirecao.dll_DecodificaTextoDirecao
test eax, eax
jne 0x4a6c28
mov eax, 0x4a6fc8
mov dword [ebp - 0x28], eax
mov eax, 0x4a6fe0
mov dword [ebp - 0x24], eax
mov eax, 0x4a6ff8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00471acc
mov edx, 0x4a7024
mov eax, 0x4a6f7c
call fcn.004714c4
mov eax, dword [0x4bcf00]
mov byte [eax], 7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6ee9
mov eax, dword [0x4bcc98]
mov ecx, 0x400
mov edx, dword [ebp - 0x10]
call fcn.00470d40
mov eax, dword [ebp - 0x10]
call fcn.00408e08
mov eax, 0x4a6fc8
mov dword [ebp - 0x5c], eax
mov eax, 0x4a7044
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
mov edx, dword [0x4bcc98]
mov ecx, 4
call fcn.00403cb0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
mov edx, dword [0x4bcc98]
add edx, 4
mov ecx, 3
call fcn.00403cb0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x68]
mov edx, dword [0x4bcc98]
add edx, 7
mov ecx, 2
call fcn.00403cb0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x6c]
mov edx, dword [0x4bcc98]
add edx, 9
mov ecx, 1
call fcn.00403cb0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x70]
mov edx, dword [0x4bcc98]
add edx, 0xa
mov ecx, 2
call fcn.00403cb0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x74]
mov edx, dword [0x4bcc98]
add edx, 0xc
mov ecx, 6
call fcn.00403cb0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x78]
mov edx, dword [0x4bcc98]
add edx, 0x12
mov ecx, 8
call fcn.00403cb0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x7c]
mov edx, dword [0x4bcc98]
add edx, 0x1a
mov ecx, 6
call fcn.00403cb0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x80]
mov edx, dword [0x4bcc98]
add edx, 0x20
mov ecx, 4
call fcn.00403cb0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x84]
mov edx, dword [0x4bcc98]
add edx, 0x2d
mov ecx, 3
call fcn.00403cb0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x5c]
mov edx, 0xc
call fcn.00471acc
mov eax, 0x3d1
call fcn.00408dbc
mov dword [ebp - 0x10], eax
mov edx, dword [0x4bcc98]
add edx, 0x30
mov eax, dword [ebp - 0x10]
mov ecx, 0x3d0
call fcn.00470d40
mov ecx, 0x12c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
call fcn.00470fec
mov eax, 0x4a6fc8
mov dword [ebp - 0x94], eax
mov eax, 0x4a7058
mov dword [ebp - 0x90], eax
mov eax, 0x4a706c
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x10]
call fcn.00403d80
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00471da0
mov eax, dword [ebp - 0x10]
call fcn.00408e08
mov eax, dword [ebp - 8]
call fcn.004086f0
jmp 0x4a6e54
mov eax, dword [0x4bcf00]
mov byte [eax], 5
mov eax, 0x4a6fc8
mov dword [ebp - 0x94], eax
mov eax, 0x4a707c
mov dword [ebp - 0x90], eax
mov eax, dword [0x4bcfd4]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00471acc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6e70
xor eax, eax
push ebp
push 0x4a6eab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00408760
test al, al
je 0x4a6ea1
mov eax, dword [ebp - 0xc]
call fcn.0040400c
push eax
call sub.kernel32.dll_DeleteFileA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6ee9
call fcn.004726d4
mov eax, dword [0x4bcc98]
add eax, 0xa
mov edx, 0x4a70cc
call fcn.00408c68
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6f2e
lea eax, [ebp - 0x98]
call fcn.00403bc8
lea eax, [ebp - 0x84]
mov edx, 0xa
call fcn.00403bec
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403bec
lea eax, [ebp - 0xc]
call fcn.00403bc8
ret