Function at 0x47e0c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706e70
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x7c0ab4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x80], vtable.KLDBG::CDbgTimeMeasurer3_char_.0
push eax
push 5
push str.KLSTD::CFileSemaphoreNoReadLock::Enter
mov ecx, str.KLSTD
mov dword [ebp - 0x58], str.KLSTD
mov dword [ebp - 0x54], str.KLSTD::CFileSemaphoreNoReadLock::Enter
mov dword [ebp - 0x50], 5
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x78], 3
call fcn.00484650
add esp, 0xc
mov byte [ebp - 0x4c], al
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dl, byte [ebp + 8]
add ebx, 0xc
mov byte [ebp - 4], 2
mov ecx, ebx
movzx esi, dl
mov dword [ebp - 0x34], esi
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x2c], ebx
jb 0x47e15b
mov ecx, dword [ebx]
test dl, dl
mov dword [ebp - 0x30], str.Exclusive
mov edx, dword [ebp + 0xc]
mov eax, str.Shared
cmove eax, dword [ebp - 0x30]
push edx
push esi
push ecx
push eax
push ecx
call fcn.00483680
lea ecx, [ebp - 0x30]
call fcn.00462050
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x47e1a3
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x70d440]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x70d440]
mov ecx, dword [ebp - 0x18]
call esi
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x47e1d8
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x70d440]
mov ecx, esi
call ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47e1ef
cmp ecx, 0xffffffff
jne 0x47e5ab
cmp dword [eax + 0x24], 0xffffffff
jne 0x47e5cb
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x70d440]
mov ecx, dword [ebp - 0x18]
call esi
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x70d440]
mov ecx, dword [ebp - 0x18]
call esi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xa
mov esi, dword [0x7c2918]
mov eax, dword [esi]
cmp dword [eax + 8], 0x483f50
jne 0x47e250
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x47e260
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x70d440]
call esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x30], eax
xor eax, eax
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], 0
test eax, eax
je 0x47e35a
cmp eax, 0xffffffff
je 0x47e35a
lea ecx, [ebp - 0x30]
call fcn.00462050
mov byte [ebp - 4], 0xb
mov ebx, dword [eax]
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x47e2a6
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x70d440]
mov ecx, ebx
call esi
mov byte [ebp - 4], 0xc
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x70d440]
mov ecx, ebx
call esi
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x47e2da
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x70d440]
mov ecx, esi
call ebx
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0xe
mov eax, dword [esi + 8]
test eax, eax
je 0x47e2f1
cmp eax, 0xffffffff
jne 0x47e5eb
cmp dword [esi + 0x24], 0xffffffff
jne 0x47e60b
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x47e317
cmp eax, 0xffffffff
je 0x47e317
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x47e317
int3
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
movzx eax, byte [ebp + 8]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x70d440]
mov ecx, ebx
call esi
mov byte [ebp - 4], 0x11
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x70d440]
mov ecx, ebx
call esi
mov dword [ebp - 4], 1
jmp 0x47e4fb
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x47e364
mov ecx, dword [ebx]
movzx eax, byte [ebp + 8]
push 0
push 0x100
push 4
push 0
push dword [ebp - 0x34]
xor eax, 1
add eax, 2
shl eax, 0x1e
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47e3a1
cmp eax, 0xffffffff
je 0x47e3a1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x47e3a1
int3
mov eax, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x47e3b6
cmp esi, 0xffffffff
jne 0x47e49b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 5
je 0x47e3ea
cmp esi, 0x20
je 0x47e3ea
push 1
push 0x162
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push ecx
mov edx, esi
call fcn.00465440
mov eax, dword [ebp - 0x18]
add esp, 0x10
inc dword [ebp - 0x20]
jmp 0x47e270
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x47e3f4
mov eax, dword [ebx]
push dword [ebp - 0x20]
mov edx, str.KLSTD
push eax
push esi
push str.KLSTD::CFileSemaphoreNoReadLock::Enter
push ecx
call fcn.00483870
cmp byte [ebp - 0x11], 0
jne 0x47e421
cmp esi, 5
jne 0x47e421
xor dl, dl
mov ecx, ebx
call fcn.0047dcb0
mov byte [ebp - 0x11], 1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47e62b
cmp eax, 0xffffffff
je 0x47e470
mov esi, dword [0x7c2918]
mov eax, dword [esi]
cmp dword [eax + 8], 0x483f50
jne 0x47e44a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x47e457
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x70d440]
call esi
mov esi, eax
mov eax, dword [ebp - 0x30]
mov ecx, esi
sub ecx, eax
sub eax, esi
cmp ecx, eax
cmovb eax, ecx
cmp eax, dword [ebp + 0xc]
jae 0x47e62b
mov ecx, dword [ebp - 0x20]
mov eax, 9
cmp ecx, 0xa
cmovae ecx, eax
mov edx, dword [ecx*8 + 0x782e54]
mov ecx, dword [ecx*8 + str.2dd]
call fcn.00465820
mov ecx, eax
call fcn.00463730
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x20]
jmp 0x47e270
test edi, edi
jne 0x47e648
jmp 0x47e56a
lea ecx, [ebp - 0x1c]
call fcn.00448f20
cmp byte [ebp - 0x4c], 0
mov dword [ebp - 0x80], vtable.KLDBG::CDbgTimeMeasurer3_char_.0
je 0x47e597
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x50]
xor edx, edx
push dword [ebp - 0x54]
call fcn.004848c0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str._m_hFile
push 0
push 0x13b
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push 0x4ae
push str.KLSTD
call fcn.00477ab0
push str._1__m_nReadOnly
push 0
push 0x13c
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push 0x4ae
push str.KLSTD
call fcn.00477ab0
push str._m_hFile
push 0
push 0x169
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push 0x4ae
push str.KLSTD
call fcn.00477ab0
push str._1__m_nReadOnly
push 0
push 0x16a
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push 0x4ae
push str.KLSTD
call fcn.00477ab0
push 0
push 0
push 0x15c
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push 0x4ad
push 0x782c5c
call fcn.00477ab0
push str.KLSTD::CFileSemaphoreNoReadLock::Enter
push 0x16f
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push 0x780fa8
mov edx, edi
mov ecx, 5
call fcn.00477010
push str.KLSTD::CFileSemaphoreNoReadLock::Enter
push 0x170
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push 0x780fa8
mov edx, edi
mov ecx, 4
call fcn.00477010
mov eax, dword [ebp - 0x28]
add esp, 0x20
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x47e699
mov eax, dword [eax]
push ecx
push 0
push eax
mov edx, 2
mov ecx, edi
call fcn.0047ea50
mov eax, dword [edi]
add esp, 0xc
mov esi, dword [eax]
mov ecx, esi
call dword [0x70d440]
mov ecx, edi
call esi
push 0x7bae10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], edi
push eax
call fcn.006d4ced
int3