Function at 0x18003b110
Capabilities:
Check http status code
Create http request
Log keystrokes via polling
Read data from internet
Receive data

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x10b0
call fcn.18006c190
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x10e0], rbx
mov qword [rsp + 0x10e8], rbp
mov rax, qword [0x18009c600]
xor rax, rsp
mov qword [rsp + 0x10a0], rax
mov rbp, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [rsp + 0x34], r12d
lea edi, [r12 + 1]
lea ecx, [rdi + 0x13]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dx, ax
bt edx, 0xf
jae 0x18003b198
lea ecx, [rdi + 0x57]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dx, ax
bt edx, 0xf
jae 0x18003b198
lea ecx, [rdi + 0x59]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dx, ax
bt edx, 0xf
cmovb edi, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, edi
lea rcx, str.CHM_MSDN
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
jne 0x18003b1e4
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], r12b
xor r8d, r8d
lea rdx, [0x18007e786]
mov rcx, rbx
call fcn.18001c5c4
mov rax, rbx
jmp 0x18003b458
mov dword [rsp + 0x38], 1
mov r9d, 4
lea r8, [rsp + 0x38]
lea edx, [r9 + 0x3d]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, str.Accept_Encoding:_gzip
repne scasw ax, word [rdi]
not rcx
lea r9, [rcx - 1]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x84083180
lea r8, str.Accept_Encoding:_gzip
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbp, rax
test rax, rax
jne 0x18003b276
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], r12b
xor r8d, r8d
lea rdx, [0x18007e786]
mov rcx, rbx
call fcn.18001c5c4
mov rax, rbx
jmp 0x18003b458
mov word [rsp + 0x70], r12w
xor eax, eax
mov qword [rsp + 0x72], rax
mov qword [rsp + 0x7a], rax
mov word [rsp + 0x82], ax
mov dword [rsp + 0x34], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x70]
lea edx, [rax + 0x13]
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x18003b421
lea rcx, [rsp + 0x70]
call fcn.180052f9c
cmp eax, 0xc8
je 0x18003b308
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], r12b
xor r8d, r8d
lea rdx, [0x18007e786]
mov rcx, rbx
call fcn.18001c5c4
mov rax, rbx
jmp 0x18003b458
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
mov byte [rsp + 0x90], 0
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x91]
call fcn.180054ba0
lea r9, [rsp + 0x30]
mov r8d, 0xffa
lea rdx, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18003b3be
nop dword [rax]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18003b3be
mov byte [rsp + rax + 0x90], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.180020b4c
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x30]
mov r8d, 0xffa
lea rdx, [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18003b360
xor edx, edx
mov r8d, 0x1001
lea rcx, [rsp + 0x90]
call fcn.180054ba0
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.18001c964
nop
cmp qword [rsp + 0x68], 0x10
jb 0x18003b41c
mov rcx, qword [rsp + 0x50]
call fcn.1800520c4
mov rax, rbx
jmp 0x18003b458
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], r12b
xor r8d, r8d
lea rdx, [0x18007e786]
mov rcx, rbx
call fcn.18001c5c4
mov rax, rbx
mov rcx, qword [rsp + 0x10a0]
xor rcx, rsp
call fcn.1800520e0
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret