Function at 0x140039c60
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x278
mov rax, qword [0x1400950c8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r14d, r14d
lea rcx, [rsp + 0x1e1]
xor edx, edx
mov ebx, r14d
lea r8d, [r14 + 0x7f]
mov edi, r14d
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x80], r14d
mov byte [rsp + 0x1e0], bl
call fcn.14005fe50
lea r8d, [r14 + 0x7f]
lea rcx, [rsp + 0x161]
xor edx, edx
mov byte [rsp + 0x160], bl
call fcn.14005fe50
xor eax, eax
mov qword [rsp + 0x2a0], rbp
mov qword [rsp + 0x2a8], r12
mov qword [rsp + 0x2b0], r13
mov qword [rsp + 0x111], rax
mov dword [rsp + 0x119], eax
mov word [rsp + 0x11d], ax
mov byte [rsp + 0x11f], al
mov byte [rsp + 0xb8], al
mov dword [rsp + 0xb9], eax
mov word [rsp + 0xbd], ax
mov byte [rsp + 0xbf], al
mov byte [rsp + 0x120], al
mov qword [rsp + 0x121], rax
mov qword [rsp + 0x129], rax
mov word [rsp + 0x131], ax
mov byte [rsp + 0x133], al
mov byte [rsp + 0xe8], al
mov qword [rsp + 0xe9], rax
mov dword [rsp + 0xf1], eax
mov word [rsp + 0xf5], ax
mov byte [rsp + 0xf7], al
mov byte [rsp + 0xa8], al
mov dword [rsp + 0xa9], eax
mov word [rsp + 0xad], ax
mov byte [rsp + 0xaf], al
mov byte [rsp + 0x138], al
mov qword [rsp + 0x139], rax
mov qword [rsp + 0x141], rax
mov qword [rsp + 0x149], rax
mov dword [rsp + 0x151], eax
mov word [rsp + 0x155], ax
mov byte [rsp + 0x157], al
mov dword [rsp + 0x8c], eax
mov qword [rsp + 0x270], r15
mov byte [rsp + 0x110], bl
mov dword [rsp + 0x84], 0x32
lea rsi, [0x1400ad4c0]
nop word [rax + rax]
cmp edi, 0xc8
ja 0x14003a780
xor ecx, ecx
lea r8, str.User_d
mov r9d, eax
lea edx, [rcx + 0xf]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], rcx
lea rcx, [rsp + 0xc0]
call fcn.14005ff3c
lea rcx, [rsp + 0x1e0]
xor edx, edx
mov r8d, 0x80
call fcn.14005fe50
lea r9, [rsp + 0x1e0]
lea rdx, str.UserName
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x140039e7c
inc edi
mov dword [rsp + 0x80], edi
jmp 0x14003a765
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x1e0]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x1e0]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x80
call fcn.14005fe50
lea r9, [rsp + 0x160]
lea rdx, str.Password
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a75e
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x160]
mov edx, edx
call fcn.14000cac0
xor ecx, ecx
lea r9, [rsp + 0x110]
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rcx
lea rdx, str.AccountStatus
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], SQLNumResultCols
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a755
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x110]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x110]
mov edx, edx
call fcn.14000cac0
lea rdx, str.Enable
lea rcx, [rsp + 0x110]
call fcn.1400605e0
mov ecx, r14d
lea r9, [rsp + 0xb8]
test eax, eax
lea rdx, str.MaxConnectionPerIP
mov qword [rsp + 0x28], rsi
sete cl
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x94], ecx
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a74c
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xb8]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xb8]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0xb8]
call fcn.140061730
lea r9, [rsp + 0x120]
lea rdx, str.Speed
mov dword [rsp + 0x98], eax
xor eax, eax
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x130], eax
mov dword [rsp + 0x20], SQLColAttribute
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x14003a072
mov dword [rsp + 0x84], SQLFreeHandle
jmp 0x14003a0bd
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x120]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x120]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0x120]
call fcn.140004d50
test eax, eax
je 0x14003a0bd
lea rcx, [rsp + 0x120]
call fcn.140061730
mov dword [rsp + 0x84], eax
xor eax, eax
lea r9, [rsp + 0x138]
lea rdx, str.Expire
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], rax
mov dword [rsp + SQLSetConnectAttr], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x14003a12d
mov eax, dword [str.Never]
lea rcx, [rsp + 0x138]
mov dword [rcx], eax
movzx eax, word [0x14007d8e8]
mov word [rcx + 4], ax
jmp 0x14003a153
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x138]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0x138]
mov edx, edx
call fcn.14000cac0
xor eax, eax
lea r9, [rsp + 0xe8]
lea rdx, str.IdleTimeOut
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x90], r14d
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x20], SQLNumResultCols
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a1ed
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xe8]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xe8]
mov edx, edx
call fcn.14000cac0
lea rcx, [rsp + 0xe8]
call fcn.140004d50
test eax, eax
je 0x14003a743
lea rcx, [rsp + 0xe8]
call fcn.140061730
mov dword [rsp + 0x90], eax
xor eax, eax
lea r9, [rsp + 0xa8]
lea rdx, str.TotalConnection
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov r15d, r14d
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a272
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 rcx, [rsp + 0xa8]
call fcn.140004d50
test eax, eax
je 0x14003a272
lea rcx, [rsp + 0xa8]
call fcn.140061730
mov r15d, eax
xor eax, eax
lea r9, [rsp + 0xe0]
lea rdx, str.IsGlobalProxyEnable
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
lea r13d, [rax + 1]
mov byte [rsp + 0xe0], r14b
mov dword [rsp + 0xe1], eax
mov word [rsp + 0xe5], ax
mov byte [rsp + 0xe7], al
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a30a
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 rdx, [0x14007795c]
lea rcx, [rsp + 0xe0]
call fcn.1400605e0
mov r13d, r14d
test eax, eax
sete r13b
xor eax, eax
lea r9, [rsp + 0xf8]
lea rdx, str.BindedIP
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0xf8], r14b
mov qword [rsp + 0xf9], rax
mov qword [rsp + 0x101], rax
mov word [rsp + 0x109], ax
mov byte [rsp + 0x10b], al
mov dword [rsp + 0x20], SQLColAttribute
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x14003a371
mov dword [rsp + 0xf8], 0x6c6c41
jmp 0x14003a3cc
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.1400088b0
test eax, eax
jne 0x14003a3cc
xor eax, eax
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0xf8], 0x6c6c41
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x108], eax
xor eax, eax
lea r9, [rsp + 0xb0]
lea rdx, str.IsEncryptionEnable
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0xb0], r14b
mov dword [rsp + 0xb1], eax
mov word [rsp + 0xb5], ax
mov byte [rsp + 0xb7], al
mov r12d, r14d
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a490
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 rdx, [0x14007795c]
lea rcx, [rsp + 0xb0]
call fcn.1400605e0
test eax, eax
je 0x14003a476
lea rdx, [0x140077958]
lea rcx, [rsp + 0xb0]
call fcn.1400605e0
test eax, eax
jne 0x14003a490
lea rdx, [0x14007795c]
lea rcx, [rsp + 0xb0]
call fcn.1400605e0
test eax, eax
sete r12b
xor eax, eax
lea r9, [rsp + 0xd8]
lea rdx, str.TCPNoDelay
lea rcx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rsi
lea ebp, [rax + 1]
mov byte [rsp + 0xd8], r14b
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 0x14003a527
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
mov ebp, r14d
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 + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov byte [rsp + 0xd0], r14b
mov esi, r14d
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a5c2
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 + 0xa0]
lea rdx, str.BufferSize
lea ebx, [rax + 0x20]
mov dword [rsp + 0xa1], eax
mov word [rsp + 0xa5], ax
mov byte [rsp + 0xa7], al
lea rax, [0x1400ad4c0]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov byte [rsp + 0xa0], r14b
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14003a688
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 0x14003a688
lea rcx, [rsp + 0xa0]
call fcn.140061730
test eax, eax
jle 0x14003a688
lea rcx, [rsp + 0xa0]
call fcn.140061730
cmp eax, 0x400
jge 0x14003a688
lea rcx, [rsp + 0xa0]
call fcn.140061730
mov ebx, eax
mov r9d, dword [rsp + 0x94]
mov dword [rsp + 0x78], r14d
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 + 0xf8]
lea r8, [rsp + 0x160]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x138]
lea rdx, [rsp + 0x1e0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x84]
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x20], eax
call fcn.140039850
test eax, eax
je 0x14003a72c
mov ebx, dword [rsp + 0x88]
mov edi, dword [rsp + 0x80]
lea rsi, [0x1400ad4c0]
inc ebx
mov dword [rsp + 0x88], ebx
jmp 0x14003a765
mov edi, dword [rsp + 0x80]
mov ebx, dword [rsp + 0x88]
lea rsi, [0x1400ad4c0]
jmp 0x14003a765
mov edi, dword [rsp + 0x80]
jmp 0x14003a765
mov edi, dword [rsp + 0x80]
jmp 0x14003a765
mov edi, dword [rsp + 0x80]
jmp 0x14003a765
mov edi, dword [rsp + 0x80]
mov eax, dword [rsp + 0x8c]
inc eax
mov dword [rsp + 0x8c], eax
cmp eax, 0x3e8
jb 0x140039df0
mov r15, qword [rsp + 0x270]
mov r13, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2a8]
mov rbp, qword [rsp + 0x2a0]
test ebx, ebx
setne r14b
mov eax, r14d
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005fe20
add rsp, 0x278
pop r14
pop rdi
pop rsi
pop rbx
ret