Function at 0x1000a3a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c4b3
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x100b8444]
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
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 0x219], 0
push 0
push eax
call fcn.100505f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [ebp + 8]
test esi, esi
js 0x1000a41e
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
nop dword [eax]
lea eax, [ebp - 0x218]
push eax
call edi
sub esi, 1
jns 0x1000a410
push str.Utilsmaster_bho.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000a532
call fcn.10013870
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000a860
push 0x37
push str.d:_buildlib_commonpublicinclude_shell_shell_helper.h
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], al
call fcn.10008280
push 3
push 0x100946a4
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.10008280
mov byte [ebp - 4], 1
call fcn.10013870
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x21
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100038d0
mov esi, eax
push str.not_exist_bho_dll__path:
push esi
mov byte [ebp - 4], 2
call fcn.10004a20
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10002bc0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10004b40
lea ecx, [ebp - 0x24c]
call fcn.100042d0
lea ecx, [ebp - 0x234]
call fcn.100042d0
jmp 0x1000a860
lea eax, [ebp - 0x218]
push eax
call fcn.10042b20
add esp, 4
test eax, eax
je 0x1000a860
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000a700
push str.InstallV1
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000a587
push 0
call eax
push ebx
mov byte [ebp - 0x219], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1000a860
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x250], eax
call fcn.10013870
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000a6f4
push 0x37
push str.d:_buildlib_commonpublicinclude_shell_shell_helper.h
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], al
call fcn.10008280
push 3
push 0x100946a4
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 3
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.10008280
mov byte [ebp - 4], 4
call fcn.10013870
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x32
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100038d0
mov esi, eax
push str.get_function_failed__err:
push esi
mov byte [ebp - 4], 5
call fcn.10004a20
add esp, 8
mov ecx, esi
push dword [ebp - 0x250]
call fcn.10004880
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10004b40
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x1000a69f
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a695
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a882
push edx
push ecx
call fcn.10041352
add esp, 8
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
cmp edx, 0x10
jb 0x1000a6f4
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a6ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a887
push edx
push ecx
call fcn.10041352
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1000a860
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.10013870
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000a860
push 0x37
push str.d:_buildlib_commonpublicinclude_shell_shell_helper.h
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], al
call fcn.10008280
push 3
push 0x100946a4
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 6
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
call fcn.10008280
mov byte [ebp - 4], 7
call fcn.10013870
mov edi, eax
lea ecx, [ebp - 0x3b0]
push 0x37
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.100038d0
mov esi, eax
push str.load_dll_failed__err:
push esi
mov byte [ebp - 4], 8
call fcn.10004a20
add esp, 8
mov ecx, esi
push ebx
call fcn.10004880
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3b0]
call fcn.10004b40
mov edx, dword [ebp - 0x254]
cmp edx, 0x10
jb 0x1000a80f
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a805
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a88c
push edx
push ecx
call fcn.10041352
add esp, 8
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
cmp edx, 0x10
jb 0x1000a860
mov ecx, dword [ebp - 0x280]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a856
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a891
push edx
push ecx
call fcn.10041352
add esp, 8
mov al, byte [ebp - 0x219]
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.100416c3
mov esp, ebp
pop ebp
ret
call fcn.10053ae9
call fcn.10053ae9
call fcn.10053ae9
call fcn.10053ae9
int3