Function at 0x45834c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4586ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x66b660], 2
call fcn.004582c0
call fcn.00457a64
call fcn.00457b08
call fcn.00458308
xor edx, edx
xor eax, eax
call fcn.0045af88
xor edx, edx
mov al, 2
call fcn.0045af88
cmp byte [0x66b664], 3
jne 0x45868f
cmp byte [0x66b680], 0
je 0x45863b
mov eax, dword [0x6694bc]
cmp byte [eax], 0
jne 0x4585ad
mov eax, dword [0x669554]
cmp dword [eax], 0
je 0x4585ad
mov eax, dword [0x66b67c]
mov ecx, 0x989680
cdq
idiv ecx
mov ebx, eax
cmp ebx, 4
jle 0x4585ad
lea ecx, [ebp - 0x10]
mov eax, 0x4586fc
mov edx, ebx
call fcn.00655344
mov eax, dword [ebp - 0x10]
mov cx, word [0x458804]
mov dl, 3
call fcn.0061f580
cmp ax, 6
jne 0x4585ad
lea eax, [ebp - 0x14]
call fcn.0061c4fc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x45880c
call fcn.00403b24
mov eax, dword [ebp - 4]
push eax
push 0
mov al, byte [0x45883c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x669554]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x1c], 4
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x2c]
mov eax, 0x458840
mov ecx, 2
call fcn.00655128
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x30]
mov eax, 0x458870
call fcn.00654410
mov edx, dword [ebp - 0x30]
xor eax, eax
pop ecx
call fcn.004570bc
test al, al
je 0x4584c4
call fcn.0064d6f4
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0064f498
cmp dword [esi + 0x24], 1
jne 0x4584bd
lea eax, [ebp - 8]
mov edx, dword [esi + 0x14]
mov edx, dword [edx]
call fcn.0040330c
mov eax, esi
call fcn.004028c0
cmp dword [ebp - 8], 0
jne 0x4584e2
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, 0x458890
call fcn.0061f988
jmp 0x4585ad
mov edx, dword [ebp - 8]
mov eax, 0x458908
call fcn.006540dc
dec eax
jne 0x458514
mov eax, 0x458910
call fcn.0061f884
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00403a34
mov eax, dword [ebp - 0x14]
call fcn.00620aa8
jmp 0x4585ad
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [0x669554]
mov eax, dword [eax + 4]
call fcn.006542f4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x40]
mov eax, 0x458998
mov ecx, 1
call fcn.006550e0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x40]
mov eax, 0x4589b0
mov ecx, 1
call fcn.006550e0
mov eax, dword [ebp - 0x10]
call fcn.0061f884
call fcn.00530afc
xor edx, edx
call fcn.0052fc04
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0065432c
mov eax, dword [ebp - 0x14]
push eax
call fcn.00530afc
pop edx
call fcn.00530954
call fcn.00530afc
call fcn.0052fdc4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45776c]
call fcn.004594c8
mov dword [0x66b69c], eax
mov edx, 0x458ad0
mov eax, dword [0x66b69c]
call fcn.0063fd6c
lea edx, [ebp - 0x44]
mov eax, dword [0x66b69c]
mov ebx, dword [eax + 0x1a4]
mov eax, ebx
call fcn.0063fce0
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x10]
mov edx, dword [0x66b684]
call fcn.0065521c
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0063fd6c
mov eax, dword [0x66b69c]
mov eax, dword [eax + 0x1a8]
mov edx, dword [0x66b670]
call fcn.0063fd6c
mov eax, dword [0x66b69c]
mov eax, dword [eax + 0x1b8]
mov edx, dword [eax]
call dword [edx + 0x68]
mov eax, dword [0x66b69c]
call fcn.0063c5d0
mov eax, dword [0x66b69c]
call fcn.004028c0
jmp 0x4586b4
mov eax, dword [0x66b674]
call fcn.006297b8
cmp eax, 0x268786c
jle 0x458683
mov ax, word [0x458804]
push eax
mov eax, 0x458ae4
mov cl, 3
mov edx, dword [0x66b674]
call fcn.0061f7c4
cmp ax, 6
jne 0x4586b4
lea eax, [ebp - 0x14]
mov edx, dword [0x66b678]
call fcn.00403a34
mov eax, dword [ebp - 0x14]
call fcn.00620aa8
jmp 0x4586b4
mov eax, 0x458bcc
call fcn.0061f884
jmp 0x4586b4
lea edx, [ebp - 0x14]
mov eax, 0x458870
call fcn.00654410
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov eax, 0x458c20
call fcn.006552a0
mov eax, dword [ebp - 0x10]
call fcn.0061fa3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4586f6
lea eax, [ebp - 0x44]
call fcn.00403274
lea eax, [ebp - 0x30]
call fcn.00403880
lea eax, [ebp - 0x14]
call fcn.00403880
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403298
lea eax, [ebp - 4]
call fcn.00403880
ret