Function at 0x180005ab7
Capabilities:
Prepare http request

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
movdqa xmmword [rsp + 0x1f0], xmm8
movdqa xmmword [rsp + 0x1e0], xmm7
movdqa xmmword [rsp + 0x1d0], xmm6
mov rdi, rdx
mov rsi, rcx
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, r8
mov r8, r9
call fcn.18001e24b
lea r9, [rsp + 0x168]
mov dword [r9], 0x68
and qword [r9 + 8], 0
mov eax, 0xffffffff
mov qword [r9 + 0x10], rax
and qword [r9 + 0x18], 0
or dword [r9 + 0x20], 0xffffffff
and word [r9 + 0x24], 0
and qword [r9 + 0x28], 0
and dword [r9 + 0x30], 0
and qword [r9 + 0x38], 0
and dword [r9 + 0x40], 0
and qword [r9 + 0x48], 0
or dword [r9 + 0x50], 0xffffffff
and qword [r9 + 0x58], 0
or dword [r9 + 0x60], 0xffffffff
mov rbx, qword [rbx + 8]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.winhttp.dll_WinHttpCrackUrl]
test eax, eax
je 0x180005d05
mov qword [rsp + 0x50], rsi
mov rdx, qword [rsp + 0x180]
test rdx, rdx
je 0x1800062f1
mov r8d, dword [rsp + 0x188]
lea rbx, [rsp + 0x108]
mov rcx, rbx
call fcn.1800474f0
mov r14, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, r14
call fcn.180059770
mov r12, qword [r15 + 8]
mov r8, qword [r15 + 0x10]
lea r13, [rsp + 0xd8]
mov rcx, r13
mov rdx, r12
call fcn.18001ec38
mov rcx, qword [r15]
mov rdx, r12
call fcn.18001ec63
mov rcx, qword [rbx]
mov rdx, r14
call fcn.18001bead
mov r12, qword [r13 + 8]
mov r13, qword [r13 + 0x10]
lea rsi, [rdi + 8]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 8], cl
jne 0x180006258
mov qword [rsp + 0x48], rsi
lea rcx, [rdi + 9]
call fcn.18001cfc2
and dl, 1
test al, 1
jne 0x1800062fd
mov byte [rsp + 0x47], dl
mov qword [rsp + 0x58], rdi
cmp qword [rdi + 0x28], 0
je 0x180005d3a
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x38]
mov r8, r12
mov r9, r13
call fcn.18001da18
mov rdi, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
mov rbp, r15
and rbp, rax
shr rax, 0x39
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
xor esi, esi
lea rbx, [rsp + 0x108]
pcmpeqd xmm7, xmm7
movdqu xmm8, xmmword [rdi + rbp]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb eax, xmm0
mov word [rsp + 0x108], ax
mov rcx, rbx
call fcn.18000a547
test rax, rax
je 0x180005cce
add rdx, rbp
and rdx, r15
shl rdx, 5
mov r14, rdi
sub r14, rdx
mov r8, qword [r14 - 0x18]
mov r9, qword [r14 - 0x10]
mov rcx, r12
mov rdx, r13
call fcn.18001dd28
test al, al
je 0x180005c98
jmp 0x180005cec
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
jne 0x180005d3a
add rbp, rsi
add rbp, 0x10
add rsi, 0x10
and rbp, r15
jmp 0x180005c7d
mov rbp, qword [r14 - 8]
lock inc qword [rbp]
mov rsi, qword [rsp + 0x48]
jg 0x180005f16
jmp 0x180006335
call fcn.18001ec21
mov rdi, rax
mov ecx, 8
mov edx, 8
call fcn.18001ba0a
mov qword [rax], rdi
mov qword [rsi + 8], rax
lea rax, fcn.18001ba3c
mov qword [rsi + 0x10], rax
mov qword [rsi], 3
jmp 0x18000621b
and qword [rsp + 0xf0], 0
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r12
mov r8, r13
call fcn.18001e24b
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsi]
mov r14, qword [rbx + 8]
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.winhttp.dll_WinHttpConnect]
test rax, rax
je 0x18000619e
mov rcx, rax
call fcn.18001ec77
mov rdi, rax
lea rbx, [rsp + 0x108]
mov rcx, rbx
mov rdx, r12
mov r8, r13
call fcn.18001be0a
mov rax, qword [rbx]
mov r12, qword [rbx + 8]
mov r13, qword [rbx + 0x10]
lock inc qword [rdi]
jle 0x180006335
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rdi
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x38]
mov r8, r12
mov r9, r13
call fcn.18001da18
mov rdi, rax
cmp qword [rsi + 0x20], 0
je 0x180006265
mov rbp, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
mov rbx, r15
and rbx, rdi
shr rdi, 0x39
mov qword [rsp + 0xb0], rdi
movd xmm0, edi
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
xor edi, edi
lea r14, [rsp + 0x108]
pcmpeqd xmm7, xmm7
xor eax, eax
mov qword [rsp + 0x78], rax
movdqu xmm8, xmmword [rbp + rbx]
movdqa xmm0, xmm6
pcmpeqb xmm0, xmm8
pmovmskb eax, xmm0
mov word [rsp + 0x108], ax
mov rcx, r14
call fcn.18000a547
test rax, rax
je 0x180005e76
add rdx, rbx
and rdx, r15
shl rdx, 5
mov rsi, rbp
sub rsi, rdx
mov r8, qword [rsi - 0x18]
mov r9, qword [rsi - 0x10]
mov rcx, r12
mov rdx, r13
call fcn.18001dd28
test al, al
je 0x180005e40
jmp 0x180005ed2
cmp qword [rsp + 0x78], 1
mov eax, 1
je 0x180005ea8
movdqa xmmword [rsp + 0x140], xmm8
mov rcx, r15
lea rdx, [rsp + 0x140]
mov r8, rbx
call fcn.18000a96d
mov qword [rsp + 0xa8], rdx
pcmpeqb xmm8, xmm7
pmovmskb ecx, xmm8
test ecx, ecx
jne 0x180006277
mov qword [rsp + 0x78], rax
add rbx, rdi
add rbx, 0x10
add rdi, 0x10
and rbx, r15
jmp 0x180005e24
mov rdi, qword [rsi - 8]
mov rbp, qword [rsp + 0x70]
mov qword [rsi - 8], rbp
mov rcx, qword [rsp + 0x60]
mov rdx, r12
call fcn.18001bead
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
lea rcx, [rsp + 0x108]
mov qword [rcx], rdi
call fcn.18001eca4
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
call fcn.18001e09c
mov rcx, rsi
mov dl, byte [rsp + 0x47]
call fcn.180060d58
mov qword [rsp + 0xb8], rbp
mov rdx, qword [rsp + 0x1b0]
test rdx, rdx
je 0x180006337
mov r8d, dword [rsp + 0x1b8]
lea rdi, [rsp + 0x108]
mov rcx, rdi
call fcn.1800474f0
mov rbx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, rbx
call fcn.180059770
mov r15, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
lea r12, [rsp + 0x150]
mov rcx, r12
mov rdx, r15
call fcn.18001ec38
mov rcx, qword [r14]
mov rdx, r15
call fcn.18001ec63
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.18001bead
mov rdi, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
lea rbx, [rsp + 0xf0]
mov rcx, rbx
mov rdx, rdi
call fcn.18001e24b
mov rcx, qword [rbp + 0x10]
mov rbx, qword [rbx + 8]
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x800000
lea rdx, [0x18006eb28]
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.winhttp.dll_WinHttpOpenRequest]
test rax, rax
je 0x18000613a
mov r14, rax
lea rdx, [0x18001ecaf]
mov rcx, rax
mov r8d, 0xffffffff
xor r9d, r9d
call qword [sym.imp.winhttp.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x18000613a
lea r15, [rsp + 0x108]
mov rcx, r15
call fcn.18001e71c
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
movups xmm6, xmmword [r15 + 0x28]
mov edx, 1
xor ecx, ecx
call fcn.18001ba0a
mov r15, rax
mov ecx, 0x28
mov edx, 8
call fcn.18001ba0a
mov r12, rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov rax, qword [rsp + 0xa0]
mov qword [r12 + 0x20], rax
mov rcx, r14
call fcn.18001ec77
mov r14, rax
mov ecx, 0x2000
mov edx, 1
call fcn.18001ba0a
mov r13, rax
mov r8d, 0x2000
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x50]
movups xmmword [rcx], xmm6
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], r15
lea rax, [0x18006f650]
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], r13
mov qword [rcx + 0x38], r12
and qword [rcx + 0x40], 0
mov rcx, qword [rsp + 0xf0]
mov rdx, rbx
call fcn.18001e09c
mov rcx, qword [rsp + 0x150]
mov rdx, rdi
call fcn.18001bead
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
call fcn.18001bead
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
jmp 0x180006226
call fcn.18001ec21
mov r14, rax
mov ecx, 8
mov edx, 8
call fcn.18001ba0a
mov qword [rax], r14
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
lea rax, fcn.18001ba3c
mov qword [rcx + 0x10], rax
mov qword [rcx], 3
mov rcx, qword [rsp + 0xf0]
mov rdx, rbx
call fcn.18001e09c
mov rcx, qword [rsp + 0x150]
mov rdx, rdi
call fcn.18001bead
lea rcx, [rsp + 0xb8]
call fcn.18001e23c
jmp 0x1800061fe
call fcn.18001e707
mov rdi, rax
mov rcx, qword [rsp + 0x80]
mov rdx, r14
call fcn.18001e09c
mov rcx, qword [rsp + 0x48]
mov dl, byte [rsp + 0x47]
call fcn.180060d58
lea rcx, [rsp + 0xf0]
call fcn.18001eca4
mov ecx, 8
mov edx, 8
call fcn.18001ba0a
mov qword [rax], rdi
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
lea rax, fcn.18001ba3c
mov qword [rcx + 0x10], rax
mov qword [rcx], 3
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
call fcn.18001bead
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
mov rdx, rbx
call fcn.18001e09c
movaps xmm6, xmmword [rsp + 0x1d0]
movaps xmm7, xmmword [rsp + 0x1e0]
movaps xmm8, xmmword [rsp + 0x1f0]
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.18006a610
jmp 0x180005c06
lea rcx, [rsi + 0x10]
lea rdx, [rsi + 0x30]
call fcn.180069253
jmp 0x180005de3
mov rdx, qword [rsp + 0xa8]
mov al, byte [rbp + rdx]
test al, al
js 0x180006297
movdqa xmm0, xmmword [rbp]
pmovmskb eax, xmm0
bsf edx, eax
mov al, byte [rbp + rdx]
and al, 1
movzx eax, al
mov rcx, qword [rsp + 0x58]
sub qword [rcx + 0x20], rax
lea rax, [rdx - 0x10]
and rax, r15
mov r8, qword [rsp + 0xb0]
mov byte [rbp + rdx], r8b
mov byte [rbp + rax + 0x10], r8b
inc qword [rcx + 0x28]
shl rdx, 5
mov rax, rbp
sub rax, rdx
neg rdx
mov rcx, qword [rsp + 0x60]
mov qword [rbp + rdx - 0x20], rcx
mov qword [rax - 0x18], r12
mov qword [rax - 0x10], r13
mov rbp, qword [rsp + 0x70]
mov qword [rax - 8], rbp
xor edi, edi
jmp 0x180005eec
lea rcx, str.registery_srcindex.crates.io_6f17d22bba15001f_alhc_0.3.0_alpha.3_srcwindowsmod.rs
call fcn.180069bb0
lea r8, [rsp + 0x108]
mov rax, qword [rsp + 0x48]
mov qword [r8], rax
mov byte [r8 + 8], dl
lea rax, str.registery_srcindex.crates.io_6f17d22bba15001f_alhc_0.3.0_alpha.3_srcwindowsmod.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x180081393]
lea r9, [0x18006eab0]
mov edx, 0x2b
call fcn.180069b20
ud2
lea rcx, str.registery_srcindex.crates.io_6f17d22bba15001f_alhc_0.3.0_alpha.3_srcwindowsmod.rs
call fcn.180069bb0
int3