Function at 0x1000bcc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006274f
mov eax, dword fs:[0]
push eax
sub esp, 0x950
mov eax, dword [0x100840c8]
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, ecx
mov dword [ebp - 0x8ac], 0
call fcn.10006900
push 0
push 0
push 1
push 0
push str.load_kit
mov ecx, eax
call fcn.10017a60
push 0x800
lea eax, [ebp - 0x874]
push 0
push eax
call fcn.10020ef0
add esp, 0xc
call fcn.1000f9c0
push 0x400
lea ecx, [ebp - 0x874]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x874]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.KitTip.dll
lea eax, [ebp - 0x874]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x874]
xor edi, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000be81
call fcn.10016760
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1000c428
push 0x58
mov dword [ebp - 0x880], edi
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], edi
push 0x10069328
mov dword [ebp - 0x880], edi
mov dword [ebp - 0x87c], 0xf
mov byte [ebp - 0x890], al
call fcn.10009740
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x8a8]
push 3
mov dword [ebp - 0x898], edi
mov dword [ebp - 0x894], edi
push 0x10069384
mov dword [ebp - 0x898], edi
mov dword [ebp - 0x894], 0xf
mov byte [ebp - 0x8a8], 0
call fcn.10009740
mov byte [ebp - 4], 1
lea eax, [ebp - 0x890]
push 0x72
push eax
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x95c]
call fcn.100038c0
mov esi, eax
mov byte [ebp - 4], 2
push str.kittip_not_found._path
push esi
call fcn.10004f50
lea eax, [ebp - 0x874]
push eax
push esi
call fcn.1000a830
add esp, 0x10
call fcn.10016760
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x95c]
call fcn.10005050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8a8]
call fcn.10004510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x890]
call fcn.10004510
jmp 0x1000c428
lea eax, [ebp - 0x874]
push eax
call fcn.1001cd20
add esp, 4
test eax, eax
jne 0x1000bf88
call fcn.10016760
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1000c428
push 0x58
mov dword [ebp - 0x880], edi
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], edi
push 0x100693a0
mov dword [ebp - 0x880], edi
mov dword [ebp - 0x87c], 0xf
mov byte [ebp - 0x890], al
call fcn.10009740
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
push 3
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
push 0x100693fc
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0xf
mov byte [ebp - 0x8a8], 0
call fcn.10009740
mov byte [ebp - 4], 5
lea eax, [ebp - 0x890]
push 0x78
push eax
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x95c]
call fcn.100038c0
mov esi, eax
mov byte [ebp - 4], 6
push str.kittip_check_sign_fail.
push esi
call fcn.10004f50
add esp, 8
call fcn.10016760
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x95c]
call fcn.10005050
mov byte [ebp - 4], 4
jmp 0x1000be5f
lea eax, [ebp - 0x874]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000c428
push str.RunTip
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
test eax, eax
jne 0x1000c0a6
call fcn.10016760
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1000c428
push 0x58
mov dword [ebp - 0x880], edi
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x87c], edi
push 0x10069420
mov dword [ebp - 0x880], edi
mov dword [ebp - 0x87c], 0xf
mov byte [ebp - 0x890], al
call fcn.10009740
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x8a8]
push 3
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
push 0x1006947c
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0xf
mov byte [ebp - 0x8a8], 0
call fcn.10009740
mov byte [ebp - 4], 9
lea eax, [ebp - 0x890]
push 0x82
push eax
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x95c]
call fcn.100038c0
mov esi, eax
mov byte [ebp - 4], 0xa
push str.kittip_function_is_nullptr.
push esi
call fcn.10004f50
add esp, 8
call fcn.10016760
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x95c]
call fcn.10005050
mov byte [ebp - 4], 8
jmp 0x1000be5f
mov ecx, dword [0x10086900]
test ecx, ecx
jne 0x1000c117
push 0x1008402c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10086900], edi
jne 0x1000c106
push 4
call fcn.100140ee
add esp, 4
mov dword [ebp - 0x878], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x1000c0ed
mov ecx, eax
mov dword [eax], 0
call fcn.10017990
jmp 0x1000c0ef
xor eax, eax
mov dword [ebp - 4], 0xffffffff
xor edx, edx
lea ecx, [ebp - 0x878]
lock or dword [ecx], edx
mov dword [0x10086900], eax
push 0x1008402c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10086900]
push 0
push 0
push 1
push 0
push str.load_kit_succ
call fcn.10017a60
call fcn.10016760
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1000c423
push 0x58
mov dword [ebp - 0x8b4], eax
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 0x8b0], eax
push 0x100694b8
mov dword [ebp - 0x8b4], eax
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], al
call fcn.10009740
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x890]
push 3
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 0
push 0x10069514
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 0xf
mov byte [ebp - 0x890], 0
call fcn.10009740
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x95c]
push 1
push 2
call fcn.100034c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8c4]
push 0xffffffffffffffff
push 0x100684bc
call fcn.1000a080
push 0xffffffffffffffff
push 0x100684c0
lea ecx, [ebp - 0x8c4]
mov edi, eax
call fcn.1000a080
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.10020ef0
add esp, 0xc
cmp esi, 0xffffffff
je 0x1000c2f1
lea eax, [esi - 1]
cmp edi, eax
jae 0x1000c2f1
lea edx, [edi + 1]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x8b4]
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0xf
mov byte [ebp - 0x8a8], 0
cmp eax, edx
jb 0x1000c445
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x8b0], 0x10
lea eax, [ebp - 0x8c4]
cmovae eax, dword [ebp - 0x8c4]
push ecx
add eax, edx
lea ecx, [ebp - 0x8a8]
push eax
call fcn.10009740
cmp dword [ebp - 0x894], 0x10
lea eax, [ebp - 0x8a8]
mov dword [ebp - 0x8ac], 1
cmovae eax, dword [ebp - 0x8a8]
push eax
push 0x88
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.10003240
mov eax, 1
add esp, 0x10
mov dword [ebp - 0x8ac], eax
and eax, 0xfffffffe
mov dword [ebp - 0x8ac], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8a8]
call fcn.10004510
jmp 0x1000c307
push 0x88
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.10003240
add esp, 0xc
cmp dword [ebp - 0x87c], 0x10
lea eax, [ebp - 0x890]
cmovae eax, dword [ebp - 0x890]
push eax
lea eax, [ebp - 0x95c]
push eax
call fcn.10004f50
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x95c]
push eax
call fcn.10004f50
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x95c]
push str.load_kittip_succ.
push eax
call fcn.10004f50
add esp, 0x18
call fcn.10016760
lea ecx, [ebp - 0x95c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x95c]
call fcn.10005050
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x87c]
cmp edx, 0x10
jb 0x1000c3b0
mov ecx, dword [ebp - 0x890]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c3a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c44a
push edx
push ecx
call fcn.1001411e
add esp, 8
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 0xf
mov byte [ebp - 0x890], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x8b0]
cmp edx, 0x10
jb 0x1000c408
mov ecx, dword [ebp - 0x8c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c3fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c44f
push edx
push ecx
call fcn.1001411e
add esp, 8
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], 0
mov edi, 1
mov eax, edi
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.1001448f
mov esp, ebp
pop ebp
ret
call fcn.100093a0
call fcn.10023efc
call fcn.10023efc
int3