Function at 0x44529f
Capabilities:
Terminate process

Disassembly:
push 0x758
push 0x481528
call fcn.004698d0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x22c], eax
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x230], esi
mov byte [ebp - 0x220], 0
push 0x1ff
xor edi, edi
push edi
lea eax, [ebp - 0x21f]
push eax
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x240], edi
cmp esi, edi
jne 0x445318
lea eax, [ebp - 0x240]
mov dword [ebp - 0x230], eax
mov edx, ebx
call fcn.00429ac3
test eax, eax
jne 0x445636
xor ebx, ebx
inc ebx
push ebx
push 0x6e0
call fcn.00401a3a
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x228], esi
cmp esi, edi
je 0x445636
cmp dword [0x57f4f0], edi
jne 0x44535a
mov dword [0x57f4f0], ebx
call fcn.0044520c
push edi
mov ecx, dword [ebp - 0x22c]
call fcn.0044503d
pop ecx
mov dword [ebp - 4], edi
push esi
push edi
push ebx
call dword [sym.imp.ODBC32.dll_SQLAllocHandle]
movzx eax, ax
cmp ax, di
je 0x44538c
cmp ax, bx
je 0x44538c
push esi
call fcn.00401a00
pop ecx
jmp 0x44562f
push edi
push 3
push 0xc8
push dword [esi]
call dword [sym.imp.ODBC32.dll_SQLSetEnvAttr]
movzx eax, ax
cmp ax, di
je 0x4453b4
cmp ax, bx
je 0x4453b4
push dword [esi]
push ebx
call dword [sym.imp.ODBC32.dll_SQLFreeHandle]
jmp 0x445380
lea ebx, [esi + 4]
push ebx
push dword [esi]
push 2
call dword [sym.imp.ODBC32.dll_SQLAllocHandle]
movzx eax, ax
cmp ax, di
je 0x4453d6
cmp ax, 1
je 0x4453d6
push dword [esi]
push 1
jmp 0x4453ac
push edi
push 0xa
push 0x67
push dword [ebx]
call dword [sym.imp.ODBC32.dll_SQLSetConnectAttr]
push dword [ebp - 0x224]
lea eax, [esi + 0x410]
mov ecx, 0x104
call fcn.00428a08
pop ecx
lea eax, [esi + 0x408]
push edi
push eax
push 0x3ff
lea eax, [esi + 8]
push eax
push 0xfffffffffffffffd
lea eax, [ebp - 0x220]
push eax
push edi
push dword [ebx]
call dword [sym.imp.ODBC32.dll_SQLDriverConnect]
movzx eax, ax
movsx ecx, word [esi + 0x408]
mov byte [ecx + esi + 8], 0
cmp ax, di
je 0x445523
cmp ax, 1
je 0x445523
push dword [ebx]
push 2
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeHandle]
call ebx
push dword [esi]
push 1
call ebx
push esi
call fcn.00401a00
pop ecx
cmp dword [0x57f4fc], edi
jne 0x4454d3
xor esi, esi
inc esi
mov dword [0x57f4fc], esi
push esi
push 2
pop ecx
call fcn.0044503d
mov dword [0x57f4f4], esi
mov dword [esp], str.Data_source_name_not_found
call fcn.004444a9
push eax
call fcn.004294c0
pop ecx
pop ecx
test eax, eax
je 0x44549b
call fcn.004443d9
mov dword [0x57f4f8], esi
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x23c]
push dword [ebp - 0x234]
push dword [ebp - 0x238]
push dword [ebp - 0x224]
call fcn.0044529f
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x445638
mov byte [ebp - 0x768], 0
mov byte [ebp - 0x348], 0
mov byte [ebp - 0x660], 0
mov byte [ebp - 0x450], 0
mov byte [ebp - 0x558], 0
mov dword [0x57f4f4], edi
cmp dword [0x57f4f8], edi
je 0x44562f
push 1
push str.NeedAdminLogin.flg
push edi
call fcn.0043b3a3
pop ecx
pop ecx
mov ecx, eax
call fcn.0045a47d
jmp 0x445386
cmp dword [0x57f4f4], edi
je 0x445531
mov dword [0x57f4f4], edi
mov dword [0x57f4f8], edi
push str.NeedAdminLogin.flg
push edi
call fcn.0043b3a3
pop ecx
pop ecx
mov edi, eax
call fcn.004593b9
test eax, eax
je 0x445562
push str.NeedAdminLogin.flg
push 0
call fcn.0043b3a3
pop ecx
pop ecx
call fcn.0045946a
lea edi, [esi + 0x40c]
push edi
push dword [ebx]
push 3
call dword [sym.imp.ODBC32.dll_SQLAllocHandle]
mov eax, dword [0x57f4e8]
test eax, eax
jne 0x445586
call fcn.0042edb6
mov dword [0x57f4e8], eax
push esi
mov ebx, eax
call fcn.0042ed65
pop ecx
mov eax, dword [0x57f4e8]
test eax, eax
jne 0x4455bf
push dword [edi]
push 3
mov edi, dword [sym.imp.ODBC32.dll_SQLFreeHandle]
call edi
push dword [esi + 4]
call dword [sym.imp.ODBC32.dll_SQLDisconnect]
push dword [esi + 4]
push 2
call edi
push dword [esi]
push 1
call edi
jmp 0x445380
mov edi, eax
call fcn.0042ec2a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x10000
mov dword [esi + 0x6dc], eax
push eax
call fcn.004028f8
pop ecx
mov dword [esi + 0x6d8], eax
call fcn.00428a82
lea edi, [esi + 0x514]
push str.ODBC.c
push edi
call fcn.00456cc8
pop ecx
pop ecx
mov esi, str.An_ODBC_handle_had_to_be_forced_to_unlock___
mov eax, edi
call fcn.00456b53
mov eax, 0xdac
mov ecx, edi
call fcn.00456b40
mov eax, dword [ebp - 0x228]
call fcn.00444481
mov eax, dword [ebp - 0x228]
jmp 0x445638
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.00469918
ret