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

Disassembly:
push rsi
push rdi
sub rsp, 0x1d8
call fcn.14003ff80
call fcn.140041b30
call fcn.140018bf0
mov rcx, qword [0x1403fd1b0]
call fcn.14005dce0
mov qword [0x1403fd280], rax
lea r8, [0x1403fd280]
lea rdx, [rsp + 0x160]
mov rcx, qword [0x1403fd1b0]
call fcn.14005dd60
lea rcx, [0x1403fd288]
mov rdi, rcx
mov rsi, rax
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rdx, [0x1403fd280]
mov rcx, qword [0x1403fd1b0]
call fcn.14005de10
mov dword [0x1403fd294], eax
lea r8, [0x1403fd280]
lea rdx, [rsp + 0x140]
mov rcx, qword [0x1403fd1b0]
call fcn.14005dda0
mov rax, qword [rax]
mov qword [0x1403fd298], rax
mov dword [rsp + 0x48], 0
jmp 0x14005df4d
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
mov qword [rsp + 0x118], rax
lea rcx, [0x1403fd5e8]
call fcn.140060bc0
mov rcx, qword [rsp + 0x118]
cmp rcx, rax
jae 0x14005e362
movsxd rax, dword [rsp + 0x48]
mov rdx, rax
lea rcx, [0x1403fd5e8]
call fcn.140056300
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x48]
mov rdx, rax
lea rcx, [0x1403fd220]
call fcn.140056330
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1403fd1b0]
call fcn.14005de10
mov dword [rsp + 0x74], eax
movzx r9d, byte [0x1403fd0a8]
mov r8d, dword [0x1403fd294]
mov edx, dword [rsp + 0x74]
mov rcx, qword [0x1403fd1b0]
call fcn.14005db60
movzx eax, al
test eax, eax
je 0x14005dff9
jmp 0x14005df43
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x90]
mov rcx, qword [0x1403fd1b0]
call fcn.14005dd60
lea r8, [rsp + 0x90]
lea rdx, [0x1403fd288]
mov rcx, qword [0x1403fd1b0]
call fcn.14005c840
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x140381a98]
cvttsd2si eax, xmm0
mov dword [rsp + 0x58], eax
mov eax, dword [0x1403f93d8]
cmp dword [rsp + 0x58], eax
jg 0x14005e054
cmp dword [rsp + 0x58], 0
jge 0x14005e059
jmp 0x14005df43
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
lea rdi, [rax + 0x18]
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1403fd1b0]
call fcn.14005dde0
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 8], eax
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1403fd1b0]
call fcn.14005de40
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0xc], eax
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1403fd1b0]
call fcn.14005de70
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x50]
add rax, 0x4724
mov rcx, rax
call fcn.140053f00
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x40], ecx
lea r9, [0x1403fd1c0]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1403fd1b0]
call fcn.140058ad0
nop
cvtsi2ss xmm0, dword [0x1403fd1bc]
comiss xmm0, dword [rsp + 0x78]
jbe 0x14005e35d
cvtsi2ss xmm0, dword [0x1403fd238]
comiss xmm0, dword [rsp + 0x7c]
jbe 0x14005e35d
lea rcx, [rsp + 0x78]
call fcn.14005db00
movzx eax, al
test eax, eax
je 0x14005e35d
call fcn.140058660
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3c]
add eax, 0x14
cmp eax, dword [rsp + 0x64]
jg 0x14005e1e9
mov rax, qword [0x1403f94d8]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140053f30
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x5c]
comiss xmm0, dword [rax + 0x34]
ja 0x14005e1b8
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x5c]
jbe 0x14005e1ae
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 0x34]
comiss xmm0, dword [0x1400c9fb8]
ja 0x14005e1b8
mov dword [rsp + 0x60], 0
jmp 0x14005e1c0
mov dword [rsp + 0x60], 1
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x60]
mov byte [rax + 0x30], cl
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x5c]
movss dword [rax + 0x34], xmm0
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x64]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x30]
test eax, eax
je 0x14005e25b
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1403f93a8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x1403f93a8]
mov esi, 4
imul rsi, rsi, 0
lea r8, [0x1403f93a8]
movss xmm0, dword [0x1400cd98c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rcx + rax]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [r8 + rsi]
lea rcx, [rsp + 0x184]
call fcn.140004880
mov qword [rsp + 0x88], rax
jmp 0x14005e2be
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1403f93b8]
mov edx, 4
imul rdx, rdx, 1
lea rdi, [0x1403f93b8]
mov esi, 4
imul rsi, rsi, 0
lea r8, [0x1403f93b8]
movss xmm0, dword [0x1400cd98c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rcx + rax]
movss xmm2, dword [rdi + rdx]
movss xmm1, dword [r8 + rsi]
lea rcx, [rsp + 0x194]
call fcn.140004880
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x150]
mov rdi, rax
mov rsi, qword [rsp + 0x120]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8d, 1
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x16c]
call fcn.140058700
mov qword [rsp + 0xa0], rax
lea r9, [0x1403fd1c0]
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0x178]
mov rcx, qword [0x1403fd1b0]
call fcn.140058ad0
mov rcx, qword [rsp + 0x40]
lea rdi, [rcx + 0x24]
mov rsi, rax
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x150]
lea rdx, [0x1403fd1c0]
lea rcx, [rsp + 0x48]
call fcn.140057d60
nop
jmp 0x14005df43
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x14005e373
call fcn.14005c8e0
nop
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x14005e5a6
mov eax, 4
imul rax, rax, 3
lea rcx, [0x1403f93c8]
mov edx, 4
imul rdx, rdx, 2
lea rdi, [0x1403f93c8]
mov esi, 4
imul rsi, rsi, 1
lea r8, [0x1403f93c8]
mov r9d, 4
imul r9, r9, 0
lea r10, [0x1403f93c8]
movss xmm0, dword [rcx + rax]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rdi + rdx]
movss xmm2, dword [r8 + rsi]
movss xmm1, dword [r10 + r9]
lea rcx, [rsp + 0x1a4]
call fcn.140004880
mov rcx, rax
call fcn.14000ba90
mov dword [rsp + 0x68], eax
mov eax, dword [0x1403fd184]
sub eax, 0xa
mov eax, eax
cvtsi2ss xmm0, rax
mov eax, dword [0x1403fd180]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x148]
call fcn.140001720
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov eax, dword [0x1403fd184]
add eax, 0xa
mov eax, eax
cvtsi2ss xmm0, rax
mov eax, dword [0x1403fd180]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x128]
call fcn.140001720
mov qword [rsp + 0xb8], rax
movss xmm3, dword [0x1400d4b54]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.140057730
nop
mov eax, 4
imul rax, rax, 3
lea rcx, [0x1403f93c8]
mov edx, 4
imul rdx, rdx, 2
lea rdi, [0x1403f93c8]
mov esi, 4
imul rsi, rsi, 1
lea r8, [0x1403f93c8]
mov r9d, 4
imul r9, r9, 0
lea r10, [0x1403f93c8]
movss xmm0, dword [rcx + rax]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rdi + rdx]
movss xmm2, dword [r8 + rsi]
movss xmm1, dword [r10 + r9]
lea rcx, [rsp + 0x1b4]
call fcn.140004880
mov rcx, rax
call fcn.14000ba90
mov dword [rsp + 0x6c], eax
mov eax, dword [0x1403fd184]
cvtsi2ss xmm0, rax
mov eax, dword [0x1403fd180]
sub eax, 0xa
mov eax, eax
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x130]
call fcn.140001720
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov eax, dword [0x1403fd184]
cvtsi2ss xmm0, rax
mov eax, dword [0x1403fd180]
add eax, 0xa
mov eax, eax
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x138]
call fcn.140001720
mov qword [rsp + 0xd0], rax
movss xmm3, dword [0x1400d4b54]
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140057730
nop
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0xd8], rax
mov r8d, 3
mov edx, reloc.WLDAP32.dll_Ordinal_22
mov rcx, qword [0x1403fd0a0]
call qword [rsp + Ordinal_217]
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0xe0], rax
xor r8d, r8d
mov edx, 0x89
mov rcx, qword [0x1403fd0a0]
call qword [rsp + 0xe0]
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0xe8], rax
xor r8d, r8d
mov edx, 7
mov rcx, qword [0x1403fd0a0]
call qword [rsp + 0xe8]
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0xf0], rax
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rcx, qword [0x1403fd0a0]
call qword [rsp + 0xf0]
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0xf8], rax
xor r8d, r8d
mov edx, 0xae
mov rcx, qword [0x1403fd0a0]
call qword [rsp + 0xf8]
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x158]
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x30], 0
movss xmm0, dword [0x1400cd948]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1403fd0a0]
call qword [rsp + 0x100]
nop
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rcx, qword [0x1403fd0a0]
call qword [rax + 0x148]
test eax, eax
jl 0x14005e72a
call fcn.14001a0d0
call fcn.14000ecc0
mov rcx, rax
call fcn.14003ffb0
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rcx, qword [0x1403fd0a0]
call qword [rax + 0x150]
nop
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1403fd0a0]
call qword [rsp + 0x108]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x88760868
jne 0x14005e7c4
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rcx, qword [0x1403fd0a0]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14005e7c4
call fcn.14003fea0
mov rax, qword [0x1403fd0a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x110], rax
lea rdx, [0x1403fd140]
mov rcx, qword [0x1403fd0a0]
call qword [rsp + 0x110]
call fcn.14003f9f0
nop
add rsp, 0x1d8
pop rdi
pop rsi
ret