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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54211b
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
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 eax, ecx
mov dword [ebp - 0x498], eax
xor esi, esi
cmp byte [eax + 4], 0
jne 0x421abb
mov esi, 0x57
jmp 0x421dc8
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.00422e50
mov byte [ebp - 4], 1
mov eax, dword fs:[0x2c]
mov edi, dword [eax]
mov eax, dword [0x58d498]
cmp eax, dword [edi + 0x10]
jle 0x421b18
push 0x58d498
call fcn.004fe42c
add esp, 4
cmp dword [0x58d498], 0xffffffff
jne 0x421b18
call fcn.00421710
push 0x546e80
call fcn.004fe2e3
push 0x58d498
call fcn.004fe3ed
add esp, 8
push 0x58d3c0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x94]
call fcn.00422d20
mov byte [ebp - 4], 2
mov eax, dword [0x58d498]
cmp eax, dword [edi + 0x10]
jle 0x421b6f
push 0x58d498
call fcn.004fe42c
add esp, 4
cmp dword [0x58d498], 0xffffffff
jne 0x421b6f
call fcn.00421710
push 0x546e80
call fcn.004fe2e3
push 0x58d498
call fcn.004fe3ed
add esp, 8
push 0x58d3a8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x94]
call fcn.00422d20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 8
mov edi, dword [ebp - 0x44]
jae 0x421b93
lea edi, [ebp - 0x44]
cmp dword [ebp - 0x18], 8
mov ebx, dword [ebp - 0x2c]
jae 0x421b9f
lea ebx, [ebp - 0x2c]
push 0
push 0
push str.Oci::InitializenEnvironment
push 0x1c
push str.OracleOci.cpp
lea ecx, [ebp - 0x4b0]
call fcn.00424320
push edi
push ebx
push str.OCI:_Log_folder:__s__Log_file:__s
push 0
push 4
push 0x569554
push eax
call fcn.00424820
mov ecx, dword [ebp - 0x18]
add esp, 0x1c
mov edx, dword [ebp - 0x2c]
cmp ecx, 8
jae 0x421be1
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmp word [edx + eax*2 - 2], 0x5c
je 0x421bfe
push 1
push 0x565aa8
lea ecx, [ebp - 0x2c]
call fcn.0040c930
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp ecx, 8
jae 0x421c09
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x421cf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
lea ecx, [ebp - 0x494]
push esi
call fcn.00407db0
cmp dword [ebp - 0x18], 8
mov edi, dword [ebp - 0x2c]
jae 0x421c3f
lea edi, [ebp - 0x2c]
push 0
push 0
push str.Oci::InitializenEnvironment
push 0x27
push str.OracleOci.cpp
lea ecx, [ebp - 0x4b0]
call fcn.00424320
lea ecx, [ebp - 0x494]
push ecx
push edi
push str.OCI:_Log_folder:__s_does_not_exists:__s
push 0
push 2
push 0x5695b4
push eax
call fcn.00424820
mov edi, dword [ebp - 0x498]
add esp, 0x1c
mov edx, 0xe6
push ecx
mov cl, byte [edi + 4]
push 0
push 2
call fcn.00434f90
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp eax, 8
jb 0x421ca9
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x421cd2
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00422d60
jmp 0x421dc8
mov edi, dword [ebp - 0x498]
lea eax, [ebp - 0x2c]
add edi, 0x20
cmp edi, eax
je 0x421d12
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00403ec0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0040ce80
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x421d36
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x421d5f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00422d60
jmp 0x421dc8
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