Function at 0x18000939d
Capabilities:
Check http status code

Disassembly:
push rbp
sub rsp, 0x640
lea rbp, [rsp + 0x30]
mov qword [rsp], rax
mov rax, 0x63c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18000938c
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x1b8], rbx
mov qword [rbp + 0x620], rcx
mov qword [rbp + 0x628], rdx
mov qword [rbp + 0x630], r8
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0x600], rax
mov dword [rbp + 0x20], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
lea rax, [0x180101312]
mov rdx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
call rdx
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x180009bd9
mov rax, qword [rbp + 0xa0]
lea rdx, [0x18010131e]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x128], rcx
mov rcx, rax
mov rax, qword [rbp + 0x128]
call rax
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0xa0]
lea rdx, [0x18010132c]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x130], rcx
mov rcx, rax
mov rax, qword [rbp + 0x130]
call rax
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0xa0]
lea rdx, [0x18010133d]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x138], rcx
mov rcx, rax
mov rax, qword [rbp + 0x138]
call rax
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0xa0]
lea rdx, [0x18010134e]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x140], rcx
mov rcx, rax
mov rax, qword [rbp + 0x140]
call rax
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xa0]
lea rdx, [0x18010135f]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x148], rcx
mov rcx, rax
mov rax, qword [rbp + 0x148]
call rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0xa0]
lea rdx, [0x180101370]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x150], rcx
mov rcx, rax
mov rax, qword [rbp + 0x150]
call rax
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0xa0]
lea rdx, [0x18010137f]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x158], rcx
mov rcx, rax
mov rax, qword [rbp + 0x158]
call rax
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xa0]
lea rdx, [0x180101390]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x160], rcx
mov rcx, rax
mov rax, qword [rbp + 0x160]
call rax
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x180009bc3
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x180009bc3
mov rax, qword [rbp + 0x68]
test rax, rax
je 0x180009bc3
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x180009bc3
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x180009bc3
mov rax, qword [rbp + 0x80]
test rax, rax
je 0x180009bc3
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x180009bc3
mov rax, qword [rbp + 0x90]
test rax, rax
je 0x180009bc3
mov rax, qword [rbp + 0x58]
lea rdx, [0x1801013a4]
mov ecx, 0
mov ebx, 0
mov esi, 0
mov qword [rsp + 0x20], 0
mov qword [rbp + 0x168], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x168]
mov r8, rbx
mov r9, rsi
call rax
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf0]
test rax, rax
je 0x180009bc3
mov qword [rbp + 0xf8], 0
mov rax, qword [rbp + 0x620]
lea rdx, [0x1801013a5]
mov ecx, 8
mov qword [rbp + 0x170], rcx
mov rcx, rax
mov rax, qword [rbp + 0x170]
mov r8, rax
call sub.ntdll.dll__strnicmp
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x28]
test eax, eax
jne 0x1800097b5
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0x620]
mov ebx, 0
mov esi, 0
mov dword [rsp + 0x20], 0x80800300
mov qword [rsp + 0x28], 0
mov qword [rbp + 0x178], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x178]
mov r8, rbx
mov r9, rsi
call rax
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0xf8], rax
jmp 0x180009810
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0x620]
mov ebx, 0
mov esi, 0
mov dword [rsp + 0x20], 0x80000300
mov qword [rsp + 0x28], 0
mov qword [rbp + 0x180], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x180]
mov r8, rbx
mov r9, rsi
call rax
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
test rax, rax
je 0x180009bad
mov dword [rbp + 8], 0x20
mov rax, qword [rbp + 0x80]
mov rdx, qword [rbp + 0xf8]
mov ecx, reloc.WS2_32.dll_send
lea rbx, [rbp + 0x1d0]
lea rsi, [rbp + 8]
mov qword [rsp + 0x20], 0
mov dword [rbp + 0x188], ecx
mov rcx, rdx
mov edx, dword [rbp + 0x188]
mov r8, rbx
mov r9, rsi
call rax
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
test eax, eax
je 0x180009b97
lea rax, [rbp + 0x1d0]
mov edx, dword [rbp + 8]
add rax, rdx
mov byte [rax], 0
lea rax, [rbp + 0x1d0]
mov rcx, rax
call fcn.180066d00
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x34]
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
cmp eax, 0xc8
jne 0x180009b97
mov dword [rbp + 0x40], 0xffffffff
mov dword [rbp + 8], 0x20
mov rax, qword [rbp + 0x80]
mov rdx, qword [rbp + 0xf8]
mov ecx, 5
lea rbx, [rbp + 0x1d0]
lea rsi, [rbp + 8]
mov qword [rsp + 0x20], 0
mov dword [rbp + 0x190], ecx
mov rcx, rdx
mov edx, dword [rbp + 0x190]
mov r8, rbx
mov r9, rsi
call rax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
test eax, eax
je 0x180009927
lea rax, [rbp + 0x1d0]
mov edx, dword [rbp + 8]
add rax, rdx
mov byte [rax], 0
lea rax, [rbp + 0x1d0]
mov rcx, rax
call fcn.180066d00
mov dword [rbp + 0x48], eax
mov eax, dword [rbp + 0x48]
mov dword [rbp + 0x40], eax
mov rax, qword [rbp + 0x628]
mov qword [rax], 0
mov rax, qword [rbp + 0x630]
mov dword [rax], 0
mov eax, dword [rbp + 0x40]
cmp eax, 0xffffffff
je 0x180009a55
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x180009a2e
mov eax, dword [rbp + 0x40]
mov ecx, eax
call fcn.1800106cc
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x628]
mov rdx, qword [rbp + 0x110]
mov qword [rax], rdx
mov rax, qword [rbp + 0x630]
mov edx, dword [rbp + 0x40]
mov dword [rax], edx
mov rax, qword [rbp + 0x628]
mov rax, qword [rax]
test rax, rax
je 0x180009b97
mov rax, qword [rbp + 0x88]
mov rdx, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x628]
mov rcx, qword [rcx]
mov rbx, qword [rbp + 0x630]
mov ebx, dword [rbx]
mov rsi, qword [rbp + 0x630]
mov qword [rbp + 0x198], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x198]
mov r8d, ebx
mov r9, rsi
call rax
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1800099f1
mov dword [rbp + 0x20], 1
jmp 0x180009b97
mov rax, qword [rbp + 0x628]
mov rax, qword [rax]
test rax, rax
jne 0x180009a09
mov rax, qword [sym.imp.KERNEL32.dll_DebugBreak]
call rax
mov rax, qword [rbp + 0x628]
mov rax, qword [rax]
mov rcx, rax
call fcn.1800622b0
mov rax, qword [rbp + 0x628]
mov qword [rax], 0
jmp 0x180009b97
mov rax, qword [rbp + 0x628]
mov qword [rax], 0
mov rax, qword [rbp + 0x630]
mov dword [rax], 0
mov dword [rbp + 0x20], 1
jmp 0x180009b97
mov rax, qword [rbp + 0x628]
mov qword [rax], 0
mov rax, qword [rbp + 0x630]
mov dword [rax], 0
mov eax, 0
cmp eax, 1
je 0x180009b83
mov dword [rbp + 0x14], 0x400
mov rax, qword [rbp + 0x88]
mov rdx, qword [rbp + 0xf8]
lea rcx, [rbp + 0x1f8]
mov ebx, dword [rbp + 0x14]
lea rsi, [rbp + 0x14]
mov qword [rbp + 0x1a0], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x1a0]
mov r8d, ebx
mov r9, rsi
call rax
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x4c]
test eax, eax
je 0x180009b83
mov eax, dword [rbp + 0x14]
test eax, eax
je 0x180009b83
mov rax, qword [rbp + 0x628]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x630]
mov ecx, dword [rbp + 0x14]
add ecx, dword [rdx]
mov qword [rbp + 0x1a8], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1a8]
mov rdx, rax
call fcn.1800625a0
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x628]
mov rdx, qword [rbp + 0x118]
mov qword [rax], rdx
mov rax, qword [rbp + 0x628]
mov rax, qword [rax]
test rax, rax
je 0x180009b83
mov rax, qword [rbp + 0x628]
mov rdx, qword [rbp + 0x630]
mov edx, dword [rdx]
add rdx, qword [rax]
lea rax, [rbp + 0x1f8]
mov ecx, dword [rbp + 0x14]
mov qword [rbp + 0x1b0], rcx
mov rcx, rdx
mov rdx, rax
mov rax, qword [rbp + 0x1b0]
mov r8, rax
call fcn.180064f00
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x630]
mov edx, dword [rbp + 0x14]
add edx, dword [rax]
mov rax, qword [rbp + 0x630]
mov dword [rax], edx
jmp 0x180009a70
mov rax, qword [rbp + 0x630]
mov eax, dword [rax]
test eax, eax
je 0x180009b97
mov dword [rbp + 0x20], 1
mov rax, qword [rbp + 0x90]
mov rdx, qword [rbp + 0xf8]
mov rcx, rdx
call rax
mov dword [rbp + 0x38], eax
mov rax, qword [rbp + 0x90]
mov rdx, qword [rbp + 0xf0]
mov rcx, rdx
call rax
mov dword [rbp + 0x30], eax
mov rax, qword [rbp + 0xa0]
mov rdx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rax
call rdx
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x20]
mov dword [rbp + 0x54], eax
lea rax, reloc.WS2_32.dll_connect
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0x600]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x54]
mov rbx, qword [rbp + 0x1b8]
mov rsi, qword [rbp + 0x1c0]
lea rsp, [rbp + 0x610]
pop rbp
ret