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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10348eb7
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0
xor edi, edi
call fcn.100c1ba0
push edi
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 4
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], 7
push str..xs
mov word [ecx], ax
call fcn.10002560
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0xb0]
mov ecx, esp
push eax
call fcn.10002050
mov byte [ebp - 4], 1
call fcn.1019703a
mov ecx, dword [ebp - 0xd8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xdc]
add esp, 0x38
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d6cc3
push 0xc
call fcn.100f99e9
mov edi, eax
add esp, 4
mov dword [ebp - 0xc4], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100b5850
mov ecx, eax
call fcn.100c0b10
mov esi, dword [ebp - 0xdc]
xor ecx, ecx
mov byte [ebp - 0xb9], al
mov eax, 0x2aaaaaab
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0xd8]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d6ca8
xor eax, eax
mov dword [ebp - 0xd0], eax
nop dword [eax + eax]
push 0x3a8
sub esp, 0x18
add eax, esi
mov ecx, esp
push eax
call fcn.10002050
lea eax, [ebp - 0x70]
push eax
call fcn.1019c48d
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x100d66ba
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1019fbf0
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100d66ff
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d66f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6d4b
push edx
push ecx
call fcn.100f99db
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], 0xf
mov ecx, esp
mov byte [ebp - 0x70], 0
push eax
call fcn.10004d20
lea eax, [ebp - 0x40]
push eax
call fcn.101a5758
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x100d675d
mov ecx, eax
call fcn.10002730
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100d6791
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d6787
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6d4b
push edx
push ecx
call fcn.100f99db
add esp, 8
push 0xf0
call fcn.100f99e9
mov esi, eax
add esp, 4
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 6
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_CSoftOperate_.0
call fcn.100d37b0
mov dword [edi], vtable.CSoftOperate.0
mov dword [edi + 0xdc], 0
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe4], esi
push 0x2a8
mov byte [ebp - 4], 7
call fcn.100f99e9
add esp, 4
mov dword [ebp - 0xb8], eax
mov ecx, eax
call fcn.100cf2a0
mov dword [ebp - 0xb4], eax
lea eax, [edi + 0x60]
push eax
call fcn.100f64be
add esp, 4
test eax, eax
je 0x100d6827
push eax
call fcn.100f5d86
add esp, 4
mov eax, dword [ebp - 0xb4]
mov dword [edi + 0xa4], eax
lea eax, [edi + 0x60]
push eax
call fcn.100f64e3
add esp, 4
test eax, eax
je 0x100d684c
push eax
call fcn.100f5d86
add esp, 4
mov eax, dword [edi + 0xa4]
sub esp, 0x18
mov dword [ebp - 0xb4], eax
mov ecx, esp
lea eax, [ebp - 0x58]
push eax
call fcn.10004d20
lea ecx, [ebp - 0xb4]
call fcn.100d1960
mov edi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x28]
add esp, 0x18
lea eax, [edi + 0x30]
push eax
call fcn.10004d20
mov byte [ebp - 4], 8
lea edx, [edi + 0x18]
cmp dword [edi + 0x2c], 0x10
jb 0x100d6896
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x28]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub eax, edi
mov dword [ebp - 0xb8], edi
push ecx
push edx
cmp ecx, eax
ja 0x100d68da
mov eax, dword [ebp - 0xb8]
lea esi, [ebp - 0x28]
add edi, ecx
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], edi
cmovae esi, dword [ebp - 0x28]
add eax, esi
push eax
call fcn.101d2a60
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0xc0]
jmp 0x100d68f0
mov byte [ebp - 0xc8], 0
push dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068b0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.10004d20
lea ecx, [ebp - 0x40]
call fcn.100cf5f0
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x100d693b
mov ecx, eax
call fcn.10002730
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100d696f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d6965
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6d4b
push edx
push ecx
call fcn.100f99db
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100d6a59
cmp byte [ebp - 0xb9], 0
je 0x100d69cc
mov edi, dword [ebp - 0xb4]
lea ecx, [edi + 0x90]
call fcn.100daf00
test edx, edx
jl 0x100d69cc
jg 0x100d69ad
test eax, eax
je 0x100d69cc
lea ecx, [edi + 0x90]
call fcn.100daf00
push 7
push edx
push eax
call fcn.101a6281
add esp, 0xc
test eax, eax
jne 0x100d6b53
mov eax, dword [ebp - 0xb4]
sub esp, 0x18
add eax, 0x144
mov ecx, esp
push eax
call fcn.10004d20
call fcn.1019beb4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call fcn.1019f8ff
mov ecx, dword [ebp - 0xb4]
add esp, 0x1c
cmp byte [ecx + 0x98], 0
je 0x100d6a59
cmp eax, edi
jne 0x100d6a59
lea edx, [esi + 0x10]
mov eax, 5
lea ecx, [edx + 0x58]
xchg dword [ecx], eax
mov edi, dword [ebp - 0xc4]
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x100d6a42
mov dword [eax + 4], esi
xor esi, esi
mov dword [eax], edx
add dword [edi + 4], 8
mov dword [ebp - 0xe8], 0
jmp 0x100d6a65
lea ecx, [ebp - 0xe8]
push ecx
push eax
mov ecx, edi
call fcn.100d8990
mov esi, dword [ebp - 0xe4]
jmp 0x100d6a65
mov esi, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xc4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100d6a9d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d6a93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6d4b
push edx
push ecx
call fcn.100f99db
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
test esi, esi
je 0x100d6ad8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100d6ad8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100d6ad8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100d6b10
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d6b06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6d4b
push edx
push ecx
call fcn.100f99db
add esp, 8
mov ecx, dword [ebp - 0xd8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xdc]
sub ecx, esi
inc dword [ebp - 0xcc]
add dword [ebp - 0xd0], 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xcc], eax
jae 0x100d6ca8
mov eax, dword [ebp - 0xd0]
jmp 0x100d6690
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
lea ecx, [ebp - 0x40]
call fcn.100c1ba0
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xb4]
mov ecx, esp
add eax, 0x18
push eax
call fcn.10004d20
lea eax, [ebp - 0x88]
push eax
call fcn.1019c062
add esp, 0x20
mov byte [ebp - 4], 0xa
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100d6ba9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.100022e0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.100028d0
push 3
push 0x103e2c14
lea ecx, [ebp - 0x40]
call fcn.100022e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d6bf7
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
lea ecx, [ebp - 0x40]
call fcn.100028d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100d6c37
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d6c2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6d4b
push edx
push ecx
call fcn.100f99db
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
or edi, 0xffffffff
mov byte [ebp - 4], 0xb
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100d6c6e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100d6c6e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100d6d1a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d6c9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d6d50
push edx
push ecx
call fcn.100f99db
add esp, 8
jmp 0x100d6d1a
mov edx, dword [edi + 4]
mov eax, edx
mov ecx, dword [edi]
sub eax, ecx
push dword [ebp - 0xe0]
sar eax, 3
push eax
call fcn.100d8c50
add esp, 8
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x98], vtable.std::_Func_impl_no_alloc_class__lambda_44e404b299efbc90d048a662d9aff79b___void___.0
mov dword [ebp - 0x90], edi
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x74], eax
push 0
push 0
push eax
mov byte [ebp - 4], 0xd
call fcn.101a195c
add esp, 0xc
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x100d6d1a
mov edx, dword [ecx]
lea eax, [ebp - 0x98]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0xb0]
call fcn.100028d0
lea ecx, [ebp - 0xdc]
call fcn.100029e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret
call fcn.101d6583
call fcn.101d6583
int3