Function at 0x1800ad990
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xb0
mov rax, qword [0x1800f6ae8]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r12d, dword [rbp + 0x7f]
lea rbx, [0x180000000]
mov r10, r9
mov qword [rbp - 0x51], r9
mov r9, qword [rbp + 0x77]
mov r14, rdx
mov rdx, qword [rbp - 0x39]
xor r11d, r11d
lea esi, [r12 - 0x12]
mov qword [rbp - 0x49], r8
mov qword [rbp - 0x41], r9
mov r15, rcx
mov qword [rbp - 0x69], rdx
mov edi, r12d
cmp r12d, esi
jbe 0x1800adc5a
lea r13d, [r11 + 0x65]
lea r11d, [r13 - 0x1f]
lea ebx, [r12 - 0x2b]
cmp ebx, 0x37
ja case.0x1800ada30.2
lea rcx, [0x180000000]
movzx eax, byte [rcx + rbx + 0xae0e4]
mov ecx, dword [rcx + rax*4 + 0xae098]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov word [rbp - 0x1b], r13w
mov byte [rbp - 0x19], 0
jmp case.0x1800ada30.2
mov rax, qword [r14]
mov qword [rdx + 8], rax
jmp case.0x1800ada30.2
xor eax, eax
lea r8, [0x1800101f0]
mov qword [rsp + 0x28], rax
mov r9, r10
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r10, qword [rbp - 0x51]
mov r11d, 0x46
mov rdx, qword [rbp - 0x69]
mov r8, qword [rbp - 0x49]
mov r9, qword [rbp - 0x41]
mov qword [r10], rax
jmp case.0x1800ada30.2
lea rcx, [rbp - 0x19]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800ada90
mov eax, dword [0x1800e739c]
mov dword [rcx], eax
mov eax, dword [str.Quer]
mov dword [rbp - 0x16], eax
movzx eax, byte [0x1800e73a4]
mov byte [rbp - 0x12], al
jmp case.0x1800ada30.2
cmp dword [r8], 4
jne case.0x1800ada30.2
xor r8d, r8d
mov edx, 0xde
xor ecx, ecx
call fcn.180087000
mov r8, qword [rbp - 0x49]
mov r11d, 0x46
mov rdx, qword [rbp - 0x69]
mov r10, qword [rbp - 0x51]
mov r9, qword [rbp - 0x41]
mov dword [r8], eax
jmp case.0x1800ada30.2
cmp qword [r10], 0
je 0x1800adcb0
lea r8, [rbp - 0x59]
mov dword [rbp - 0x59], 1
mov rdx, r10
mov ecx, 0x74
call fcn.1800ac0d0
mov rdx, qword [rbp - 0x69]
mov r10, qword [rbp - 0x51]
mov r11d, 0x46
mov r8, qword [rbp - 0x49]
mov r9, qword [rbp - 0x41]
jmp case.0x1800ada30.2
mov eax, dword [r15]
mov dword [rdx + 0x10], eax
jmp case.0x1800ada30.2
mov eax, dword [0x1800e73b2]
mov dword [rbp - 9], eax
movzx eax, word [0x1800e73b6]
mov word [rbp - 5], ax
mov dword [rbp - 0x12], 0x415f79
jmp case.0x1800ada30.2
mov edx, 0xf8
mov qword [rbp - 0x39], 0x18
lea rcx, [rbp - 0x39]
call fcn.1800448e0
mov rdx, rax
mov qword [rbp - 0x69], rax
jmp 0x1800adb17
mov rcx, qword [r10]
mov eax, dword [rcx]
sub eax, 0x7f2bb708
cmp eax, 2
ja case.0x1800ada30.2
xor r9d, r9d
mov qword [rbp - 0x39], rcx
xor edx, edx
lea rcx, [rbp - 0x39]
lea r8d, [r9 + 0x2b]
call fcn.180060f00
mov eax, eax
jmp 0x1800add2a
mov dword [rbp - 0x21], 0x736e44
jmp case.0x1800ada30.2
xor eax, eax
mov dword [rbp - 3], 0x700061
mov word [rbp + 1], ax
jmp case.0x1800ada30.2
mov eax, 0x72
mov word [rbp - 0x1d], ax
mov word [rbp - 0x1c], r13w
jmp case.0x1800ada30.2
mov word [rbp - 0x1e], r11w
jmp case.0x1800ada30.2
mov eax, 0x42
cmp eax, 0x42
je 0x1800adbf4
cmp eax, 0xfc
je case.0x1800adcae.46
jmp 0x1800adbf8
mov byte [rbp - 0x61], 1
add eax, 0xba
cmp eax, 0x1b6
jb 0x1800adbe2
xor eax, eax
mov word [rbp - 3], ax
jmp case.0x1800ada30.2
mov qword [rdx], r9
jmp case.0x1800ada30.2
cmp qword [r10], 0
jne case.0x1800ada30.2
mov ecx, 0x8a
nop dword [rax]
mov eax, ecx
sub eax, 0x89
je case.0x1800adcae.46
cmp eax, 1
jne 0x1800adc3a
mov qword [rbp - 0x61], 0x16
dec ecx
cmp ecx, 0x88
ja 0x1800adc20
dec edi
dec ebx
cmp edi, esi
ja 0x1800ada07
xor r11d, r11d
lea rbx, [0x180000000]
lea r13d, [r12 + 0x1c2]
cmp r12d, r13d
jae case.0x1800adcae.46
mov r14, qword [rbp - 0x31]
mov edi, 0x6c
mov rsi, qword [rbp - 0x31]
mov r12, qword [rbp - 0x31]
mov ecx, dword [rbp + 0x7f]
nop
cmp ecx, 0x138
ja 0x1800ae062
je 0x1800adff2
lea eax, [rcx - 0x2c]
cmp eax, 0xf3
ja case.default.0x1800adcae
movzx eax, byte [rbx + rax + 0xae154]
mov ecx, dword [rbx + rax*4 + 0xae11c]
add rcx, rbx
jmp rcx
mov byte [rbp - 0x61], 0
jmp case.0x1800adcae.46
mov rdx, qword [r10]
mov eax, dword [rdx]
sub eax, 0x7f2bb76d
cmp eax, 2
jbe 0x1800adceb
mov ecx, 0xe
nop word [rax + rax]
mov eax, ecx
sub eax, 0xd
je case.0x1800adcae.46
cmp eax, 1
jne 0x1800adce4
mov qword [rbp - 0x61], 0x16
dec ecx
cmp ecx, 0xc
ja 0x1800adcd0
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x61], rax
mov ecx, dword [rbp + 0x7f]
mov rdx, qword [rbp - 0x69]
lea rbx, [0x180000000]
mov r10, qword [rbp - 0x51]
add ecx, 0x19
mov r8, qword [rbp - 0x49]
mov r11d, 0
mov r9, qword [rbp - 0x41]
mov dword [rbp + 0x7f], ecx
lea edi, [r11 + 0x6c]
cmp ecx, r13d
jb 0x1800adc80
mov rax, qword [rbp - 0x61]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1800d1090
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rsi, qword [rbp - 0x29]
jmp case.0x1800adcae.57
mov eax, dword [r8]
mov edi, 0xd7
mov dword [rdx + 0x14], eax
mov rbx, qword [r10 + 0x28]
nop word [rax + rax]
cmp edi, 0x817
ja 0x1800ade15
je 0x1800ade11
mov eax, edi
sub eax, 0x6d
je 0x1800ade06
sub eax, 0x6a
je 0x1800adddf
sub eax, 0x224
je 0x1800addad
sub eax, 0x28e
je 0x1800adda5
cmp eax, 0x58
jne 0x1800ade4d
inc dword [rbx + 0xc]
jmp 0x1800ade4d
mov r9d, 0xc
mov qword [rsp + 0x20], r11
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800c8150
mov rdx, qword [rbx + 0x10]
movsxd r8, dword [rbx]
shl r8, 3
lea rcx, [rdx + 8]
call sub.VCRUNTIME140.dll_memmove
mov rdx, qword [rbp - 0x69]
jmp 0x1800ade4d
test rbx, rbx
je case.0x1800adcae.57
mov r9d, 0xc
mov qword [rsp + 0x20], r11
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800c8150
mov rdx, qword [rbp - 0x69]
jmp 0x1800ade4d
test rbx, rbx
je case.0x1800adcae.57
jmp 0x1800ade4d
inc dword [rbx]
jmp 0x1800ade4d
mov eax, edi
sub eax, 0xaa5
je 0x1800ade49
sub eax, 0x46
je 0x1800ade3f
sub eax, 0x248
je 0x1800ade31
cmp eax, 0x2c2
jne 0x1800ade4d
movsxd rcx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
mov qword [rax + rcx*8], rdx
jmp 0x1800ade4d
mov eax, dword [rbx + 0xc]
inc dword [rbx]
mov dword [rbx + 8], eax
jmp 0x1800ade4d
mov dword [rbx + 8], r11d
add edi, 0x50a
mov r11d, 0
cmp edi, 0x3264
jbe 0x1800add70
jmp case.0x1800adcae.57
mov word [rbp + 9], r11w
jmp case.0x1800adcae.57
mov word [rbp + 0xb], r11w
mov edi, 0x7f
mov ebx, r11d
cmp ebx, 8
ja case.0x1800ade9d.3
lea rdx, [0x180000000]
mov eax, ebx
mov ecx, dword [rdx + rax*4 + 0xae248]
add rcx, rdx
jmp rcx
mov rax, qword [0x1800e7528]
lea rcx, str.dnsapi.dll
mov edx, dword [rbp - 0x21]
mov r9d, 1
mov qword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r8d, [r9 + 3]
call qword [rax + 0x28]
mov dword [rbp - 0x59], eax
jmp case.0x1800ade9d.3
lea rdx, [rbp - 0x21]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x59], rax
jmp case.0x1800ade9d.3
lea rcx, [0x1800e74e0]
nop dword [rax]
mov eax, dword [rbp - 0x21]
cmp dword [rcx + 8], eax
je 0x1800adf30
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1800adef0
jmp case.0x1800ade9d.3
xor r8d, r8d
lea rcx, str.dnsapi.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r12, rax
inc edi
inc ebx
cmp edi, 0x85
jb 0x1800ade81
mov r14, qword [rbp - 0x59]
jmp case.0x1800adcae.57
mov dword [rbp - 0x59], 0xffffffff
mov r14, qword [rbp - 0x59]
jmp case.0x1800adcae.57
mov dword [r15], 0xffffffff
jmp case.0x1800adcae.57
lea r8, [rbp - 9]
mov ecx, 0x7f
lea rdx, [rbp - 0x19]
call fcn.1800c3a10
mov qword [rbp - 0x31], rax
jmp case.0x1800adcae.57
mov word [rbp + 9], di
jmp case.0x1800adcae.57
mov r8d, 3
lea rdx, [0x1800e7446]
lea rcx, [rbp + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp case.0x1800adcae.57
mov edx, 1
mov qword [rsp + 0x28], r11
lea rax, [rbp - 0x29]
mov rcx, r10
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 0x67]
call qword [rbp - 0x31]
test eax, eax
je case.0x1800adcae.57
mov eax, 0xf9
cmp eax, 0xf9
je 0x1800adfca
cmp eax, 0xad22
je case.0x1800adcae.46
jmp 0x1800adfce
mov byte [rbp - 0x61], 0
add eax, 0xac29
cmp eax, 0x15852
jbe 0x1800adfb6
jmp case.0x1800adcae.57
mov word [rbp + 7], di
jmp case.0x1800adcae.57
mov word [rbp + 7], r11w
jmp case.0x1800adcae.57
test rsi, rsi
je case.default.0x1800adcae
nop dword [rax + rax]
mov edx, 0x9f
mov eax, edx
sub eax, 0x9f
je 0x1800ae018
cmp eax, 1
jne 0x1800ae04e
mov rsi, qword [rsi]
jmp 0x1800ae04e
cmp word [rsi + 0x10], 1
jne 0x1800ae04e
mov eax, 0x92
cmp eax, 0x92
je 0x1800ae03c
cmp eax, 0x287e
jne 0x1800ae042
mov ecx, 0x151
jmp case.default.0x1800adcae
mov ecx, dword [rsi + 0x20]
mov dword [r15], ecx
add eax, 0x27ec
cmp eax, 0x4fd8
jbe 0x1800ae024
inc edx
cmp edx, 0xa1
jb 0x1800ae005
test rsi, rsi
jne 0x1800ae000
jmp case.0x1800adcae.57
mov eax, ecx
sub eax, 0x151
je 0x1800ae032
sub eax, 0x19
je 0x1800ae07e
cmp eax, 0x19
je case.0x1800adcae.46
jmp case.default.0x1800adcae
mov rcx, qword [rbp - 0x29]
mov edx, 1
call r14
cmp dword [r15], 0xffffffff
setne byte [rbp - 0x61]
jmp case.0x1800adcae.57