Function at 0x44d9c2
Capabilities:
Terminate process

Disassembly:
push 0x758
push 0x503f88
call fcn.004c3a9c
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.004ab5d0
add esp, 0xc
mov dword [ebp - 0x768], ebx
cmp esi, ebx
jne 0x44da31
lea eax, [ebp - 0x768]
mov dword [ebp - 0x758], eax
mov eax, dword [ebp + 0x18]
call fcn.0044e118
mov edx, edi
call fcn.00476b3a
test eax, eax
jne 0x44de29
xor edi, edi
inc edi
push edi
push 0x6e0
call fcn.004aa454
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x754], esi
cmp esi, ebx
je 0x44de29
cmp dword [0x60076c], ebx
jne 0x44da7b
mov dword [0x60076c], edi
call fcn.0044ec36
push dword [ebp + 0x18]
push ebx
push ebx
call fcn.0044ecce
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 0x44daac
cmp ax, di
je 0x44daac
push esi
call fcn.004aa2a8
pop ecx
jmp 0x44de22
push ebx
push 3
push 0xc8
push dword [esi]
call sub.ODBC32.dll_SQLSetEnvAttr
movzx eax, ax
cmp ax, bx
je 0x44dad2
cmp ax, di
je 0x44dad2
push dword [esi]
push edi
call sub.ODBC32.dll_SQLFreeHandle
jmp 0x44daa0
lea edi, [esi + 4]
push edi
push dword [esi]
push 2
call sub.ODBC32.dll_SQLAllocHandle
movzx eax, ax
cmp ax, bx
je 0x44daf3
cmp ax, 1
je 0x44daf3
push dword [esi]
push 1
jmp 0x44dacb
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.00476b6c
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.0044de31
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 0x44dd1e
cmp ax, 1
je 0x44dd1e
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.004aa2a8
pop ecx
cmp dword [0x600778], ebx
jne 0x44dc13
mov dword [0x600778], edi
push 2
push edi
push ebx
call fcn.0044ecce
add esp, 0xc
mov dword [0x600770], edi
push str.Data_source_name_not_found
call fcn.0044e042
push eax
call fcn.004777c9
pop ecx
pop ecx
test eax, eax
je 0x44dbde
call fcn.0044e10d
mov dword [0x600774], 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.0044d9c2
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x44de2b
mov byte [ebp - 0x12c], bl
mov esi, 0x103
push esi
push ebx
lea eax, [ebp - 0x12b]
push eax
call fcn.004ab5d0
add esp, 0xc
mov byte [ebp - 0x33c], bl
push esi
push ebx
lea eax, [ebp - 0x33b]
push eax
call fcn.004ab5d0
add esp, 0xc
mov byte [ebp - 0x54c], bl
push esi
push ebx
lea eax, [ebp - 0x54b]
push eax
call fcn.004ab5d0
add esp, 0xc
mov byte [ebp - 0x234], bl
push esi
push ebx
lea eax, [ebp - 0x233]
push eax
call fcn.004ab5d0
add esp, 0xc
mov byte [ebp - 0x444], bl
push esi
push ebx
lea eax, [ebp - 0x443]
push eax
call fcn.004ab5d0
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Server
push esi
mov eax, str.Driver
call fcn.0040ba4d
lea eax, [ebp - 0x33c]
push eax
push esi
mov edi, str.Setup
mov eax, edi
call fcn.0040ba4d
lea eax, [ebp - 0x444]
push eax
push esi
mov eax, str.DriverODBCVer
call fcn.0040ba4d
lea eax, [ebp - 0x54c]
push eax
mov esi, str.SoftwareODBCODBCINST.INISQL_Anywhere_10p
push esi
mov eax, str.Driver
call fcn.0040ba4d
lea eax, [ebp - 0x234]
push eax
push esi
mov eax, edi
call fcn.0040ba4d
add esp, 0x28
mov dword [0x600770], ebx
cmp dword [0x600774], ebx
je 0x44de22
push 1
push str.NeedAdminLogin.flg
push ebx
call fcn.0045ac28
pop ecx
pop ecx
mov ecx, eax
call fcn.0041bcac
jmp 0x44daa6
cmp dword [0x600770], ebx
je 0x44dd2c
mov dword [0x600770], ebx
mov dword [0x600774], ebx
push str.NeedAdminLogin.flg
push ebx
call fcn.0045ac28
pop ecx
pop ecx
mov edi, eax
call fcn.0041a629
test eax, eax
je 0x44dd5c
push str.NeedAdminLogin.flg
push ebx
call fcn.0045ac28
pop ecx
pop ecx
call fcn.0041a140
lea edi, [esi + 0x40c]
push edi
push dword [esi + 4]
push 3
call sub.ODBC32.dll_SQLAllocHandle
mov eax, dword [0x600764]
cmp eax, ebx
jne 0x44dd80
call fcn.0046aaee
mov dword [0x600764], eax
push esi
mov ebx, eax
call fcn.0046aba0
pop ecx
mov eax, dword [0x600764]
test eax, eax
jne 0x44ddb2
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 0x44daed
mov edi, eax
call fcn.0046aebe
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x10000
mov dword [esi + 0x6dc], eax
push eax
call fcn.004abb87
pop ecx
mov dword [esi + 0x6d8], eax
call fcn.00476abd
lea edi, [esi + 0x514]
push str..ODBC.c
push edi
call fcn.0041ebbf
pop ecx
pop ecx
mov esi, str.An_ODBC_handle_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.0041edba
mov eax, 0xdac
mov ecx, edi
call fcn.0041ede3
mov eax, dword [ebp - 0x754]
call fcn.0044e9ee
mov eax, dword [ebp - 0x754]
jmp 0x44de2b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004c3ae4
ret