Function at 0x504fb0
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 0x504ff0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1fe]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
je 0x505551
lea rax, [rbp + 0x90]
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.004262d0
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x90]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x505551
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.00425dd0
lea rcx, [0x00505a64]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x88]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040cc00
cmp eax, 1
jne 0x50518a
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 0x5050f0
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 + 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.00425dd0
lea rcx, [0x00505a64]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x80]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040cc00
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.0040c930
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 0x5051ea
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 0x50540a
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 0x505266
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 0x5052b5
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1e3]
mov rcx, rbp
neg rcx
mov byte [rax + rcx], 1
jmp 0x505360
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 0x505315
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 0x50540a
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 0x5053dc
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.0040c570
lea rax, [rbp + 0x70]
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.00410710
lea rax, [rbp + 0x78]
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.004bdfc0
lea rax, [rbp + 0x1f0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x78]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040b0d0
lea rax, [rbp + 0x68]
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.00509e30
lea rax, [rbp + 0x1d0]
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.0040b0d0
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [0x0053fdf0]
mov rdx, qword [rax]
lea r8, [0x00505bc4]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1f0]
mov r9, rbp
neg r9
mov r9, qword [rax + r9]
movzx rax, byte [0x00505bca]
mov byte [rsp + 0x20], al
call fcn.004321f0
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 0x505817
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]
call fcn.00425dd0
lea rcx, [0x00505a28]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x60]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040cc00
test eax, eax
jne 0x505630
lea rcx, [0x00505a38]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040cc00
cmp eax, 1
jne 0x5055fd
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
lea rdx, [0x00505a4c]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov r8, rbp
neg r8
mov r8, qword [rax + r8]
call fcn.0040c720
jmp 0x505630
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
lea rdx, [0x00505a64]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov r8, rbp
neg r8
mov r8, qword [rax + r8]
call fcn.0040c720
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x228]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
je 0x505817
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x238]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
jne 0x505817
lea rcx, [0x00505b60]
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 0x505817
nop
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x1d0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
call fcn.0040c300
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 0x5057e0
lea rax, [rbp + 0x50]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
call fcn.00487e70
lea rax, [rbp + 0x58]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x50]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.00431cb0
lea rax, [rbp + 0x1d0]
sub rax, rbp
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov edx, 5
lea r8, [0x00505b7c]
mov rax, qword [rbp + 0x48]
lea rax, [rax + rbp + 0x58]
mov r9, rbp
neg r9
mov r9, qword [rax + r9]
mov rax, qword [0x0053dc60]
mov qword [rsp + 0x20], rax
lea rax, [0x00505b98]
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.0040c850
jmp 0x5057fb
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 + 0x48]
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.00509e30
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 + 0x48]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040b050
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