Function at 0x180010184
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x3c], 0x3a980
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x68]
mov qword [0x18006ac10], rax
cmp qword [0x18006ac08], 0
jne 0x1800103a0
mov dword [0x180073918], 0x100
mov dword [0x180073914], 0x100
mov dword [0x180073910], 0x200
mov dword [0x18007390c], 0x80
mov dword [0x180073908], 0x80
mov dword [0x180073904], 0x80
mov dword [0x180073900], 0x800
mov dword [0x1800738fc], 0x20
mov dword [0x1800738f8], 0x800
mov eax, dword [0x180073914]
mov ecx, dword [0x180073918]
add ecx, eax
mov eax, ecx
add eax, dword [0x180073910]
add eax, dword [0x18007390c]
add eax, dword [0x180073908]
add eax, dword [0x180073904]
add eax, dword [0x180073900]
add eax, dword [0x1800738fc]
add eax, dword [0x1800738f8]
mov ecx, eax
call fcn.18001b0e0
mov qword [0x18006ac08], rax
mov edx, dword [0x180073918]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738f0], rax
mov edx, dword [0x180073914]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738e8], rax
mov edx, dword [0x180073910]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738e0], rax
mov edx, dword [0x18007390c]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738d8], rax
mov edx, dword [0x180073908]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738d0], rax
mov edx, dword [0x180073904]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738c8], rax
mov edx, dword [0x180073900]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738c0], rax
mov edx, dword [0x1800738fc]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738b8], rax
mov edx, dword [0x1800738f8]
mov rcx, qword [0x18006ac08]
call fcn.18001b450
mov qword [0x1800738b0], rax
lea rax, [fcn.18001b250]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 3
mov edx, 0x18
mov rcx, qword [0x18006ac08]
call fcn.18003f430
mov rax, qword [0x18006ac08]
movsxd rax, dword [rax + 0x14]
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8d, 3
mov rdx, rax
mov rax, qword [0x18006ac08]
mov rcx, qword [rax]
call fcn.18003f430
call fcn.180010d30
mov ecx, 1
call fcn.18003a714
movzx eax, ax
and eax, 8
cmp eax, 8
jne 0x1800103c4
mov dword [rsp + 0x38], 0x800100
jmp 0x1800103cc
mov dword [rsp + 0x38], 0x100
mov eax, dword [rsp + 0x38]
mov dword [0x18006ac18], eax
mov dword [rsp + 0x34], 0
mov rdx, qword [0x1800738f0]
mov rcx, qword [rsp + 0x60]
call fcn.180010d34
mov ecx, 0x23
call fcn.18003a714
movzx eax, ax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180010470
cmp dword [rsp + 0x30], 1
je 0x180010447
cmp dword [rsp + 0x30], 2
je 0x180010421
cmp dword [rsp + 0x30], 4
je 0x180010470
jmp 0x1800104b4
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1800738f0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [0x18006abe8], rax
jmp 0x1800104b4
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [0x1800738f0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [0x18006abe8], rax
jmp 0x1800104b4
mov ecx, 0x20
call fcn.18003a6f4
mov rdx, qword [0x1800738e8]
mov rcx, rax
call fcn.180010d34
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [0x1800738e8]
mov edx, 3
mov rcx, qword [0x1800738f0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [0x18006abe8], rax
mov r9d, 4
lea r8, [rsp + 0x3c]
mov edx, 5
mov rcx, qword [0x18006abe8]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov r9d, 4
lea r8, [rsp + 0x3c]
mov edx, 6
mov rcx, qword [0x18006abe8]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rdx, qword [0x1800738e0]
mov rcx, qword [rsp + 0x50]
call fcn.180010d34
xor r9d, r9d
movzx r8d, word [rsp + 0x58]
mov rdx, qword [0x1800738e0]
mov rcx, qword [0x18006abe8]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [0x18006abf0], rax
call fcn.180010d30
add rsp, 0x48
ret