Function at 0x140045ee0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400950c8]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edi, edi
xor ebx, ebx
lea rcx, [rsp + 0x1d1]
lea r8d, [rdi + 0x7f]
xor edx, edx
mov dword [rsp + 0x80], edi
mov dword [rsp + 0x88], ebx
mov byte [rsp + 0x1d0], bl
call fcn.14005fe50
lea r8d, [rdi + 0x7f]
lea rcx, [rsp + 0x151]
xor edx, edx
mov byte [rsp + 0x150], bl
call fcn.14005fe50
xor eax, eax
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x298], r12
mov qword [rsp + 0x2a0], r13
mov qword [rsp + 0x268], r14
mov byte [rsp + 0x108], bl
mov qword [rsp + 0x109], rax
mov qword [rsp + 0x260], r15
mov dword [rsp + 0x111], eax
mov word [rsp + 0x115], ax
mov byte [rsp + 0x117], al
mov byte [rsp + 0xb0], al
mov dword [rsp + 0xb1], eax
mov word [rsp + 0xb5], ax
mov byte [rsp + 0xb7], al
mov byte [rsp + 0x118], al
mov qword [rsp + 0x119], rax
mov qword [rsp + 0x121], rax
mov word [rsp + 0x129], ax
mov byte [rsp + 0x12b], al
mov byte [rsp + 0xf8], al
mov qword [rsp + 0xf9], rax
mov dword [rsp + 0x101], eax
mov word [rsp + 0x105], ax
mov byte [rsp + 0x107], al
mov byte [rsp + 0xa0], al
mov dword [rsp + 0xa1], eax
mov word [rsp + 0xa5], ax
mov byte [rsp + 0xa7], al
mov dword [rsp + 0x84], 0x32
mov byte [rsp + 0x130], al
mov qword [rsp + 0x131], rax
mov qword [rsp + 0x139], rax
mov qword [rsp + 0x141], rax
mov dword [rsp + 0x149], eax
mov word [rsp + 0x14d], ax
mov byte [rsp + 0x14f], al
mov dword [rsp + 0x8c], eax
lea rsi, [0x1400ad4c0]
nop word [rax + rax]
cmp ebx, 0xc8
ja 0x1400469f0
xor ecx, ecx
lea r8, str.User_d
mov r9d, eax
lea edx, [rcx + 0xf]
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rcx
lea rcx, [rsp + 0xb8]
call fcn.14005ff3c
lea rcx, [rsp + 0x1d0]
xor edx, edx
mov r8d, 0x80
call fcn.14005fe50
lea r9, [rsp + 0x1d0]
lea rdx, str.UserName
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1400460fc
inc ebx
mov dword [rsp + 0x88], ebx
jmp 0x1400469d5
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x1d0]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x1d0]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0x150]
xor edx, edx
mov r8d, 0x80
call fcn.14005fe50
lea r9, [rsp + 0x150]
lea rdx, str.Password
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1400469ce
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x150]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x150]
mov edx, edx
call fcn.14000cac0
xor ecx, ecx
lea r9, [rsp + 0x108]
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rcx
lea rdx, str.AccountStatus
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], SQLNumResultCols
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1400469c5
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x108]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x108]
mov edx, edx
call fcn.14000cac0
lea rdx, str.Enable
lea rcx, [rsp + 0x108]
call fcn.1400605e0
xor ecx, ecx
lea r9, [rsp + 0xb0]
test eax, eax
lea rdx, str.MaxConnectionPerIP
mov qword [rsp + 0x28], rsi
sete cl
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x90], ecx
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1400469bc
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xb0]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xb0]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0xb0]
call fcn.140061730
lea r9, [rsp + 0x118]
lea rdx, str.Speed
mov dword [rsp + 0x94], eax
xor eax, eax
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x128], eax
mov dword [rsp + 0x20], SQLColAttribute
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1400462f1
mov dword [rsp + 0x84], SQLFreeHandle
jmp 0x14004633c
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x118]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x118]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0x118]
call fcn.140004d50
test eax, eax
je 0x14004633c
lea rcx, [rsp + 0x118]
call fcn.140061730
mov dword [rsp + 0x84], eax
xor eax, eax
lea r9, [rsp + 0x130]
lea rdx, str.Expire
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], rax
mov dword [rsp + SQLSetConnectAttr], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1400463ac
mov eax, dword [str.Never]
lea rcx, [rsp + 0x130]
mov dword [rcx], eax
movzx eax, word [0x14007d8e8]
mov word [rcx + 4], ax
jmp 0x1400463d2
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x130]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x130]
mov edx, edx
call fcn.14000cac0
xor eax, eax
lea r9, [rsp + 0xf8]
lea rdx, str.IdleTimeOut
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor r15d, r15d
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x20], SQLNumResultCols
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x140046463
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xf8]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xf8]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0xf8]
call fcn.140004d50
test eax, eax
je 0x1400469b3
lea rcx, [rsp + 0xf8]
call fcn.140061730
mov r15d, eax
xor eax, eax
lea r9, [rsp + 0xa0]
lea rdx, str.TotalConnection
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor r14d, r14d
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1400464e8
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xa0]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xa0]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0xa0]
call fcn.140004d50
test eax, eax
je 0x1400464e8
lea rcx, [rsp + 0xa0]
call fcn.140061730
mov r14d, eax
xor eax, eax
lea r9, [rsp + 0xc8]
lea rdx, str.IsGlobalProxyEnable
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
lea r13d, [rax + 1]
mov byte [rsp + 0xc8], 0
mov dword [rsp + 0xc9], eax
mov word [rsp + 0xcd], ax
mov byte [rsp + 0xcf], al
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x140046580
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xc8]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xc8]
mov edx, edx
call fcn.14000cac0
lea rdx, [0x14007795c]
lea rcx, [rsp + 0xc8]
call fcn.1400605e0
xor r13d, r13d
test eax, eax
sete r13b
xor eax, eax
lea r9, [rsp + 0xe0]
lea rdx, str.BindedIP
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0xe0], 0
mov qword [rsp + 0xe1], rax
mov qword [rsp + 0xe9], rax
mov word [rsp + 0xf1], ax
mov byte [rsp + 0xf3], al
mov dword [rsp + 0x20], SQLColAttribute
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1400465e7
mov dword [rsp + 0xe0], 0x6c6c41
jmp 0x140046642
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xe0]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xe0]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0xe0]
call fcn.1400088b0
test eax, eax
jne 0x140046642
xor eax, eax
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xe0], 0x6c6c41
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0xf0], eax
xor eax, eax
lea r9, [rsp + 0xa8]
lea rdx, str.IsEncryptionEnable
lea rcx, str.SessionName
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0xa8], 0
mov dword [rsp + 0xa9], eax
mov word [rsp + 0xad], ax
mov byte [rsp + 0xaf], al
xor r12d, r12d
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x140046705
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xa8]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xa8]
mov edx, edx
call fcn.14000cac0
lea rdx, [0x14007795c]
lea rcx, [rsp + 0xa8]
call fcn.1400605e0
test eax, eax
je 0x1400466eb
lea rdx, [0x140077958]
lea rcx, [rsp + 0xa8]
call fcn.1400605e0
test eax, eax
jne 0x140046705
lea rdx, [0x14007795c]
lea rcx, [rsp + 0xa8]
call fcn.1400605e0
test eax, eax
sete r12b
xor eax, eax
lea r9, [rsp + 0xd8]
lea rdx, str.TCPNoDelay
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
lea ebp, [rax + 1]
mov byte [rsp + 0xd8], 0
mov dword [rsp + 0xd9], eax
mov word [rsp + 0xdd], ax
mov byte [rsp + 0xdf], al
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14004679b
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xd8]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xd8]
mov edx, edx
call fcn.14000cac0
lea rdx, [0x140077958]
lea rcx, [rsp + 0xd8]
call fcn.1400605e0
xor ebp, ebp
test eax, eax
setne bpl
xor eax, eax
lea r9, [rsp + 0xd0]
lea rdx, str.Direct
mov dword [rsp + 0xd1], eax
mov word [rsp + 0xd5], ax
mov byte [rsp + 0xd7], al
lea rax, [0x1400ad4c0]
lea rcx, [rsp + 0xb8]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov byte [rsp + 0xd0], 0
xor esi, esi
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x140046835
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xd0]
mov edx, edx
call fcn.14000cac0
lea rdx, [0x14007795c]
lea rcx, [rsp + 0xd0]
call fcn.1400605e0
test eax, eax
sete sil
xor eax, eax
lea r9, [rsp + 0x98]
lea rdx, str.BufferSize
lea ebx, [rax + 0x20]
mov dword [rsp + 0x99], eax
mov word [rsp + 0x9d], ax
mov byte [rsp + 0x9f], al
lea rax, [0x1400ad4c0]
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov byte [rsp + 0x98], 0
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1400468fb
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x98]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x98]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0x98]
call fcn.140004d50
test eax, eax
je 0x1400468fb
lea rcx, [rsp + 0x98]
call fcn.140061730
test eax, eax
jle 0x1400468fb
lea rcx, [rsp + 0x98]
call fcn.140061730
cmp eax, 0x400
jge 0x1400468fb
lea rcx, [rsp + 0x98]
call fcn.140061730
mov ebx, eax
mov r9d, dword [rsp + 0x90]
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x68], r13d
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x50], r12d
lea rax, [rsp + 0xe0]
lea r8, [rsp + 0x150]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], r14d
lea rax, [rsp + 0x130]
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x94]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xb8]
mov dword [rsp + 0x20], eax
call fcn.140039850
test eax, eax
je 0x14004699c
mov edi, dword [rsp + 0x80]
mov ebx, dword [rsp + 0x88]
lea rsi, [0x1400ad4c0]
inc edi
mov dword [rsp + 0x80], edi
jmp 0x1400469d5
mov edi, dword [rsp + 0x80]
mov ebx, dword [rsp + 0x88]
lea rsi, [0x1400ad4c0]
jmp 0x1400469d5
mov edi, dword [rsp + 0x80]
jmp 0x1400469d5
mov edi, dword [rsp + 0x80]
jmp 0x1400469d5
mov edi, dword [rsp + 0x80]
jmp 0x1400469d5
mov edi, dword [rsp + 0x80]
mov eax, dword [rsp + 0x8c]
inc eax
mov dword [rsp + 0x8c], eax
cmp eax, 0x3e8
jb 0x140046070
mov r15, qword [rsp + 0x260]
mov r14, qword [rsp + 0x268]
mov r13, qword [rsp + 0x2a0]
mov r12, qword [rsp + 0x298]
mov rbp, qword [rsp + 0x290]
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005fe20
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret