Function at 0x140048810
Capabilities:
Connect to http server
Parse url

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4f8
mov rax, qword [0x1400ced18]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x508]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x1400488a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x500]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0xcc], ecx
mov eax, 0xef1e
jmp 0x140048b20
mov rdx, qword [rsp + 0x508]
lea rcx, str.UPLoad_URL:__s
call fcn.1400472d0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x90], 1
mov dword [rsp + 0xc0], 1
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rsp + 0x50], eax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x140048943
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x500]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xcc], ecx
mov eax, 0xef1f
jmp 0x140048b20
cmp dword [rsp + 0x84], 3
je 0x140048957
cmp dword [rsp + 0x84], 4
jne 0x14004896d
cmp qword [rsp + 0x88], 0
je 0x14004896d
cmp qword [rsp + 0xb8], 0
jne 0x140048989
mov rax, qword [rsp + 0x500]
mov dword [rax + 0xcc], 0x2ee5
mov eax, 0xef1f
jmp 0x140048b20
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
mov byte [rcx + rax], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x94]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x500]
mov rcx, qword [rax + 0xd0]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rcx, qword [rsp + 0x518]
mov qword [rcx], rax
mov rax, qword [rsp + 0x518]
cmp qword [rax], 0
jne 0x140048a3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x500]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0xcc], ecx
mov eax, 0xef1f
jmp 0x140048b20
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax], dl
mov dword [rsp + 0x44], 0x84400000
cmp dword [rsp + 0x84], 4
jne 0x140048a72
mov eax, dword [rsp + 0x44]
bts eax, 0x17
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x510]
mov rax, qword [rsp + 0x518]
mov rcx, qword [rax]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, qword [rsp + 0x520]
mov qword [rcx], rax
mov rax, qword [rsp + 0x520]
cmp qword [rax], 0
jne 0x140048b15
mov rax, qword [rsp + 0x518]
mov rcx, qword [rax]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rsp + 0x518]
mov qword [rax], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x500]
mov ecx, dword [rsp + 0x68]
mov dword [rax + 0xcc], ecx
mov eax, 0xef1f
jmp 0x140048b20
xor eax, eax
jmp 0x140048b20
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140082550
add rsp, 0x4f8
ret