Function at 0x820b04
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x820b0d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
call fcn.00407b94
xor eax, eax
push ebp
push 0x820e00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004163a4
test al, al
je 0x820b50
mov eax, dword [ebp - 4]
call fcn.00407c38
push eax
call sub.kernel32.dll_DeleteFileW
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00416750
mov eax, dword [ebp - 0x24]
call fcn.004163ec
test al, al
jne 0x820bd9
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00416750
mov eax, dword [ebp - 0x28]
call fcn.00416410
test al, al
jne 0x820bd9
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x8e08fc]
mov eax, dword [eax]
mov ecx, 0x820e1c
mov edx, 0x820e38
call fcn.00633998
push dword [ebp - 0x30]
push 0x820e6c
push 0x820e80
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00416750
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00408174
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x40fe04]
call fcn.0041c948
call fcn.004061c4
jmp 0x820dcf
xor ecx, ecx
mov edx, 0x10
mov eax, dword [ebp - 4]
call fcn.0041626c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x820d84
mov byte [ebp - 0x1b], 2
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x1b]
mov ecx, 7
mov eax, dword [ebp - 0x10]
call fcn.004162dc
push 7
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x40badc]
call fcn.004097ac
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1b]
mov ecx, 7
call fcn.00404530
xor ebx, ebx
mov eax, dword [ebp - 8]
call fcn.004095e4
mov esi, eax
dec esi
sub esi, 3
jl 0x820c87
inc esi
mov edi, 3
mov eax, dword [0x8e0da0]
mov eax, dword [eax]
call fcn.0051ba00
xor bl, 1
test bl, bl
je 0x820c79
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi]
xor byte [ebp - 0x1a], al
jmp 0x820c83
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi]
xor byte [ebp - 0x19], al
inc edi
dec esi
jne 0x820c5a
push 0
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x40badc]
call fcn.004097ac
add esp, 4
mov eax, dword [ebp - 0xc]
call fcn.0084fed8
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x820d56
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x820d2c
mov eax, dword [ebp - 0x20]
call fcn.0084fee8
mov dword [ebp - 0x14], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0084f10c
mov eax, dword [ebp - 8]
call fcn.004095e4
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004162dc
mov eax, dword [ebp - 8]
call fcn.004095e4
mov esi, eax
dec esi
test esi, esi
jl 0x820d24
inc esi
xor edi, edi
mov eax, dword [0x8e0da0]
mov eax, dword [eax]
call fcn.0051ba00
xor bl, 1
test bl, bl
je 0x820d16
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi]
xor byte [ebp - 0x1a], al
jmp 0x820d20
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edi]
xor byte [ebp - 0x19], al
inc edi
dec esi
jne 0x820cf7
mov eax, dword [ebp - 0x14]
call fcn.0084f468
mov eax, dword [ebp - 0x20]
call fcn.0084ff48
test al, al
jne 0x820cba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x820d5d
cmp dword [ebp - 0x20], 0
je 0x820d55
mov dl, 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x8e08fc]
mov eax, dword [eax]
mov ecx, 0x820e94
mov edx, 0x820eb0
call fcn.00633998
push dword [ebp - 0x3c]
push 0x820e6c
push 0x820e80
push dword [ebp - 4]
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00408174
mov ecx, dword [ebp - 0x38]
mov dl, 1
mov eax, dword [0x40fe04]
call fcn.0041c948
call fcn.004061c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x820e07
lea eax, [ebp - 0x3c]
mov edx, 7
call fcn.00407ba4
lea eax, [ebp - 8]
mov edx, dword [0x40badc]
call fcn.004098cc
lea eax, [ebp - 4]
call fcn.00407b9c
ret