Function at 0x102c5b7
Capabilities:
Delete file

Disassembly:
push 0x38
mov eax, 0x11060a5
call fcn.0106f64b
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 2
cmp dword [esi + 0x140], ebx
jne 0x102c611
push 0x1002bc8
push 0x1a3a
push 0x1002460
call fcn.0107b4be
test byte [esi + 0xec], 4
je 0x102c6f7
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push dword [esi + 0x140]
call fcn.010df6c3
mov edi, eax
cmp edi, ebx
jl 0x102c872
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
call fcn.010d4f33
mov edi, eax
cmp edi, ebx
jge 0x102c693
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102c872
test byte [eax + 0x1c], 1
je 0x102c872
cmp byte [eax + 0x19], 2
jb 0x102c872
push edi
push dword [esi + 0x140]
push dword [ebp - 0x1c]
push 0x10023f8
push 0x148
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a40
jmp 0x102c872
cmp dword [ebp - 0x10], ebx
je 0x102c6f7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x102c6f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102c6de
test byte [eax + 0x1c], 1
je 0x102c6de
cmp byte [eax + 0x19], 2
jb 0x102c6de
push edi
push dword [ebp - 0x10]
push 0x10023f8
push 0x149
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
cmp edi, ebx
jle 0x102c872
and edi, 0xffff
or edi, 0x80070000
jmp 0x102c872
lea eax, [ebp - 0x14]
push eax
push 0
lea ebx, [esi + 0xd0]
push ebx
push dword [esi + 0x140]
call fcn.010df6c3
mov edi, eax
test edi, edi
jl 0x102c870
test byte [esi + 0xec], 1
lea eax, [ebp - 0x18]
je 0x102c732
push 0
push eax
push dword [ebp - 0x14]
call fcn.0107c871
jmp 0x102c741
push eax
push 1
push ebx
push dword [esi + 0x140]
call fcn.010df6c3
mov edi, eax
test edi, edi
jl 0x102c870
mov eax, dword [esi + 0x138]
test eax, eax
je 0x102c769
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.010edd1f
mov edi, eax
test edi, edi
jl 0x102c870
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + 0x2a8]
push eax
call fcn.010e4721
mov edi, eax
test edi, edi
jge 0x102c7be
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102c870
test byte [eax + 0x1c], 1
je 0x102c870
cmp byte [eax + 0x19], 2
jb 0x102c870
push edi
push 0x10023f8
push 0x14a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
jmp 0x102c870
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.010f8f49
mov edi, eax
test edi, edi
jl 0x102c870
push dword [ebp - 0x20]
push dword [esi + 0xe8]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.010d2ff8
mov edi, eax
test edi, edi
jl 0x102c870
test byte [esi + 0xec], 0x80
je 0x102c870
cmp byte [esi + 0xbc], 0
je 0x102c870
push 0x28
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x102c823
mov ecx, eax
call fcn.0101fd13
mov ebx, eax
jmp 0x102c825
xor ebx, ebx
push dword [ebp - 0x14]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0101a13c
mov edi, eax
test edi, edi
jl 0x102c870
mov eax, dword [ebp - 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x102c83f
sub eax, edx
sar eax, 1
push 0
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.01020da4
mov edi, eax
test edi, edi
jl 0x102c870
push ebx
lea ecx, [esi + 0x1e0]
call fcn.01029c6b
xor ebx, ebx
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x18], ebx
je 0x102c882
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x10], ebx
je 0x102c88c
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x14], ebx
je 0x102c896
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x102c8a0
push dword [ebp - 0x1c]
call esi
lea eax, [ebp - 0x44]
push eax
call fcn.010f812d
cmp dword [ebp - 0x30], 0
jbe 0x102c8cb
push ebx
lea ecx, [ebp - 0x34]
call fcn.01020ba0
mov esi, eax
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi], 0
inc ebx
cmp ebx, dword [ebp - 0x30]
jb 0x102c8af
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x34]
call fcn.01028816
test edi, edi
jge 0x102c909
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102c909
test byte [eax + 0x1c], 1
je 0x102c909
cmp byte [eax + 0x19], 2
jb 0x102c909
push edi
push 0x10023f8
push 0x14b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
lea ecx, [ebp - 0x44]
call fcn.01040ced
lea ecx, [ebp - 0x34]
call fcn.0102841e
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.0106f737
ret