Function at 0x1400bb5a4
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14029f3b8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
mov al, byte [rcx + 0x448]
nop
xor r12d, r12d
test al, al
je 0x1400bb5ee
xor eax, eax
jmp 0x1400bba71
add rcx, 0x110
mov qword [rsp + 0x60], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov al, byte [rbx + 0x448]
nop
test al, al
je 0x1400bb614
mov ebx, r12d
jmp 0x1400bba64
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov r14, r12
mov r15, r12
mov byte [rbx + 0x461], r12b
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
lea rdx, [0x140254940]
lea rcx, [rbp - 0x40]
call fcn.1400213b8
nop
lea rcx, [rbp - 0x20]
call fcn.14007f5c8
nop
lea rdx, [rbx + 0x170]
mov eax, dword [rdx + 0xe8]
mov edi, 1
test eax, eax
jne 0x1400bb67c
call fcn.1400ba2d0
mov esi, eax
jmp 0x1400bb837
cmp eax, 2
jne 0x1400bb688
mov esi, edi
jmp 0x1400bb837
cmp eax, edi
jne 0x1400bb750
call fcn.1400ba2d0
mov esi, eax
cmp eax, 4
je 0x1400bb837
mov byte [rbx + 0x461], dil
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
test eax, eax
je 0x1400bb6cb
cmp dword [rsp + 0x68], edi
jne 0x1400bb727
lea rcx, [rsp + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1400bb727
cmp dword [rsp + 0x38], r12d
je 0x1400bb6ea
mov byte [rbx + 0x461], dil
jmp 0x1400bb727
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400bb709
mov byte [rbx + 0x461], dil
lea rcx, [rbx + 0x468]
call fcn.1400b4b5c
jmp 0x1400bb727
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400bb727
mov esi, 3
mov r14, rax
mov rax, qword [rsp + 0x50]
test rax, rax
cmovne r15, rax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400bb737
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400bb837
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400bb837
mov esi, 3
lea rcx, [rbp - 0x40]
call fcn.1400b4c4c
cmp qword [rbp - 0x30], r12
je 0x1400bb794
lea rdx, [0x140254940]
lea rcx, [rbp - 0x40]
call fcn.1400b4e08
test al, al
jne 0x1400bb794
cmp dword [rbp + 0xa0], r12d
jne 0x1400bb794
lea r14, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r14, qword [rbp]
jmp 0x1400bb837
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.1400b4bd8
cmp dword [rbp + 0xa0], r12d
jle 0x1400bb829
mov rcx, qword [rbp - 0x70]
cmp rcx, qword [rbp - 0x68]
jae 0x1400bb7d3
lea rax, [rcx + 1]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
mov dword [rax + rcx*2], 0x3a
jmp 0x1400bb7e2
mov r9d, 0x3a
lea rcx, [rbp - 0x80]
call fcn.14002d5ec
mov edx, dword [rbp + 0xa0]
lea rcx, [rbp - 0x60]
call fcn.14006c4d4
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.14001ac08
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400bb829
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
call fcn.140016264
lea r14, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r14, qword [rbp - 0x80]
mov dword [rsp + 0x20], 0x10000000
mov r9, r15
mov r8, r14
mov edx, esi
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rax
mov qword [rbx + 0x450], rax
test rax, rax
je 0x1400bb9c1
movabs rax, 0x20c49ba5e353f7cf
imul qword [rbx + 0x2e8]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, edi
cmovl edx, edi
mov dword [rsp + 0x20], edx
mov r9d, edx
mov r8d, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
je 0x1400bb9c1
cmp byte [rbx + 0x2e0], r12b
je 0x1400bb8cf
mov dword [rsp + 0x30], edi
mov r9d, 4
lea r8, [rsp + 0x30]
lea edx, [r9 + 0x45]
mov rcx, qword [rbx + 0x450]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400bb9c1
mov dword [rsp + 0x34], 0xaa0
mov r9d, 4
lea r8, [rsp + 0x34]
lea edx, [r9 + 0x50]
mov rcx, qword [rbx + 0x450]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400bb9c1
mov rcx, qword [rbx + 0x450]
cmp qword [rbx + 0x378], r12
je 0x1400bb939
mov qword [rsp + 0x58], rcx
mov rcx, qword [rbx + 0x378]
test rcx, rcx
je 0x1400bba9c
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov rax, qword [rax + 0x10]
call qword [case.0x14003d846.0]
mov rcx, qword [rbx + 0x450]
xor r9d, r9d
mov r8d, 0x17f4c30
lea rdx, [0x1400bfad0]
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x1400bb9c1
cmp qword [rbx + 0x38], r12
je 0x1400bb98d
lea rdx, [0x140254940]
lea rcx, [rbx + 0x28]
call fcn.1400b4e08
test al, al
jne 0x1400bb98d
cmp dword [rbx + 0x108], r12d
jne 0x1400bb98d
mov al, byte [rbx + 0x460]
neg al
sbb ecx, ecx
and ecx, 0x16b
add ecx, 0x50
jmp 0x1400bb993
mov ecx, dword [rbx + 0x108]
lea rdx, [rbx + 0x68]
cmp qword [rdx + 0x18], 8
jb 0x1400bb9a1
mov rdx, qword [rdx]
xor r9d, r9d
movzx r8d, cx
mov rcx, qword [rbx + 0x450]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbx + 0x458], rax
test rax, rax
jne 0x1400bb9cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400bb9d5
xchg byte [rbx + 0x448], dil
mov ebx, r12d
lea rcx, [rbp - 0x20]
call fcn.14007f884
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400bb9f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
call fcn.140016264
mov qword [rbp - 0x30], r12
mov edi, 7
mov qword [rbp - 0x28], rdi
mov word [rbp - 0x40], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400bba26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
call fcn.140016264
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x80], r12w
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400bba43
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400bba53
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400bba64
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140220ed0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14006dd9c
nop
int3