Function at 0x140075640
Capabilities:
Initialize winhttp library

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x120
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r13, r9
mov rbp, r8
mov rbx, rdx
mov r12, rcx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x30], r14d
mov qword [r11 - 0x50], 7
mov qword [r11 - 0x58], r14
mov word [r11 - 0x68], r14w
mov dword [rsp + 0x38], r14d
xor eax, eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x140075ad2
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
cmovne rax, rcx
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400758fe
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
test rax, rax
je 0x1400758fe
mov dword [rsp + 0x78], r14d
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
cmp qword [rbp + 0x20], 8
jb 0x14007575b
mov rdx, qword [rbp + 8]
jmp 0x14007575f
lea rdx, [rbp + 8]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x80], 0
je 0x1400758fe
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x1400757fa
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r14
mov word [rsp + 0xc8], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0xc0]
call fcn.140025a70
nop
mov esi, 2
mov dword [rsp + 0x30], esi
lea r8, [rsp + 0xc0]
mov rdx, rbp
mov rcx, r12
call fcn.140075b40
test eax, eax
jne 0x1400757fa
xor dil, dil
jmp 0x1400757fd
mov dil, 1
test sil, 2
je 0x14007581e
and esi, 0xfffffffd
cmp qword [rsp + 0xe0], 8
jb 0x14007581e
mov rcx, qword [rsp + 0xc8]
call fcn.1400ad0b8
test dil, dil
je 0x1400758d2
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r14
mov word [rsp + 0xc8], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0xc0]
call fcn.140025a70
nop
lea r9, [rsp + 0xc0]
mov r8, r13
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.140075fb0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140025740
nop
cmp qword [rsp + 0xb0], 8
jb 0x1400758ba
mov rcx, qword [rsp + 0x98]
call fcn.1400ad0b8
nop
cmp qword [rsp + 0xe0], 8
jb 0x1400758d2
mov rcx, qword [rsp + 0xc8]
call fcn.1400ad0b8
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400758e8
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x1400758fe
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp qword [rsp + 0x100], 0
jne 0x140075a56
cmp qword [rsp + 0x68], 0
je 0x140075a56
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140075984
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r14
mov word [rsp + 0xc8], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0xc0]
call fcn.140025a70
nop
or esi, 4
mov dword [rsp + 0x30], esi
lea r8, [rsp + 0xc0]
mov rdx, rbp
mov rcx, r12
call fcn.140075b40
test eax, eax
jne 0x140075984
xor dil, dil
jmp 0x140075987
mov dil, 1
test sil, 4
je 0x1400759a5
cmp qword [rsp + 0xe0], 8
jb 0x1400759a5
mov rcx, qword [rsp + 0xc8]
call fcn.1400ad0b8
test dil, dil
je 0x140075a56
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r14
mov word [rsp + 0xc8], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x68]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0xc0]
call fcn.140025a70
nop
lea r9, [rsp + 0xc0]
mov r8, r13
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.140075fb0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140025740
nop
cmp qword [rsp + 0xb0], 8
jb 0x140075a3e
mov rcx, qword [rsp + 0x98]
call fcn.1400ad0b8
nop
cmp qword [rsp + 0xe0], 8
jb 0x140075a56
mov rcx, qword [rsp + 0xc8]
call fcn.1400ad0b8
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140075a66
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140075a79
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140075a8c
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r14
mov word [rbx + 8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xe8]
mov rcx, rbx
call fcn.140025740
nop
cmp qword [rsp + 0x108], 8
jb 0x140075acd
mov rcx, qword [rsp + 0xf0]
call fcn.1400ad0b8
mov rax, rbx
jmp 0x140075b16
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r14
mov word [rbx + 8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xe8]
mov rcx, rbx
call fcn.140025740
nop
cmp qword [rsp + 0x108], 8
jb 0x140075b13
mov rcx, qword [rsp + 0xf0]
call fcn.1400ad0b8
mov rax, rbx
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x120
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret