Function at 0x140074330
Capabilities:
Check http status code

Disassembly:
push rbp
push rsi
push rdi
push r12
sub rsp, 0x88
mov rax, qword [0x1401ee740]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x38]
mov r12d, r8d
mov eax, dword [rcx + 0xb0]
inc eax
movzx edx, ax
mov dword [rcx + 0xb0], eax
cmp edx, 0xc8
jb 0x140074384
je 0x1400747e0
cmp edx, 0xdc
jae 0x1400747ed
mov eax, dword [rsi + 0x10]
xor ebp, ebp
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0x80], r15
cmp eax, 0x23
je 0x1400743dc
cmp eax, 0x2d
je 0x1400743d7
cmp eax, 0x7e
je 0x1400743cf
cmp eax, 0x10e
je 0x1400743c7
mov rdx, rdi
mov rcx, rsi
call fcn.140074080
jmp 0x140074532
mov r14d, 2
jmp 0x1400743e2
mov r14d, 1
jmp 0x1400743e2
mov r14d, ebp
jmp 0x1400743e2
mov r14d, 3
cmp dword [rsi + 0x20], 0x120
mov r15d, dword [rsi + 4]
mov dword [rsi + 8], r15d
je 0x140074404
movups xmm0, xmmword [rsi + 0x20]
mov dword [rsi + 0x20], pe_nt_image_headers64
movups xmmword [rsi + 0x10], xmm0
jmp 0x140074413
lea rdx, [rsi + 0x18]
mov rcx, rsi
call fcn.14006a290
mov dword [rsi + 0x10], eax
mov r8d, listen
mov rdx, rdi
mov rcx, rsi
call fcn.140074330
mov rbx, qword [rsi + 0x30]
mov rdx, rdi
mov rcx, rbx
call fcn.14005a220
mov ecx, r14d
test r14d, r14d
je 0x14007445f
sub ecx, 1
je 0x14007445f
sub ecx, 1
je 0x14007444f
cmp ecx, 1
je 0x14007447d
jmp 0x140074532
mov rdx, rdi
mov rcx, rbx
call fcn.14005b2d0
jmp 0x140074532
lea edx, [r14 + 0xc]
mov r8, rdi
lea r9, reloc.WS2_32.dll_getsockname
mov rcx, rbx
call fcn.14005b660
test eax, eax
jne 0x140074532
mov rdx, rdi
mov rcx, rbx
call fcn.14005a9d0
cmp dword [rdi], 8
mov r10d, eax
jne 0x1400744dc
movzx edx, byte [rbx + 0x42]
test dl, dl
je 0x1400744d2
movsxd rcx, dword [rbx + 0x38]
mov r9d, edx
add rcx, rdx
lea r8, [rcx + rcx*2]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rcx + 0x58]
mov rax, qword [rdx]
lea rcx, [rax + r8*8]
nop word [rax + rax]
dec r9
lea rcx, [rcx - 0x18]
cmp byte [rcx + 9], 3
jne 0x140074515
test r9, r9
jg 0x1400744c0
mov eax, ebp
cmp dword [rdi + 8], eax
jl 0x1400744dc
dec byte [rbx + 0x44]
shl r10d, 0x10
lea edx, [r14 + 0x31]
or edx, r10d
mov rcx, rbx
call fcn.140059be0
mov dword [rdi + 8], eax
mov dword [rdi], reloc.WS2_32.dll_recvfrom
mov r9, qword [rbx]
movsxd rcx, dword [rbx + 0x20]
mov rax, qword [r9 + 0x58]
movsx edx, byte [rcx + rax - 1]
cmp dl, 0x80
je 0x14007451d
sub dword [rbx + 0x28], edx
dec byte [rbx + 0x45]
jmp 0x140074524
movzx eax, byte [rcx + 0xa]
inc eax
jmp 0x1400744d4
dec dword [rbx + 0x34]
mov byte [rbx + 0x45], 0x81
mov r8d, r15d
mov rdx, r9
mov rcx, rbx
call fcn.140059ad0
mov eax, dword [rsi + 0x10]
movaps xmmword [rsp + 0x70], xmm6
add eax, 0xffffffdb
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
cmp eax, 0xf9
ja case.0x140074570.39
lea r15, [0x140000000]
cdqe
movzx eax, byte [r15 + rax + 0x74850]
mov ecx, dword [r15 + rax*4 + 0x747f8]
add rcx, r15
jmp rcx
mov ebp, 1
jmp case.0x140074570.43
mov ebp, 2
jmp case.0x140074570.43
mov ebp, 3
jmp case.0x140074570.43
mov ebp, 4
jmp case.0x140074570.43
mov ebp, 5
jmp case.0x140074570.43
mov ebp, 6
jmp case.0x140074570.43
mov ebp, 7
jmp case.0x140074570.43
mov ebp, 8
jmp case.0x140074570.43
mov ebp, 9
jmp case.0x140074570.43
mov ebp, 0xa
jmp case.0x140074570.43
mov ebp, listen
jmp case.0x140074570.43
mov ebp, listen
jmp case.0x140074570.43
mov ebp, reloc.WS2_32.dll_recv
jmp case.0x140074570.43
mov ebp, reloc.WS2_32.dll_listen
jmp case.0x140074570.43
mov ebp, reloc.WS2_32.dll_ntohl
jmp case.0x140074570.43
mov ebp, reloc.WS2_32.dll_ntohs
jmp case.0x140074570.43
mov ebp, reloc.WS2_32.dll_recvfrom
jmp case.0x140074570.43
mov ebp, reloc.WS2_32.dll_select
jmp case.0x140074570.43
mov ebp, reloc.WS2_32.dll_send
jmp case.0x140074570.43
mov ebp, reloc.WS2_32.dll_sendto
movsd xmm7, qword [0x1401c99e0]
movsd xmm8, qword [0x1401c9988]
movsxd rax, ebp
movzx eax, byte [r15 + rax*2 + 0x182c20]
cmp eax, r12d
jle 0x140074792
cmp dword [rsi + 0x20], 0x120
mov r14d, dword [rsi + 4]
mov dword [rsi + 8], r14d
je 0x140074647
movups xmm0, xmmword [rsi + 0x20]
mov dword [rsi + 0x20], pe_nt_image_headers64
movups xmmword [rsi + 0x10], xmm0
jmp 0x140074656
lea rdx, [rsi + 0x18]
mov rcx, rsi
call fcn.14006a290
mov dword [rsi + 0x10], eax
mov rbx, qword [rsi + 0x30]
mov rdx, rdi
mov rcx, rbx
call fcn.14005a220
cmp ebp, 0x14
ja case.default.0x14007467c
movsxd rax, ebp
mov edx, dword [r15 + rax*4 + 0x7494c]
add rdx, r15
jmp rdx
mov rdx, rdi
mov rcx, rbx
call fcn.14005b130
jmp case.default.0x14007467c
mov rdx, rdi
mov rcx, rbx
call fcn.14005b240
jmp case.default.0x14007467c
mov rdx, rdi
mov rcx, rbx
call fcn.14005a910
jmp case.default.0x14007467c
mov eax, dword [rdi + 0x14]
cmp dword [rdi + 0x10], eax
jne 0x140074742
mov ecx, dword [rdi]
sub ecx, 5
je case.default.0x14007467c
cmp ecx, 1
je case.default.0x14007467c
jmp 0x140074742
mov eax, dword [rdi + 0x14]
cmp dword [rdi + 0x10], eax
jne 0x1400746e4
mov ecx, dword [rdi]
sub ecx, 5
je case.default.0x14007467c
cmp ecx, 1
je case.default.0x14007467c
mov rdx, rdi
mov rcx, rbx
call fcn.14005aa80
test eax, eax
jne case.default.0x14007467c
jmp 0x140074742
mov eax, dword [rdi]
cmp eax, 6
jne 0x140074702
mov rcx, qword [rdi + 8]
jmp 0x14007472e
cmp eax, 5
jne 0x140074742
movsd xmm6, qword [rdi + 8]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
ucomisd xmm6, xmm0
jp 0x140074742
jne 0x140074742
comisd xmm0, xmm7
jb 0x140074742
comisd xmm8, xmm0
jbe 0x140074742
cvttsd2si rcx, xmm0
mov eax, dword [rdi + 0x14]
cmp dword [rdi + 0x10], eax
jne 0x140074742
lea rax, [rcx + 0x7f]
cmp rax, 0xff
jbe case.default.0x14007467c
mov rdx, rdi
mov rcx, rbx
call fcn.14005a9d0
movsxd rax, ebp
lea rdx, [rsp + 0x30]
mov rcx, rsi
movzx r8d, byte [r15 + rax*2 + 0x182c21]
call fcn.140074330
mov rcx, qword [rsi + 0x30]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], r14d
mov edx, ebp
mov ebx, eax
call fcn.14005bfc0
mov ebp, ebx
cmp ebx, 0x15
jne 0x140074610
jmp 0x140074792
mov ebp, reloc.WS2_32.dll_setsockopt
mov rax, qword [rsi + 0x38]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
dec dword [rax + 0xb0]
mov eax, ebp
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401608e0
add rsp, 0x88
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.C_stack_overflow
call fcn.140060a10
int3
mov edx, 5
call fcn.140060d00
int3