Function at 0x140039dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1320]
mov eax, 0x1420
call fcn.1400ae710
sub rsp, rax
mov rax, qword [0x1400d7080]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
mov rdx, qword [0x1400f4578]
xor esi, esi
mov rdi, qword [0x1400f4580]
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdi
test rdx, rdx
je 0x140039e3a
mov eax, dword [rcx + 0xc]
cmp dword [0x1400d72ec], eax
jge 0x140039ea7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f4578], rsi
mov eax, dword [r14 + 0xc]
lea r9, [0x1400f4578]
mov rcx, qword [0x1400f4568]
lea rdx, [rbp + 0x12b0]
add eax, 0x1388
mov qword [rbp + 0x12c0], rsi
mov dword [0x1400d72ec], eax
xor r8d, r8d
mov dword [rbp + 0x12b4], 2
mov dword [rbp + 0x12b8], 1
lea eax, [rax + rax*4]
mov dword [rbp + 0x12bc], 0x10000
shl eax, 2
mov dword [rbp + 0x12b0], eax
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
js 0x14003a8d6
mov rdx, qword [0x1400f4578]
mov rcx, qword [0x1400f4560]
test rcx, rcx
je 0x140039ecc
mov eax, dword [r14 + 8]
cmp dword [0x1400d72e8], eax
jge 0x140039f35
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f4560], rsi
mov eax, dword [r14 + 8]
lea r9, [0x1400f4560]
mov rcx, qword [0x1400f4568]
lea rdx, [rbp + 0x1290]
add eax, 0x2710
mov qword [rbp + 0x12a0], rsi
mov dword [0x1400d72e8], eax
xor r8d, r8d
add eax, eax
mov dword [rbp + 0x1294], 2
mov dword [rbp + 0x1290], eax
mov dword [rbp + 0x1298], 2
mov dword [rbp + 0x129c], 0x10000
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
js 0x14003a8d6
mov rdx, qword [0x1400f4578]
mov rax, qword [rdi]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov r9d, 4
mov rcx, rdi
mov dword [rsp + 0x20], esi
xor r8d, r8d
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
test eax, eax
jne 0x14003a8d6
mov rax, qword [rdi]
lea rcx, [rsp + 0x58]
mov rdx, qword [0x1400f4560]
mov r9d, 4
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], esi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
test eax, eax
jne 0x14003a8d6
mov qword [rsp + 0x1458], r12
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x1460], r13
mov r13, qword [rsp + 0x58]
mov qword [rsp + 0x1468], r15
cmp dword [r14 + 4], esi
jle 0x14003a019
mov r15, rsi
mov edi, esi
nop dword [rax]
mov rax, qword [r14 + 0x10]
mov rcx, r12
mov rbx, qword [r15 + rax]
movsxd rax, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
lea r8, [rax + rax*4]
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
movsxd r8, dword [rbx + 0x10]
mov rcx, r13
mov rdx, qword [rbx + 0x18]
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbx + 0x20]
lea r15, [r15 + 8]
inc edi
lea rcx, [rax + rax*4]
movsxd rax, dword [rbx + 0x10]
lea r12, [r12 + rcx*4]
lea r13, [r13 + rax*2]
cmp edi, dword [r14 + 4]
jl 0x140039fc0
mov rdi, qword [rsp + 0x38]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [0x1400f4578]
mov rcx, rdi
call qword [rax + 0x78]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [0x1400f4560]
mov rcx, rdi
call qword [rax + 0x78]
mov rax, qword [rdi]
lea rcx, [rbp + 0x1290]
mov rdx, qword [0x1400f4540]
mov r9d, 4
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], esi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
test eax, eax
jne 0x14003a8be
movss xmm5, dword [r14 + 0x18]
xor r8d, r8d
movss xmm2, dword [0x1400c7450]
movaps xmm3, xmm5
addss xmm3, dword [r14 + 0x20]
mov rax, qword [rbp + 0x1290]
movaps xmm0, xmm2
movaps xmmword [rsp + 0x1410], xmm6
mov rcx, rdi
movss xmm6, dword [r14 + 0x1c]
movaps xmmword [rsp + 0x1400], xmm7
movaps xmm4, xmm6
addss xmm4, dword [r14 + 0x24]
movaps xmm1, xmm3
subss xmm1, xmm5
divss xmm0, xmm1
movaps xmm1, xmm4
movss dword [rax], xmm0
addss xmm1, xmm6
mov rax, qword [rbp + 0x1290]
movaps xmm0, xmm6
subss xmm0, xmm4
subss xmm4, xmm6
mov dword [rax + 4], esi
mov rax, qword [rbp + 0x1290]
divss xmm2, xmm0
mov dword [rax + 8], esi
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0xc], esi
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0x10], esi
mov rax, qword [rbp + 0x1290]
movaps xmm0, xmm3
movss dword [rax + 0x14], xmm2
addss xmm0, xmm5
mov rax, qword [rbp + 0x1290]
subss xmm5, xmm3
divss xmm1, xmm4
mov dword [rax + 0x18], esi
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0x1c], esi
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0x20], esi
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0x24], esi
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0x28], 0x3f000000
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0x2c], esi
mov rax, qword [rbp + 0x1290]
divss xmm0, xmm5
movss dword [rax + 0x30], xmm0
mov rax, qword [rbp + 0x1290]
movss dword [rax + 0x34], xmm1
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0x38], 0x3f000000
mov rax, qword [rbp + 0x1290]
mov dword [rax + 0x3c], 0x3f800000
mov rax, qword [rdi]
mov rdx, qword [0x1400f4540]
call qword [rax + 0x78]
mov rax, qword [rdi]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x74], reloc.WS2_32.dll_recv
mov rcx, rdi
mov dword [rsp + 0x70], reloc.WS2_32.dll_recv
call qword [rax + 0x300]
mov rax, qword [rdi]
lea r8, [rbp + 0x78]
lea rdx, [rsp + 0x74]
mov rcx, rdi
call qword [rax + 0x2f8]
mov rax, qword [rdi]
lea rdx, [rbp + 0x1f8]
mov rcx, rdi
call qword [rax + 0x2f0]
mov rax, qword [rdi]
lea r9, [rbp + 0x218]
lea r8, [rbp + 0x208]
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [rax + 0x2d8]
mov rax, qword [rdi]
lea r8, [rbp + 0x21c]
lea rdx, [rbp + 0x220]
mov rcx, rdi
call qword [rax + 0x2e0]
mov rax, qword [rdi]
lea r9, [rbp + 0x228]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x248]
mov rax, qword [rdi]
lea r9, [rbp + 0x230]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x258]
mov rax, qword [rdi]
lea r9, [rbp + 0x248]
lea r8, [rbp + 0x250]
mov dword [rbp + 0x24c], 0x100
lea rdx, [rbp + 0x238]
mov dword [rbp + 0x248], 0x100
mov rcx, rdi
call qword [rax + 0x250]
mov rax, qword [rdi]
lea r9, [rbp + 0x24c]
lea r8, [rbp + 0xa50]
mov rcx, rdi
lea rdx, [rbp + 0x240]
call qword [rax + 0x260]
mov rax, qword [rdi]
lea r9, [rbp + 0x1268]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x240]
mov rax, qword [rdi]
lea rdx, [rbp + 0x1250]
mov rcx, rdi
call qword [rax + 0x298]
mov rax, qword [rdi]
lea r9, [rbp + 0x1270]
lea r8, [rbp + 0x127c]
mov rcx, rdi
lea rdx, [rbp + 0x1258]
call qword [rax + 0x280]
mov rax, qword [rdi]
lea rcx, [rbp + 0x1278]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x1260]
xor edx, edx
lea rcx, [rbp + 0x1274]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x278]
mov rax, qword [rdi]
lea rdx, [rbp + 0x1280]
mov rcx, rdi
call qword [rax + 0x270]
movss xmm0, dword [r14 + 0x20]
lea r8, [rbp + 0x12c8]
movss xmm1, dword [r14 + 0x24]
mov edx, 1
mov rax, qword [rdi]
mov rcx, rdi
movss dword [rbp + 0x12d0], xmm0
movss dword [rbp + 0x12d4], xmm1
mov dword [rbp + 0x12d8], esi
mov dword [rbp + 0x12dc], 0x3f800000
mov qword [rbp + 0x12c8], rsi
call qword [rax + 0x160]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [0x1400f4548]
mov dword [rbp + 0x12ac], reloc.WS2_32.dll_sendto
mov dword [rbp + 0x12a8], esi
call qword [rax + 0x88]
mov rax, qword [rdi]
lea rcx, [rbp + 0x12a8]
mov qword [rsp + 0x28], rcx
lea r9, [0x1400f4578]
xor edx, edx
lea rcx, [rbp + 0x12ac]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x90]
mov rax, qword [rdi]
xor r9d, r9d
mov rdx, qword [0x1400f4560]
mov rcx, rdi
lea r8d, [r9 + 0x39]
call qword [rax + 0x98]
mov rax, qword [rdi]
mov edx, 4
mov rcx, rdi
call qword [rax + 0xc0]
mov rax, qword [rdi]
xor r9d, r9d
mov rdx, qword [0x1400f4538]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x58]
mov rax, qword [rdi]
lea r9, [0x1400f4540]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + gethostname]
mov rax, qword [rdi]
xor r9d, r9d
mov rdx, qword [0x1400f4528]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x48]
mov rax, qword [rdi]
lea r9, [0x1400f4570]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x50]
mov rax, qword [rdi]
lea r8, [rbp + 0x12e0]
mov rdx, qword [0x1400f4530]
xorps xmm0, xmm0
mov r9d, 0xffffffff
mov rcx, rdi
movups xmmword [rbp + 0x12e0], xmm0
call qword [rax + 0x118]
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [0x1400f4520]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [0x1400f4518]
call qword [rax + 0x158]
mov ecx, esi
movss xmm6, dword [r14 + 0x18]
mov r13d, esi
movss xmm7, dword [r14 + 0x1c]
mov r8d, esi
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x30], esi
cmp dword [r14 + 4], esi
jle 0x14003a611
mov rdx, rsi
mov qword [rsp + 0x38], rdx
nop dword [rax + rax]
mov rax, qword [r14 + 0x10]
mov r15d, esi
mov r14, qword [rdx + rax]
cmp dword [r14], 0
jle 0x14003a5e9
mov r12, rsi
nop dword [rax + rax]
mov rbx, qword [r14 + 8]
add rbx, r12
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14003a52d
mov rdx, rbx
mov rcx, r14
call rax
jmp 0x14003a5c5
movss xmm0, dword [rbx]
lea r8, [rbp + 0x12b0]
movss xmm1, dword [rbx + 4]
subss xmm0, xmm6
subss xmm1, xmm7
mov edx, 1
mov rcx, rdi
cvttss2si eax, xmm0
movss xmm0, dword [rbx + 8]
mov dword [rbp + 0x12b0], eax
subss xmm0, xmm6
cvttss2si eax, xmm1
movss xmm1, dword [rbx + 0xc]
mov dword [rbp + 0x12b4], eax
subss xmm1, xmm7
cvttss2si eax, xmm0
mov dword [rbp + 0x12b8], eax
cvttss2si eax, xmm1
mov dword [rbp + 0x12bc], eax
mov rax, qword [rdi]
call qword [rax + 0x168]
mov rax, qword [rbx + 0x10]
lea r9, [rbp + 0x1290]
xor edx, edx
mov qword [rbp + 0x1290], rax
mov rax, qword [rdi]
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x40]
mov rax, qword [rdi]
mov r8d, r13d
mov r9d, dword [rsp + 0x34]
mov rcx, rdi
mov edx, dword [rbx + 0x20]
call qword [rax + 0x60]
add r13d, dword [rbx + 0x20]
inc r15d
add r12, 0x38
cmp r15d, dword [r14]
jl 0x14003a510
mov ecx, dword [rsp + 0x34]
xor esi, esi
mov rdx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
add ecx, dword [r14 + 0x20]
inc r8d
mov r14, qword [rsp + 0x40]
add rdx, 8
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x38], rdx
cmp r8d, dword [r14 + 4]
jl 0x14003a4f0
mov rax, qword [rdi]
lea r8, [rsp + 0x78]
mov edx, dword [rsp + 0x70]
mov rcx, rdi
call qword [rax + 0x168]
mov rax, qword [rdi]
lea r8, [rbp + 0x78]
mov edx, dword [rsp + 0x74]
mov rcx, rdi
call qword [rax + 0x160]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x1f8]
call qword [rax + 0x158]
mov rcx, qword [rbp + 0x1f8]
movaps xmm7, xmmword [rsp + 0x1400]
movaps xmm6, xmmword [rsp + 0x1410]
test rcx, rcx
je 0x14003a66f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi]
lea r8, [rbp + 0x208]
mov r9d, dword [rbp + 0x218]
mov rcx, rdi
mov rdx, qword [rbp + 0x200]
call qword [rax + 0x118]
mov rcx, qword [rbp + 0x200]
test rcx, rcx
je 0x14003a6a2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi]
mov rcx, rdi
mov r8d, dword [rbp + 0x21c]
mov rdx, qword [rbp + 0x220]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x14003a6ce
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi]
lea r9, [rbp + 0x228]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x40]
mov rcx, qword [rbp + 0x228]
test rcx, rcx
je 0x14003a6f6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi]
lea r9, [rbp + 0x230]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x230]
test rcx, rcx
je 0x14003a71e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi]
lea r8, [rbp + 0x250]
mov r9d, dword [rbp + 0x248]
mov rcx, rdi
mov rdx, qword [rbp + 0x238]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x238]
test rcx, rcx
je 0x14003a74e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, dword [rbp + 0x248]
mov ebx, esi
test edx, edx
je 0x14003a781
nop word [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + rax*8 + 0x250]
test rcx, rcx
je 0x14003a77b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, dword [rbp + 0x248]
inc ebx
cmp ebx, edx
jb 0x14003a760
mov rax, qword [rdi]
lea r8, [rbp + 0xa50]
mov r9d, dword [rbp + 0x24c]
mov rcx, rdi
mov rdx, qword [rbp + 0x240]
call qword [rax + 0x58]
mov rcx, qword [rbp + 0x240]
test rcx, rcx
je 0x14003a7b1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi]
lea r9, [rbp + 0x1268]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + gethostname]
mov rcx, qword [rbp + 0x1268]
test rcx, rcx
je 0x14003a7d9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, dword [rbp + 0x24c]
test edx, edx
je 0x14003a811
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov rcx, qword [rbp + rax*8 + 0xa50]
test rcx, rcx
je 0x14003a80b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, dword [rbp + 0x24c]
inc esi
cmp esi, edx
jb 0x14003a7f0
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [rbp + 0x1250]
call qword [rax + 0xc0]
mov rax, qword [rdi]
mov rcx, rdi
mov r9d, dword [rbp + 0x1270]
mov r8d, dword [rbp + 0x127c]
mov rdx, qword [rbp + 0x1258]
call qword [rax + 0x98]
mov rcx, qword [rbp + 0x1258]
test rcx, rcx
je 0x14003a856
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi]
lea rcx, [rbp + 0x1278]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x1260]
xor edx, edx
lea rcx, [rbp + 0x1274]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
lea r8d, [rdx + 1]
call qword [rax + 0x90]
mov rcx, qword [rbp + 0x1260]
test rcx, rcx
je 0x14003a899
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp + 0x1280]
call qword [rax + 0x88]
mov rcx, qword [rbp + 0x1280]
test rcx, rcx
je 0x14003a8be
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r15, qword [rsp + 0x1468]
mov r12, qword [rsp + 0x1458]
mov r13, qword [rsp + 0x1460]
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.1400adb90
add rsp, 0x1420
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret