Function at 0x1000bd00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056734
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x10079214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x248], esi
push dword [esi]
push str.CComputerZLockHelper_enter_app_s
call fcn.10004bd0
push dword [esi + 8]
call fcn.1001fa80
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.1001f7f0
add esp, 0x1c
mov dword [ebp - 4], 0
push dword [ebp - 0x24c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000bdaa
push dword [ebp - 0x24c]
push str.CComputerZLockHelper_rootdir_s_is_not_exist
call fcn.10004bd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x1000c4da
mov eax, dword [esi + 0x48]
cmp dword [eax - 0xc], 0
jne 0x1000bdc2
push str.CComputerZLockHelper_drivename_empty
call fcn.10004bd0
add esp, 4
jmp 0x1000bd8a
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], 0
push ecx
push eax
call fcn.1000ca90
add esp, 8
test eax, eax
js 0x1000be43
cmp dword [ebp - 0x240], 0
je 0x1000be43
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0
push eax
push dword [esi + 0x48]
call fcn.1000c9a0
add esp, 8
test eax, eax
js 0x1000be43
cmp dword [ebp - 0x240], 0
je 0x1000be43
lea eax, [ebp - 0x234]
push eax
push dword [esi + 0x48]
call fcn.1000c7f0
add esp, 8
test eax, eax
js 0x1000be43
cmp dword [ebp - 0x230], 4
jne 0x1000be43
push str.CComputerZLockHelper_drive_ok
call fcn.10004bd0
add esp, 4
jmp 0x1000bd8a
call fcn.10005540
mov ecx, eax
test ecx, ecx
je 0x1000c510
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
push str.drv_start
call fcn.10004850
test al, al
jne 0x1000be8c
push 9
push str.drv_start
lea ecx, [ebp - 0x244]
call fcn.1000a650
mov byte [ebp - 4], 5
mov ecx, dword [0x1007a49c]
test ecx, ecx
jne 0x1000bef4
push 0x10078044
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1007a49c], 0
jne 0x1000bee3
push 4
call fcn.1002db0a
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1000bed1
mov ecx, eax
call fcn.10015f20
mov ecx, eax
jmp 0x1000bed3
xor ecx, ecx
mov byte [ebp - 4], 5
xchg dword [ebp - 0x240], eax
mov dword [0x1007a49c], ecx
push 0x10078044
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1007a49c]
push 0
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.10017be0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x244]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000bf27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10031950
add esp, 0xc
cmp dword [0x1007801c], 0
je 0x1000c033
push str.GetNativeSystemInfo
push 0x1005b810
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000c029
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x23c]
push ecx
movups xmmword [ebp - 0x23c], xmm0
movups xmmword [ebp - 0x22c], xmm0
call eax
mov ax, word [ebp - 0x23c]
cmp ax, 9
je 0x1000c01f
cmp ax, 6
je 0x1000c01f
cmp ax, 0xc
je 0x1000c01f
push str.IsWow64Process2
push 0x1005b94c
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x1000c016
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x250]
test eax, eax
je 0x1000c016
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x240], cx
sete al
mov dword [0x1007a490], eax
jmp 0x1000c029
xor eax, eax
mov dword [0x1007a490], eax
jmp 0x1000c029
mov dword [0x1007a490], 1
mov dword [0x1007801c], 0
xor eax, eax
cmp dword [0x1007a490], eax
setne al
push dword [esi + eax*4 + 0x40]
lea eax, [eax*4 + 0x40]
push dword [ebp - 0x24c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c0d1
lea eax, [ebp - 0x218]
push eax
push str.CComputerZLockHelper_drivepath_s_is_not_fail
call fcn.10004bd0
add esp, 8
lea ecx, [ebp - 0x248]
push str.drv_other
call fcn.100036d0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x248]
push 0
push esi
push eax
call fcn.100054a0
mov ecx, eax
call fcn.10017be0
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c0cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000c4c2
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0
push eax
push dword [esi + 0x48]
call fcn.1000ca90
add esp, 8
test eax, eax
js 0x1000c0fe
cmp dword [ebp - 0x240], 0
jne 0x1000c2bd
call fcn.10005540
mov ecx, eax
test ecx, ecx
je 0x1000c51a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.10004850
test al, al
jne 0x1000c162
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c140
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.1000a650
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x244]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c182
mov dword [ebp - 0x240], eax
jmp 0x1000c230
mov ecx, dword [0x1007a4a0]
test ecx, ecx
jne 0x1000c1e6
push 0x10078064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1007a4a0], 0
jne 0x1000c1d5
push 4
call fcn.1002db0a
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x1000c1c3
mov ecx, eax
call fcn.1000afc0
mov ecx, eax
jmp 0x1000c1c5
xor ecx, ecx
mov byte [ebp - 4], 0xc
xchg dword [ebp - 0x250], eax
mov dword [0x1007a4a0], ecx
push 0x10078064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1007a4a0]
push esi
call fcn.1000afe0
test eax, eax
jne 0x1000c209
push str.check_sign_fail
call fcn.10004bd0
add esp, 4
mov dword [ebp - 0x240], 0
jmp 0x1000c230
mov eax, dword [ebp - 0x248]
push 0
push 0
push esi
mov eax, dword [eax + 0x48]
push 1
push eax
push eax
call fcn.1000c8c0
xor ecx, ecx
add esp, 0x18
test eax, eax
setns cl
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000c24b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x240], 0
jne 0x1000c2b7
push str.CComputerZLockHelper_install_fail
call fcn.10004bd0
add esp, 4
lea ecx, [ebp - 0x240]
push str.drv_fails
call fcn.100036d0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x240]
mov esi, dword [ebp - 0x248]
push 0
push esi
push eax
call fcn.100054a0
mov ecx, eax
call fcn.10017be0
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c2b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000c4c2
mov esi, dword [ebp - 0x248]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0
push eax
push dword [esi + 0x48]
call fcn.1000c9a0
add esp, 8
test eax, eax
js 0x1000c2e6
cmp dword [ebp - 0x248], 0
jne 0x1000c354
push 0
push dword [esi + 0x48]
call fcn.1000c690
add esp, 8
test eax, eax
jns 0x1000c354
push str.CComputerZLockHelper_Enable_fail
call fcn.10004bd0
add esp, 4
lea ecx, [ebp - 0x248]
push str.drv_fails
call fcn.100036d0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x248]
push 0
push esi
push eax
call fcn.100054a0
mov ecx, eax
call fcn.10017be0
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c34f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000c4c2
lea eax, [ebp - 0x234]
push eax
push dword [esi + 0x48]
call fcn.1000c7f0
add esp, 8
test eax, eax
js 0x1000c373
cmp dword [ebp - 0x230], 4
je 0x1000c3e1
push 0
push dword [esi + 0x48]
call fcn.1000cb70
add esp, 8
test eax, eax
jns 0x1000c3e1
push str.CComputerZLockHelper_StartPlusWaiting_fail
call fcn.10004bd0
add esp, 4
lea ecx, [ebp - 0x248]
push str.drv_fails
call fcn.100036d0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x248]
push 0
push esi
push eax
call fcn.100054a0
mov ecx, eax
call fcn.10017be0
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c3dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000c4c2
call fcn.10005540
mov ecx, eax
test ecx, ecx
je 0x1000c524
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x244]
push str.drv_succ
call fcn.10004850
test al, al
jne 0x1000c42a
push 8
push str.drv_succ
lea ecx, [ebp - 0x244]
call fcn.1000a650
mov byte [ebp - 4], 0x19
mov ecx, dword [0x1007a49c]
test ecx, ecx
jne 0x1000c492
push 0x10078044
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1007a49c], 0
jne 0x1000c481
push 4
call fcn.1002db0a
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x1000c46f
mov ecx, eax
call fcn.10015f20
mov ecx, eax
jmp 0x1000c471
xor ecx, ecx
mov byte [ebp - 4], 0x19
xchg dword [ebp - 0x250], eax
mov dword [0x1007a49c], ecx
push 0x10078044
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1007a49c]
push 0
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.10017be0
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c4c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1000c4e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi]
push str.CComputerZLockHelper_end_app_s
call fcn.10004bd0
add esp, 8
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.1002deb9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10004830
push 0x80004005
call fcn.10004830
push 0x80004005
call fcn.10004830
int3