Function at 0x1064ecc
Capabilities:
Delete file

Disassembly:
mov eax, 0x127326f
call fcn.01160118
sub esp, 0x30
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.01044f5e
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x24]
call fcn.01044f5e
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov edi, 0x12d2398
push esi
mov ecx, edi
call fcn.0107c218
cmp eax, esi
jge 0x1064f13
mov esi, eax
jmp 0x106528a
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, edi
call fcn.0107c218
cmp eax, esi
jl 0x1064f0c
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], esi
jne 0x1064f3e
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], esi
jne 0x1064f3e
mov esi, 0x80004005
jmp 0x106528a
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.01032a7e
push 0xf006
lea ecx, [ebp - 0x28]
call fcn.01032a7e
mov ecx, edi
call fcn.0116bd48
call fcn.0115c7bb
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 0x1065260
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.0107d35f
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jge 0x1064fed
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
cmp eax, ecx
je 0x1064fdd
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 0x1065272
cmp dword [ebp - 0x10], ecx
jne 0x1065016
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
cmp eax, ecx
je 0x1065003
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 0x1065272
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], ecx
je 0x1065220
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.01257a53
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 0x1065096
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1065074
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1065085
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 0x1065272
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.01063099
test eax, eax
mov dword [ebp - 0x34], eax
jge 0x10650f5
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10650c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10650d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10650e4
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 0x1065272
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10651ab
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x94]
test eax, eax
mov dword [ebp - 0x34], eax
jl 0x10650b1
push 0x100685a
lea ecx, [ebp - 0x34]
call fcn.01061310
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.010630b7
mov edi, eax
test edi, edi
jge 0x1065193
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1065168
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1065179
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1065238
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1065238
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10651db
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10651ab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10651bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10651cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x1064ffb
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
jl 0x1065157
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10651fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x106520f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1065220
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], 0
je 0x1065246
mov ecx, dword [ebp - 0x10]
push eax
call fcn.01048379
mov edi, eax
test edi, edi
jge 0x1065246
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x1064fd5
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1065257
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.0103290a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0103290a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0104508a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0104508a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10