Function at 0x100aacc0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012bb72
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
test esi, esi
je 0x100ab27d
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100ab29b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
push dword [esi + 4]
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push 0x10131380
push eax
call fcn.100086f0
mov eax, dword [esi + 8]
add esp, 0xc
test eax, eax
je 0x100aad73
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
cmp dword [esi + 8], 0
mov edi, eax
mov dword [ebp - 0x3c], edi
je 0x100aad63
test edi, edi
je 0x100ab2a5
mov esi, dword [ebp - 0x3c]
mov ebx, 1
mov byte [ebp - 4], 1
mov eax, edi
jmp 0x100aad9a
push 0x101308ac
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x100ab2af
mov edi, dword [ebp - 0x3c]
mov ebx, 2
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], ebx
call fcn.100079a0
mov dword [ebp - 4], 3
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, 2
je 0x100aadc2
push esi
and ebx, 0xfffffffd
call eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 5
test bl, 1
je 0x100aadd1
push edi
and ebx, 0xfffffffe
call eax
mov esi, dword [ebp - 0x38]
push dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
push edi
lea ecx, [esi + 0x38]
call fcn.100b3760
lea ecx, [esi + 0x38]
call fcn.100b3910
mov eax, esi
mov eax, dword [eax + 0x98]
mov esi, dword [eax]
cmp esi, eax
je 0x100ab234
nop dword [eax]
mov eax, ebx
lea ecx, [esi + 8]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x50]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
or ebx, 4
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], ebx
mov ebx, dword [eax]
call fcn.100088b0
test eax, eax
je 0x100ab29b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 7
test ebx, ebx
je 0x100aae71
test ebx, 0xffff0000
jne 0x100aae59
movzx eax, bx
lea ecx, [ebp - 0x3c]
push eax
call fcn.10008a30
jmp 0x100aae7d
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100aae60
sub ecx, edx
sar ecx, 1
jmp 0x100aae73
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x3c]
call fcn.1000b940
mov ebx, dword [ebp - 0x40]
or ebx, 0xc
mov dword [ebp - 4], 8
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
test edi, edi
je 0x100ab29b
mov ecx, edi
mov edi, dword [ebp - 0x3c]
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100aaec6
test dx, dx
je 0x100aaec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100aaec6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100aaea0
xor eax, eax
jmp 0x100aaecb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100aaf24
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 8]
call fcn.100b0c50
mov ecx, dword [ebp - 0x48]
or ebx, 0x10
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
test ecx, ecx
je 0x100ab29b
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100aaf17
test dx, dx
je 0x100aaf13
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100aaf17
add eax, 4
add ecx, 4
test dx, dx
jne 0x100aaef1
xor eax, eax
jmp 0x100aaf1c
sbb eax, eax
or eax, 1
mov byte [ebp - 0x29], 1
test eax, eax
je 0x100aaf28
mov byte [ebp - 0x29], 0
test bl, 0x10
je 0x100aaf51
mov edx, dword [ebp - 0x4c]
and ebx, 0xffffffef
mov dword [ebp - 0x40], ebx
add edx, 0xfffffff0
mov dword [ebp - 0x30], ebx
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100aaf51
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
add edi, 0xfffffff0
and eax, 0xfffffff7
mov dword [ebp - 4], 6
mov dword [ebp - 0x30], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100aaf79
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x50]
mov dword [ebp - 4], 5
and ebx, 0xfffffff3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x29], 0
je 0x100ab21f
lea edi, [esi + 8]
mov ecx, edi
call fcn.10024d80
test eax, eax
je 0x100ab1b1
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
push ecx
push edi
call dword [eax]
push dword [eax]
or ebx, 0x20
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], ebx
mov edi, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100ab05f
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x8c], 0
je 0x100ab05f
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
lea edx, [ebp - 0x58]
push edx
push ecx
call dword [eax + 8]
push dword [eax]
or ebx, 0x40
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], ebx
call fcn.100079a0
mov eax, dword [eax]
mov ecx, edi
or ecx, 0xc0
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x30], ecx
xor ecx, ecx
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.100323c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xc
push eax
mov eax, dword [ebp - 0x38]
mov ebx, edi
or ebx, 0x1c0
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax + 0x8c]
call fcn.100b0570
mov byte [ebp - 0x29], 1
test eax, eax
je 0x100ab063
mov byte [ebp - 0x29], 0
test ebx, 0x100
je 0x100ab079
lea ecx, [ebp - 0x28]
and ebx, 0xfffffeff
call fcn.1000c1c0
mov dword [ebp - 4], 0xa
test bl, bl
jns 0x100ab0a8
mov edx, dword [ebp - 0x54]
and ebx, 0xffffff7f
mov dword [ebp - 0x30], ebx
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ab0a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, 0x40
je 0x100ab0b9
push dword [ebp - 0x58]
and ebx, 0xffffffbf
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x5c]
mov dword [ebp - 4], 5
and ebx, 0xffffffdf
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x29], 0
lea edi, [esi + 8]
je 0x100ab1e8
mov eax, dword [edi]
lea ecx, [ebp - 0x60]
push ecx
push edi
call dword [eax]
push dword [eax]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.100079a0
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xf
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x34]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x100ab12d
push 0x104
lea ecx, [ebp - 0x34]
call fcn.1000b310
mov edx, dword [ebp - 0x34]
cmp dword [edx - 8], 0x104
jl 0x100ab2b9
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x34]
push edx
mov word [eax + 0x208], cx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x34]
push dword [eax - 8]
push eax
call fcn.100efbd7
mov edx, eax
add esp, 8
test edx, edx
js 0x100ab2b9
mov ecx, dword [ebp - 0x34]
cmp edx, dword [ecx - 8]
jg 0x100ab2b9
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x34]
mov word [eax + edx*2], cx
push dword [ebp - 0x34]
call fcn.100af170
mov edx, dword [ebp - 0x34]
add esp, 4
mov byte [ebp - 4], 5
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ab1e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100ab1e8
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x94], 0
je 0x100ab1e8
mov eax, dword [edi]
lea ecx, [ebp - 0x64]
push ecx
push edi
call dword [eax + 8]
push dword [eax]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x10
mov ecx, dword [eax + 0x94]
call fcn.100b7880
push dword [ebp - 0x64]
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esi + 4]
mov ecx, edi
mov eax, dword [esi]
push 0
mov dword [edx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
dec dword [eax + 0x9c]
mov eax, dword [edi]
call dword [eax + 0x1c]
push 0x3c
push esi
call fcn.100c459e
mov eax, dword [ebp - 0x38]
add esp, 8
mov esi, dword [eax + 0x98]
jmp 0x100ab222
mov eax, dword [ebp - 0x38]
mov esi, dword [esi]
mov edi, dword [ebp - 0x44]
cmp esi, dword [eax + 0x98]
je 0x100ab237
jmp 0x100aae00
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 4]
add eax, 4
push eax
call dword [ecx]
mov edx, dword [ebp - 0x48]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ab261
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100ab27d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10008520
push 0x8007000e
call fcn.10008520
push 0x8007000e
call fcn.10008520
push 0x80070057
call fcn.10008520
int3