Function at 0x47f8a9
Capabilities:
Terminate process

Disassembly:
push 0x758
push 0x5eeda8
call fcn.00549b0c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x750], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x758], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x75c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x760], eax
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x754], esi
mov byte [ebp - 0x74c], 0
push 0x1ff
xor edi, edi
push edi
lea eax, [ebp - 0x74b]
push eax
call fcn.005306b0
add esp, 0xc
mov dword [ebp - 0x768], edi
cmp esi, edi
jne 0x47f919
lea eax, [ebp - 0x768]
mov dword [ebp - 0x754], eax
mov eax, dword [ebp + 0x18]
call fcn.0048030b
mov edx, ebx
call fcn.004ccc0d
test eax, eax
jne 0x47fed1
xor esi, esi
inc esi
push esi
push 0x6e0
call fcn.00530848
pop ecx
pop ecx
mov ebx, eax
cmp ebx, edi
je 0x47fed1
cmp dword [0x6f2ab0], edi
jne 0x47f95d
mov dword [0x6f2ab0], esi
call fcn.004812fc
push dword [ebp + 0x18]
push edi
push edi
call fcn.004813a1
add esp, 0xc
mov dword [ebp - 4], edi
push ebx
push edi
push esi
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, di
je 0x47f9b0
cmp ax, si
je 0x47f9b0
push dword [ebp - 0x754]
push esi
mov ecx, dword [ebx]
call fcn.004800ea
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLAllocHandle___FAILED:__s
call fcn.0042b70b
add esp, 0x14
push ebx
call fcn.0053061e
pop ecx
jmp 0x47feca
push edi
push 3
push 0xc8
push dword [ebx]
call sub.ODBC32.dll_SQLSetEnvAttr
movzx eax, ax
cmp ax, di
je 0x47f9f8
cmp ax, si
je 0x47f9f8
push dword [ebp - 0x754]
push esi
mov ecx, dword [ebx]
call fcn.004800ea
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLSetEnvAttr___FAILED:__s
call fcn.0042b70b
add esp, 0x14
push dword [ebx]
push esi
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x47f9a4
lea esi, [ebx + 4]
push esi
push dword [ebx]
push 2
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, di
je 0x47fa3c
cmp ax, 1
je 0x47fa3c
push dword [ebp - 0x754]
push 1
mov ecx, dword [ebx]
call fcn.004800ea
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLAllocHandle___FAILED_2:__s
call fcn.0042b70b
add esp, 0x14
push dword [ebx]
push 1
jmp 0x47f9f1
push edi
push 0xa
push 0x67
push dword [esi]
call sub.ODBC32.dll_SQLSetConnectAttr
cmp ax, 0xffff
jne 0x47fa71
push dword [ebp - 0x754]
push 2
mov ecx, dword [esi]
call fcn.004800ea
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__EAP:_SQLSetConnectAttr___FAILED_to_set_the_timeout:__s
call fcn.0042bd38
add esp, 0x14
push dword [ebp - 0x750]
lea eax, [ebx + 0x410]
mov ecx, 0x104
call fcn.004ccc3f
pop ecx
push dword [ebp + 0x18]
push dword [ebp - 0x760]
push dword [ebp - 0x75c]
push dword [ebp - 0x750]
mov eax, dword [ebp - 0x758]
lea ecx, [ebp - 0x74c]
call fcn.0047fed9
add esp, 0x10
lea eax, [ebx + 0x408]
push edi
push eax
push 0x3ff
lea eax, [ebx + 8]
push eax
push 0xfffffffffffffffd
lea eax, [ebp - 0x74c]
push eax
push edi
push dword [esi]
call sub.ODBC32.dll_SQLDriverConnect
movzx eax, ax
mov dword [ebp - 0x764], eax
movsx ecx, word [ebx + 0x408]
mov byte [ecx + ebx + 8], 0
cmp ax, di
je 0x47fd69
cmp ax, 1
je 0x47fd69
lea eax, [ebp - 0x74c]
push eax
push ecx
push dword [ebp - 0x754]
push 2
mov ecx, dword [esi]
call fcn.004800ea
add esp, 0xc
push eax
movsx eax, word [ebp - 0x764]
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLDriverConnect___FAILED:__d:__s:__s
call fcn.0042b70b
add esp, 0x14
push dword [esi]
push 2
call sub.ODBC32.dll_SQLFreeHandle
push dword [ebx]
xor esi, esi
inc esi
push esi
call sub.ODBC32.dll_SQLFreeHandle
push ebx
call fcn.0053061e
pop ecx
cmp dword [0x6f2abc], edi
jne 0x47fbf7
mov dword [0x6f2abc], esi
push 2
push esi
push edi
call fcn.004813a1
add esp, 0xc
push eax
push str.:7:Attempting_RefreshDatabaseInstallation_____d
call fcn.0042bd38
pop ecx
pop ecx
mov dword [0x6f2ab4], esi
push str.Data_source_name_not_found
push ecx
push edi
push edi
xor ecx, ecx
call fcn.004800ea
add esp, 0xc
push eax
call fcn.004cd9f0
pop ecx
pop ecx
test eax, eax
je 0x47fbc2
call fcn.00480300
mov eax, dword [ebp + 0x18]
call fcn.0048030b
push eax
push dword [ebp - 0x750]
push str.:0:FYI:CreateODBC__s__is_attempting_alternate_database_driver_name:__s
call fcn.0042bd38
add esp, 0xc
mov dword [0x6f2ab8], esi
push dword [ebp - 0x754]
push dword [ebp + 0x18]
push dword [ebp - 0x760]
push dword [ebp - 0x75c]
push dword [ebp - 0x758]
push dword [ebp - 0x750]
call fcn.0047f8a9
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x47fed3
mov byte [ebp - 0x444], 0
mov esi, 0x103
push esi
push edi
lea eax, [ebp - 0x443]
push eax
call fcn.005306b0
add esp, 0xc
mov byte [ebp - 0x33c], 0
push esi
push edi
lea eax, [ebp - 0x33b]
push eax
call fcn.005306b0
add esp, 0xc
mov byte [ebp - 0x234], 0
push esi
push edi
lea eax, [ebp - 0x233]
push eax
call fcn.005306b0
add esp, 0xc
mov byte [ebp - 0x12c], 0
push esi
push edi
lea eax, [ebp - 0x12b]
push eax
call fcn.005306b0
add esp, 0xc
mov byte [ebp - 0x54c], 0
push esi
push edi
lea eax, [ebp - 0x54b]
push eax
call fcn.005306b0
add esp, 0xc
lea eax, [ebp - 0x444]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Server
push esi
mov ebx, str.Driver
mov eax, ebx
call fcn.00413e44
lea eax, [ebp - 0x33c]
push eax
push esi
mov edi, str.Setup
mov eax, edi
call fcn.00413e44
lea eax, [ebp - 0x54c]
push eax
push esi
mov eax, str.DriverODBCVer
call fcn.00413e44
lea eax, [ebp - 0x234]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Anywhere_10p
push esi
mov eax, ebx
call fcn.00413e44
lea eax, [ebp - 0x12c]
push eax
push esi
mov eax, edi
call fcn.00413e44
add esp, 0x28
lea edi, [ebp - 0x12c]
call fcn.00432263
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x234]
call fcn.00432263
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x33c]
call fcn.00432263
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x444]
call fcn.00432263
push eax
mov eax, edi
push eax
lea eax, [ebp - 0x54c]
push eax
push dword [ebp - 0x750]
push str.:2:CreateODBC__s__FAILED:_ODBC_ver__s_Dlls:___s__exists_d____s__exists_d____s__exists_d____s__exists_d.
call fcn.0042bd38
add esp, 0x2c
xor eax, eax
mov dword [0x6f2ab4], eax
cmp dword [0x6f2ab8], eax
je 0x47feca
push 1
push str.NeedAdminLogin.flg
push eax
call fcn.00493154
pop ecx
pop ecx
mov ecx, eax
call fcn.00433d41
mov dword [esp], str.:7:Limited_User_Login_is_blocking_TAMS_II_installation___Please_run_PAULA_as_administrator_to_fix_the_problem.
call fcn.0042b70b
jmp 0x47f9aa
cmp dword [0x6f2ab4], edi
je 0x47fd89
mov dword [0x6f2ab4], edi
push dword [ebp - 0x750]
push str.:0:FYI:CreateODBC__s__Succeeded_after_driver_refresh____This_may_happen_on_limited_user_logins._
call fcn.0042bd38
pop ecx
pop ecx
mov dword [0x6f2ab8], edi
push str.NeedAdminLogin.flg
push edi
call fcn.00493154
pop ecx
pop ecx
mov edi, eax
call fcn.00432263
test eax, eax
je 0x47fdba
push str.NeedAdminLogin.flg
push 0
call fcn.00493154
pop ecx
pop ecx
call fcn.004314ff
lea edi, [ebx + 0x40c]
push edi
push dword [esi]
push 3
call sub.ODBC32.dll_SQLAllocHandle
mov eax, dword [0x6f2aa8]
test eax, eax
jne 0x47fddd
call fcn.004b2094
mov dword [0x6f2aa8], eax
push ebx
call fcn.004b218d
pop ecx
mov eax, dword [0x6f2aa8]
test eax, eax
jne 0x47fe1d
push dword [ebp - 0x750]
push str.:8:CreateODBC__s__FAILED:_RegisterPtr___FAILED:_CreatePtrList___FAILED:_Out_of_memory.
call fcn.0042b70b
pop ecx
pop ecx
push dword [edi]
push 3
call sub.ODBC32.dll_SQLFreeHandle
push dword [esi]
call sub.ODBC32.dll_SQLDisconnect
push dword [esi]
push 2
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x47fa36
mov esi, eax
call fcn.004b2561
cmp eax, 0xa
jle 0x47fe41
mov esi, dword [0x6f2aa8]
call fcn.004b2561
push eax
push str.:4:FYI:_There_are_a_large_number_of_ODBC_handles_defined:__d_handles_exist_
call fcn.0042bd38
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x10000
mov dword [ebx + 0x6dc], eax
push eax
call fcn.00532823
pop ecx
mov dword [ebx + 0x6d8], eax
call fcn.004ccb8b
lea edi, [ebx + 0x514]
push str..ODBC.c
push edi
call fcn.0043a19c
pop ecx
pop ecx
test eax, eax
jne 0x47fe87
push str.:5:CreateODBC___EAP:_InitializeLock___FAILED.
call fcn.0042b70b
pop ecx
mov esi, str.An_ODBC_handle_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.0043a49b
mov eax, 0xdac
mov ecx, edi
call fcn.0043a4d8
mov eax, ebx
call fcn.00480f30
mov eax, ebx
jmp 0x47fed3
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.00549b54
ret