Function at 0x506490
Capabilities:
Create http request

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x48], rdx
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1ff]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
jne 0x5064d0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1fe]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
je 0x506a2b
lea rax, [rbp + 0x88]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.00425ea0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x88]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x506a2b
lea rax, [rbp + 0x80]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.004259a0
lea rcx, [0x00506f48]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040c8b0
cmp eax, 1
jne 0x506664
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1ec]
mov rcx, rbp
neg rcx
mov dword [rax + rcx], 0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x5065d0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1ec]
mov rcx, rbp
neg rcx
mov rdx, qword [rbp + 0x48]
lea rdx, [rdx + rbp + 0x1f0]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov edx, dword [rdx - 4]
mov dword [rax + rcx], edx
lea rax, [rbp + 0x78]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.004259a0
lea rcx, [0x00506f48]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x78]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040c8b0
lea rcx, [rbp + 0x1f0]
sub rcx, rbp
mov rdx, qword [rbp + 0x48]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x48]
lea rdx, [rdx + rbp + 0x1f0]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov r8d, eax
add r8d, 7
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1ec]
mov r9, rbp
neg r9
mov r9d, dword [rax + r9]
call fcn.0040c5e0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e8]
mov rcx, rbp
neg rcx
mov dword [rax + rcx], 0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x5066c4
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e8]
mov rcx, rbp
neg rcx
mov rdx, qword [rbp + 0x48]
lea rdx, [rdx + rbp + 0x1f0]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov edx, dword [rdx - 4]
mov dword [rax + rcx], edx
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e8]
mov rcx, rbp
neg rcx
cmp dword [rax + rcx], 0
jle 0x5068e4
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e4]
mov rcx, rbp
neg rcx
mov dword [rax + rcx], 0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x506740
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e4]
mov rcx, rbp
neg rcx
mov rdx, qword [rbp + 0x48]
lea rdx, [rdx + rbp + 0x1f0]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov edx, dword [rdx - 4]
mov dword [rax + rcx], edx
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rcx, qword [rbp + 0x48]
lea rcx, [rcx + rbp + 0x1e4]
mov rdx, rbp
neg rdx
movsxd rcx, dword [rcx + rdx]
cmp word [rax + rcx*2 - 2], 0x5c
jne 0x50678f
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e3]
mov rcx, rbp
neg rcx
mov byte [rax + rcx], 1
jmp 0x50683a
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1dc]
mov rcx, rbp
neg rcx
mov dword [rax + rcx], 0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x5067ef
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1dc]
mov rcx, rbp
neg rcx
mov rdx, qword [rbp + 0x48]
lea rdx, [rdx + rbp + 0x1f0]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov edx, dword [rdx - 4]
mov dword [rax + rcx], edx
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e3]
mov rcx, rbp
neg rcx
mov rdx, qword [rbp + 0x48]
lea rdx, [rdx + rbp + 0x1f0]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov r8, qword [rbp + 0x48]
lea r8, [r8 + rbp + 0x1dc]
mov r9, rbp
neg r9
movsxd r8, dword [r8 + r9]
cmp word [rdx + r8*2 - 2], 0x2f
sete dl
mov byte [rax + rcx], dl
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e3]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
je 0x5068e4
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d8]
mov rcx, rbp
neg rcx
mov dword [rax + rcx], 0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x5068b6
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d8]
mov rcx, rbp
neg rcx
mov rdx, qword [rbp + 0x48]
lea rdx, [rdx + rbp + 0x1f0]
mov r8, rbp
neg r8
mov rdx, qword [rdx + r8]
mov edx, dword [rdx - 4]
mov dword [rax + rcx], edx
lea rax, [rbp + 0x1f0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d8]
mov rdx, rbp
neg rdx
mov edx, dword [rax + rdx]
sub edx, 1
call fcn.0040c220
lea rax, [rbp + 0x68]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.004101b0
lea rax, [rbp + 0x70]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x68]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.004b6a90
lea rax, [rbp + 0x1f0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x70]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040b0b0
lea rax, [rbp + 0x60]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x240]
mov r8, rbp
neg r8
mov r8, qword [rax + r8]
call fcn.004bab20
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x60]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040b0b0
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [0x00536788]
mov rdx, qword [rax]
lea r8, [0x005070a8]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov r9, rbp
neg r9
mov r9, qword [rax + r9]
movzx rax, byte [0x005070ae]
mov byte [rsp + 0x20], al
call fcn.00431da0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x230]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov byte [rax], 1
jmp 0x506cf1
lea rax, [rbp + 0x58]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.004259a0
lea rcx, [0x00506f0c]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x58]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040c8b0
test eax, eax
jne 0x506b0a
lea rcx, [0x00506f1c]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040c8b0
cmp eax, 1
jne 0x506ad7
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
lea rdx, [0x00506f30]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov r8, rbp
neg r8
mov r8, qword [rax + r8]
call fcn.0040c3d0
jmp 0x506b0a
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
lea rdx, [0x00506f48]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov r8, rbp
neg r8
mov r8, qword [rax + r8]
call fcn.0040c3d0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x228]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
je 0x506cf1
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x238]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
jne 0x506cf1
lea rcx, [0x00507044]
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.wininet.dll_InternetOpenW
mov rcx, qword [rbp + 0x48]
lea rcx, [rcx + rbp + 0x200]
mov rdx, rbp
neg rdx
mov qword [rcx + rdx], rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x200]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x506cf1
nop
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
call fcn.0040bfb0
mov rcx, qword [rbp + 0x48]
lea rcx, [rcx + rbp + 0x200]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0x420f200
mov qword [rsp + 0x28], 0
call sub.wininet.dll_InternetOpenUrlW
mov rcx, qword [rbp + 0x48]
lea rcx, [rcx + rbp + 0x208]
mov rdx, rbp
neg rdx
mov qword [rcx + rdx], rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x208]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
jne 0x506cba
lea rax, [rbp + 0x48]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
call fcn.00488f50
lea rax, [rbp + 0x50]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x48]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.00431860
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov edx, 5
lea r8, [0x00507060]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x50]
mov r9, rbp
neg r9
mov r9, qword [rax + r9]
mov rax, qword [0x00535638]
mov qword [rsp + 0x20], rax
lea rax, [0x0050707c]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov r10, rbp
neg r10
mov rax, qword [rax + r10]
mov qword [rsp + 0x30], rax
call fcn.0040c500
jmp 0x506cd5
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x208]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
call sub.wininet.dll_InternetCloseHandle
nop
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x200]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
call sub.wininet.dll_InternetCloseHandle
lea rax, [rbp + 0x40]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x240]
mov r8, rbp
neg r8
mov r8, qword [rax + r8]
call fcn.004bab20
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x220]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x40]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040b030
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1cc]
mov rcx, rbp
neg rcx
mov dword [rax + rcx], 0
lea rsp, [rbp + 0x50]
pop rbp
ret