Function at 0x10650fb
Capabilities:
Delete file

Disassembly:
mov eax, 0x1273081
call fcn.01160168
sub esp, 0x30
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.01044ec9
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x24]
call fcn.01044ec9
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov edi, 0x12d2398
push esi
mov ecx, edi
call fcn.0107c28c
cmp eax, esi
jge 0x1065142
mov esi, eax
jmp 0x10654b9
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, edi
call fcn.0107c28c
cmp eax, esi
jl 0x106513b
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], esi
jne 0x106516d
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], esi
jne 0x106516d
mov esi, 0x80004005
jmp 0x10654b9
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
push 0xf17b
lea ecx, [ebp - 0x2c]
call fcn.01032a95
push 0xf006
lea ecx, [ebp - 0x28]
call fcn.01032a95
mov ecx, edi
call fcn.0105875f
call fcn.0115c814
or eax, 0x24
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x106548f
lea esi, [ebx + 0x2ec5]
mov al, byte [esi]
test al, al
mov byte [ebp - 0x38], al
sete al
mov dword [ebp - 0x3c], esi
mov byte [esi], al
mov byte [ebp - 4], 4
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0107d3ce
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jge 0x106521c
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
cmp eax, ecx
je 0x106520c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov al, byte [ebp - 0x38]
mov byte [esi], al
mov esi, edi
jmp 0x10654a1
cmp dword [ebp - 0x10], ecx
jne 0x1065245
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
cmp eax, ecx
je 0x1065232
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov al, byte [ebp - 0x38]
mov byte [esi], al
mov esi, 0x80004003
jmp 0x10654a1
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], ecx
je 0x106544f
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.01257752
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
lea edi, [ebp - 0x14]
push edi
push eax
push ecx
call dword [edx + 0x90]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
push dword [ebp - 0x34]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
cmp dword [ebp - 0x30], 0
jge 0x10652c5
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10652a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10652b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov al, byte [ebp - 0x38]
mov byte [esi], al
mov esi, dword [ebp - 0x30]
jmp 0x10654a1
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.010632cb
test eax, eax
mov dword [ebp - 0x34], eax
jge 0x1065324
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10652f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1065302
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1065313
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov al, byte [ebp - 0x38]
mov byte [esi], al
mov esi, dword [ebp - 0x34]
jmp 0x10654a1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10653da
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x94]
test eax, eax
mov dword [ebp - 0x34], eax
jl 0x10652e0
push 0x100685a
lea ecx, [ebp - 0x34]
call fcn.0106154f
mov byte [ebp - 4], 9
mov ecx, dword [eax]
push 0
lea eax, [ebx + 0x638]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov byte [ebp - 4], 8
push dword [ebp - 0x34]
call edi
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call fcn.010632e9
mov edi, eax
test edi, edi
jge 0x10653c2
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1065397
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10653a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1065467
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1065467
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x106540a
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10653da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10653eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10653fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x106522a
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
jl 0x1065386
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x106542d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x106543e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x106544f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], 0
je 0x1065475
mov ecx, dword [ebp - 0x10]
push eax
call fcn.01048271
mov edi, eax
test edi, edi
jge 0x1065475
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x1065204
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1065486
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov al, byte [ebp - 0x38]
mov byte [esi], al
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x24]
call esi
xor esi, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.010328fa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.010328fa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.010454b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.010454b8
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10