Function at 0x102c343
Capabilities:
Delete file

Disassembly:
push 0x34
mov eax, 0x1105df9
call fcn.0106f85e
xor ebx, ebx
mov esi, ecx
mov eax, dword [esi + 0x138]
xor edi, edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
cmp eax, ebx
jne 0x102c3af
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x102c683
test byte [eax + 0x1c], 1
je 0x102c683
cmp byte [eax + 0x19], 4
jb 0x102c683
push 0x10023f8
push 0x144
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
jmp 0x102c619
mov dword [ebp - 0x3c], ebx
cmp dword [eax + 4], ebx
jbe 0x102c683
cmp dword [ebp - 0x28], ebx
je 0x102c3cc
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x3c]
push dword [esi + 0x138]
call fcn.010ed1ac
mov edi, eax
cmp edi, ebx
jl 0x102c619
cmp dword [esi + 0x140], ebx
jne 0x102c408
push 0x1002bc8
push 0x196d
push 0x1002460
call fcn.0107b644
test byte [esi + 0xec], 4
je 0x102c47e
cmp dword [ebp - 0x34], ebx
je 0x102c422
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [esi + 0x140]
call fcn.010df384
mov edi, eax
cmp edi, ebx
jl 0x102c619
cmp dword [ebp - 0x2c], ebx
je 0x102c452
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.010d4e81
mov edi, eax
cmp edi, ebx
jl 0x102c619
cmp dword [ebp - 0x2c], ebx
je 0x102c47e
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x102c5c3
cmp dword [ebp - 0x24], ebx
je 0x102c48f
push dword [ebp - 0x24]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x24]
push ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
lea eax, [esi + 0xd0]
push eax
push dword [esi + 0x140]
call fcn.010df384
mov edi, eax
cmp edi, ebx
jl 0x102c619
cmp dword [ebp - 0x30], ebx
je 0x102c4c5
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x30], ebx
test byte [esi + 0xec], 1
lea eax, [ebp - 0x30]
je 0x102c4dd
push ebx
push eax
push dword [ebp - 0x24]
call fcn.0107c9fc
jmp 0x102c4f6
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0xd0]
push eax
push dword [esi + 0x140]
call fcn.010df384
mov edi, eax
cmp edi, ebx
jl 0x102c619
push dword [ebp - 0x28]
push dword [esi + 0xe8]
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call fcn.010d2f5e
mov edi, eax
cmp edi, ebx
jl 0x102c619
test byte [esi + 0xec], 0x80
je 0x102c5ac
cmp byte [esi + 0xbc], bl
je 0x102c5ac
push 0x28
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x102c551
call fcn.0101fc50
mov dword [ebp - 0x40], eax
jmp 0x102c554
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], ecx
call fcn.0101a04a
mov edi, eax
cmp edi, ebx
jl 0x102c60c
mov eax, dword [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x102c576
mov ecx, dword [ebp - 0x40]
sub eax, edx
sar eax, 1
push ebx
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x28]
call fcn.01020d5f
mov edi, eax
cmp edi, ebx
jl 0x102c60c
push dword [ebp - 0x40]
lea ecx, [esi + 0x1e0]
call fcn.01029ca7
mov dword [ebp - 0x38], ebx
inc dword [ebp - 0x3c]
mov eax, dword [esi + 0x138]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 4]
jb 0x102c3bb
jmp 0x102c619
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x102c5fc
test byte [eax + 0x1c], 1
je 0x102c5fc
cmp byte [eax + 0x19], 2
jb 0x102c5fc
push edi
push dword [ebp - 0x2c]
push 0x10023f8
push 0x145
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
cmp edi, ebx
jle 0x102c619
and edi, 0xffff
or edi, 0x80070000
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x102c619
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x28], ebx
je 0x102c629
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0x30], ebx
je 0x102c633
push dword [ebp - 0x30]
call esi
cmp dword [ebp - 0x2c], ebx
je 0x102c63d
push dword [ebp - 0x2c]
call esi
cmp dword [ebp - 0x34], ebx
je 0x102c647
push dword [ebp - 0x34]
call esi
cmp dword [ebp - 0x24], ebx
je 0x102c651
push dword [ebp - 0x24]
call esi
cmp edi, ebx
jge 0x102c683
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x102c683
test byte [eax + 0x1c], 1
je 0x102c683
cmp byte [eax + 0x19], 2
jb 0x102c683
push edi
push 0x10023f8
push 0x146
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, edi
call fcn.0106f8f0
ret