Function at 0x452137
Capabilities:
Terminate process

Disassembly:
push 0x758
push 0x534f58
call fcn.004cfe5c
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.004b7880
add esp, 0xc
mov dword [ebp - 0x768], edi
cmp esi, edi
jne 0x4521a7
lea eax, [ebp - 0x768]
mov dword [ebp - 0x754], eax
mov eax, dword [ebp + 0x18]
call fcn.00452b9d
mov edx, ebx
call fcn.0047ebaf
test eax, eax
jne 0x45275c
xor esi, esi
inc esi
push esi
push 0x6e0
call fcn.004b66ca
pop ecx
pop ecx
mov ebx, eax
cmp ebx, edi
je 0x45275c
cmp dword [0x632784], edi
jne 0x4521eb
mov dword [0x632784], esi
call fcn.00453797
push dword [ebp + 0x18]
push edi
push edi
call fcn.0045383d
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 0x45223e
cmp ax, si
je 0x45223e
push dword [ebp - 0x754]
push esi
mov ecx, dword [ebx]
call fcn.00452996
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLAllocHandle___FAILED:__s
call fcn.00418e96
add esp, 0x14
push ebx
call fcn.004b651e
pop ecx
jmp 0x452755
push edi
push 3
push 0xc8
push dword [ebx]
call sub.ODBC32.dll_SQLSetEnvAttr
movzx eax, ax
cmp ax, di
je 0x452286
cmp ax, si
je 0x452286
push dword [ebp - 0x754]
push esi
mov ecx, dword [ebx]
call fcn.00452996
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLSetEnvAttr___FAILED:__s
call fcn.00418e96
add esp, 0x14
push dword [ebx]
push esi
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x452232
lea esi, [ebx + 4]
push esi
push dword [ebx]
push 2
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, di
je 0x4522ca
cmp ax, 1
je 0x4522ca
push dword [ebp - 0x754]
push 1
mov ecx, dword [ebx]
call fcn.00452996
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__FAILED:_SQLAllocHandle___FAILED_2:__s
call fcn.00418e96
add esp, 0x14
push dword [ebx]
push 1
jmp 0x45227f
push edi
push 0xa
push 0x67
push dword [esi]
call sub.ODBC32.dll_SQLSetConnectAttr
cmp ax, 0xffff
jne 0x4522ff
push dword [ebp - 0x754]
push 2
mov ecx, dword [esi]
call fcn.00452996
push eax
push dword [ebp - 0x750]
push str.:7:CreateODBC__s__EAP:_SQLSetConnectAttr___FAILED_to_set_the_timeout:__s
call fcn.0041936e
add esp, 0x14
push dword [ebp - 0x750]
lea eax, [ebx + 0x410]
mov ecx, 0x104
call fcn.0047ebe1
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.00452764
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 0x4525f3
cmp ax, 1
je 0x4525f3
lea eax, [ebp - 0x74c]
push eax
push dword [ebp - 0x754]
push 2
mov ecx, dword [esi]
call fcn.00452996
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.00418e96
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.004b651e
pop ecx
cmp dword [0x632790], edi
jne 0x452481
mov dword [0x632790], esi
push 2
push esi
push edi
call fcn.0045383d
add esp, 0xc
push eax
push str.:7:Attempting_RefreshDatabaseInstallation_____d
call fcn.0041936e
pop ecx
pop ecx
mov dword [0x632788], esi
push str.Data_source_name_not_found
push edi
push edi
xor ecx, ecx
call fcn.00452996
pop ecx
pop ecx
push eax
call fcn.0047f83d
pop ecx
pop ecx
test eax, eax
je 0x45244c
call fcn.00452b92
mov eax, dword [ebp + 0x18]
call fcn.00452b9d
push eax
push dword [ebp - 0x750]
push str.:0:FYI:CreateODBC__s__is_attempting_alternate_database_driver_name:__s
call fcn.0041936e
add esp, 0xc
mov dword [0x63278c], 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.00452137
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x45275e
mov byte [ebp - 0x444], 0
mov esi, 0x103
push esi
push edi
lea eax, [ebp - 0x443]
push eax
call fcn.004b7880
add esp, 0xc
mov byte [ebp - 0x33c], 0
push esi
push edi
lea eax, [ebp - 0x33b]
push eax
call fcn.004b7880
add esp, 0xc
mov byte [ebp - 0x234], 0
push esi
push edi
lea eax, [ebp - 0x233]
push eax
call fcn.004b7880
add esp, 0xc
mov byte [ebp - 0x12c], 0
push esi
push edi
lea eax, [ebp - 0x12b]
push eax
call fcn.004b7880
add esp, 0xc
mov byte [ebp - 0x54c], 0
push esi
push edi
lea eax, [ebp - 0x54b]
push eax
call fcn.004b7880
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.0040ca0a
lea eax, [ebp - 0x33c]
push eax
push esi
mov edi, str.Setup
mov eax, edi
call fcn.0040ca0a
lea eax, [ebp - 0x54c]
push eax
push esi
mov eax, str.DriverODBCVer
call fcn.0040ca0a
lea eax, [ebp - 0x234]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Anywhere_10p
push esi
mov eax, ebx
call fcn.0040ca0a
lea eax, [ebp - 0x12c]
push eax
push esi
mov eax, edi
call fcn.0040ca0a
add esp, 0x28
lea edi, [ebp - 0x12c]
call fcn.0041c5ff
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x234]
call fcn.0041c5ff
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x33c]
call fcn.0041c5ff
push eax
mov eax, edi
push eax
lea edi, [ebp - 0x444]
call fcn.0041c5ff
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.0041936e
add esp, 0x2c
xor eax, eax
mov dword [0x632788], eax
cmp dword [0x63278c], eax
je 0x452755
push 1
push str.NeedAdminLogin.flg
push eax
call fcn.004610ab
pop ecx
pop ecx
mov ecx, eax
call fcn.0041ddb0
mov dword [esp], str.:7:Limited_User_Login_is_blocking_TAMS_II_installation___Please_run_PAULA_as_administrator_to_fix_the_problem.
call fcn.00418e96
jmp 0x452238
cmp dword [0x632788], edi
je 0x452613
mov dword [0x632788], edi
push dword [ebp - 0x750]
push str.:0:FYI:CreateODBC__s__Succeeded_after_driver_refresh____This_may_happen_on_limited_user_logins._
call fcn.0041936e
pop ecx
pop ecx
mov dword [0x63278c], edi
push str.NeedAdminLogin.flg
push edi
call fcn.004610ab
pop ecx
pop ecx
mov edi, eax
call fcn.0041c5ff
test eax, eax
je 0x452644
push str.NeedAdminLogin.flg
push 0
call fcn.004610ab
pop ecx
pop ecx
call fcn.0041bfc0
lea edi, [ebx + 0x40c]
push edi
push dword [esi]
push 3
call sub.ODBC32.dll_SQLAllocHandle
mov eax, dword [0x63277c]
test eax, eax
jne 0x452667
call fcn.00471551
mov dword [0x63277c], eax
push ebx
call fcn.0047163a
pop ecx
mov eax, dword [0x63277c]
test eax, eax
jne 0x4526a7
push dword [ebp - 0x750]
push str.:8:CreateODBC__s__FAILED:_RegisterPtr___FAILED:_CreatePtrList___FAILED:_Out_of_memory.
call fcn.00418e96
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 0x4522c4
push eax
call fcn.00471a0e
pop ecx
cmp eax, 0xa
jle 0x4526cc
push dword [0x63277c]
call fcn.00471a0e
pop ecx
push eax
push str.:4:FYI:_There_are_a_large_number_of_ODBC_handles_defined:__d_handles_exist_
call fcn.0041936e
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x10000
mov dword [ebx + 0x6dc], eax
push eax
call fcn.004b7e07
pop ecx
mov dword [ebx + 0x6d8], eax
call fcn.0047eb32
lea edi, [ebx + 0x514]
push str..ODBC.c
push edi
call fcn.00420a71
pop ecx
pop ecx
test eax, eax
jne 0x452712
push str.:5:CreateODBC___EAP:_InitializeLock___FAILED.
call fcn.00418e96
pop ecx
mov esi, str.An_ODBC_handle_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.00420d70
mov eax, 0xdac
mov ecx, edi
call fcn.00420dad
mov eax, ebx
call fcn.00453781
mov eax, ebx
jmp 0x45275e
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004cfea4
ret