Function at 0x140031990
Capabilities:
Create http request
Parse url

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x1b0
mov rsi, rcx
lea rcx, [rsp + 0x30]
mov r12b, dl
call fcn.140001df0
lea rcx, [rsp + 0x50]
call fcn.140001df0
lea rcx, [rsp + 0x70]
call fcn.140001df0
lea rcx, [rsp + 0x90]
call fcn.140001df0
lea rcx, [rsp + 0xb0]
call fcn.140001df0
lea rcx, [rsp + 0xd0]
call fcn.140001df0
lea rcx, [rsp + 0xf0]
call fcn.140001df0
mov rbx, qword [rsi + 0x28]
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x128]
call fcn.1400761e0
mov ebp, 1
mov rcx, rbx
mov dword [rsp + 0x150], ebp
mov dword [rsp + 0x140], ebp
mov dword [rsp + 0x130], ebp
mov dword [rsp + 0x180], ebp
mov dword [rsp + 0x170], ebp
mov dword [rsp + 0x160], ebp
mov dword [rsp + 0x120], 0xf0
call fcn.140075704
lea r9, [rsp + 0x120]
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
xor edi, edi
cmp eax, edi
je 0x140031e1e
mov r9d, dword [rsp + 0x130]
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x30]
xor r8d, r8d
call fcn.14000a00c
mov r9d, dword [rsp + 0x140]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.14000a00c
mov r9d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x70]
xor r8d, r8d
call fcn.14000a00c
mov r9d, dword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x90]
xor r8d, r8d
call fcn.14000a00c
mov r9d, dword [rsp + 0x170]
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0xb0]
xor r8d, r8d
call fcn.14000a00c
mov r9d, dword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0xd0]
xor r8d, r8d
call fcn.14000a00c
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0xb0]
call fcn.1400053cc
lea rcx, [rsp + 0xf0]
mov rdx, rax
call fcn.140001e80
lea rcx, [rsp + 0x190]
call fcn.140001e50
mov ecx, dword [rsp + 0x134]
movzx r11d, word [rsp + 0x144]
mov dword [rsp + 0x114], ecx
sub ecx, ebp
mov word [rsp + 0x118], r11w
je 0x140031bb3
cmp ecx, ebp
je 0x140031b9c
movzx eax, word [rsi + 0x98]
lea ebx, [rbp + 2]
jmp 0x140031bbc
mov dword [rsp + 0x110], 2
mov dword [rsi + 0x20], 2
jmp 0x140031e21
mov ax, word [rsi + 0x100]
mov ebx, ebp
mov r10, qword [rsi + 0x168]
movsx ecx, ax
mov dword [rsp + 0x110], ebx
cmp ecx, ebp
jne 0x140031bd5
mov edx, ebp
jmp 0x140031c01
cmp ecx, 2
jne 0x140031bff
lea rax, [rsi + 0x148]
lea rcx, [rsi + 0xe0]
cmp ebx, ebp
cmove rcx, rax
lea r9, str._local_
mov edx, 3
mov r8, qword [rcx]
jmp 0x140031c07
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, r10
mov dword [rsp + 0x20], edi
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsi + 8], rax
cmp rax, rdi
je 0x140031da3
cmp byte [rsi + 0x19c], dil
je 0x140031c52
mov r9d, 8
lea r8, [rsp + 0x1d0]
xor ecx, ecx
lea edx, [r9 + 0x2a]
mov dword [rsp + 0x1d0], ebp
mov dword [rsp + 0x1d4], edi
call qword [sym.imp.WININET.dll_InternetSetOptionW]
sub ebx, ebp
je 0x140031d08
sub ebx, 2
je 0x140031c6b
mov dword [rsi + 0x20], 4
jmp 0x140031e21
movsx ecx, word [rsi + 0x98]
sub ecx, ebp
je 0x140031cee
cmp ecx, ebp
je 0x140031ceb
xor r8d, r8d
lea r9, [rsp + 0x1d0]
xor ecx, ecx
lea ebp, [r8 + 0x26]
mov dword [rsp + 0x1d0], edi
mov edx, ebp
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
cmp dword [rsp + 0x1d0], edi
je 0x140031cee
mov ecx, dword [rsp + 0x1d0]
call fcn.140075b98
mov r8d, dword [rsp + 0x1d0]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1400761e0
lea r9, [rsp + 0x1d0]
mov r8, rbx
mov edx, ebp
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
cmp qword [rbx + 8], rdi
mov rcx, rbx
setne dil
call fcn.140075884
jmp 0x140031cee
mov dil, bpl
lea rdx, [rsp + 0x30]
mov r9b, r12b
mov r8b, dil
mov rcx, rsi
call fcn.140031ea8
mov bl, al
jmp 0x140031dc8
movsx ecx, word [rsi + 0x100]
sub ecx, ebp
je 0x140031d8b
cmp ecx, ebp
je 0x140031d88
xor r8d, r8d
lea r9, [rsp + 0x1d0]
xor ecx, ecx
lea ebp, [r8 + 0x26]
mov dword [rsp + 0x1d0], edi
mov edx, ebp
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
cmp dword [rsp + 0x1d0], edi
je 0x140031d8b
mov ecx, dword [rsp + 0x1d0]
call fcn.140075b98
mov r8d, dword [rsp + 0x1d0]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1400761e0
lea r9, [rsp + 0x1d0]
mov r8, rbx
mov edx, ebp
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
cmp qword [rbx + 8], rdi
mov rcx, rbx
setne dil
call fcn.140075884
jmp 0x140031d8b
mov dil, bpl
lea rdx, [rsp + 0x30]
mov r9b, r12b
mov r8b, dil
mov rcx, rsi
call fcn.140032184
jmp 0x140031d01
mov dword [rsi + 0x20], 3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x24], eax
mov rcx, qword [rsi + 0x190]
cmp rcx, rdi
je 0x140031dc5
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov bl, dil
lea rcx, [rsp + 0xf0]
call fcn.140001e50
lea rcx, [rsp + 0xd0]
call fcn.140001e50
lea rcx, [rsp + 0xb0]
call fcn.140001e50
lea rcx, [rsp + 0x90]
call fcn.140001e50
lea rcx, [rsp + 0x70]
call fcn.140001e50
lea rcx, [rsp + 0x50]
call fcn.140001e50
lea rcx, [rsp + 0x30]
call fcn.140001e50
mov al, bl
jmp 0x140031e90
mov dword [rsi + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x24], eax
mov rcx, qword [rsi + 0x190]
cmp rcx, rdi
je 0x140031e3c
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [rsp + 0xf0]
call fcn.140001e50
lea rcx, [rsp + 0xd0]
call fcn.140001e50
lea rcx, [rsp + 0xb0]
call fcn.140001e50
lea rcx, [rsp + 0x90]
call fcn.140001e50
lea rcx, [rsp + 0x70]
call fcn.140001e50
lea rcx, [rsp + 0x50]
call fcn.140001e50
lea rcx, [rsp + 0x30]
call fcn.140001e50
xor al, al
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret