Function at 0x44d0e7
Capabilities:
Terminate process

Disassembly:
push 0x758
push 0x4fd508
call fcn.004bf72c
mov edi, dword [ebp + 8]
mov dword [ebp - 0x750], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x760], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x764], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x75c], eax
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x758], esi
xor ebx, ebx
mov byte [ebp - 0x74c], bl
push 0x1ff
push ebx
lea eax, [ebp - 0x74b]
push eax
call fcn.004a7110
add esp, 0xc
mov dword [ebp - 0x768], ebx
cmp esi, ebx
jne 0x44d156
lea eax, [ebp - 0x768]
mov dword [ebp - 0x758], eax
mov eax, dword [ebp + 0x18]
call fcn.0044d81d
mov edx, edi
call fcn.00475851
test eax, eax
jne 0x44d54e
xor edi, edi
inc edi
push edi
push 0x6e0
call fcn.004a5f90
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x754], esi
cmp esi, ebx
je 0x44d54e
cmp dword [0x5fbcb4], ebx
jne 0x44d1a0
mov dword [0x5fbcb4], edi
call fcn.0044e30e
push dword [ebp + 0x18]
push ebx
push ebx
call fcn.0044e3a6
add esp, 0xc
mov dword [ebp - 4], ebx
push esi
push ebx
push edi
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, bx
je 0x44d1d1
cmp ax, di
je 0x44d1d1
push esi
call fcn.004a5de4
pop ecx
jmp 0x44d547
push ebx
push 3
push 0xc8
push dword [esi]
call sub.ODBC32.dll_SQLSetEnvAttr
movzx eax, ax
cmp ax, bx
je 0x44d1f7
cmp ax, di
je 0x44d1f7
push dword [esi]
push edi
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x44d1c5
lea edi, [esi + 4]
push edi
push dword [esi]
push 2
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, bx
je 0x44d218
cmp ax, 1
je 0x44d218
push dword [esi]
push 1
jmp 0x44d1f0
push ebx
push 0xa
push 0x67
push dword [edi]
call sub.ODBC32.dll_SQLSetConnectAttr
push dword [ebp - 0x750]
lea eax, [esi + 0x410]
mov ecx, 0x104
call fcn.00475883
pop ecx
push dword [ebp + 0x18]
push dword [ebp - 0x75c]
push dword [ebp - 0x764]
push dword [ebp - 0x750]
mov eax, dword [ebp - 0x760]
lea ecx, [ebp - 0x74c]
call fcn.0044d556
add esp, 0x10
lea eax, [esi + 0x408]
push ebx
push eax
push 0x3ff
lea eax, [esi + 8]
push eax
push 0xfffffffffffffffd
lea eax, [ebp - 0x74c]
push eax
push ebx
push dword [edi]
call sub.ODBC32.dll_SQLDriverConnect
movzx eax, ax
movsx ecx, word [esi + 0x408]
mov byte [ecx + esi + 8], bl
cmp ax, bx
je 0x44d443
cmp ax, 1
je 0x44d443
push dword [edi]
push 2
call sub.ODBC32.dll_SQLFreeHandle
push dword [esi]
xor edi, edi
inc edi
push edi
call sub.ODBC32.dll_SQLFreeHandle
push esi
call fcn.004a5de4
pop ecx
cmp dword [0x5fbcc0], ebx
jne 0x44d338
mov dword [0x5fbcc0], edi
push 2
push edi
push ebx
call fcn.0044e3a6
add esp, 0xc
mov dword [0x5fbcb8], edi
push str.Data_source_name_not_found
call fcn.0044d767
push eax
call fcn.00476422
pop ecx
pop ecx
test eax, eax
je 0x44d303
call fcn.0044d812
mov dword [0x5fbcbc], edi
push dword [ebp - 0x758]
push dword [ebp + 0x18]
push dword [ebp - 0x75c]
push dword [ebp - 0x764]
push dword [ebp - 0x760]
push dword [ebp - 0x750]
call fcn.0044d0e7
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x44d550
mov byte [ebp - 0x12c], bl
mov esi, 0x103
push esi
push ebx
lea eax, [ebp - 0x12b]
push eax
call fcn.004a7110
add esp, 0xc
mov byte [ebp - 0x33c], bl
push esi
push ebx
lea eax, [ebp - 0x33b]
push eax
call fcn.004a7110
add esp, 0xc
mov byte [ebp - 0x54c], bl
push esi
push ebx
lea eax, [ebp - 0x54b]
push eax
call fcn.004a7110
add esp, 0xc
mov byte [ebp - 0x234], bl
push esi
push ebx
lea eax, [ebp - 0x233]
push eax
call fcn.004a7110
add esp, 0xc
mov byte [ebp - 0x444], bl
push esi
push ebx
lea eax, [ebp - 0x443]
push eax
call fcn.004a7110
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Server
push esi
mov eax, str.Driver
call fcn.0040b805
lea eax, [ebp - 0x33c]
push eax
push esi
mov edi, str.Setup
mov eax, edi
call fcn.0040b805
lea eax, [ebp - 0x444]
push eax
push esi
mov eax, str.DriverODBCVer
call fcn.0040b805
lea eax, [ebp - 0x54c]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Anywhere_10p
push esi
mov eax, str.Driver
call fcn.0040b805
lea eax, [ebp - 0x234]
push eax
push esi
mov eax, edi
call fcn.0040b805
add esp, 0x28
mov dword [0x5fbcb8], ebx
cmp dword [0x5fbcbc], ebx
je 0x44d547
push 1
push str.NeedAdminLogin.flg
push ebx
call fcn.00459ede
pop ecx
pop ecx
mov ecx, eax
call fcn.0041a2f6
jmp 0x44d1cb
cmp dword [0x5fbcb8], ebx
je 0x44d451
mov dword [0x5fbcb8], ebx
mov dword [0x5fbcbc], ebx
push str.NeedAdminLogin.flg
push ebx
call fcn.00459ede
pop ecx
pop ecx
mov edi, eax
call fcn.00418e6b
test eax, eax
je 0x44d481
push str.NeedAdminLogin.flg
push ebx
call fcn.00459ede
pop ecx
pop ecx
call fcn.004189f3
lea edi, [esi + 0x40c]
push edi
push dword [esi + 4]
push 3
call sub.ODBC32.dll_SQLAllocHandle
mov eax, dword [0x5fbcac]
cmp eax, ebx
jne 0x44d4a5
call fcn.00468599
mov dword [0x5fbcac], eax
push esi
mov ebx, eax
call fcn.0046864b
pop ecx
mov eax, dword [0x5fbcac]
test eax, eax
jne 0x44d4d7
push dword [edi]
push 3
call sub.ODBC32.dll_SQLFreeHandle
push dword [esi + 4]
call sub.ODBC32.dll_SQLDisconnect
push dword [esi + 4]
push 2
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x44d212
mov edi, eax
call fcn.00468969
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x10000
mov dword [esi + 0x6dc], eax
push eax
call fcn.004a76c7
pop ecx
mov dword [esi + 0x6d8], eax
call fcn.004757d4
lea edi, [esi + 0x514]
push str..ODBC.c
push edi
call fcn.0041b39e
pop ecx
pop ecx
mov esi, str.An_ODBC_handle_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.0041b599
mov eax, 0xdac
mov ecx, edi
call fcn.0041b5c2
mov eax, dword [ebp - 0x754]
call fcn.0044e0f3
mov eax, dword [ebp - 0x754]
jmp 0x44d550
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004bf774
ret