Function at 0x476c7e
Capabilities:
Terminate process

Disassembly:
push 0x758
push 0x5c0a98
call fcn.0052a9ec
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.005117f0
add esp, 0xc
mov dword [ebp - 0x768], edi
cmp esi, edi
jne 0x476cee
lea eax, [ebp - 0x768]
mov dword [ebp - 0x754], eax
mov eax, dword [ebp + 0x18]
call fcn.004776e0
mov edx, ebx
call fcn.004c3b34
test eax, eax
jne 0x4772a6
xor esi, esi
inc esi
push esi
push 0x6e0
call fcn.00511988
pop ecx
pop ecx
mov ebx, eax
cmp ebx, edi
je 0x4772a6
cmp dword [0x6c4a68], edi
jne 0x476d32
mov dword [0x6c4a68], esi
call fcn.00478649
push dword [ebp + 0x18]
push edi
push edi
call fcn.004786ee
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 0x476d85
cmp ax, si
je 0x476d85
push dword [ebp - 0x754]
push esi
mov ecx, dword [ebx]
call fcn.004774bf
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLAllocHandle___FAILED:__s
call fcn.004265da
add esp, 0x14
push ebx
call fcn.00511758
pop ecx
jmp 0x47729f
push edi
push 3
push 0xc8
push dword [ebx]
call sub.ODBC32.dll_SQLSetEnvAttr
movzx eax, ax
cmp ax, di
je 0x476dcd
cmp ax, si
je 0x476dcd
push dword [ebp - 0x754]
push esi
mov ecx, dword [ebx]
call fcn.004774bf
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLSetEnvAttr___FAILED:__s
call fcn.004265da
add esp, 0x14
push dword [ebx]
push esi
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x476d79
lea esi, [ebx + 4]
push esi
push dword [ebx]
push 2
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, di
je 0x476e11
cmp ax, 1
je 0x476e11
push dword [ebp - 0x754]
push 1
mov ecx, dword [ebx]
call fcn.004774bf
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLAllocHandle___FAILED_2:__s
call fcn.004265da
add esp, 0x14
push dword [ebx]
push 1
jmp 0x476dc6
push edi
push 0xa
push 0x67
push dword [esi]
call sub.ODBC32.dll_SQLSetConnectAttr
cmp ax, 0xffff
jne 0x476e46
push dword [ebp - 0x754]
push 2
mov ecx, dword [esi]
call fcn.004774bf
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__EAP:_SQLSetConnectAttr___FAILED_to_set_the_timeout:__s
call fcn.00426c01
add esp, 0x14
push dword [ebp - 0x750]
lea eax, [ebx + 0x410]
mov ecx, 0x104
call fcn.004c3b66
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.004772ae
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 0x47713e
cmp ax, 1
je 0x47713e
lea eax, [ebp - 0x74c]
push eax
push ecx
push dword [ebp - 0x754]
push 2
mov ecx, dword [esi]
call fcn.004774bf
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.004265da
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.00511758
pop ecx
cmp dword [0x6c4a74], edi
jne 0x476fcc
mov dword [0x6c4a74], esi
push 2
push esi
push edi
call fcn.004786ee
add esp, 0xc
push eax
push str.:7:Attempting_RefreshDatabaseInstallation_____d
call fcn.00426c01
pop ecx
pop ecx
mov dword [0x6c4a6c], esi
push str.Data_source_name_not_found
push ecx
push edi
push edi
xor ecx, ecx
call fcn.004774bf
add esp, 0xc
push eax
call fcn.004c48c1
pop ecx
pop ecx
test eax, eax
je 0x476f97
call fcn.004776d5
mov eax, dword [ebp + 0x18]
call fcn.004776e0
push eax
push dword [ebp - 0x750]
push str.:0:FYI:CreateODBC__s__is_attempting_alternate_database_driver_name:__s
call fcn.00426c01
add esp, 0xc
mov dword [0x6c4a70], 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.00476c7e
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x4772a8
mov byte [ebp - 0x444], 0
mov esi, 0x103
push esi
push edi
lea eax, [ebp - 0x443]
push eax
call fcn.005117f0
add esp, 0xc
mov byte [ebp - 0x33c], 0
push esi
push edi
lea eax, [ebp - 0x33b]
push eax
call fcn.005117f0
add esp, 0xc
mov byte [ebp - 0x234], 0
push esi
push edi
lea eax, [ebp - 0x233]
push eax
call fcn.005117f0
add esp, 0xc
mov byte [ebp - 0x12c], 0
push esi
push edi
lea eax, [ebp - 0x12b]
push eax
call fcn.005117f0
add esp, 0xc
mov byte [ebp - 0x54c], 0
push esi
push edi
lea eax, [ebp - 0x54b]
push eax
call fcn.005117f0
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.00411e83
lea eax, [ebp - 0x33c]
push eax
push esi
mov edi, str.Setup
mov eax, edi
call fcn.00411e83
lea eax, [ebp - 0x54c]
push eax
push esi
mov eax, str.DriverODBCVer
call fcn.00411e83
lea eax, [ebp - 0x234]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Anywhere_10p
push esi
mov eax, ebx
call fcn.00411e83
lea eax, [ebp - 0x12c]
push eax
push esi
mov eax, edi
call fcn.00411e83
add esp, 0x28
lea edi, [ebp - 0x12c]
call fcn.0042ad00
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x234]
call fcn.0042ad00
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x33c]
call fcn.0042ad00
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x444]
call fcn.0042ad00
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.00426c01
add esp, 0x2c
xor eax, eax
mov dword [0x6c4a6c], eax
cmp dword [0x6c4a70], eax
je 0x47729f
push 1
push str.NeedAdminLogin.flg
push eax
call fcn.0048a119
pop ecx
pop ecx
mov ecx, eax
call fcn.0042c38a
mov dword [esp], str.:7:Limited_User_Login_is_blocking_TAMS_II_installation___Please_run_PAULA_as_administrator_to_fix_the_problem.
call fcn.004265da
jmp 0x476d7f
cmp dword [0x6c4a6c], edi
je 0x47715e
mov dword [0x6c4a6c], edi
push dword [ebp - 0x750]
push str.:0:FYI:CreateODBC__s__Succeeded_after_driver_refresh____This_may_happen_on_limited_user_logins._
call fcn.00426c01
pop ecx
pop ecx
mov dword [0x6c4a70], edi
push str.NeedAdminLogin.flg
push edi
call fcn.0048a119
pop ecx
pop ecx
mov edi, eax
call fcn.0042ad00
test eax, eax
je 0x47718f
push str.NeedAdminLogin.flg
push 0
call fcn.0048a119
pop ecx
pop ecx
call fcn.0042a76b
lea edi, [ebx + 0x40c]
push edi
push dword [esi]
push 3
call sub.ODBC32.dll_SQLAllocHandle
mov eax, dword [0x6c4a60]
test eax, eax
jne 0x4771b2
call fcn.004a8f27
mov dword [0x6c4a60], eax
push ebx
call fcn.004a9020
pop ecx
mov eax, dword [0x6c4a60]
test eax, eax
jne 0x4771f2
push dword [ebp - 0x750]
push str.:8:CreateODBC__s__FAILED:_RegisterPtr___FAILED:_CreatePtrList___FAILED:_Out_of_memory.
call fcn.004265da
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 0x476e0b
mov esi, eax
call fcn.004a93f4
cmp eax, 0xa
jle 0x477216
mov esi, dword [0x6c4a60]
call fcn.004a93f4
push eax
push str.:4:FYI:_There_are_a_large_number_of_ODBC_handles_defined:__d_handles_exist_
call fcn.00426c01
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x10000
mov dword [ebx + 0x6dc], eax
push eax
call fcn.00513703
pop ecx
mov dword [ebx + 0x6d8], eax
call fcn.004c3ab2
lea edi, [ebx + 0x514]
push str..ODBC.c
push edi
call fcn.0043266e
pop ecx
pop ecx
test eax, eax
jne 0x47725c
push str.:5:CreateODBC___EAP:_InitializeLock___FAILED.
call fcn.004265da
pop ecx
mov esi, str.An_ODBC_handle_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.0043296d
mov eax, 0xdac
mov ecx, edi
call fcn.004329aa
mov eax, ebx
call fcn.00478305
mov eax, ebx
jmp 0x4772a8
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.0052aa34
ret