Function at 0x1065633
Capabilities:
Delete file

Disassembly:
mov eax, 0x12731cd
call fcn.01160458
sub esp, 0x30
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.01045169
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x24]
call fcn.01045169
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov edi, 0x12d2398
push esi
mov ecx, edi
call fcn.0107cadd
cmp eax, esi
jge 0x106567a
mov esi, eax
jmp 0x10659f1
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, edi
call fcn.0107cadd
cmp eax, esi
jl 0x1065673
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], esi
jne 0x10656a5
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], esi
jne 0x10656a5
mov esi, 0x80004005
jmp 0x10659f1
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.01032a72
push 0xf006
lea ecx, [ebp - 0x28]
call fcn.01032a72
mov ecx, edi
call fcn.0116c067
call fcn.0115cbdb
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 0x10659c7
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.0107dc1d
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jge 0x1065754
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
cmp eax, ecx
je 0x1065744
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 0x10659d9
cmp dword [ebp - 0x10], ecx
jne 0x106577d
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
cmp eax, ecx
je 0x106576a
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 0x10659d9
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], ecx
je 0x1065987
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.01032b44
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 0x10657fd
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10657db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10657ec
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 0x10659d9
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.01063853
test eax, eax
mov dword [ebp - 0x34], eax
jge 0x106585c
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1065829
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x106583a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x106584b
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 0x10659d9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1065912
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x94]
test eax, eax
mov dword [ebp - 0x34], eax
jl 0x1065818
push 0x100685a
lea ecx, [ebp - 0x34]
call fcn.01061a86
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.01063871
mov edi, eax
test edi, edi
jge 0x10658fa
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10658cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10658e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x106599f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x106599f
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1065942
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1065912
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1065923
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1065934
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x1065762
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
jl 0x10658be
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1065965
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1065976
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1065987
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], 0
je 0x10659ad
mov ecx, dword [ebp - 0x10]
push eax
call fcn.01048795
mov edi, eax
test edi, edi
jge 0x10659ad
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x106573c
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10659be
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.010328fe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.010328fe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.01045295
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10