Function at 0x460654
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x310
mov dword [ebp - 0x10], ecx
push str.GODBC::Connect
lea ecx, [ebp - 0xf0]
call fcn.00404f76
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x92a], 0
jne 0x4606d7
push 0x26
call fcn.0040245f
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 0
je 0x4606b7
mov ecx, dword [ebp - 0x54]
call fcn.00487682
mov dword [ebp - 0x68], eax
jmp 0x4606bb
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 0x92a], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x937], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x134
call fcn.00405b2a
push eax
call fcn.004aed70
pop ecx
test eax, eax
je 0x460824
cmp dword [ebp + 8], 0
je 0x460824
xor eax, eax
inc eax
je 0x46077d
push str.MCOMPACTOR
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x460741
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x460741
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x460752
cmp dword [ebp - 0x24], 0
je 0x460752
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46077d
push str.Waiting_for_compactor_to_finish_its_job
push str.GODBC
push 0x1287
push str.D:projectsUTIL_srcgdb.cpp
call fcn.004049b8
add esp, 0x10
push 0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x46070a
lea ecx, [ebp - 0x1e4]
call fcn.00427a0e
mov byte [ebp - 4], 2
push str.MCOMPACTOR
lea ecx, [ebp - 0xf9]
call fcn.004053d4
mov byte [ebp - 4], 3
push 0
push 0
lea eax, [ebp - 0xf9]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00428329
movzx eax, al
test eax, eax
jne 0x4607c6
mov dword [ebp - 0x4c], 1
jmp 0x4607ca
and dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x14], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf9]
call fcn.004055b0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x460815
push str.Waiting_for_compactor_to_finish_its_job
push str.GODBC
push 0x128d
push str.D:projectsUTIL_srcgdb.cpp
call fcn.004049b8
add esp, 0x10
push 0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x46078c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00427fe6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x492]
and eax, 0x10
jne 0x461043
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x59b], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x74], eax
push 0
push str.Local_connect_lock
push str.GODBC
push 0x1297
push str.D:projectsUTIL_srcgdb.cpp
call fcn.00404405
add esp, 0x14
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
lea ecx, [ebp - 0x160]
call fcn.00427e89
mov byte [ebp - 4], 4
push 0
push str.Local_connect_locked
push str.GODBC
push 0x1299
push str.D:projectsUTIL_srcgdb.cpp
call fcn.00404405
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
cmp eax, dword [ebp - 0x74]
je 0x460910
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x2c], 0
je 0x460910
push 0
push str.Somebody_already_did_connection
push str.GODBC
push 0x129b
push str.D:projectsUTIL_srcgdb.cpp
call fcn.00404405
add esp, 0x14
push 0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov dword [ebp - 0xd0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00428198
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004050e2
mov eax, dword [ebp - 0xd0]
jmp 0x461352
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x2c], 0
je 0x460929
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2c], 0
push 0x344
call fcn.0040245f
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x5c], 0
je 0x46094e
mov ecx, dword [ebp - 0x5c]
call fcn.0045b321
mov dword [ebp - 0x44], eax
jmp 0x460952
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
add eax, 0x246
push eax
lea ecx, [ebp - 0x114]
call fcn.004053d4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
add eax, 0x146
push eax
lea ecx, [ebp - 0x141]
call fcn.004053d4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
lea ecx, [ebp - 0x14a]
call fcn.004053d4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10]
add eax, 0x91d
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x907
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x141]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x13d
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x134
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x492]
lea eax, [ebp - 0x14a]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00461362
test eax, eax
jne 0x4609ff
mov dword [ebp - 0x64], 1
jmp 0x460a03
and dword [ebp - 0x64], 0
mov al, byte [ebp - 0x64]
mov byte [ebp - 0x12], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14a]
call fcn.004055b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x141]
call fcn.004055b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x114]
call fcn.004055b0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x460a8e
push dword [ebp - 0x20]
call fcn.00403ae6
pop ecx
movzx eax, al
test eax, eax
jne 0x460a56
mov ecx, dword [ebp - 0x20]
call fcn.004620b1
mov ecx, dword [ebp - 0x2c]
call fcn.004620b1
and dword [ebp - 0xdc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00428198
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004050e2
mov eax, dword [ebp - 0xdc]
jmp 0x461352
mov eax, dword [ebp - 0x10]
push dword [eax + 0x907]
mov eax, dword [ebp - 0x10]
add eax, 0x914
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x90b
push eax
call fcn.004657e6
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x2c], ecx
push str..sql
lea eax, [ebp - 0x17b]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x13d
call fcn.00405cc1
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 9
push dword [ebp - 0x84]
mov ecx, dword [ebp - 0x10]
add ecx, 0x7ad
call fcn.00479553
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17b]
call fcn.004055b0
lea ecx, [ebp - 0x160]
call fcn.00428d0e
push dword [ebp - 0x20]
call fcn.00403ae6
pop ecx
movzx eax, al
test eax, eax
jne 0x460b30
mov ecx, dword [ebp - 0x20]
call fcn.004620b1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x907]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x460ebb
cmp dword [ebp - 0x30], 3
je 0x460b5b
cmp dword [ebp - 0x30], 4
je 0x460d0b
jmp 0x46102f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x280]
call fcn.0045ad23
mov byte [ebp - 4], 0xa
push str.alter_session_set_nls_compLINGUISTIC
lea ecx, [ebp - 0x138]
call fcn.004053d4
mov byte [ebp - 4], 0xb
push 1
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x280]
call fcn.0046356e
test eax, eax
jne 0x460ba2
mov dword [ebp - 0x48], 1
jmp 0x460ba6
and dword [ebp - 0x48], 0
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x13], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
call fcn.004055b0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x460c32
lea ecx, [ebp - 0x280]
call fcn.0046b558
mov ecx, eax
call fcn.00405b2a
push eax
push str.Alter_session_set_nls_comp_returned__s
lea eax, [ebp - 0x1ba]
push eax
call fcn.00407450
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x8c]
call fcn.00405b2a
push eax
push str.GODBC
push 0x12b7
push str.D:projectsUTIL_srcgdb.cpp
call fcn.004046ac
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1ba]
call fcn.004055b0
push str.alter_session_set_nls_sortBINARY_CI
lea ecx, [ebp - 0x126]
call fcn.004053d4
mov byte [ebp - 4], 0xd
push 1
lea eax, [ebp - 0x126]
push eax
lea ecx, [ebp - 0x280]
call fcn.0046356e
test eax, eax
jne 0x460c67
mov dword [ebp - 0x50], 1
jmp 0x460c6b
and dword [ebp - 0x50], 0
mov al, byte [ebp - 0x50]
mov byte [ebp - 0x16], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x126]
call fcn.004055b0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x460cf7
lea ecx, [ebp - 0x280]
call fcn.0046b558
mov ecx, eax
call fcn.00405b2a
push eax
push str.Alter_session_set_nls_comp_returned__s
lea eax, [ebp - 0x1b1]
push eax
call fcn.00407450
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x94]
call fcn.00405b2a
push eax
push str.GODBC
push 0x12ba
push str.D:projectsUTIL_srcgdb.cpp
call fcn.004046ac
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1b1]
call fcn.004055b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x280]
call fcn.0045c380
jmp 0x46102f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x31c]
call fcn.0045ad23
mov byte [ebp - 4], 0xf
push str.SET_ANSI_PADDING_OFF_
lea ecx, [ebp - 0x102]
call fcn.004053d4
mov byte [ebp - 4], 0x10
push 1
lea eax, [ebp - 0x102]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0046356e
test eax, eax
jne 0x460d52
mov dword [ebp - 0x58], 1
jmp 0x460d56
and dword [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x102]
call fcn.004055b0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x460de2
lea ecx, [ebp - 0x31c]
call fcn.0046b558
mov ecx, eax
call fcn.00405b2a
push eax
push str.SET_ANSI_PADDING_OFF_returned__s
lea eax, [ebp - 0x169]
push eax
call fcn.00407450
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x9c]
call fcn.00405b2a
push eax
push str.GODBC
push 0x12c1
push str.D:projectsUTIL_srcgdb.cpp
call fcn.004046ac
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x169]
call fcn.004055b0
push str.SET_ANSI_NULLS_ON_
lea ecx, [ebp - 0x10b]
call fcn.004053d4
mov byte [ebp - 4], 0x12
push 1
lea eax, [ebp - 0x10b]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0046356e
test eax, eax
jne 0x460e17
mov dword [ebp - 0x60], 1
jmp 0x460e1b
and dword [ebp - 0x60], 0
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x10b]
call fcn.004055b0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x460ea7
lea ecx, [ebp - 0x31c]
call fcn.0046b558
mov ecx, eax
call fcn.00405b2a
push eax
push str.SET_ANSI_NULLS_ON_returned__s
lea eax, [ebp - 0x18d]
push eax
call fcn.00407450
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xa4]
call fcn.00405b2a
push eax
push str.GODBC
push 0x12c4
push str.D:projectsUTIL_srcgdb.cpp
call fcn.004046ac
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x18d]
call fcn.004055b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x31c]
call fcn.0045c380
jmp 0x46102f
lea ecx, [ebp - 0x40]
call fcn.004054e3
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
lea ecx, [ebp - 0x11d]
call fcn.004053d4
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x11d]
push eax
call fcn.004906cc
pop ecx
pop ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x11d]
call fcn.004055b0
lea ecx, [ebp - 0x40]
call fcn.00405b2a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x460f3d
mov eax, dword [ebp - 0x1c]
and eax, 0x2000
jne 0x460f3d
mov eax, dword [ebp - 0x1c]
or eax, 0x2000
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x40]
call fcn.00405b2a
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00461e16
cmp dword [ebp - 0x28], 0
jne 0x460f8b
and dword [ebp - 0x6c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00428198
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004050e2
mov eax, dword [ebp - 0x6c]
jmp 0x461352
push 0xfffffffffffffffd
push str.SELECT_Count___FROM_MsysCompactError
mov ecx, dword [ebp - 0x28]
call fcn.00491220
push eax
call sub.ODBC32.dll_SQLExecDirect
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0046535c
movsx eax, word [ebp - 0x34]
test eax, eax
jne 0x461023
lea ecx, [ebp - 0x40]
call fcn.00405b2a
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
push str._s__s__contains_an_MsysCompactError._Investigate_and_remove._DROP_TABLE_MsysCompactError.
lea eax, [ebp - 0x19f]
push eax
call fcn.00407450
add esp, 0x10
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x7c]
call fcn.00405b2a
push eax
push str.ODBC
push 0x400
push 0x12dd
push str.D:projectsUTIL_srcgdb.cpp
call fcn.0040460e
add esp, 0x14
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x19f]
call fcn.004055b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00428198
jmp 0x46116d
mov eax, dword [ebp - 0x10]
and dword [eax + 0x59b], 0
mov eax, dword [ebp - 0x10]
add eax, 0x5a3
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00427e89
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x10]
add eax, 0x5cb
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0046ee4f
movzx eax, al
test eax, eax
jne 0x4610a7
and dword [ebp - 0x80], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call fcn.00428198
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004050e2
mov eax, dword [ebp - 0x80]
jmp 0x461352
mov eax, dword [ebp - 0x10]
add eax, 0x907
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x5cb
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00477990
mov ecx, dword [ebp - 0x10]
add ecx, 0x5cb
call fcn.0043f1ff
test eax, eax
jne 0x461103
and dword [ebp - 0x88], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call fcn.00428198
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004050e2
mov eax, dword [ebp - 0x88]
jmp 0x461352
push 0x4d96ec
lea ecx, [ebp - 0x12f]
call fcn.004053d4
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x12f]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x7ad
call fcn.00479553
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x12f]
call fcn.004055b0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x907]
mov eax, dword [ebp - 0x10]
add eax, 0x914
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x90b
push eax
call fcn.004657e6
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d0]
call fcn.00428198
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x907], 0xffffffff
jne 0x4611eb
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
push str._s_is_not_using_a_known_database_backend__defaulting_to_access
lea eax, [ebp - 0x196]
push eax
call fcn.00407450
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x98]
call fcn.00405b2a
push eax
push str.GODBC
push 0x12ee
push str.D:projectsUTIL_srcgdb.cpp
call fcn.004046ac
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x196]
call fcn.004055b0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x907], 0
jmp 0x461298
push 0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x907]
lea eax, [ebp - 0x184]
push eax
call fcn.0046593c
pop ecx
pop ecx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0xa8]
call fcn.00405b2a
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
push str._s_is_using__s_as_database_backend
lea eax, [ebp - 0x1a8]
push eax
call fcn.00407450
add esp, 0x10
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0xb8]
call fcn.00405b2a
push eax
push str.GODBC
push 0x12f2
push str.D:projectsUTIL_srcgdb.cpp
call fcn.00404405
add esp, 0x14
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1a8]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x184]
call fcn.004055b0
cmp dword [0x514aac], 0xffffffff
jne 0x4612b4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x907]
mov dword [0x514aac], eax
jmp 0x461339
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x514aac]
cmp ecx, dword [eax + 0x907]
je 0x461339
push 1
mov eax, dword [ebp - 0x10]
push dword [eax + 0x907]
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
push dword [0x514aac]
push str.Connection_to_multiple_database_types_detected.__Default_ld__s_ld_
lea eax, [ebp - 0x172]
push eax
call fcn.00407450
add esp, 0x14
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0xc8]
call fcn.00405b2a
push eax
push str.GODBC
push 0x12f8
push str.D:projectsUTIL_srcgdb.cpp
call fcn.00404405
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x172]
call fcn.004055b0
mov dword [ebp - 0x70], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.004050e2
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4