Function at 0x46d31c
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 0x46d6e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x67268c], 2
call fcn.0046d290
call fcn.0046ca7c
call fcn.0046cb20
call fcn.0046d2d8
xor edx, edx
xor eax, eax
call fcn.0046f160
xor edx, edx
mov al, 2
call fcn.0046f160
cmp byte [0x672690], 3
jne 0x46d67f
cmp byte [0x6726ac], 0
je 0x46d627
mov eax, dword [0x66f294]
cmp byte [eax], 0
jne 0x46d592
mov eax, dword [0x66f434]
cmp dword [eax], 0
je 0x46d592
mov eax, dword [0x6726a8]
mov ecx, 0x989680
cdq
idiv ecx
mov ebx, eax
cmp ebx, 4
jle 0x46d592
lea ecx, [ebp - 0x10]
mov eax, dword [0x66f60c]
mov eax, dword [eax]
mov edx, ebx
call fcn.00655c8c
mov eax, dword [ebp - 0x10]
mov cx, word [0x46d6f0]
mov dl, 3
call fcn.0061fbb0
cmp ax, 6
jne 0x46d592
lea eax, [ebp - 0x14]
call fcn.0061c97c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x46d6f8
call fcn.00403b14
mov eax, dword [ebp - 4]
push eax
push 0
mov al, byte [0x46d728]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x66f434]
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, 0x46d72c
mov ecx, 2
call fcn.00655a70
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x30]
mov eax, 0x46d75c
call fcn.00654d58
mov edx, dword [ebp - 0x30]
xor eax, eax
pop ecx
call fcn.00437f04
test al, al
je 0x46d496
call fcn.0064d5e0
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0064fd4c
cmp dword [esi + 0x24], 1
jne 0x46d48f
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 0x46d4b6
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [0x66ffdc]
mov eax, dword [eax]
call fcn.0061ffb8
jmp 0x46d592
mov edx, dword [ebp - 8]
mov eax, 0x46d784
call fcn.00654a24
dec eax
jne 0x46d4ea
mov eax, dword [0x66fc2c]
mov eax, dword [eax]
call fcn.0061feb4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00403a24
mov eax, dword [ebp - 0x14]
call fcn.00620f3c
jmp 0x46d592
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [0x66f434]
mov eax, dword [eax + 4]
call fcn.00654c3c
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, dword [0x66f200]
mov eax, dword [eax]
mov ecx, 1
call fcn.00655a28
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, dword [0x66e8f0]
mov eax, dword [eax]
mov ecx, 1
call fcn.00655a28
mov eax, dword [ebp - 0x10]
call fcn.0061feb4
call fcn.00536b48
xor edx, edx
call fcn.00535c50
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00653d2c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
call fcn.00654c74
mov eax, dword [ebp - 0x14]
push eax
call fcn.00536b48
pop edx
call fcn.005369a0
call fcn.00536b48
call fcn.00535e10
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46c7cc]
call fcn.0046de98
mov dword [0x6726c8], eax
mov edx, dword [0x66e8ec]
mov edx, dword [edx]
mov eax, dword [0x6726c8]
call fcn.0063fb4c
lea edx, [ebp - 0x44]
mov eax, dword [0x6726c8]
mov ebx, dword [eax + 0x1a4]
mov eax, ebx
call fcn.0063fa54
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x10]
mov edx, dword [0x6726b0]
call fcn.00655b64
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0063fadc
mov eax, dword [0x6726c8]
mov eax, dword [eax + 0x1a8]
mov edx, dword [0x67269c]
call fcn.0063fadc
mov eax, dword [0x6726c8]
mov eax, dword [eax + 0x1b8]
mov bx, 0xffd9
call fcn.00403254
mov eax, dword [0x6726c8]
call fcn.0063c388
mov eax, dword [0x6726c8]
call fcn.004028c0
jmp 0x46d6a6
mov eax, dword [0x6726a0]
call fcn.0062968c
cmp eax, 0x2687c50
jle 0x46d671
mov ax, word [0x46d6f0]
push eax
mov eax, dword [0x66f9f8]
mov eax, dword [eax]
mov cl, 3
mov edx, dword [0x6726a0]
call fcn.0061fdf4
cmp ax, 6
jne 0x46d6a6
lea eax, [ebp - 0x14]
mov edx, dword [0x6726a4]
call fcn.00403a24
mov eax, dword [ebp - 0x14]
call fcn.00620f3c
jmp 0x46d6a6
mov eax, dword [0x66f3b4]
mov eax, dword [eax]
call fcn.0061feb4
jmp 0x46d6a6
lea edx, [ebp - 0x14]
mov eax, 0x46d75c
call fcn.00654d58
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov eax, dword [0x66eb0c]
mov eax, dword [eax]
call fcn.00655be8
mov eax, dword [ebp - 0x10]
call fcn.0062006c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d6e8
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