Function at 0x45021d
Capabilities:
Terminate process

Disassembly:
push 0x758
push 0x531888
call fcn.004cd9dc
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.004b53e0
add esp, 0xc
mov dword [ebp - 0x768], edi
cmp esi, edi
jne 0x45028d
lea eax, [ebp - 0x768]
mov dword [ebp - 0x754], eax
mov eax, dword [ebp + 0x18]
call fcn.00450c83
mov edx, ebx
call fcn.0047c3ca
test eax, eax
jne 0x450842
xor esi, esi
inc esi
push esi
push 0x6e0
call fcn.004b422c
pop ecx
pop ecx
mov ebx, eax
cmp ebx, edi
je 0x450842
cmp dword [0x62e77c], edi
jne 0x4502d1
mov dword [0x62e77c], esi
call fcn.0045187d
push dword [ebp + 0x18]
push edi
push edi
call fcn.00451923
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 0x450324
cmp ax, si
je 0x450324
push dword [ebp - 0x754]
push esi
mov ecx, dword [ebx]
call fcn.00450a7c
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLAllocHandle___FAILED:__s
call fcn.004178df
add esp, 0x14
push ebx
call fcn.004b4080
pop ecx
jmp 0x45083b
push edi
push 3
push 0xc8
push dword [ebx]
call sub.ODBC32.dll_SQLSetEnvAttr
movzx eax, ax
cmp ax, di
je 0x45036c
cmp ax, si
je 0x45036c
push dword [ebp - 0x754]
push esi
mov ecx, dword [ebx]
call fcn.00450a7c
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLSetEnvAttr___FAILED:__s
call fcn.004178df
add esp, 0x14
push dword [ebx]
push esi
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x450318
lea esi, [ebx + 4]
push esi
push dword [ebx]
push 2
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, di
je 0x4503b0
cmp ax, 1
je 0x4503b0
push dword [ebp - 0x754]
push 1
mov ecx, dword [ebx]
call fcn.00450a7c
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLAllocHandle___FAILED_2:__s
call fcn.004178df
add esp, 0x14
push dword [ebx]
push 1
jmp 0x450365
push edi
push 0xa
push 0x67
push dword [esi]
call sub.ODBC32.dll_SQLSetConnectAttr
cmp ax, 0xffff
jne 0x4503e5
push dword [ebp - 0x754]
push 2
mov ecx, dword [esi]
call fcn.00450a7c
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__EAP:_SQLSetConnectAttr___FAILED_to_set_the_timeout:__s
call fcn.00417db7
add esp, 0x14
push dword [ebp - 0x750]
lea eax, [ebx + 0x410]
mov ecx, 0x104
call fcn.0047c3fc
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.0045084a
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 0x4506d9
cmp ax, 1
je 0x4506d9
lea eax, [ebp - 0x74c]
push eax
push dword [ebp - 0x754]
push 2
mov ecx, dword [esi]
call fcn.00450a7c
pop ecx
pop ecx
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.004178df
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.004b4080
pop ecx
cmp dword [0x62e788], edi
jne 0x450567
mov dword [0x62e788], esi
push 2
push esi
push edi
call fcn.00451923
add esp, 0xc
push eax
push str.:7:Attempting_RefreshDatabaseInstallation_____d
call fcn.00417db7
pop ecx
pop ecx
mov dword [0x62e780], esi
push str.Data_source_name_not_found
push edi
push edi
xor ecx, ecx
call fcn.00450a7c
pop ecx
pop ecx
push eax
call fcn.0047d058
pop ecx
pop ecx
test eax, eax
je 0x450532
call fcn.00450c78
mov eax, dword [ebp + 0x18]
call fcn.00450c83
push eax
push dword [ebp - 0x750]
push str.:0:FYI:CreateODBC__s__is_attempting_alternate_database_driver_name:__s
call fcn.00417db7
add esp, 0xc
mov dword [0x62e784], 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.0045021d
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x450844
mov byte [ebp - 0x444], 0
mov esi, 0x103
push esi
push edi
lea eax, [ebp - 0x443]
push eax
call fcn.004b53e0
add esp, 0xc
mov byte [ebp - 0x33c], 0
push esi
push edi
lea eax, [ebp - 0x33b]
push eax
call fcn.004b53e0
add esp, 0xc
mov byte [ebp - 0x234], 0
push esi
push edi
lea eax, [ebp - 0x233]
push eax
call fcn.004b53e0
add esp, 0xc
mov byte [ebp - 0x12c], 0
push esi
push edi
lea eax, [ebp - 0x12b]
push eax
call fcn.004b53e0
add esp, 0xc
mov byte [ebp - 0x54c], 0
push esi
push edi
lea eax, [ebp - 0x54b]
push eax
call fcn.004b53e0
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.0040b471
lea eax, [ebp - 0x33c]
push eax
push esi
mov edi, str.Setup
mov eax, edi
call fcn.0040b471
lea eax, [ebp - 0x54c]
push eax
push esi
mov eax, str.DriverODBCVer
call fcn.0040b471
lea eax, [ebp - 0x234]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Anywhere_10p
push esi
mov eax, ebx
call fcn.0040b471
lea eax, [ebp - 0x12c]
push eax
push esi
mov eax, edi
call fcn.0040b471
add esp, 0x28
lea edi, [ebp - 0x12c]
call fcn.0041b048
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x234]
call fcn.0041b048
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x33c]
call fcn.0041b048
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x444]
call fcn.0041b048
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.00417db7
add esp, 0x2c
xor eax, eax
mov dword [0x62e780], eax
cmp dword [0x62e784], eax
je 0x45083b
push 1
push str.NeedAdminLogin.flg
push eax
call fcn.0045e8df
pop ecx
pop ecx
mov ecx, eax
call fcn.0041c812
mov dword [esp], str.:7:Limited_User_Login_is_blocking_TAMS_II_installation___Please_run_PAULA_as_administrator_to_fix_the_problem.
call fcn.004178df
jmp 0x45031e
cmp dword [0x62e780], edi
je 0x4506f9
mov dword [0x62e780], edi
push dword [ebp - 0x750]
push str.:0:FYI:CreateODBC__s__Succeeded_after_driver_refresh____This_may_happen_on_limited_user_logins._
call fcn.00417db7
pop ecx
pop ecx
mov dword [0x62e784], edi
push str.NeedAdminLogin.flg
push edi
call fcn.0045e8df
pop ecx
pop ecx
mov edi, eax
call fcn.0041b048
test eax, eax
je 0x45072a
push str.NeedAdminLogin.flg
push 0
call fcn.0045e8df
pop ecx
pop ecx
call fcn.0041aa09
lea edi, [ebx + 0x40c]
push edi
push dword [esi]
push 3
call sub.ODBC32.dll_SQLAllocHandle
mov eax, dword [0x62e774]
test eax, eax
jne 0x45074d
call fcn.0046ed85
mov dword [0x62e774], eax
push ebx
call fcn.0046ee6e
pop ecx
mov eax, dword [0x62e774]
test eax, eax
jne 0x45078d
push dword [ebp - 0x750]
push str.:8:CreateODBC__s__FAILED:_RegisterPtr___FAILED:_CreatePtrList___FAILED:_Out_of_memory.
call fcn.004178df
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 0x4503aa
push eax
call fcn.0046f242
pop ecx
cmp eax, 0xa
jle 0x4507b2
push dword [0x62e774]
call fcn.0046f242
pop ecx
push eax
push str.:4:FYI:_There_are_a_large_number_of_ODBC_handles_defined:__d_handles_exist_
call fcn.00417db7
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x10000
mov dword [ebx + 0x6dc], eax
push eax
call fcn.004b5967
pop ecx
mov dword [ebx + 0x6d8], eax
call fcn.0047c34d
lea edi, [ebx + 0x514]
push str..ODBC.c
push edi
call fcn.0041f4a2
pop ecx
pop ecx
test eax, eax
jne 0x4507f8
push str.:5:CreateODBC___EAP:_InitializeLock___FAILED.
call fcn.004178df
pop ecx
mov esi, str.An_ODBC_handle_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.0041f7a1
mov eax, 0xdac
mov ecx, edi
call fcn.0041f7de
mov eax, ebx
call fcn.00451867
mov eax, ebx
jmp 0x450844
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004cda24
ret