Function at 0x14005b4b0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov r14, rcx
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x20], 0
lea rcx, str.python_requests_2.25.0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
mov dword [rsp + 0x20], 0xea60
mov rcx, rax
mov edx, 0xea60
mov r8d, 0xea60
mov r9d, 0xea60
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test rsi, rsi
setne bl
je 0x14005b603
lea rdx, str.checkip.dyndns.org
mov rcx, rsi
mov r8w, 0x50
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
test rax, rax
je 0x14005b5e3
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0
lea rdx, [0x1401fe484]
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
test rax, rax
je 0x14005b5e3
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14005b5e6
mov rcx, r15
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14005b5e6
lea rdx, [rsp + 0x70]
lea r9, [rsp + 0x3c]
mov rcx, r15
mov r8d, 0x3e8
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov r12d, dword [rsp + 0x3c]
test r12, r12
je 0x14005b5e6
cmp r12d, 0x16
ja 0x14005b619
lea eax, [r12 + r12]
mov byte [rsp + 0x40], al
lea r13, [rsp + 0x41]
jmp 0x14005b641
xor r15d, r15d
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor ebx, ebx
mov eax, ebx
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, r12
or rbp, 0xf
inc rbp
mov rcx, rbp
call fcn.14006fb50
mov r13, rax
mov qword [rsp + 0x50], rax
or rbp, 1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r12
lea rdx, [rsp + 0x70]
mov rcx, r13
mov r8, r12
call sub.msvcrt.dll_memcpy
mov byte [r13 + r12], 0
movzx edx, byte [rsp + 0x40]
test dl, 1
je 0x14005b66d
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
jmp 0x14005b675
lea rax, [rsp + 0x41]
shr rdx, 1
lea rcx, [rax + rdx]
mov r12, rax
test rdx, rdx
je 0x14005b7b5
mov rdx, rax
mov r12, rcx
add rdx, 0xd
mov r8, rdx
nop word cs:[rax + rax]
lea rdx, [r8 - 0xc]
cmp byte [r8 - 0xd], 0x3c
je 0x14005b6b8
inc r8
cmp rdx, rcx
jne 0x14005b6a0
jmp 0x14005b7b5
cmp rdx, rcx
je 0x14005b7b5
cmp byte [rdx], 0x2f
jne 0x14005b68b
lea r9, [r8 - 0xb]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x62
jne 0x14005b68b
lea r9, [r8 - 0xa]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x6f
jne 0x14005b68b
lea r9, [r8 - 9]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x64
jne 0x14005b68b
lea r9, [r8 - 8]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x79
jne 0x14005b68b
lea r9, [r8 - 7]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x3e
jne 0x14005b68b
lea r9, [r8 - 6]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x3c
jne 0x14005b68b
lea r9, [r8 - 5]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x2f
jne 0x14005b68b
lea r9, [r8 - 4]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x68
jne 0x14005b68b
lea r9, [r8 - 3]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x74
jne 0x14005b68b
lea r9, [r8 - 2]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x6d
jne 0x14005b68b
lea r9, [r8 - 1]
cmp r9, rcx
je 0x14005b7b5
cmp byte [r9], 0x6c
jne 0x14005b68b
cmp r8, rcx
je 0x14005b7b5
lea r9, [r8 - 0xd]
cmp byte [r8], 0x3e
cmove r12, r9
jmp 0x14005b68b
mov bpl, 1
cmp r12, rcx
je 0x14005b842
sub r12, rax
cmp r12, 0xffffffffffffffff
je 0x14005b842
lea rcx, [rsp + 0x40]
mov dl, 0x20
mov r8, r12
call fcn.140071d70
inc rax
cmp rax, 0xffffffffffffffff
je 0x14005b842
sub r12, rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8, rax
mov r9, r12
call fcn.140071980
test byte [r14], 1
je 0x14005b813
mov rcx, qword [r14 + 0x10]
call fcn.14006fbd0
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r14], xmm0
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor ebp, ebp
test byte [rsp + 0x40], 1
je 0x14005b853
mov rcx, qword [rsp + 0x50]
call fcn.14006fbd0
test bpl, bpl
jne 0x14005b5e6
jmp 0x14005b603