Function at 0x102c92f
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x11060cf
call fcn.0106f64b
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
cmp dword [esi + 0x140], ebx
jne 0x102c96d
push 0x1002bc8
push 0x1af6
push 0x1002460
call fcn.0107b4be
test byte [esi + 0xec], 4
je 0x102ca58
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push dword [esi + 0x140]
call fcn.010f9fb4
mov edi, eax
cmp edi, ebx
jl 0x102cb58
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
call fcn.010d4f33
mov edi, eax
cmp edi, ebx
jge 0x102c9ef
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102cb5d
test byte [eax + 0x1c], 1
je 0x102cb5d
cmp byte [eax + 0x19], 2
jb 0x102cb5d
push edi
push dword [esi + 0x140]
push dword [ebp - 0x20]
push 0x10023f8
push 0x14c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a40
jmp 0x102cb58
cmp dword [ebp - 0x10], ebx
je 0x102ca58
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x102ca58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102ca3f
test byte [eax + 0x1c], 1
je 0x102ca3f
cmp byte [eax + 0x19], 2
jb 0x102ca3f
push edi
push dword [ebp - 0x10]
push 0x10023f8
push 0x14d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
mov eax, dword [0x111124c]
cmp edi, ebx
jle 0x102cb5d
and edi, 0xffff
or edi, 0x80070000
jmp 0x102cb5d
lea eax, [ebp - 0x14]
push eax
push 0
lea ebx, [esi + 0xd0]
push ebx
push dword [esi + 0x140]
call fcn.010f9fb4
mov edi, eax
test edi, edi
jl 0x102cb56
test byte [esi + 0xec], 1
lea eax, [ebp - 0x1c]
je 0x102ca93
push 0
push eax
push dword [ebp - 0x14]
call fcn.0107c871
jmp 0x102caa2
push eax
push 1
push ebx
push dword [esi + 0x140]
call fcn.010f9fb4
mov edi, eax
test edi, edi
jl 0x102cb56
lea eax, [ebp - 0x18]
push eax
call fcn.010fa83d
mov edi, eax
test edi, edi
jl 0x102cb56
push dword [ebp - 0x18]
push dword [esi + 0xe8]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.010d2ff8
mov edi, eax
test edi, edi
jl 0x102cb56
test byte [esi + 0xec], 0x80
je 0x102cb56
cmp byte [esi + 0xbc], 0
je 0x102cb56
push 0x28
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x102cb08
mov ecx, eax
call fcn.0101fd13
mov ebx, eax
push dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
mov dword [ebp - 0x24], ebx
call fcn.0101a13c
mov edi, eax
test edi, edi
jl 0x102cb56
mov eax, dword [ebp - 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x102cb25
sub eax, edx
sar eax, 1
push 0
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.01020da4
mov edi, eax
test edi, edi
jl 0x102cb56
push ebx
lea ecx, [esi + 0x1e0]
call fcn.01029c6b
xor ebx, ebx
mov eax, dword [0x111124c]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x1c], ebx
je 0x102cb72
push dword [ebp - 0x1c]
call esi
mov eax, dword [0x111124c]
cmp dword [ebp - 0x10], ebx
je 0x102cb81
push dword [ebp - 0x10]
call esi
mov eax, dword [0x111124c]
cmp dword [ebp - 0x14], ebx
je 0x102cb90
push dword [ebp - 0x14]
call esi
mov eax, dword [0x111124c]
cmp dword [ebp - 0x20], ebx
je 0x102cb9f
push dword [ebp - 0x20]
call esi
mov eax, dword [0x111124c]
cmp edi, ebx
jge 0x102cbde
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x102cbb5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102cbde
test byte [eax + 0x1c], 1
je 0x102cbde
cmp byte [eax + 0x19], 2
jb 0x102cbde
push edi
push 0x10023f8
push 0x14e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
cmp dword [ebp - 0x18], ebx
je 0x102cbe8
push dword [ebp - 0x18]
call esi
mov eax, edi
call fcn.0106f737
ret