Function at 0x47dcb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706de6
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x7c0ab4]
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 bl, dl
mov edi, ecx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x47dcec
mov eax, dword [edi]
movzx esi, bl
mov edx, str.KLSTD
push esi
push eax
push str.KLSTD_IO::Win32_Fix_ERROR_ACCESS_DENIED
push 0x7cfc68
mov ecx, 1
call fcn.004837d0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
lea edx, [ebp - 0x28]
call fcn.00480970
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47dd8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x47dd8f
push 0
push 0x90
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
lea ecx, [ebp - 0x88]
call fcn.00465d70
push eax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0044a730
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x47ddee
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47dde4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47dffa
push edx
push ecx
call fcn.006d0b31
add esp, 8
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
mov edx, 0x80
test bl, bl
mov eax, 0x4000100
cmovne eax, edx
push eax
lea eax, [esi + 2]
push eax
movzx eax, bl
xor eax, 1
push 0
add eax, 2
push 7
shl eax, 0x1e
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x47de3c
cmp esi, 0xffffffff
jne 0x47de5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x47de5e
push 0
push 0xa3
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
test esi, esi
je 0x47de7b
cmp esi, 0xffffffff
je 0x47de7b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x47de73
int3
xor esi, esi
mov dword [ebp - 0x8c], esi
test bl, bl
jne 0x47ded5
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x47de89
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47ded5
test al, 1
je 0x47ded5
cmp dword [edi + 0x14], 8
jb 0x47dea1
mov edi, dword [edi]
push edi
push str.KLSTD_IO::Win32_Fix_ERROR_ACCESS_DENIED
push 0x7cfe78
mov edx, str.KLSTD
mov ecx, 1
call fcn.0045c480
push 0
push 0xaf
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdioklio.cpp
push ecx
mov edx, 5
call fcn.00465440
add esp, 0x10
test esi, esi
je 0x47deea
cmp esi, 0xffffffff
je 0x47deea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x47deea
int3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x47df24
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47df1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47dfff
push edx
push ecx
call fcn.006d0b31
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x47df72
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47df68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e004
push edx
push ecx
call fcn.006d0b31
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x47dfa8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47df9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e009
push edx
push ecx
call fcn.006d0b31
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47dfde
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47dfd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e00e
push edx
push ecx
call fcn.006d0b31
add esp, 8
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.006d0856
mov esp, ebp
pop ebp
ret
call fcn.006d79b8
call fcn.006d79b8
call fcn.006d79b8
call fcn.006d79b8
call fcn.006d79b8
int3