Function at 0x1400f015c
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
mov eax, 0x250
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r12, r9
mov r14, rdx
mov dword [rsp + 0x60], r8d
mov r15, qword [rbp + 0x1b0]
mov eax, dword [rbp + 0x1b8]
mov dword [rsp + 0x58], eax
mov r13, qword [rbp + 0x1c8]
xor edi, edi
mov qword [rsp + 0x68], rdi
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x48], rdi
lea ebx, [rdi + 7]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], rbx
mov qword [rbp - 8], rdi
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], rbx
mov dword [rsp + 0x40], edi
lea rcx, str._J__
call fcn.1400b424c
movzx esi, byte [rbp + 0x1c0]
test eax, eax
cmovne esi, edi
test sil, sil
jne 0x1400f0224
lock inc dword [0x140377d28]
mov eax, dword [0x140377d28]
jne 0x1400f021a
lock inc dword [0x140377d28]
mov eax, dword [0x140377d28]
mov dword [rsp + 0x40], eax
test r14, r14
je 0x1400f025a
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], rbx
mov rdx, r14
lea rcx, [rbp + 0x78]
call fcn.14000ae4c
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rbp + 0x88]
movups xmmword [rbp + 0x48], xmm1
test r12, r12
je 0x1400f02a6
mov qword [rbp + 0x58], rdi
movdqa xmm0, xmmword [0x14031bbe0]
movdqu xmmword [rbp + 0x68], xmm0
mov rdx, r12
lea rcx, [rbp + 0x58]
call fcn.14000ae4c
movups xmm0, xmmword [rbp + 0x58]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rbp + 0x68]
movups xmmword [rbp + 0x28], xmm1
movdqa xmm0, xmmword [0x14031bbe0]
movdqu xmmword [rbp + 0x68], xmm0
mov word [rbp + 0x58], di
lea rcx, [rbp + 0x58]
call fcn.14000ac30
test r15, r15
je 0x1400f02e5
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], rbx
mov rdx, r15
lea rcx, [rbp + 0x98]
call fcn.14000ae4c
movups xmm0, xmmword [rbp + 0x98]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rbp + 0xa8]
movups xmmword [rbp + 8], xmm1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x18]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.1400f0c5c
lea rax, [0x140377d20]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], edi
mov rcx, qword [0x140377d20]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lock inc dword [rbp - 0x70]
mov r8, qword [rsp + 0x48]
lea rdx, [rbp - 0x58]
call fcn.1400f0b50
mov rbx, qword [rax]
test sil, sil
jne 0x1400f042a
jmp 0x1400f040a
lock inc dword [0x140377d28]
mov eax, dword [0x140377d28]
jne 0x1400f036d
lock inc dword [0x140377d28]
mov eax, dword [0x140377d28]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x18]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400f0c5c
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140024b8c
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400f03f9
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400f03f9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004a846.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400f03f9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov r8, qword [rsp + 0x48]
lea rdx, [rbp - 0x50]
call fcn.1400f0b50
mov rbx, qword [rax]
cmp rbx, qword [0x140377d00]
jne 0x1400f0357
jmp 0x1400f042a
lock dec dword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov eax, dword [rbp - 0x70]
test eax, eax
jne 0x1400f0419
cmp rbx, qword [0x140377d00]
jne 0x1400f073b
lea rax, [0x140377d18]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rdi
mov rcx, qword [0x140377d18]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, 1
lock xadd dword [rbp - 0x60], eax
inc eax
cmp eax, 1
jne 0x1400f047d
cmp dword [rbp - 0x5c], edi
jne 0x1400f08e2
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x5c], eax
mov rdi, qword [rsp + 0x48]
mov r8, rdi
lea rdx, [rbp - 0x48]
call fcn.1400f0b50
mov rbx, qword [rax]
test sil, sil
jne 0x1400f056e
cmp rbx, qword [0x140377d00]
je 0x1400f057e
lock inc dword [0x140377d28]
mov eax, dword [0x140377d28]
jne 0x1400f04bd
lock inc dword [0x140377d28]
mov eax, dword [0x140377d28]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x18]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.1400f0c5c
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140024b8c
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1400f0548
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x1400f0548
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004a846.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400f0548
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov rdi, qword [rsp + 0x48]
mov r8, rdi
lea rdx, [rbp - 0x40]
call fcn.1400f0b50
mov rbx, qword [rax]
mov rax, qword [0x140377d00]
cmp rbx, rax
jne 0x1400f04a7
jmp 0x1400f0575
mov rax, qword [0x140377d00]
cmp rbx, rax
jne 0x1400f0729
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov r9, r15
mov r8, r12
mov edx, dword [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400f0d34
cmp qword [rsp + 0x68], 0
je 0x1400f06d3
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x1400f06c8
mov eax, dword [rdi]
mov dword [rbp + 0xc0], eax
mov eax, dword [rdi + 4]
mov dword [rbp + 0xc4], eax
lea rdx, [rdi + 8]
lea rcx, [rbp + 0xc8]
call fcn.14000ad78
lea rdx, [rdi + 0x28]
lea rcx, [rbp + 0xe8]
call fcn.14000ad78
mov eax, dword [rdi + 0x48]
mov dword [rbp + 0x108], eax
lea rdx, [rdi + 0x50]
lea rcx, [rbp + 0x110]
call fcn.14000ad78
mov rsi, qword [rbp - 0x80]
test rsi, rsi
je 0x1400f062c
lock inc dword [rsi + 8]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rbp - 0x80]
mov r14, qword [rsp + 0x78]
mov qword [rbp + 0x130], r14
mov qword [rbp + 0x138], rsi
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x18]
call fcn.1400f0db4
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x1400f06a2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x1400f0699
mov rdi, qword [rbp + 0x138]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14004a846.0]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
add eax, esi
jne 0x1400f0699
mov rcx, qword [rbp + 0x138]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov rsi, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x48]
lea rcx, [rbp + 0x110]
call fcn.14000ac30
lea rcx, [rbp + 0xe8]
call fcn.14000ac30
lea rcx, [rbp + 0xc8]
call fcn.14000ac30
jmp 0x1400f06dd
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
and qword [rsp + 0x68], 0
mov rsi, qword [rbp - 0x80]
test rsi, rsi
je 0x1400f0729
or r14d, 0xffffffff
mov eax, r14d
lock xadd dword [rsi + 8], eax
add eax, r14d
jne 0x1400f0724
mov rdi, qword [rbp - 0x80]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14004a846.0]
mov eax, r14d
lock xadd dword [rdi + 0xc], eax
add eax, r14d
jne 0x1400f0724
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov rdi, qword [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.1400bb74c
cmp rbx, qword [0x140377d00]
je 0x1400f0754
mov rcx, qword [rbx + 0x90]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x68], rax
lock inc dword [rcx + 0x10]
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
cmp qword [rsp + 0x68], 0
je 0x1400f07c4
test rcx, rcx
je 0x1400f0774
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov qword [r13], rdi
mov rbx, qword [r13 + 8]
mov qword [r13 + 8], rcx
or edi, 0xffffffff
test rbx, rbx
je 0x1400f07c7
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x1400f07bd
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004a846.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400f07bd
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov rcx, qword [rsp + 0x50]
jmp 0x1400f07c7
or edi, 0xffffffff
test rcx, rcx
je 0x1400f0808
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x1400f0808
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14004a846.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400f0808
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov ebx, 0x1000
mov rax, qword [rbp + 0x10]
cmp rax, 8
jb 0x1400f0842
mov rcx, qword [rbp - 8]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rbx
jb 0x1400f083c
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400f08a6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp + 0x30]
cmp rax, 8
jb 0x1400f0877
mov rcx, qword [rbp + 0x18]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rbx
jb 0x1400f0871
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400f08a6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp + 0x50]
cmp rax, 8
jb 0x1400f08b3
mov rcx, qword [rbp + 0x38]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rbx
jb 0x1400f08ad
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400f08ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14024c6d0
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x131f4c4
call fcn.1400b3928
int3