Function at 0x100186b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080b88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100a6250]
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 ebx, ecx
lea edi, [ebx + 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x100186fb
mov eax, dword [edi]
push edi
call dword [eax]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x14], 0
call fcn.10009370
add esp, 4
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10018775
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], al
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018744
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 4], 3
test edi, edi
je 0x10018757
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov eax, ebx
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.1001a767
mov esp, ebp
pop ebp
ret
call fcn.10006f60
mov ecx, eax
test ecx, ecx
je 0x100188b5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 2
jge 0x100187b7
push 0x104
lea ecx, [ebp - 0x18]
call fcn.10017bf0
mov esi, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x100188bf
push 0x104
mov dword [esi - 0xc], 0x104
mov byte [esi + 0x104], 0
push esi
push dword [ebp - 0x14]
call fcn.1002db40
push dword [esi - 8]
push esi
call fcn.1004da58
add esp, 0x14
test eax, eax
js 0x100188bf
cmp eax, dword [esi - 8]
jg 0x100188bf
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x100188c9
push eax
push esi
call fcn.1004dd2a
add esp, 8
test eax, eax
jne 0x10018852
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001883b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x1001873a
push 0
push 0
push dword [ebx + 0x18]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x1c]
call fcn.10018440
lea edx, [esi - 0x10]
mov ebx, 1
or esi, 0xffffffff
mov byte [ebp - 4], bl
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018890
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10018746
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10018746
push 0x80004005
call fcn.10006e50
push 0x80070057
call fcn.10006e50
push 0x80004005
call fcn.10006e50
int3