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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542150
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00516d20
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00516d20
add esp, 0x18
lea eax, [ebp - 0x428]
xor esi, esi
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x422028
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
lea ecx, [ebp - 0x828]
push esi
call fcn.00407db0
lea eax, [ebp - 0x828]
push eax
push str.OCI:_Failed_to_get_the_setup_file_path:__s
push 0
push 2
push 0x569728
push 0
push 0
push str.Oci::RetrieveOciConfigPath
push 0x62
push str.OracleOci.cpp
lea ecx, [ebp - 0x844]
call fcn.00424320
push eax
call fcn.00424820
add esp, 0x18
jmp 0x422210
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x422093
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
lea ecx, [ebp - 0x828]
push esi
call fcn.00407db0
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x428]
push eax
push str.OCI:_Failed_to_get_the_setup_parent_directory__setup_path:__s:__s
push 0
push 2
push 0x5697b8
push 0
push 0
push str.Oci::RetrieveOciConfigPath
push 0x6a
push str.OracleOci.cpp
lea ecx, [ebp - 0x844]
call fcn.00424320
push eax
call fcn.00424820
add esp, 0x1c
jmp 0x422210
push str.OciConfig.json
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x4220ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
lea ecx, [ebp - 0x828]
push esi
call fcn.00407db0
lea eax, [ebp - 0x828]
push eax
push str.OCI:_Failed_to_create_path_for_the_OCI_config:__s
push 0
push 2
push 0x569824
push 0
push 0
push str.Oci::RetrieveOciConfigPath
push 0x72
jmp 0x42200a
lea eax, [ebp - 0x220]
push eax
push str.OCI:_Configuration_file:__s
push 0
push 4
push 0x569868
push 0
push 0
push str.Oci::RetrieveOciConfigPath
push 0x76
push str.OracleOci.cpp
lea ecx, [ebp - 0x844]
call fcn.00424320
push eax
call fcn.00424820
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x422176
push str.OCI_Configuration_file_doesnt_exists.
push 0
push 2
push 0x5698c0
push 0
push 0
push str.Oci::RetrieveOciConfigPath
push 0x7a
push str.OracleOci.cpp
lea ecx, [ebp - 0x844]
call fcn.00424320
push eax
call fcn.00424820
add esp, 0x14
mov esi, 2
jmp 0x422210
mov dword [ebp - 4], 0
cmp word [ebp - 0x220], 0
jne 0x42219b
xor ecx, ecx
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [edi + 8]
call fcn.00403fe0
jmp 0x422210
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4221a4
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 8]
call fcn.00403fe0
jmp 0x422210
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret