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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46949f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x48700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push ecx
lea ecx, [ebp - 0x18]
call fcn.00448600
push 0
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00408230
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x447a6d
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x447a6f
xor eax, eax
lea edi, [eax + 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.bonree::ConfigFile.0
call fcn.00406f60
mov byte [ebp - 4], 4
lea esi, [edi + 0x20]
mov eax, dword [ebp + 0x20]
mov ecx, esi
mov dword [edi + 0x1c], eax
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00407990
mov dword [esi], eax
mov byte [ebp - 4], 5
mov ecx, edi
mov byte [edi + 0x28], 0
call fcn.0044e700
mov eax, dword [ebp - 0x10]
push edi
push edi
mov byte [eax], 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00408230
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x28], edi
mov eax, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
test esi, esi
je 0x447af8
lea ecx, [esi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov esi, dword [ebp - 0x18]
or edi, 0xffffffff
mov dword [ebp - 0x20], 1
test esi, esi
je 0x447b38
mov byte [ebp - 4], 6
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x447b38
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 7
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x447b38
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x24], 0
mov dword [ebx + 0xe4], eax
mov esi, dword [ebx + 0xe8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebx + 0xe8], eax
test esi, esi
je 0x447b95
mov byte [ebp - 4], 8
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x447b95
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 9
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x447b95
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebx + 0xe4]
test esi, esi
jne 0x447ba3
xor bl, bl
jmp 0x447bc1
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x447bae
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x447bbe
xor bl, bl
jmp 0x447bc1
mov bl, byte [esi + 0x28]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x447bfd
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447bf3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x447bf3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c