Function at 0x180056760
Capabilities:
Check http status code

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x210
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rsi, r9
mov r12, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x108], rdx
mov rbp, qword [rsp + 0x260]
mov dword [rsp + 0x30], 0
cmp qword [rcx], 0
jne 0x180056853
mov edx, 4
lea rcx, [rsp + 0x138]
call fcn.1800538a0
mov rbx, rax
mov qword [rsp + 0x70], rax
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0xd0], rsi
lea rcx, [rsp + 0xd8]
call fcn.180003c30
nop
mov dword [rsp + 0x100], 4
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call fcn.180003c80
nop
mov rcx, rbx
call fcn.180002b10
nop
mov qword [rdi], rsi
lea rcx, [rdi + 8]
lea rdx, [rsp + 0xd8]
call fcn.180007cc0
mov r11d, dword [rsp + 0x100]
mov dword [rdi + 0x30], r11d
mov qword [rsp + 0xd0], rsi
lea rcx, [rsp + 0xd8]
call fcn.180002b10
mov rax, rdi
jmp 0x180056e04
lea rcx, [rsp + 0x190]
call fcn.180013450
nop
lea r8, [rsp + 0x190]
mov rdx, r12
mov rcx, rbx
call fcn.180056e30
lea r8, [0x180054eb0]
mov edx, 0x4e2b
mov rcx, qword [rbx]
call fcn.18006f1b0
mov r8, rsi
mov edx, 0x2711
mov rcx, qword [rbx]
call fcn.18006f1b0
mov rcx, qword [rbx]
call fcn.18006f610
test eax, eax
je 0x18005693f
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x160]
call fcn.1800538a0
mov rbx, rax
mov qword [rsp + 0x70], rax
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x40]
call fcn.180003c30
nop
mov dword [rsp + 0x68], reloc.WS2_32.dll_sendto
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180003c80
nop
mov rcx, rbx
call fcn.180002b10
nop
mov qword [rdi], rsi
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x40]
call fcn.180007cc0
mov r11d, dword [rsp + 0x68]
mov dword [rdi + 0x30], r11d
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x40]
call fcn.180002b10
nop
lea rcx, [rsp + 0x190]
call fcn.18000ee70
mov rax, rdi
jmp 0x180056e04
mov rcx, qword [rbx]
call fcn.18000f190
cmp eax, 0xc8
je 0x1800569e9
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x160]
call fcn.1800538a0
mov rbx, rax
mov qword [rsp + 0x70], rax
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x40]
call fcn.180003c30
nop
mov dword [rsp + 0x68], reloc.WS2_32.dll_sendto
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180003c80
nop
mov rcx, rbx
call fcn.180002b10
nop
mov qword [rdi], rsi
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x40]
call fcn.180007cc0
mov r11d, dword [rsp + 0x68]
mov dword [rdi + 0x30], r11d
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x40]
call fcn.180002b10
nop
lea rcx, [rsp + 0x190]
call fcn.18000ee70
mov rax, rdi
jmp 0x180056e04
xorpd xmm0, xmm0
movsd qword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, 0x300008
mov rcx, qword [rbx]
call fcn.18006f640
test eax, eax
je 0x180056a79
mov edx, eax
mov rcx, rbx
call fcn.1800570b0
mov ebx, eax
mov edx, eax
lea rcx, [rsp + 0x160]
call fcn.1800538a0
mov r8, rax
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.180055500
nop
mov rdx, rax
mov rcx, rdi
call fcn.180055d00
mov dword [rsp + 0x30], 1
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x40]
call fcn.180002b10
nop
lea rcx, [rsp + 0x190]
call fcn.18000ee70
mov rax, rdi
jmp 0x180056e04
mov ecx, dword [rsi + 8]
mov dword [rbp], ecx
cvttsd2si rax, qword [rsp + 0x80]
cmp ecx, eax
je 0x180056af1
mov edx, reloc.WS2_32.dll_send
lea rcx, [rsp + 0x160]
call fcn.1800538a0
mov r8, rax
mov edx, reloc.WS2_32.dll_send
lea rcx, [rsp + 0x38]
call fcn.180055500
nop
mov rdx, rax
mov rcx, rdi
call fcn.180055d00
mov dword [rsp + 0x30], 1
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x40]
call fcn.180002b10
nop
lea rcx, [rsp + 0x190]
call fcn.18000ee70
mov rax, rdi
jmp 0x180056e04
lea rcx, [rsp + 0x88]
call fcn.180011f60
lea rdx, str.Content_Type
lea rcx, [rsp + 0x160]
call fcn.180002ab0
nop
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1c0]
call fcn.1800102b0
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x1c0]
call fcn.18000f590
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180010720
test al, al
jne 0x180056b88
lea rcx, [rsp + 0x70]
call fcn.180010880
mov rcx, rax
call fcn.18000f6f0
mov r8, rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x1d0]
call fcn.18000ac90
test al, al
jne 0x180056b88
lea rax, [rsp + 0x70]
jmp 0x180056b9d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x1c0]
call fcn.18000f590
lea rdx, [rsp + 0x88]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rax, qword [rax + 8]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x160]
call fcn.180002b10
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x1c0]
call fcn.18000f590
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180010720
test al, al
je 0x180056c4d
mov edx, reloc.WS2_32.dll_recvfrom
lea rcx, [rsp + 0x160]
call fcn.1800538a0
mov r8, rax
mov edx, reloc.WS2_32.dll_recvfrom
lea rcx, [rsp + 0x38]
call fcn.180055500
nop
mov rdx, rax
mov rcx, rdi
call fcn.180055d00
mov dword [rsp + 0x30], 1
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x40]
call fcn.180002b10
nop
lea rcx, [rsp + 0x190]
call fcn.18000ee70
mov rax, rdi
jmp 0x180056e04
lea rcx, [rsp + 0x88]
call fcn.18000f5c0
xor r8d, r8d
lea rdx, str.application_json
lea rcx, [rax + 0x28]
call fcn.1800099d0
cmp rax, 0xffffffffffffffff
je 0x180056d03
mov rdx, qword [rsi]
lea rcx, [rsp + 0x160]
call fcn.180002ab0
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.180007cc0
mov r8, rax
mov edx, 0x1400
lea rcx, [rsp + 0x98]
call fcn.180055500
nop
mov rdx, rax
mov rcx, rdi
call fcn.180055d00
mov dword [rsp + 0x30], 1
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0x98], rsi
lea rcx, [rsp + 0xa0]
call fcn.180002b10
nop
lea rcx, [rsp + 0x160]
call fcn.180002b10
nop
lea rcx, [rsp + 0x190]
call fcn.18000ee70
mov rax, rdi
jmp 0x180056e04
lea rcx, [rsp + 0x88]
call fcn.18000f5c0
mov rbx, rax
lea rcx, str.application_octet_stream
call fcn.1800010d0
mov qword [rsp + 0x20], rax
lea r9, str.application_octet_stream
mov r8, qword [rbx + 0x40]
xor edx, edx
lea rcx, [rbx + 0x28]
call fcn.180009f10
test eax, eax
je 0x180056da5
mov edx, reloc.WS2_32.dll_recvfrom
lea rcx, [rsp + 0x38]
call fcn.1800538a0
mov r8, rax
mov edx, reloc.WS2_32.dll_recvfrom
lea rcx, [rsp + 0x98]
call fcn.180055500
nop
mov rdx, rax
mov rcx, rdi
call fcn.180055d00
mov dword [rsp + 0x30], 1
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0x98], rsi
lea rcx, [rsp + 0xa0]
call fcn.180002b10
nop
lea rcx, [rsp + 0x190]
call fcn.18000ee70
mov rax, rdi
jmp 0x180056e04
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1800538a0
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x98]
call fcn.180055500
nop
mov rdx, rax
mov rcx, rdi
call fcn.180055d00
mov dword [rsp + 0x30], 1
lea rsi, vtable.CurlResp.0
mov qword [rsp + 0x98], rsi
lea rcx, [rsp + 0xa0]
call fcn.180002b10
nop
lea rcx, [rsp + 0x190]
call fcn.18000ee70
mov rax, rdi
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x210
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret