Function at 0x140112a90
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4b8
mov qword [rsp + 0x130], 0xfffffffffffffffe
mov rax, qword [0x1401b4048]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rbx, r8
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov rdx, r9
lea rcx, [rsp + 0x158]
call fcn.14004c7f0
nop
lea rdi, [rsp + 0x158]
cmp qword [rsp + 0x170], 8
cmovae rdi, qword [rsp + 0x158]
mov rdx, rbx
lea rcx, [rsp + 0x178]
call fcn.14004c7f0
nop
lea rcx, [rsp + 0x178]
cmp qword [rsp + 0x190], 8
cmovae rcx, qword [rsp + 0x178]
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
mov qword [rsp + 0x138], rax
test rax, rax
jne 0x140112e94
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x210], rsi
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x210], 7
mov word [rsp + 0x1f8], si
lea r8d, [rsi + 0xb]
lea rdx, [0x140169600]
lea rcx, [rsp + 0x1f8]
call fcn.140012d60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9b, 1
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x238]
call fcn.140058300
nop
mov rdx, qword [rsp + 0x210]
cmp rdx, 8
jb 0x140112c08
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x70], rdx
mov rcx, qword [rsp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140112c03
add rdx, 0x27
mov qword [rsp + 0x70], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011359d
call fcn.1400bece8
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x210], 7
mov word [rsp + 0x1f8], si
lea rdx, str.GetAutoProxyServer:___1_
lea rcx, [rsp + 0x280]
call fcn.140008a10
nop
lea rcx, [rsp + 0x238]
mov qword [rsp + 0x100], rcx
lea rdi, [fcn.140005090]
mov qword [rsp + 0x108], rdi
lea r12, [0x1400050b0]
mov qword [rsp + 0x110], r12
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rsp + 0x218]
call fcn.140018cb0
nop
lea rcx, [rsp + 0x280]
call fcn.14000ac40
lea rcx, [rsp + 0x218]
call fcn.14011d9d0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x230]
cmp rdx, 8
jb 0x140112d14
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x78], rdx
mov rcx, qword [rsp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140112d0f
add rdx, 0x27
mov qword [rsp + 0x78], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135a2
call fcn.1400bece8
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x230], 7
mov word [rsp + 0x218], si
mov rdx, qword [rsp + 0x250]
cmp rdx, 8
jb 0x140112d88
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x80], rdx
mov rcx, qword [rsp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140112d83
add rdx, 0x27
mov qword [rsp + 0x80], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135a8
call fcn.1400bece8
mov qword [rsp + 0x248], rsi
mov qword [rsp + 0x250], 7
mov word [rsp + 0x238], si
mov rdx, qword [rsp + 0x190]
cmp rdx, 8
jb 0x140112dfc
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x88], rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140112df7
add rdx, 0x27
mov qword [rsp + 0x88], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135ae
call fcn.1400bece8
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x190], 7
mov word [rsp + 0x178], si
mov rdx, qword [rsp + 0x170]
cmp rdx, 8
jb 0x140112e70
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x90], rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140112e6b
add rdx, 0x27
mov qword [rsp + 0x90], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135b4
call fcn.1400bece8
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], 7
mov word [rsp + 0x158], si
mov rax, r14
jmp 0x14011357c
mov rdx, r12
lea rcx, [rsp + 0x1b8]
call fcn.14004c7f0
nop
lea rdx, [rsp + 0x1b8]
cmp qword [rsp + 0x1d0], 8
cmovae rdx, qword [rsp + 0x1b8]
mov dword [rsp + 0xe0], 2
mov dword [rsp + 0xe4], esi
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], rsi
mov dword [rsp + 0xf8], esi
mov dword [rsp + 0xfc], esi
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0xe0]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
jne 0x1401132f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.WinHttpGetProxyForUrl__1__
lea rcx, [rsp + 0x280]
call fcn.140008a10
nop
mov qword [rsp + 0x118], r12
lea rdi, [fcn.140005090]
mov qword [rsp + 0x120], rdi
lea r12, [0x1400050b0]
mov qword [rsp + 0x128], r12
lea rdx, [rsp + 0x118]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rsp + 0x1d8]
call fcn.140018cb0
nop
lea rcx, [rsp + 0x280]
call fcn.14000ac40
mov r9b, 1
mov r8d, ebx
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x198]
call fcn.140058300
nop
lea rdx, str.GetAutoProxyServer:___1_
lea rcx, [rsp + 0x390]
call fcn.140008a10
nop
lea rcx, [rsp + 0x198]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rsp + 0x258]
call fcn.140018cb0
nop
lea rcx, [rsp + 0x390]
call fcn.14000ac40
lea rcx, [rsp + 0x258]
call fcn.14011d9d0
nop
mov rdx, qword [rsp + 0x270]
cmp rdx, 8
jb 0x140113068
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x98], rdx
mov rcx, qword [rsp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140113063
add rdx, 0x27
mov qword [rsp + 0x98], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135ba
call fcn.1400bece8
mov qword [rsp + 0x268], rsi
mov qword [rsp + 0x270], 7
mov word [rsp + 0x258], si
mov rdx, qword [rsp + 0x1b0]
cmp rdx, 8
jb 0x1401130dc
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xa0], rdx
mov rcx, qword [rsp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401130d7
add rdx, 0x27
mov qword [rsp + 0xa0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135c0
call fcn.1400bece8
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x1b0], 7
mov word [rsp + 0x198], si
mov rdx, qword [rsp + 0x1f0]
cmp rdx, 8
jb 0x140113150
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xa8], rdx
mov rcx, qword [rsp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011314b
add rdx, 0x27
mov qword [rsp + 0xa8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135c6
call fcn.1400bece8
mov qword [rsp + 0x1e8], rsi
mov qword [rsp + 0x1f0], 7
mov word [rsp + 0x1d8], si
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x1d0]
cmp rdx, 8
jb 0x1401131e4
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xb0], rdx
mov rcx, qword [rsp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401131df
add rdx, 0x27
mov qword [rsp + 0xb0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135cc
call fcn.1400bece8
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x1d0], 7
mov word [rsp + 0x1b8], si
mov rcx, r15
call fcn.1401113d0
nop
mov rdx, qword [rsp + 0x190]
cmp rdx, 8
jb 0x140113261
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xb8], rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011325c
add rdx, 0x27
mov qword [rsp + 0xb8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135d2
call fcn.1400bece8
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x190], 7
mov word [rsp + 0x178], si
mov rdx, qword [rsp + 0x170]
cmp rdx, 8
jb 0x1401132d5
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xc0], rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401132d0
add rdx, 0x27
mov qword [rsp + 0xc0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135d8
call fcn.1400bece8
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], 7
mov word [rsp + 0x158], si
mov rax, r14
jmp 0x14011357c
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x140], rbx
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x148], rdi
mov rdx, qword [rsp + 0x60]
mov rcx, r14
call fcn.14004cd80
mov dword [rsp + 0x30], 1
test rdi, rdi
je 0x140113337
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rbx, rbx
je 0x140113346
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov rdx, qword [rsp + 0x1d0]
cmp rdx, 8
jb 0x14011339e
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xc8], rdx
mov rcx, qword [rsp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140113399
add rdx, 0x27
mov qword [rsp + 0xc8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135de
call fcn.1400bece8
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x1d0], 7
mov word [rsp + 0x1b8], si
mov rcx, r15
call fcn.1401113d0
nop
mov rdx, qword [rsp + 0x190]
cmp rdx, 8
jb 0x14011341b
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xd0], rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140113416
add rdx, 0x27
mov qword [rsp + 0xd0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135e4
call fcn.1400bece8
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x190], 7
mov word [rsp + 0x178], si
mov rdx, qword [rsp + 0x170]
cmp rdx, 8
jb 0x14011348f
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0xd8], rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011348a
add rdx, 0x27
mov qword [rsp + 0xd8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401135ea
call fcn.1400bece8
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], 7
mov word [rsp + 0x158], si
mov rax, r14
jmp 0x14011357c
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1400bf400
add rsp, 0x4b8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.1400e9e3c
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3