Function at 0x44eb87
Capabilities:
Terminate process

Disassembly:
push 0x758
push 0x4ff808
call fcn.004c129c
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.004a8c80
add esp, 0xc
mov dword [ebp - 0x768], ebx
cmp esi, ebx
jne 0x44ebf6
lea eax, [ebp - 0x768]
mov dword [ebp - 0x758], eax
mov eax, dword [ebp + 0x18]
call fcn.0044f2dc
mov edx, edi
call fcn.00477a16
test eax, eax
jne 0x44efee
xor edi, edi
inc edi
push edi
push 0x6e0
call fcn.004a7b08
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x754], esi
cmp esi, ebx
je 0x44efee
cmp dword [0x5fdcb4], ebx
jne 0x44ec40
mov dword [0x5fdcb4], edi
call fcn.0044fe19
push dword [ebp + 0x18]
push ebx
push ebx
call fcn.0044feb1
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 0x44ec71
cmp ax, di
je 0x44ec71
push esi
call fcn.004a795c
pop ecx
jmp 0x44efe7
push ebx
push 3
push 0xc8
push dword [esi]
call sub.ODBC32.dll_SQLSetEnvAttr
movzx eax, ax
cmp ax, bx
je 0x44ec97
cmp ax, di
je 0x44ec97
push dword [esi]
push edi
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x44ec65
lea edi, [esi + 4]
push edi
push dword [esi]
push 2
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, bx
je 0x44ecb8
cmp ax, 1
je 0x44ecb8
push dword [esi]
push 1
jmp 0x44ec90
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.00477a48
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.0044eff6
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 0x44eee3
cmp ax, 1
je 0x44eee3
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.004a795c
pop ecx
cmp dword [0x5fdcc0], ebx
jne 0x44edd8
mov dword [0x5fdcc0], edi
push 2
push edi
push ebx
call fcn.0044feb1
add esp, 0xc
mov dword [0x5fdcb8], edi
push str.Data_source_name_not_found
call fcn.0044f207
push eax
call fcn.004785e7
pop ecx
pop ecx
test eax, eax
je 0x44eda3
call fcn.0044f2d1
mov dword [0x5fdcbc], 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.0044eb87
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x44eff0
mov byte [ebp - 0x12c], bl
mov esi, 0x103
push esi
push ebx
lea eax, [ebp - 0x12b]
push eax
call fcn.004a8c80
add esp, 0xc
mov byte [ebp - 0x33c], bl
push esi
push ebx
lea eax, [ebp - 0x33b]
push eax
call fcn.004a8c80
add esp, 0xc
mov byte [ebp - 0x54c], bl
push esi
push ebx
lea eax, [ebp - 0x54b]
push eax
call fcn.004a8c80
add esp, 0xc
mov byte [ebp - 0x234], bl
push esi
push ebx
lea eax, [ebp - 0x233]
push eax
call fcn.004a8c80
add esp, 0xc
mov byte [ebp - 0x444], bl
push esi
push ebx
lea eax, [ebp - 0x443]
push eax
call fcn.004a8c80
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Server
push esi
mov eax, str.Driver
call fcn.0040c4c2
lea eax, [ebp - 0x33c]
push eax
push esi
mov edi, str.Setup
mov eax, edi
call fcn.0040c4c2
lea eax, [ebp - 0x444]
push eax
push esi
mov eax, str.DriverODBCVer
call fcn.0040c4c2
lea eax, [ebp - 0x54c]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Anywhere_10p
push esi
mov eax, str.Driver
call fcn.0040c4c2
lea eax, [ebp - 0x234]
push eax
push esi
mov eax, edi
call fcn.0040c4c2
add esp, 0x28
mov dword [0x5fdcb8], ebx
cmp dword [0x5fdcbc], ebx
je 0x44efe7
push 1
push str.NeedAdminLogin.flg
push ebx
call fcn.0045bc06
pop ecx
pop ecx
mov ecx, eax
call fcn.0041b2a4
jmp 0x44ec6b
cmp dword [0x5fdcb8], ebx
je 0x44eef1
mov dword [0x5fdcb8], ebx
mov dword [0x5fdcbc], ebx
push str.NeedAdminLogin.flg
push ebx
call fcn.0045bc06
pop ecx
pop ecx
mov edi, eax
call fcn.00419e19
test eax, eax
je 0x44ef21
push str.NeedAdminLogin.flg
push ebx
call fcn.0045bc06
pop ecx
pop ecx
call fcn.004199a1
lea edi, [esi + 0x40c]
push edi
push dword [esi + 4]
push 3
call sub.ODBC32.dll_SQLAllocHandle
mov eax, dword [0x5fdcac]
cmp eax, ebx
jne 0x44ef45
call fcn.0046a3c9
mov dword [0x5fdcac], eax
push esi
mov ebx, eax
call fcn.0046a47b
pop ecx
mov eax, dword [0x5fdcac]
test eax, eax
jne 0x44ef77
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 0x44ecb2
mov edi, eax
call fcn.0046a799
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x10000
mov dword [esi + 0x6dc], eax
push eax
call fcn.004a9237
pop ecx
mov dword [esi + 0x6d8], eax
call fcn.00477999
lea edi, [esi + 0x514]
push str..ODBC.c
push edi
call fcn.0041c68c
pop ecx
pop ecx
mov esi, str.An_ODBC_handle_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.0041c887
mov eax, 0xdac
mov ecx, edi
call fcn.0041c8b0
mov eax, dword [ebp - 0x754]
call fcn.0044fbed
mov eax, dword [ebp - 0x754]
jmp 0x44eff0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004c12e4
ret