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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x258
lea rbp, [rsp + 0x60]
movaps xmmword [rbp + 0x1e0], xmm6
movaps xmmword [rbp + 0x1d0], xmm7
movaps xmmword [rbp + 0x1c0], xmm8
movaps xmmword [rbp + 0x1b0], xmm9
movaps xmmword [rbp + 0x1a0], xmm10
mov rax, qword [0x1402e0068]
xor rax, rbp
mov qword [rbp + 0x190], rax
mov eax, dword [rbp + 0x260]
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x298]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp + 0x60], rdx
mov edx, 0x4fc
mov ecx, eax
mov qword [rbp + 0x40], r9
cmp eax, edx
mov r13d, r8d
mov dword [rbp], r8d
cmovg ecx, edx
mov r15d, r14d
mov dword [rbp + 0x38], r14d
mov dword [rbp + 4], r14d
mov dword [rbp + 0xc], r14d
mov dword [rbp + 0x14], r14d
mov dword [rbp + 0x10], ecx
mov dword [rbp + 0x50], r14d
mov dword [rbp + 0x58], r14d
mov dword [rbp + 0x20], 0xffffffff
mov dword [rbp + 0x28], 0xffffffff
mov dword [rbp + 0x34], r14d
mov dword [rdi + 0x46dc], r14d
test r8d, r8d
jle 0x1401988c0
test ecx, ecx
jle 0x1401988c0
cmp ecx, 1
jne 0x14019689a
lea eax, [r8 + r8*4]
add eax, eax
cmp dword [rdi + 0x90], eax
jne 0x14019689a
mov eax, 0xfffffffe
jmp 0x1401988c3
movsxd rax, dword [rdi + 4]
movsxd rcx, dword [rdi]
add rax, rdi
add rcx, rdi
cmp dword [rdi + 0x6c], 0x803
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x18], rcx
jne 0x1401968be
mov dword [rbp + 8], r14d
jmp 0x1401968c4
mov eax, dword [rdi + 0x74]
mov dword [rbp + 8], eax
mov eax, dword [rdi + 0xa8]
mov r12d, dword [rbp + 0x268]
lea r8, [rbp + 0x78]
cmp r12d, eax
mov edx, 0x271f
cmovge r12d, eax
mov dword [rbp + 0x268], r12d
call fcn.1401a20e0
cmp dword [rdi + 0x2c], 7
movss xmm6, dword [0x1402811c0]
mov dword [rbp + 0x150], r14d
mov eax, 0x3e80
jl 0x140196a18
mov r11d, dword [rdi + 0x90]
cmp r11d, eax
jl 0x140196a18
mov r8d, dword [rdi + 0x70]
mov rcx, qword [rbp + 0x60]
mov r9d, r12d
mov edx, r13d
call fcn.140196350
mov r9d, dword [rbp + 0x278]
mov rdx, qword [rbp + 0x78]
mov dword [rbp + 0x34], eax
mov eax, dword [rdi + 0x1dd4]
lea rcx, [rdi + 0xbc]
mov dword [rbp + 0x20], eax
mov eax, dword [rdi + 0x1dd8]
mov r8, rbx
mov dword [rbp + 0x28], eax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 0x290]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x288]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x280]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
call fcn.1401a59d0
cmp dword [rbp + 0x34], r14d
jne 0x140196a37
movss xmm0, dword [rbp + 0x174]
comiss xmm0, xmm6
jbe 0x140196a2d
mov rsi, qword [rbp + 0x60]
mov ebx, r13d
mov rdx, rsi
mov rcx, rsi
imul ebx, dword [rdi + 0x70]
mov r8d, ebx
call fcn.1401a5f80
movss xmm2, dword [rdi + 0x46d4]
movd xmm1, ebx
mulss xmm2, dword [0x1402811e8]
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
comiss xmm2, xmm0
ja 0x140196a0e
mov ebx, r13d
mov rdx, rsi
mov rcx, rsi
imul ebx, dword [rdi + 0x70]
mov r8d, ebx
call fcn.1401a5f80
movd xmm1, ebx
movaps xmm2, xmm0
cvtdq2ps xmm1, xmm1
divss xmm2, xmm1
movss dword [rdi + 0x46d4], xmm2
jmp 0x140196a2d
cmp dword [rdi + 0x1de0], r14d
je 0x140196a2d
lea rcx, [rdi + 0xbc]
call fcn.1401a3ef0
mov dword [rdi + 0x8c], 0xffffffff
movss xmm10, dword [0x1402ab594]
movss xmm7, dword [0x1402ab5b0]
mov edx, 0x450
mov dword [rdi + 0x46cc], r14d
lea eax, [rdx - 1]
lea ecx, [rdx - 0x66]
lea r12d, [rdx - 3]
cmp dword [rbp + 0x150], r14d
je 0x140196b45
cmp dword [rdi + 0x7c], 0xfffffc18
jne 0x140196b0a
mov eax, dword [rdi + 0x3794]
test eax, eax
jne 0x140196a8c
movss xmm1, dword [rbp + 0x164]
jmp 0x140196aa2
cmp eax, ecx
jne 0x140196a9a
movss xmm1, dword [rbp + 0x16c]
jmp 0x140196aa2
movss xmm1, dword [rbp + 0x168]
movaps xmm0, xmm10
movabs rax, 0x8000000000000000
xorpd xmm2, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x1402ab760]
addss xmm0, xmm7
unpcklps xmm0, xmm0
cvtps2pd xmm1, xmm0
cvttsd2si rcx, xmm1
cmp rcx, rax
je 0x140196afb
pxor xmm2, xmm2
cvtsi2sd xmm2, rcx
ucomisd xmm2, xmm1
je 0x140196afb
unpcklpd xmm1, xmm1
movmskpd eax, xmm1
pxor xmm1, xmm1
and eax, 1
sub rcx, rax
cvtsi2sd xmm1, rcx
cvttsd2si eax, xmm1
mov dword [rdi + 0x8c], eax
mov eax, 0x44f
mov ecx, dword [rbp + 0x170]
cmp ecx, 0xc
jg 0x140196b1e
mov dword [rdi + 0x46cc], r12d
jmp 0x140196b45
cmp ecx, 0xe
jg 0x140196b2f
mov dword [rdi + 0x46cc], 0x44e
jmp 0x140196b45
cmp ecx, 0x10
jle 0x140196b3f
cmp ecx, 0x12
mov eax, r14d
setg al
add eax, edx
mov dword [rdi + 0x46cc], eax
cmp dword [rdi + 0x70], 2
xorps xmm9, xmm9
jne 0x140196b74
cmp dword [rdi + 0x78], 1
je 0x140196b74
mov r8d, dword [rdi + 0x90]
mov rcx, qword [rbp + 0x60]
lea r9, [rdi + 0x37b8]
mov edx, r13d
call fcn.140195d70
movaps xmm5, xmm0
jmp 0x140196b78
movaps xmm5, xmm9
mov ebx, dword [rbp + 0x10]
mov edx, r13d
mov rcx, rdi
mov r8d, ebx
call fcn.140195850
mov r11d, dword [rdi + 0x90]
mov r10d, eax
mov dword [rdi + 0xa0], eax
mov eax, r11d
cdq
idiv r13d
mov r13d, dword [rdi + 0x94]
mov edx, 1
mov esi, eax
mov dword [rbp + 0x30], eax
test r13d, r13d
jne 0x140196c17
mov ecx, dword [rbp]
lea eax, [r11 + r11*2]
shl eax, 2
cdq
idiv ecx
mov r8d, eax
lea eax, [r10 + r10*2]
shl eax, 2
cdq
and edx, 7
lea ecx, [rdx + rax]
mov eax, r8d
cdq
sar ecx, 3
sub eax, edx
sar eax, 1
add eax, ecx
cdq
idiv r8d
cmp eax, ebx
cmovl ebx, eax
mov eax, 0x2aaaaaab
mov ecx, ebx
imul ecx, r8d
shl ecx, 3
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebx, 1
mov dword [rdi + 0xa0], edx
mov edx, 1
cmovl ebx, edx
mov dword [rbp + 0x10], ebx
cmp ebx, 3
jl 0x140198795
mov r10d, dword [rdi + 0xa0]
lea eax, [rsi + rsi*2]
shl eax, 3
cmp r10d, eax
jl 0x140198795
cmp esi, 0x32
jge 0x140196c58
mov eax, esi
imul eax, ebx
cmp eax, 0x12c
jl 0x140198795
cmp r10d, 0x960
jl 0x140198795
mov r12d, dword [rdi + 0x28]
mov r14d, dword [rdi + 0x2c]
mov eax, esi
imul eax, ebx
shl eax, 3
cmp esi, 0x32
mov r8d, r10d
mov dword [rbp + 0x54], eax
jle 0x140196c89
mov eax, dword [rdi + 0x70]
lea ecx, [rax + rax*4]
lea eax, [rsi - 0x32]
lea ecx, [rcx*8 + 0x14]
imul ecx, eax
sub r8d, ecx
test r13d, r13d
jne 0x140196ca2
mov eax, 0xd5555555
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
add r8d, edx
lea ecx, [r14 + 0x5a]
mov eax, 0x51eb851f
imul ecx, r8d
imul ecx
mov r8d, edx
sar r8d, 5
mov eax, r8d
shr eax, 0x1f
add r8d, eax
lea eax, [r12 + r12*2]
lea ecx, [rax*4 + 0x14]
mov eax, r8d
imul eax, r12d
cdq
idiv ecx
sub r8d, eax
mov eax, dword [rdi + 0x7c]
cmp eax, 0xbb9
jne 0x140196cea
mov ebx, 0x7f
jmp 0x140196d33
cmp eax, 0xbba
jne 0x140196cf5
xor ebx, ebx
jmp 0x140196d33
mov ebx, dword [rdi + 0x8c]
test ebx, ebx
js 0x140196d1f
imul ebx, ebx, 0x147
sar ebx, 8
cmp dword [rdi + 0x6c], 0x801
jne 0x140196d33
mov eax, reloc.WS2_32.dll_WSAStartup
cmp ebx, eax
cmovl eax, ebx
mov ebx, eax
jmp 0x140196d33
cmp dword [rdi + 0x6c], 0x800
mov ebx, gethostbyaddr
mov eax, reloc.WS2_32.dll_WSAStartup
cmove ebx, eax
mov eax, dword [rdi + 0x78]
cmp eax, 0xfffffc18
je 0x140196d43
cmp dword [rdi + 0x70], 2
je 0x140196d79
mov eax, dword [rdi + 0x70]
cmp eax, 2
jne 0x140196d79
mov ecx, ebx
imul ecx, ebx
imul ecx, ecx, 0x7d0
sar ecx, 0xe
cmp dword [rdi + 0x3770], eax
jne 0x140196d69
sub ecx, 0xffffc180
jmp 0x140196d6f
add ecx, 0x4650
xor eax, eax
cmp r8d, ecx
setg al
inc eax
cmp esi, 0x32
mov dword [rdi + 0x3770], eax
mov r8d, r10d
jle 0x140196d9a
lea ecx, [rax + rax*4]
lea eax, [rsi - 0x32]
lea ecx, [rcx*8 + 0x14]
imul ecx, eax
sub r8d, ecx
test r13d, r13d
jne 0x140196db3
mov eax, 0xd5555555
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
add r8d, edx
lea ecx, [r14 + 0x5a]
mov eax, 0x51eb851f
imul ecx, r8d
imul ecx
mov r9d, edx
sar r9d, 5
mov eax, r9d
shr eax, 0x1f
add r9d, eax
lea eax, [r12 + r12*2]
lea ecx, [rax*4 + 0x14]
mov eax, r9d
imul eax, r12d
cdq
idiv ecx
sub r9d, eax
cmp dword [rdi + 0xb8], r15d
je 0x140196e0a
cmp dword [rbp + 0x150], r15d
jne 0x140196e0a
cmp dword [rbp + 0x34], r15d
jne 0x140196e0a
mov r8d, 1
jmp 0x140196e0d
xor r8d, r8d
mov edx, dword [rdi + 0x6c]
mov dword [rdi + 0x38], r8d
cmp edx, 0x803
jne 0x140196e2e
mov r9d, 0x3ea
mov dword [rdi + 0x3790], r9d
jmp 0x140196f3e
mov eax, dword [rdi + 0x88]
cmp eax, 0xfffffc18
jne 0x140196f32
movss xmm0, dword [0x1402811e4]
movaps xmm3, xmm10
movaps xmm1, xmm5
subss xmm3, xmm5
mulss xmm5, dword [0x1402811e0]
mulss xmm1, xmm0
movaps xmm2, xmm3
mulss xmm3, dword [0x1402811dc]
mulss xmm2, xmm0
addss xmm2, xmm1
cvttss2si eax, xmm2
addss xmm3, xmm5
cvttss2si ecx, xmm3
sub ecx, eax
imul ecx, ebx
imul ecx, ebx
sar ecx, 0xe
add ecx, eax
cmp edx, 0x800
jne 0x140196e99
mov eax, 0x1f40
add ecx, eax
mov eax, dword [rdi + 0x3794]
mov edx, 0x3ea
cmp eax, edx
jne 0x140196eb0
sub ecx, 0xfa0
jmp 0x140196eba
test eax, eax
jle 0x140196eba
add ecx, 0xfa0
cmp r9d, ecx
mov eax, 0x3e8
mov r9d, edx
cmovge eax, edx
mov dword [rdi + 0x3790], eax
cmp dword [rdi + 0x30], r15d
je 0x140196eed
mov eax, 0x80
sub eax, ebx
sar eax, 4
cmp r12d, eax
jle 0x140196eed
mov dword [rdi + 0x3790], 0x3e8
test r8d, r8d
je 0x140196f01
cmp ebx, 0x64
jle 0x140196f01
mov dword [rdi + 0x3790], 0x3e8
mov r8d, dword [rbp]
mov ecx, 0x2328
cmp esi, 0x32
mov eax, 0x1770
cmovg eax, ecx
lea ecx, [r11*8]
imul eax, r8d
cdq
idiv ecx
cmp dword [rbp + 0x10], eax
jge 0x140196f42
mov dword [rdi + 0x3790], r9d
jmp 0x140196f42
mov dword [rdi + 0x3790], eax
mov r9d, 0x3ea
mov r8d, dword [rbp]
cmp dword [rdi + 0x3790], r9d
je 0x140196f69
mov eax, 0x51eb851f
imul r11d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r8d, edx
jge 0x140196f69
mov dword [rdi + 0x3790], r9d
cmp dword [rdi + 0xb0], r15d
je 0x140196f79
mov dword [rdi + 0x3790], r9d
mov esi, dword [rdi + 0x3794]
test esi, esi
jle 0x140196fdd
mov eax, dword [rdi + 0x3790]
cmp eax, r9d
je 0x140196f98
cmp esi, r9d
je 0x140196f9d
cmp eax, r9d
jne 0x140196fdd
cmp esi, r9d
je 0x140196fdd
xor ecx, ecx
cmp eax, r9d
mov dword [rbp + 4], 1
setne cl
mov dword [rbp + 0x14], ecx
test ecx, ecx
jne 0x140196fdd
mov eax, 0x51eb851f
imul r11d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r8d, edx
jl 0x140196fd9
mov dword [rdi + 0x3790], esi
mov dword [rbp + 0x50], 1
jmp 0x140196fdd
mov dword [rbp + 4], r15d
cmp dword [rdi + 0x3770], 1
mov eax, 2
jne 0x140197016
cmp dword [rdi + 0x3798], eax
jne 0x140197016
cmp dword [rdi + 0x44], r15d
jne 0x140197016
cmp dword [rdi + 0x3790], r9d
je 0x140197016
cmp esi, r9d
je 0x140197016
mov dword [rdi + 0x44], 1
mov dword [rdi + 0x3770], eax
jmp 0x14019701a
mov dword [rdi + 0x44], r15d
mov r11d, dword [rdi + 0x3790]
mov r8d, dword [rbp + 0x30]
mov edx, dword [rdi + 0x3770]
mov dword [rsp + 0x30], r12d
mov r9d, r13d
mov ecx, r10d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r11d
call fcn.140196260
mov r14d, 0x3ea
mov r13d, eax
mov dword [rbp + 0x84], eax
cmp r11d, r14d
je 0x14019707b
cmp esi, r14d
jne 0x14019707b
mov edx, dword [rdi + 0xb4]
mov rcx, qword [rbp + 0x70]
lea r8, [rbp + 0xe0]
call fcn.1401a3780
mov dword [rbp + 0x38], 1
mov r12d, dword [rdi + 0x3790]
cmp r12d, r14d
je 0x14019709a
cmp dword [rdi + 0x37ac], r15d
jne 0x14019709a
cmp dword [rdi + 0x54], r15d
je 0x140197190
cmp dword [rdi + 0x70], 2
mov r8d, 0x451
jne 0x1401970bc
cmp dword [rdi + 0x78], 1
je 0x1401970bc
lea r10, [0x1402810f8]
lea rdx, [0x140281118]
jmp 0x1401970ca
lea r10, [0x1402810b8]
lea rdx, [0x1402810d8]
lea r11, [rbp + 0xc0]
sub r10, rdx
mov r9d, 8
sub r11, rdx
nop dword [rax]
mov eax, dword [rdx]
mov ecx, dword [rdx + r10]
add rdx, 4
sub ecx, eax
imul ecx, ebx
imul ecx, ebx
sar ecx, 0xe
add ecx, eax
sub r9, 1
mov dword [rdx + r11 - 4], ecx
jne 0x1401970e0
mov r11d, dword [rdi + 0x37ac]
mov r10, r8
lea rdx, [rbp + 0xd8]
lea r9, [rbp + 0xdc]
nop word [rax + rax]
mov eax, dword [rdx]
mov ecx, dword [r9]
test r11d, r11d
jne 0x140197139
cmp dword [rdi + 0x37a4], r8d
jl 0x140197137
sub eax, ecx
jmp 0x140197139
add eax, ecx
cmp r13d, eax
jge 0x140197155
dec r10
dec r8d
sub rdx, 8
sub r9, 8
cmp r10, 0x44d
jg 0x140197120
cmp r8d, 0x44e
mov ebx, 0x44f
cmove r8d, ebx
mov dword [rdi + 0x37a4], r8d
mov dword [rdi + 0x37a0], r8d
test r11d, r11d
jne 0x140197195
cmp r12d, r14d
je 0x140197195
cmp dword [rdi + 0x58], r15d
jne 0x140197195
cmp r8d, ebx
jle 0x140197195
mov dword [rdi + 0x37a0], ebx
jmp 0x140197195
mov ebx, 0x44f
mov eax, dword [rdi + 0x84]
lea rsi, [rdi + 0x37a0]
cmp dword [rsi], eax
jle 0x1401971a8
mov dword [rsi], eax
mov edx, dword [rdi + 0x80]
cmp edx, 0xfffffc18
je 0x1401971b8
mov dword [rsi], edx
cmp r12d, r14d
je 0x1401971d1
cmp dword [rbp + 0x54], 0x3a98
jge 0x1401971d1
mov eax, dword [rsi]
mov ecx, ebx
cmp eax, ebx
cmovl ecx, eax
mov dword [rsi], ecx
mov eax, dword [rdi + 0x90]
mov r9d, 0x450
cmp eax, 0x5dc0
jg 0x1401971ec
cmp dword [rsi], r9d
jle 0x1401971ec
mov dword [rsi], r9d
mov r8d, 0x3e80
cmp eax, r8d
jg 0x1401971fd
cmp dword [rsi], ebx
jle 0x1401971fd
mov dword [rsi], ebx
mov ecx, 0x2ee0
cmp eax, ecx
jg 0x140197214
cmp dword [rsi], 0x44e
jle 0x140197214
mov dword [rsi], 0x44e
mov r8d, 0x1f40
mov ecx, 0x44d
cmp eax, r8d
jg 0x14019722a
cmp dword [rsi], ecx
jle 0x14019722a
mov dword [rsi], ecx
mov r8d, dword [rdi + 0x46cc]
test r8d, r8d
je 0x1401972a7
cmp edx, 0xfffffc18
jne 0x1401972a7
mov edx, dword [rdi + 0x3770]
mov eax, edx
imul eax, eax, 0x4650
cmp r13d, eax
jg 0x140197256
cmp r12d, r14d
je 0x140197291
mov eax, edx
imul eax, eax, 0x5dc0
cmp r13d, eax
jg 0x14019726f
cmp r12d, r14d
jne 0x14019726f
mov ecx, 0x44e
jmp 0x140197291
mov eax, edx
imul eax, eax, 0x7530
cmp r13d, eax
jg 0x140197280
mov ecx, ebx
jmp 0x140197291
xor ecx, ecx
imul edx, edx, 0xabe0
cmp r13d, edx
setg cl
add ecx, r9d
mov eax, dword [rsi]
cmp r8d, ecx
cmovg ecx, r8d
cmp eax, ecx
mov dword [rdi + 0x46cc], ecx
cmovl ecx, eax
mov dword [rsi], ecx
mov r8d, dword [rdi + 0x34]
mov edx, dword [rdi + 0x28]
mov ecx, dword [rdi + 0x30]
mov r9d, r12d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
call fcn.140196070
mov r12d, dword [rbp + 0x268]
mov rcx, qword [rbp + 0x18]
mov r8d, r12d
mov edx, 0xfc4
mov dword [rdi + 0x34], eax
call fcn.1401a20e0
mov r11d, dword [rdi + 0x3790]
cmp r11d, r14d
jne 0x1401972f4
cmp dword [rsi], 0x44e
jne 0x1401972f4
mov dword [rsi], ebx
cmp dword [rdi + 0xb0], r15d
je 0x140197303
mov dword [rsi], 0x44d
mov eax, dword [rsi]
mov dword [rbp + 0x24], eax
cmp r11d, 0x3e8
jne 0x14019731f
cmp eax, ebx
jle 0x14019731f
mov dword [rdi + 0x3790], 0x3e9
cmp dword [rdi + 0x3790], 0x3e9
jne 0x140197339
cmp eax, ebx
jg 0x140197339
mov dword [rdi + 0x3790], 0x3e8
mov ebx, dword [rdi + 0x90]
mov r13d, dword [rbp]
mov eax, 0x51eb851f
imul ebx
mov r9d, edx
sar r9d, 4
mov eax, r9d
shr eax, 0x1f
add r9d, eax
cmp r13d, r9d
jle 0x14019736b
cmp dword [rdi + 0x3790], 0x3e8
jne 0x1401973e8
lea ecx, [rbx + rbx*2]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r13d, edx
jle 0x140197447
cmp dword [rdi + 0x3790], 0x3e8
jne 0x1401973e8
lea ecx, [rbx + rbx]
mov eax, 0x51eb851f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
cmp r13d, edx
jne 0x1401973bd
imul ebx
mov r9d, edx
sar r9d, 3
jmp 0x1401973df
lea ecx, [rbx + rbx*2]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r13d, edx
jne 0x1401973e8
mov eax, 0x51eb851f
imul ecx
mov r9d, edx
sar r9d, 4
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov ecx, dword [rbp + 0x20]
mov eax, r13d
cdq
idiv r9d
cmp ecx, 0xffffffff
je 0x140197406
mov dword [rdi + 0x1dd4], ecx
mov ecx, dword [rbp + 0x28]
mov dword [rdi + 0x1dd8], ecx
mov r8d, dword [rbp + 0x2a0]
mov ecx, dword [rbp + 0x50]
mov r10d, dword [rbp + 0x260]
mov rdx, qword [rbp + 0x60]
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x40]
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov r8d, eax
call fcn.140196440
jmp 0x1401988c3
xor r14d, r14d
cmp dword [rdi + 0x37a8], r15d
je 0x140197471
mov r12d, 1
mov dword [rdi + 0x37a8], r14d
mov dword [rbp + 0x38], 2
mov dword [rbp + 4], r12d
mov dword [rbp + 0x14], r12d
jmp 0x140197475
mov r12d, dword [rbp + 4]
mov edx, 0x3ea
cmp dword [rdi + 0x3790], edx
jne 0x140197488
mov dword [rbp + 4], r14d
jmp 0x1401974b3
test r12d, r12d
je 0x1401974b3
mov r9d, dword [rdi + 0x3770]
mov r8d, dword [rbp + 0x30]
mov edx, dword [rdi + 0xa0]
mov ecx, dword [rbp + 0x10]
call fcn.140196700
test eax, eax
mov dword [rbp + 0xc], eax
cmove r12d, r14d
mov dword [rbp + 4], r12d
mov r8d, dword [rbp + 0xc]
mov eax, r13d
lea ecx, [rbx*8]
imul eax, dword [rdi + 0xa0]
cdq
idiv ecx
mov edx, dword [rbp + 0x10]
mov ecx, edx
sub ecx, r8d
lea r8d, [rdx - 1]
cmp ecx, eax
cmovl eax, ecx
lea rcx, [rbp + 0x88]
lea r13d, [rax - 1]
mov rax, qword [rbp + 0x40]
inc rax
mov rdx, rax
mov qword [rbp + 0x40], rax
call fcn.1401a67a0
mov eax, dword [rbp]
mov r9d, dword [rbp + 8]
mov edx, dword [rdi + 0x70]
add eax, r9d
movabs r8, 0xffffffffffffff0
imul eax, edx
movsxd rcx, eax
shl rcx, 2
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140197527
mov rax, r8
and rax, 0xfffffffffffffff0
call fcn.140232c50
sub rsp, rax
mov eax, edx
lea rbx, [rsp + 0x60]
imul eax, r9d
movsxd r8, eax
mov eax, dword [rdi + 0xac]
mov rcx, rbx
sub eax, r9d
shl r8, 2
mov qword [rbp + 0x48], rbx
imul eax, edx
cdqe
lea rdx, [rdi + rax*4 + 0x37cc]
call fcn.1401e75a0
mov eax, 0x3ea
cmp dword [rdi + 0x3790], eax
jne 0x140197583
mov ecx, 0x3c
call fcn.1401a5b60
shl eax, 8
jmp 0x14019758a
mov rax, qword [rbp + 0x70]
mov eax, dword [rax + 8]
mov ecx, dword [rdi + 0x3778]
sub eax, ecx
cdqe
imul rax, rax, 0x3d7
sar rax, 0x10
add ecx, eax
mov dword [rdi + 0x3778], ecx
sar ecx, 8
call fcn.1401a6de0
cmp dword [rdi + 0x6c], 0x800
lea r12, [rdi + 0x3780]
mov r9, r12
jne 0x1401975fe
mov edx, dword [rdi + 0x70]
mov ecx, edx
imul ecx, dword [rbp + 8]
movsxd rcx, ecx
lea r8, [rbx + rcx*4]
mov ecx, dword [rdi + 0xb4]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rdi + 0x90]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbp]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp + 0x60]
mov edx, eax
call fcn.140194830
jmp 0x140197630
mov ecx, dword [rdi + 0x70]
mov edx, 3
mov eax, ecx
imul eax, dword [rbp + 8]
cdqe
lea r8, [rbx + rax*4]
mov eax, dword [rdi + 0x90]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.140194940
cmp dword [rbp + 0x2a0], r15d
je 0x14019769c
mov edx, dword [rdi + 0x70]
mov r8d, dword [rbp]
mov eax, edx
imul r8d, edx
imul eax, dword [rbp + 8]
cdqe
lea rcx, [rbx + rax*4]
mov rdx, rcx
call fcn.1401a5f80
comiss xmm0, dword [0x1402811b8]
jb 0x14019769c
mov ecx, dword [rdi + 0x70]
mov eax, dword [rbp]
xor edx, edx
imul eax, ecx
imul ecx, dword [rbp + 8]
movsxd r8, eax
movsxd rax, ecx
shl r8, 2
lea rcx, [rbx + rax*4]
call fcn.1401e6750
mov dword [rdi + 0x378c], r14d
mov dword [rdi + 0x3788], r14d
mov dword [rdi + 0x3784], r14d
mov dword [r12], r14d
mov ebx, dword [rdi + 0x3790]
mov eax, 0x3ea
movaps xmm8, xmm10
mov r9d, reloc.WS2_32.dll_recvfrom
cmp ebx, eax
je 0x140197d6e
mov edx, dword [rbp]
mov r15d, dword [rdi + 0x70]
mov eax, edx
imul eax, r15d
movsxd rcx, eax
add rcx, rcx
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1401976df
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140232c50
sub rsp, rax
cmp dword [rbp + 0x150], 0
lea rax, [rsp + 0x60]
mov dword [rbp + 0x20], 0xffffffff
mov qword [rbp + 0x68], rax
je 0x14019771c
movss xmm0, dword [rbp + 0x174]
mov dword [rbp + 0x20], 1
comiss xmm0, xmm6
jae 0x14019771c
mov dword [rbp + 0x20], r14d
imul r13d, dword [rbp + 0x30]
shl r13d, 3
cmp ebx, 0x3e9
jne 0x1401977fa
mov r9d, dword [rdi + 0x94]
mov eax, edx
mov edx, dword [rbp + 0x24]
imul eax, eax, 0x32
cmp dword [rdi + 0x90], eax
mov eax, dword [rdi + 0x3770]
mov r8d, r14d
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x34]
sete r8b
mov ecx, r13d
mov dword [rsp + 0x20], eax
call fcn.140196150
cmp qword [rdi + 0x37b0], 0
mov dword [rdi + 0x24], eax
jne 0x1401977a5
sub eax, r13d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1402811d8]
unpcklps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x1402811d0]
call fcn.1401ecde0
movaps xmm8, xmm10
cvtsd2ss xmm1, xmm0
subss xmm8, xmm1
mov r9d, reloc.WS2_32.dll_recvfrom
mov rdx, qword [rdi + 0x37b0]
test rdx, rdx
je 0x1401978fb
cmp dword [rdi + 0x94], 0
je 0x1401978fb
cmp dword [rdi + 0xb0], 0
jne 0x1401978fb
mov r11d, dword [rsi]
movaps xmm2, xmm9
mov r10d, r9d
mov ebx, 0x3e80
cmp r11d, 0x44d
jne 0x140197800
mov ebx, 0x1f40
mov r10d, reloc.WS2_32.dll_listen
jmp 0x140197814
mov dword [rdi + 0x24], r13d
jmp 0x1401977ab
cmp r11d, 0x44e
jne 0x140197814
mov ebx, 0x2ee0
mov r10d, reloc.WS2_32.dll_ntohs
test r15d, r15d
jle 0x14019786d
mov r9d, dword [rdi + 0x70]
movss xmm1, dword [0x1402811cc]
movsxd r8, r10d
test r10d, r10d
jle 0x140197863
mov rax, rdx
mov rcx, r8
movss xmm0, dword [rax]
comiss xmm0, xmm7
jae 0x14019784e
comiss xmm0, xmm1
jbe 0x140197849
comiss xmm0, xmm9
jbe 0x140197855
jmp 0x140197851
movaps xmm0, xmm1
jmp 0x140197855
movaps xmm0, xmm7
mulss xmm0, xmm7
add rax, 4
sub rcx, 1
addss xmm2, xmm0
jne 0x140197833
add rdx, 0x54
sub r9, 1
jne 0x140197828
mov r9d, dword [rdi + 0x24]
movsx eax, bx
movd xmm1, r15d
mov ecx, r9d
neg ecx
add ecx, ecx
movd xmm0, r10d
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm2
addss xmm1, dword [0x1402811c8]
mulss xmm1, xmm0
cvttss2si r8d, xmm1
cmp r8d, edx
cmovle r8d, edx
cmp r11d, 0x450
je 0x1401978db
cmp r11d, 0x451
je 0x1401978db
lea eax, [r9 + r8]
mov dword [rdi + 0x24], eax
jmp 0x1401978f5
lea ecx, [r8 + r8*2]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, r9d
mov dword [rdi + 0x24], edx
mov ebx, dword [rdi + 0x3790]
mov r11d, dword [rbp]
mov esi, dword [rdi + 0x90]
mov r13d, dword [rbp + 0x24]
mov r10d, dword [rdi + 0x3770]
mov eax, r11d
mov dword [rdi + 8], r15d
imul eax, eax, 0x3e8
cdq
mov r9d, 0x1f40
mov dword [rdi + 0xc], r10d
idiv esi
mov dword [rdi + 0x20], eax
mov eax, 0x3e80
cmp r13d, 0x44d
jne 0x140197941
mov dword [rdi + 0x1c], r9d
jmp 0x140197959
cmp r13d, 0x44e
jne 0x140197956
mov r8d, 0x2ee0
mov dword [rdi + 0x1c], r8d
jmp 0x14019795f
mov dword [rdi + 0x1c], eax
mov r8d, 0x2ee0
cmp ebx, 0x3e9
mov ecx, r9d
mov dword [rdi + 0x14], eax
cmove ecx, eax
mov dword [rdi + 0x18], ecx
cmp ebx, 0x3e8
jne 0x1401979c7
cmp dword [rbp + 0x30], 0x32
jle 0x140197995
mov eax, dword [rbp + 0x54]
lea ecx, [rax + rax]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jmp 0x140197998
mov ecx, dword [rbp + 0x54]
cmp ecx, r9d
jge 0x1401979ae
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x14], r8d
cmp eax, r8d
cmovg eax, r8d
mov dword [rdi + 0x1c], eax
cmp ecx, 0x1b58
jge 0x1401979c7
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x14], r9d
cmp eax, r9d
cmovg eax, r9d
mov dword [rdi + 0x1c], eax
mov r9d, dword [rdi + 0x94]
mov eax, dword [rbp + 0x10]
mov edx, r14d
test r9d, r9d
lea ecx, [rax*8 - 8]
sete dl
cmp dword [rbp + 4], 0
mov dword [rdi + 0x40], ecx
mov dword [rdi + 0x3c], edx
je 0x140197a0e
mov eax, dword [rbp + 0xc]
cmp eax, 2
jl 0x140197a0e
shl eax, 3
sub ecx, eax
lea eax, [rcx - 1]
mov dword [rdi + 0x40], eax
cmp ebx, 0x3e9
jne 0x140197a0e
add eax, 0xffffffec
mov dword [rdi + 0x40], eax
test edx, edx
je 0x140197a2e
cmp ebx, 0x3e9
jne 0x140197a71
mov ecx, dword [rdi + 0x40]
mov eax, r11d
imul eax, dword [rdi + 0x24]
cdq
idiv esi
cmp ecx, eax
cmovl eax, ecx
jmp 0x140197a6e
cmp ebx, 0x3e9
jne 0x140197a71
mov eax, r11d
mov r8d, r14d
mov dword [rsp + 0x28], r10d
imul eax, eax, 0x32
cmp esi, eax
mov eax, dword [rdi + 0x40]
sete r8b
imul eax, esi
cdq
idiv r11d
mov edx, r13d
mov ecx, eax
mov eax, dword [rdi + 0x34]
mov dword [rsp + 0x20], eax
call fcn.140196150
mov ecx, dword [rbp]
imul eax, ecx
cdq
idiv esi
mov dword [rdi + 0x40], eax
cmp dword [rbp + 0x38], 0
je 0x140197b76
mov dword [rsp + 0x40], esi
mov eax, 0x51eb851f
mov dword [rbp + 0x28], r14d
movaps xmm3, xmm10
movaps xmm2, xmm9
imul esi
mov r8d, edx
mov rdx, qword [rbp + 0x78]
sar r8d, 7
mov eax, r8d
shr eax, 0x1f
add r8d, eax
mov eax, dword [rdi + 0xac]
sub eax, dword [rdi + 0x74]
sub eax, r8d
imul eax, r15d
movsxd rbx, eax
mov rax, qword [rdx + 0x48]
mov qword [rsp + 0x38], rax
mov eax, dword [rdx + 4]
lea rcx, [rdi + rbx*4 + 0x37cc]
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r8d
mov rdx, rcx
mov dword [rsp + 0x20], eax
call fcn.140195250
lea rsi, [rdi + 0x37cc]
lea r8, [rbx*4]
mov rcx, rsi
xor edx, edx
call fcn.1401e6750
mov eax, dword [rdi + 0xac]
mov rbx, qword [rbp + 0x68]
imul eax, dword [rdi + 0x70]
mov r11d, r14d
test eax, eax
jle 0x140197b3a
mov rcx, rbx
movss xmm0, dword [rsi]
call fcn.140194050
inc r11d
add rsi, 4
mov word [rcx], ax
mov eax, dword [rdi + 0xac]
add rcx, 2
imul eax, dword [rdi + 0x70]
cmp r11d, eax
jl 0x140197b14
mov eax, dword [rbp + 0x38]
mov esi, dword [rbp + 0x20]
mov r15, qword [rbp + 0x70]
mov r9d, dword [rdi + 0xac]
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0x28]
lea rdx, [rdi + 8]
mov r8, rbx
mov qword [rsp + 0x28], rax
mov rcx, r15
mov qword [rsp + 0x20], r14
call fcn.1401a2750
mov dword [rdi + 0x48], r14d
jmp 0x140197b81
mov rbx, qword [rbp + 0x68]
mov esi, dword [rbp + 0x20]
mov r15, qword [rbp + 0x70]
mov r10d, dword [rbp]
movsxd r8, dword [rbp + 8]
mov edx, r14d
mov eax, r10d
mov rcx, r14
imul eax, dword [rdi + 0x70]
test eax, eax
jle 0x140197c0a
movss xmm3, dword [0x1402ab55c]
movss xmm2, dword [0x14028117c]
movss xmm1, dword [0x140281178]
mov r9, qword [rbp + 0x48]
nop word [rax + rax]
movsxd rax, dword [rdi + 0x70]
imul rax, r8
add rax, rcx
movss xmm0, dword [r9 + rax*4]
mulss xmm0, xmm3
comiss xmm0, xmm2
ja 0x140197bdf
movaps xmm0, xmm2
jmp 0x140197be7
comiss xmm0, xmm1
jb 0x140197be7
movaps xmm0, xmm1
movss dword [rbp + 0x28], xmm0
movss xmm0, dword [rbp + 0x28]
inc edx
inc rcx
cvtss2si eax, xmm0
mov word [rbx + rcx*2 - 2], ax
mov eax, r10d
imul eax, dword [rdi + 0x70]
cmp edx, eax
jl 0x140197bc0
mov dword [rsp + 0x38], esi
lea rax, [rbp + 0x80]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x88]
lea rdx, [rdi + 8]
mov r9d, r10d
mov r8, rbx
mov rcx, r15
mov qword [rsp + 0x20], rax
mov esi, r10d
call fcn.1401a2750
mov r15d, eax
test eax, eax
je 0x140197c51
mov eax, 0xfffffffd
jmp 0x1401988c3
mov ecx, dword [rdi + 0x3790]
cmp ecx, 0x3e8
jne 0x140197c77
mov eax, dword [rdi + 0x50]
mov r8d, 0x1f40
cmp eax, r8d
jne 0x140197cd1
mov r13d, 0x44d
mov dword [rbp + 0x24], r13d
mov ebx, 0x44f
cmp dword [rdi + 0x60], 0
je 0x140197c90
cmp dword [rdi + 0x46d8], 0
mov eax, 1
je 0x140197c93
mov eax, r14d
cmp dword [rbp + 0x80], 0
mov dword [rdi + 0x48], eax
jne 0x140197d03
mov eax, dword [rdi + 0x90]
mov r9d, dword [rdi + 0x3770]
mov r8d, r13d
cdq
mov dword [rdi + 0x46dc], r14d
idiv esi
mov edx, eax
call fcn.140194470
mov rcx, qword [rbp + 0x40]
mov byte [rcx - 1], al
mov eax, 1
jmp 0x1401988c3
mov r8d, 0x2ee0
mov ebx, 0x44f
cmp eax, r8d
jne 0x140197ced
mov r13d, 0x44e
mov dword [rbp + 0x24], r13d
jmp 0x140197c7c
mov r8d, 0x3e80
cmp eax, r8d
cmove r13d, ebx
mov dword [rbp + 0x24], r13d
jmp 0x140197c7c
test eax, eax
je 0x140197d3c
mov r9d, dword [rdi + 0x3770]
mov r8d, dword [rbp + 0x30]
mov edx, dword [rdi + 0xa0]
mov ecx, dword [rbp + 0x10]
call fcn.140196700
mov ecx, r14d
mov dword [rbp + 0x14], r14d
test eax, eax
mov dword [rbp + 0xc], eax
mov dword [rdi + 0x37a8], 1
setne cl
mov dword [rbp + 4], ecx
mov r9d, reloc.WS2_32.dll_recvfrom
mov r13d, dword [rbp + 0x24]
mov eax, 0x44d
mov r8d, reloc.WS2_32.dll_setsockopt
cmp r13d, eax
je 0x140197d7d
jle 0x140197d83
cmp r13d, ebx
jle 0x140197d78
cmp r13d, 0x450
jne 0x140197d83
mov r8d, reloc.WS2_32.dll_send
jmp 0x140197d83
mov esi, dword [rbp]
mov ebx, 0x44f
jmp 0x140197d42
mov r8d, r9d
jmp 0x140197d83
mov r8d, reloc.WS2_32.dll_listen
mov rbx, qword [rbp + 0x18]
mov edx, 0x271c
mov rcx, rbx
call fcn.1401a20e0
mov r8d, dword [rdi + 0x3770]
mov edx, 0x2718
mov rcx, rbx
call fcn.1401a20e0
or r8d, 0xffffffff
mov edx, 0xfa2
mov rcx, rbx
call fcn.1401a20e0
cmp dword [rdi + 0x3790], 0x3e8
je 0x140197e80
movss xmm6, dword [0x1402abc50]
xor r8d, r8d
mov edx, 0xfa6
mov rcx, rbx
call fcn.1401a20e0
cmp dword [rdi + 0x4c], 0
je 0x140197deb
movaps xmm6, xmm9
cvttss2si r8d, xmm6
mov edx, 0x2712
mov rcx, rbx
call fcn.1401a20e0
cmp dword [rdi + 0x3790], 0x3e9
jne 0x140197e3c
cmp dword [rdi + 0x94], 0
je 0x140197e80
mov r8d, dword [rdi + 0xa0]
mov edx, 0xfa2
mov rcx, rbx
sub r8d, dword [rdi + 0x24]
call fcn.1401a20e0
xor r8d, r8d
mov edx, 0xfb4
mov rcx, rbx
call fcn.1401a20e0
jmp 0x140197e80
cmp dword [rdi + 0x94], 0
je 0x140197e80
mov edx, 0xfa6
mov r8d, 1
mov rcx, rbx
call fcn.1401a20e0
mov r8d, dword [rdi + 0x98]
mov edx, 0xfb4
mov rcx, rbx
call fcn.1401a20e0
mov r8d, dword [rdi + 0xa0]
mov edx, 0xfa2
mov rcx, rbx
call fcn.1401a20e0
mov r9d, dword [rdi + 0x70]
mov ebx, dword [rdi + 0x90]
mov eax, 0x51eb851f
mov ecx, r9d
imul ecx, ebx
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r8, edx
shl r8, 2
lea rax, [r8 + 0xf]
cmp rax, r8
ja 0x140197ebb
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140232c50
mov ecx, dword [rdi + 0x3790]
sub rsp, rax
lea r12, [rsp + 0x60]
cmp ecx, 0x3e8
je 0x140197f1a
mov eax, dword [rdi + 0x3794]
cmp ecx, eax
je 0x140197f1a
test eax, eax
jle 0x140197f1a
mov eax, 0x51eb851f
mov rcx, r12
imul ebx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [rdi + 0xac]
sub eax, edx
sub eax, dword [rbp + 8]
imul eax, r9d
cdqe
lea rdx, [rdi + rax*4 + 0x37cc]
call fcn.1401e75a0
mov edx, dword [rdi + 0xac]
mov r9d, dword [rbp + 8]
mov ecx, dword [rdi + 0x70]
mov eax, edx
sub eax, esi
sub eax, r9d
imul eax, ecx
test eax, eax
jle 0x140197f89
movsxd r8, eax
mov eax, esi
shl r8, 2
imul eax, ecx
cdqe
lea rcx, [rdi + 0x37cc]
lea rdx, [rdi + rax*4 + 0x37cc]
call fcn.1401e75a0
mov ecx, dword [rbp + 8]
mov r11d, dword [rdi + 0x70]
mov rbx, qword [rbp + 0x48]
lea eax, [rsi + rcx]
mov rdx, rbx
imul eax, r11d
movsxd r8, eax
mov eax, dword [rdi + 0xac]
sub eax, esi
sub eax, ecx
imul eax, r11d
cdqe
lea rcx, [rdi + rax*4 + 0x37cc]
jmp 0x140197fac
mov rbx, qword [rbp + 0x48]
mov eax, edx
imul eax, ecx
movsxd r8, eax
mov eax, esi
sub eax, edx
add eax, r9d
imul eax, ecx
lea rcx, [rdi + 0x37cc]
cdqe
lea rdx, [rbx + rax*4]
shl r8, 2
call fcn.1401e75a0
movss xmm2, dword [rdi + 0x377c]
comiss xmm2, xmm10
jb 0x140197fc9
comiss xmm8, xmm10
jae 0x140198001
mov rcx, qword [rbp + 0x78]
mov eax, dword [rdi + 0x90]
movaps xmm3, xmm8
mov dword [rsp + 0x40], eax
mov rax, qword [rcx + 0x48]
mov rdx, rbx
mov qword [rsp + 0x38], rax
mov eax, dword [rdi + 0x70]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 4]
mov rcx, rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call fcn.140195250
cmp dword [rdi + 0x3790], 0x3e9
movss dword [rdi + 0x377c], xmm8
mov r8d, 0x4000
jne 0x140198025
cmp dword [rdi + 0x3770], 1
jne 0x140198060
mov ecx, dword [rbp + 0x84]
cmp ecx, 0x7d00
jle 0x140198039
mov dword [rdi + 0x5c], r8d
jmp 0x140198060
mov eax, 0x3e80
cmp ecx, eax
jge 0x140198048
mov dword [rdi + 0x5c], r14d
jmp 0x140198060
lea eax, [rcx - 0x7d00]
add ecx, 0xffffc950
shl eax, 0xb
cdq
idiv ecx
add eax, r8d
mov dword [rdi + 0x5c], eax
cmp qword [rdi + 0x37b0], 0
jne 0x1401980e5
cmp dword [rdi + 0x70], 2
jne 0x1401980e5
movzx eax, word [rdi + 0x3774]
cmp ax, r8w
jl 0x140198083
cmp dword [rdi + 0x5c], r8d
jge 0x1401980e5
mov rcx, qword [rbp + 0x78]
movss xmm0, dword [0x1402811c4]
movd xmm3, dword [rdi + 0x5c]
cwde
mov rdx, rbx
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mov eax, dword [rdi + 0x90]
mov dword [rsp + 0x40], eax
mov rax, qword [rcx + 0x48]
mulss xmm3, xmm0
mov qword [rsp + 0x38], rax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x30], 2
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm0
mov rcx, rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call fcn.140194cf0
movzx r11d, word [rdi + 0x5c]
mov word [rdi + 0x3774], r11w
mov r8d, dword [rdi + 0x3790]
mov ebx, dword [rbp + 0x10]
mov eax, 0x3ea
cmp r8d, eax
je 0x1401981e0
bsr edx, dword [rbp + 0xa8]
mov eax, r14d
cmp r8d, 0x3e9
sete al
lea ecx, [rax + rax*4]
mov eax, dword [rbp + 0xa0]
shl ecx, 2
sub ecx, edx
lea ecx, [rcx + rax + 0x10]
lea eax, [rbx*8 - 8]
cmp ecx, eax
jg 0x1401981e0
cmp r8d, 0x3e9
jne 0x140198150
mov edx, dword [rbp + 4]
lea rcx, [rbp + 0x88]
mov r8d, reloc.WS2_32.dll_inet_ntoa
call fcn.1401a6900
cmp dword [rbp + 4], 0
je 0x1401981e4
mov edx, dword [rbp + 0x14]
lea rcx, [rbp + 0x88]
mov r8d, 1
call fcn.1401a6900
bsr eax, dword [rbp + 0xa8]
mov ecx, dword [rbp + 0xa0]
mov r11d, dword [rdi + 0x3790]
sub ecx, eax
mov eax, ebx
cmp r11d, 0x3e9
jne 0x140198195
add ecx, 0x11
jmp 0x140198198
add ecx, 6
sar ecx, 3
sub eax, ecx
mov ecx, dword [rbp + 0xc]
dec eax
cmp eax, ecx
cmovl ecx, eax
mov eax, 2
cmp ecx, 2
cmovl ecx, eax
mov eax, 0x101
cmp ecx, eax
cmovg ecx, eax
mov dword [rbp + 0xc], ecx
cmp r11d, 0x3e9
jne 0x1401981f1
lea edx, [rcx - 2]
lea r8d, [rax - 1]
lea rcx, [rbp + 0x88]
call fcn.1401a6d60
mov ecx, dword [rbp + 0xc]
jmp 0x1401981f1
mov dword [rbp + 4], r14d
mov ecx, r14d
mov dword [rdi + 0x37a8], r14d
mov dword [rbp + 0xc], ecx
mov eax, dword [rdi + 0x3790]
mov edx, 0x3ea
mov esi, r14d
cmp eax, edx
mov edx, reloc.WS2_32.dll_recvfrom
cmovne esi, edx
cmp eax, 0x3e8
jne 0x14019823a
bsr eax, dword [rbp + 0xa8]
mov r15d, dword [rbp + 0xa0]
lea rcx, [rbp + 0x88]
sub r15d, eax
add r15d, 6
sar r15d, 3
call fcn.1401a6b80
mov ebx, r15d
jmp 0x14019824c
sub ebx, ecx
lea rcx, [rbp + 0x88]
dec ebx
mov edx, ebx
call fcn.1401a6b40
cmp dword [rbp + 4], 0
jne 0x14019825e
cmp dword [rdi + 0x3790], 0x3e8
je 0x140198273
mov rcx, qword [rbp + 0x18]
lea r8, [rbp + 0x150]
mov edx, 0x2726
call fcn.1401a20e0
cmp dword [rdi + 0x3790], 0x3e9
jne 0x14019829d
mov eax, dword [rdi + 0x64]
mov rcx, qword [rbp + 0x18]
lea r8, [rbp + 0x68]
mov dword [rbp + 0x68], eax
mov eax, dword [rdi + 0x68]
mov edx, 0x272c
mov dword [rbp + 0x6c], eax
call fcn.1401a20e0
cmp dword [rbp + 4], 0
je 0x14019834a
cmp dword [rbp + 0x14], 0
je 0x14019834a
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov edx, 0x271a
call fcn.1401a20e0
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov edx, 0xfa6
call fcn.1401a20e0
mov rcx, qword [rbp + 0x18]
or r8d, 0xffffffff
mov edx, 0xfa2
call fcn.1401a20e0
mov r8d, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x40]
mov eax, 0x51eb851f
movsxd r9, ebx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r8d
add r9, rcx
mov rcx, qword [rbp + 0x18]
imul dword [rdi + 0x90]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov r8d, edx
mov rdx, qword [rbp + 0x48]
call fcn.14019f3d0
test eax, eax
js 0x140197c47
mov rcx, qword [rbp + 0x18]
lea r8, [rbp + 0x58]
mov edx, 0xfbf
call fcn.1401a20e0
mov rcx, qword [rbp + 0x18]
mov edx, 0xfbc
call fcn.1401a20e0
mov r8d, esi
mov rsi, qword [rbp + 0x18]
mov edx, 0x271a
mov rcx, rsi
call fcn.1401a20e0
mov r11d, dword [rdi + 0x3790]
cmp r11d, 0x3e8
je 0x1401984b6
mov eax, dword [rdi + 0x3794]
cmp r11d, eax
je 0x1401983d3
test eax, eax
jle 0x1401983d3
mov edx, 0xfbc
mov rcx, rsi
call fcn.1401a20e0
mov eax, 0x51eb851f
lea r9, [rbp + 8]
imul dword [rdi + 0x90]
sar edx, 7
mov eax, 2
mov r8d, edx
mov rcx, rsi
mov qword [rsp + 0x28], r14
shr r8d, 0x1f
mov dword [rsp + 0x20], eax
add r8d, edx
mov rdx, r12
call fcn.14019f3d0
xor r8d, r8d
mov edx, 0x2712
mov rcx, rsi
call fcn.1401a20e0
bsr eax, dword [rbp + 0xa8]
mov ecx, dword [rbp + 0xa0]
sub ecx, eax
lea eax, [rbx*8]
dec ecx
cmp ecx, eax
jg 0x1401984b6
cmp dword [rbp + 4], 0
je 0x14019842c
cmp dword [rbp + 0x14], 0
je 0x14019842c
cmp dword [rdi + 0x3790], 0x3e9
jne 0x14019842c
cmp dword [rdi + 0x94], 0
je 0x14019842c
mov r8d, dword [rdi + 0xa0]
mov edx, 0xfa2
mov rcx, rsi
sub r8d, dword [rdi + 0x24]
call fcn.1401a20e0
mov r8d, dword [rdi + 0x94]
mov edx, 0xfa6
mov rcx, rsi
call fcn.1401a20e0
mov r12d, dword [rbp]
mov rdx, qword [rbp + 0x48]
lea r11, [rbp + 0x88]
mov r8d, r12d
xor r9d, r9d
mov qword [rsp + 0x28], r11
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call fcn.14019f3d0
movsxd r15, eax
test eax, eax
js 0x140197c47
mov eax, dword [rbp + 4]
test eax, eax
je 0x1401985f7
mov ecx, dword [rbp + 0x14]
test ecx, ecx
je 0x1401984c0
cmp dword [rdi + 0x3790], 0x3e9
jne 0x1401984c0
cmp dword [rdi + 0x94], 0
je 0x1401984c0
mov rax, qword [rbp + 0x40]
movsxd rsi, dword [rbp + 0xc]
movsxd rdx, ebx
lea rcx, [rax + r15]
mov r8, rsi
add rdx, rax
call fcn.1401e75a0
add ebx, esi
jmp 0x1401984ba
mov r12d, dword [rbp]
mov eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x14]
test eax, eax
je 0x1401985f7
test ecx, ecx
jne 0x1401985f7
mov ecx, dword [rdi + 0x90]
mov eax, 0x51eb851f
imul ecx
mov esi, edx
sar esi, 6
mov eax, esi
shr eax, 0x1f
add esi, eax
mov eax, 0x51eb851f
imul ecx
mov rcx, qword [rbp + 0x18]
mov r12d, edx
mov edx, 0xfbc
sar r12d, 7
mov eax, r12d
shr eax, 0x1f
add r12d, eax
call fcn.1401a20e0
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov edx, 0x271a
call fcn.1401a20e0
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov edx, 0x2712
call fcn.1401a20e0
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov edx, 0xfa6
call fcn.1401a20e0
mov rcx, qword [rbp + 0x18]
or r8d, 0xffffffff
mov edx, 0xfa2
call fcn.1401a20e0
cmp dword [rdi + 0x3790], 0x3e9
jne 0x140198571
lea rcx, [rbp + 0x88]
mov edx, r15d
mov ebx, r15d
call fcn.1401a6b40
mov eax, dword [rbp]
mov r9, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x18]
sub eax, r12d
mov r8d, r12d
mov qword [rsp + 0x28], r14
sub eax, esi
imul eax, dword [rdi + 0x70]
cdqe
lea rdx, [r9 + rax*4]
mov eax, 2
lea r9, [rbp + 8]
mov dword [rsp + 0x20], eax
call fcn.14019f3d0
mov rcx, qword [rbp + 0x48]
mov r12d, dword [rbp]
movsxd r9, ebx
mov rbx, qword [rbp + 0x18]
add r9, qword [rbp + 0x40]
mov eax, r12d
mov r8d, esi
sub eax, esi
mov qword [rsp + 0x28], r14
imul eax, dword [rdi + 0x70]
cdqe
lea rdx, [rcx + rax*4]
mov eax, dword [rbp + 0xc]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.14019f3d0
test eax, eax
js 0x140197c47
lea r8, [rbp + 0x58]
mov edx, 0xfbf
mov rcx, rbx
call fcn.1401a20e0
mov eax, dword [rdi + 0x90]
mov r9d, dword [rdi + 0x3770]
mov ecx, dword [rdi + 0x3790]
mov rbx, qword [rbp + 0x40]
cdq
mov r8d, r13d
idiv r12d
mov edx, eax
call fcn.140194470
mov ecx, dword [rbp + 0x50]
mov byte [rbx - 1], al
mov eax, dword [rbp + 0xa8]
xor eax, dword [rbp + 0x58]
mov dword [rdi + 0x46dc], eax
mov eax, 0x3ea
test ecx, ecx
jne 0x140198640
mov eax, dword [rdi + 0x3790]
cmp dword [rdi + 0xb8], 0
mov dword [rdi + 0x3794], eax
mov eax, dword [rdi + 0x3770]
mov dword [rdi + 0x3798], eax
mov dword [rdi + 0x379c], r12d
mov dword [rdi + 0x37ac], r14d
je 0x1401986f2
cmp dword [rbp + 0x150], 0
jne 0x14019867c
cmp dword [rbp + 0x34], 0
je 0x1401986f2
mov eax, dword [rdi + 0xb4]
mov r9, qword [rbp + 0x60]
movss xmm2, dword [rdi + 0x46d4]
movss xmm0, dword [rbp + 0x174]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 0x70]
lea rdx, [rdi + 0x46d0]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r12d
call fcn.1401963a0
test eax, eax
je 0x1401986f9
mov eax, dword [rdi + 0x90]
mov r9d, dword [rdi + 0x3770]
mov ecx, dword [rdi + 0x3790]
cdq
mov r8d, r13d
mov dword [rdi + 0x46dc], r14d
idiv r12d
mov edx, eax
call fcn.140194470
mov byte [rbx - 1], al
mov eax, 1
jmp 0x1401988c3
mov dword [rdi + 0x46d0], r14d
bsr eax, dword [rbp + 0xa8]
mov ecx, dword [rbp + 0xa0]
mov esi, dword [rbp + 0x10]
sub ecx, eax
lea eax, [rsi*8 - 8]
dec ecx
cmp ecx, eax
jle 0x140198733
cmp esi, 2
jl 0x140196890
mov byte [rbx], 0
mov r15d, 1
mov dword [rdi + 0x46dc], r14d
jmp 0x140198763
cmp dword [rdi + 0x3790], 0x3e8
jne 0x140198763
cmp dword [rbp + 4], 0
jne 0x140198763
cmp r15d, 2
movsxd rax, r15d
jle 0x140198763
nop
cmp byte [rbx + rax - 1], 0
jne 0x140198763
dec rax
dec r15d
cmp rax, 2
jg 0x140198750
cmp dword [rdi + 0x94], 0
mov eax, dword [rbp + 0xc]
lea eax, [r15 + rax + 1]
jne 0x1401988c3
lea rcx, [rbx - 1]
mov r8d, esi
mov edx, eax
call fcn.1401a6620
test eax, eax
jne 0x140197c47
mov eax, esi
jmp 0x1401988c3
mov r8d, dword [rdi + 0x37a0]
mov ecx, dword [rdi + 0x3790]
mov r9d, 0x3e8
test r8d, r8d
mov eax, 0x3ea
mov ebx, r14d
cmove r8d, r12d
test ecx, ecx
mov r12d, r14d
cmove ecx, r9d
cmp esi, 0x64
cmovg ecx, eax
cmp esi, 0x19
jne 0x1401987ef
cmp ecx, r9d
je 0x1401987dc
mov esi, gethostbyaddr
mov ebx, edx
cmp ecx, r9d
jne 0x140198842
mov eax, 0x44f
cmp r8d, eax
jle 0x14019886b
mov r8d, eax
jmp 0x14019886b
cmp esi, 0x10
jg 0x1401987d7
mov r10d, dword [rbp + 0x260]
cmp r10d, 1
je 0x140198825
cmp ecx, r9d
jne 0x14019880b
cmp esi, 0xa
jne 0x140198825
mov eax, gethostbyaddr
cdq
idiv esi
mov esi, gethostbyaddr
lea ebx, [rsi - 0x2f]
mov r12d, eax
mov eax, 0x3ea
jmp 0x1401987d7
cmp esi, 0xc
mov eax, reloc.WS2_32.dll_recv
mov edx, 0x19
setle bl
cmp esi, 0xc
mov ecx, r9d
cmove eax, edx
mov esi, eax
jmp 0x1401987dc
cmp ecx, eax
jne 0x140198857
cmp r8d, 0x44e
jne 0x14019886b
mov r8d, 0x44d
jmp 0x14019886b
cmp ecx, 0x3e9
jne 0x14019886b
mov eax, 0x450
cmp r8d, eax
cmovle r8d, eax
mov r9d, dword [rdi + 0x3770]
mov edx, esi
call fcn.140194470
mov edx, dword [rbp + 0x10]
mov rcx, qword [rbp + 0x40]
or al, bl
cmp ebx, 1
mov byte [rcx], al
mov rax, r14
setg al
inc eax
cmp edx, eax
mov esi, eax
cmovg esi, edx
cmp ebx, 3
jne 0x14019889f
mov byte [rcx + 1], r12b
cmp dword [rdi + 0x94], r14d
jne 0x1401988c3
mov r8d, esi
mov edx, eax
call fcn.1401a6620
mov ecx, 0xfffffffd
test eax, eax
cmove ecx, esi
mov eax, ecx
jmp 0x1401988c3
or eax, 0xffffffff
mov rcx, qword [rbp + 0x190]
xor rcx, rbp
call fcn.1401e6720
movaps xmm6, xmmword [rbp + 0x1e0]
movaps xmm7, xmmword [rbp + 0x1d0]
movaps xmm8, xmmword [rbp + 0x1c0]
movaps xmm9, xmmword [rbp + 0x1b0]
movaps xmm10, xmmword [rbp + 0x1a0]
lea rsp, [rbp + 0x1f8]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret