Function at 0x180003ee0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7f8]
sub rsp, 0x8c0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov qword [rsp + 0x70], rdx
mov r15, rcx
or edi, 0xffffffff
mov dword [rsp + 0x40], edi
xor r14d, r14d
mov byte [rsp + 0x44], r14b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.180016020
mov dword [rsp + 0x68], 0x104
mov ebx, r14d
mov qword [rsp + 0x48], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x54], eax
mov r12d, dword [r15 + 0x7c]
mov qword [rsp + 0x60], r14
cmp dword [r15 + 0x50], 4
jl 0x180003f79
mov dword [rsp + 0x40], 0x57
jmp 0x180004645
mov ecx, 0x614
call fcn.18001446c
mov rsi, rax
mov qword [rsp + 0x58], rax
mov byte [rax], r14b
mov byte [rax + 0x100], r14b
mov byte [rax + 0x200], r14b
mov byte [rax + 0x300], r14b
mov byte [rax + 0x30b], r14b
mov byte [rax + 0x40b], r14b
mov dword [rax + 0x60b], 0x101
or dword [rax + 0x610], 0xffffffff
mov rcx, qword [r15 + 0x48]
mov qword [rsp + 0x58], r14
xor eax, eax
lea r14d, [rax + 0x57]
test rcx, rcx
je 0x1800041a4
cmp word [rcx], ax
je 0x1800041a4
lea rdx, [rsp + 0x58]
call fcn.180004694
mov dword [rsp + 0x50], eax
mov r13, qword [rsp + 0x58]
test eax, eax
jne 0x180004069
mov rcx, r13
call fcn.18000bea0
lea r8d, [r14 - 0x4d]
lea rdx, str._localDB_
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x180004034
mov dword [rsp + 0x50], r14d
mov r8d, 0xc3e7
mov edx, r14d
mov ecx, 9
call fcn.18000c5ec
jmp 0x180004069
mov r8d, 0xa
lea rdx, str._localDB__
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
xor ecx, ecx
test eax, eax
jne 0x180004069
or rax, 0xffffffffffffffff
inc rax
cmp word [r13 + rax*2], cx
jne 0x180004054
cmp eax, 0xa
je 0x18000401a
mov byte [rsp + 0x44], 1
xor eax, eax
test r13, r13
je 0x18000407a
mov rcx, r13
call fcn.180014578
xor eax, eax
cmp dword [rsp + 0x50], eax
jne 0x180004637
xor edi, edi
cmp byte [rsp + 0x44], dil
je 0x1800041a6
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x58]
call fcn.1800015f8
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
je 0x1800040c1
mov edx, eax
mov r8d, 0xc3b4
mov ecx, 9
call fcn.18000c5ec
jmp 0x1800045c2
lea rdx, [rsp + 0x60]
mov rcx, qword [r15 + 0x48]
call fcn.180004694
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1800045b0
mov rcx, qword [rsp + 0x60]
call fcn.18000bea0
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1800016e4
mov r13d, eax
test eax, eax
jne 0x18000413b
mov rdi, qword [rdi + 0x10]
mov rcx, rdi
call qword [fcn.1800154a0]
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x60]
add rcx, 0x14
call rdi
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18000413b
mov r8d, 0xc3e6
mov edx, eax
lea ecx, [r13 + 9]
call fcn.18000c5ec
jmp 0x180004143
mov edi, r13d
mov dword [rsp + 0x40], r13d
test edi, edi
jne 0x1800045b0
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x30b
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rbp - 0x80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1800041ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x40], eax
mov r8d, 0xc3b4
mov edx, eax
mov ecx, 9
call fcn.18000c5ec
jmp 0x1800045b0
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x30b
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, qword [r15 + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1800041ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x40], eax
mov edx, eax
jmp 0x1800040ac
movsxd rax, dword [r15 + 0x50]
lea rdx, [0x18001b9c0]
lea rcx, [rbp + 0x190]
mov qword [rsp + 0x28], rcx
mov rax, qword [rdx + rax*8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x18001b9a0]
mov edx, 0x30b
lea rcx, [rbp + 0x4a0]
call fcn.180001908
test eax, eax
jns 0x180004239
mov edi, r14d
mov dword [rsp + 0x40], r14d
jmp 0x1800045b0
mov ecx, dword [r15 + 0x88]
mov al, byte [r15 + 0x84]
cmp dword [r15 + 0x80], edi
setne r8b
mov byte [rsi + 0x60e], al
mov dword [rsi + 0x610], ecx
lea rdx, [rbp + 0x4a0]
mov rcx, rsi
call fcn.180002b68
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1800045b0
xor edi, edi
cmp byte [rsi + 0x300], dil
jne 0x1800042b4
lea r8, [rsi + 0x100]
mov rdx, rsi
lea rcx, [rsp + 0x48]
cmp byte [r15 + 0x8c], dil
je 0x1800042a7
lea r9, [0x18001b9a8]
jmp 0x1800042aa
xor r9d, r9d
call fcn.180005160
mov rbx, qword [rsp + 0x48]
mov r13d, 0xfffffffe
cmp dword [r15 + 0x74], edi
je 0x1800042d5
lea r13, [rsi + 0x40b]
mov rcx, r13
call fcn.180004cc4
or r14d, 0xffffffff
jmp 0x18000432f
or r14d, 0xffffffff
cmp dword [r15 + 0x7c], r14d
je 0x1800042f8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, dword [rsp + 0x54]
sub r12d, eax
add r12d, dword [r15 + 0x7c]
cmp r12d, r14d
cmove r12d, r13d
cmp byte [rsi + 0x60b], 1
jne 0x180004328
mov dword [rsp + 0x20], r12d
mov r9, qword [rsp + 0x70]
mov r8, r15
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.180003d34
cmp al, 1
jne 0x180004328
mov dword [rsp + 0x40], edi
jmp 0x1800045b0
lea r13, [rsi + 0x40b]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.1800037bc
mov edi, eax
mov dword [rsp + 0x40], eax
xor eax, eax
mov rbx, qword [rsp + 0x48]
test edi, edi
jne 0x1800045b0
test rbx, rbx
jne 0x180004371
mov edi, r14d
mov dword [rsp + 0x40], r14d
mov r8d, 0xc3cf
mov edx, r14d
jmp 0x180004195
mov r14b, al
cmp dword [rbx], 4
jne 0x180004402
or edi, 0xffffffff
cmp dword [r15 + 0x7c], edi
je 0x1800043a4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, dword [rsp + 0x54]
sub r12d, eax
add r12d, dword [r15 + 0x7c]
cmp r12d, edi
mov eax, 0xfffffffe
cmove r12d, eax
mov dword [rsp + 0x20], r12d
mov r9, qword [rsp + 0x70]
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call fcn.180003bd4
mov edi, eax
mov dword [rsp + 0x40], eax
xor eax, eax
test edi, edi
jne 0x1800043df
cmp byte [rsi + 0x60b], al
je 0x1800045b0
mov rdx, rbx
mov rcx, r13
jmp 0x1800045ab
mov r14b, 1
mov rcx, rbx
mov rbx, qword [rbx + 0x408]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x180004402
mov edx, 0x410
call fcn.180014578
xor eax, eax
lea r13, [rsi + 0x200]
cmp byte [rsp + 0x44], al
je 0x18000446e
lea r8, [rsp + 0x48]
mov rdx, r13
mov rcx, rsi
call fcn.1800119f0
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
je 0x180004445
mov r8d, 0xc3ce
mov edx, eax
mov ecx, 9
call fcn.18000c5ec
mov rbx, qword [rsp + 0x48]
jmp 0x1800045b0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
jne 0x18000446e
or ecx, 0xffffffff
mov edi, ecx
mov dword [rsp + 0x40], ecx
test r14b, r14b
jne 0x1800045b0
mov r8d, 0xc3d0
mov edx, ecx
jmp 0x180004195
mov r14, rbx
test rbx, rbx
je 0x1800045b0
or edi, 0xffffffff
cmp dword [r15 + 0x7c], edi
je 0x1800044a1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, dword [rsp + 0x54]
sub r12d, eax
add r12d, dword [r15 + 0x7c]
cmp r12d, edi
mov eax, 0xfffffffe
cmove r12d, eax
cmp dword [r14], 7
jne 0x1800044c1
mov al, byte [rsi + 0x60e]
mov byte [r14 + 0x309], al
mov eax, dword [rsi + 0x610]
mov dword [r14 + 0x30c], eax
mov dword [rsp + 0x20], r12d
mov r9, qword [rsp + 0x70]
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.180003bd4
mov edi, eax
mov dword [rsp + 0x40], eax
xor eax, eax
test edi, edi
je 0x180004599
lea rdx, [rsi + 0x300]
lea rcx, str.admin
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
xor ecx, ecx
test eax, eax
jne 0x180004580
cmp byte [r13], cl
jne 0x180004580
lea r13, [r14 + 0x208]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, 0x59a
cmp eax, ecx
jne 0x180004580
lea r8, [rsp + 0x44]
lea rdx, str.MSSQLServer
mov rcx, rsi
call fcn.1800114d8
test al, al
jne 0x180004544
mov r8d, 0xc3df
or edx, 0xffffffff
jmp 0x180004558
mov eax, 0x59a
cmp ax, word [rsp + 0x44]
jne 0x180004564
mov r8d, 0xc3de
mov edx, edi
mov ecx, 9
call fcn.18000c5ec
jmp 0x180004580
movzx r9d, word [rsp + 0x44]
lea r8, [0x18001b988]
mov edx, 0x100
mov rcx, r13
call fcn.180002a48
jmp 0x180004587
mov r14, qword [r14 + 0x408]
test r14, r14
lea r13, [rsi + 0x200]
jne 0x18000447a
jmp 0x1800045b0
cmp byte [rsi + 0x60b], al
je 0x1800045b0
mov rdx, r14
lea rcx, [rsi + 0x40b]
call fcn.180004d2c
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1800045c2
mov rcx, rax
call fcn.180014578
xor eax, eax
test edi, edi
jne 0x180004637
lea r8, [0x18001b8e0]
cmp byte [rsi + 0x60c], al
lea rax, [rsi + 0x200]
cmovne r8, rax
mov edx, dword [r15 + 0x70]
mov rcx, qword [r15 + 0x68]
lea rax, [rdx - 1]
mov r9d, 0x7ffffffe
cmp rax, r9
ja 0x18000462c
sub r9, rdx
sub r8, rcx
xor r15d, r15d
lea rax, [rdx + r9]
test rax, rax
je 0x18000461c
mov al, byte [rcx + r8]
test al, al
je 0x18000461c
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x180004600
lea rax, [rcx - 1]
test rdx, rdx
cmovne rax, rcx
mov byte [rax], r15b
jmp 0x180004637
xor r15d, r15d
test rdx, rdx
je 0x180004637
mov byte [rcx], r15b
mov edx, 0x614
mov rcx, rsi
call fcn.180014578
nop
mov rcx, rbx
test rbx, rbx
je 0x180004665
mov rbx, qword [rbx + 0x408]
mov qword [rsp + 0x48], rbx
mov edx, 0x410
call fcn.180014578
jmp 0x180004645
mov eax, dword [rsp + 0x40]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.180014440
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret