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

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push 0x4c
xor ebp, ebp
push ebp
push ebx
call sub.VCRUNTIME140.dll_memset
mov esi, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esi + 0x34], ebp
je 0x1000644c
cmp dword [esi + 0x30], 0xffffffff
jle 0x1000644c
cmp dword [esi + 0x78], 0xffffffff
jle 0x1000644c
cmp dword [esi + 0x28], 0xffffffff
jle 0x1000644c
cmp dword [esi + 0xc], 0xffffffff
jle 0x1000644c
cmp dword [esi + 4], 0xffffffff
jle 0x1000644c
cmp dword [esi + 8], 0xffffffff
jle 0x1000644c
mov ecx, dword [esp + 0x18]
mov eax, 0x127fd
mov edx, 0x67fd
mov dword [ecx], 0x27fd
cmp dword [esi + 0x10], ebp
cmovne eax, edx
mov dword [ecx], eax
cmp dword [esi + 0x91c0], ebp
je 0x10006229
or eax, 0x20000
mov dword [ecx], eax
cmp dword [esi + 0x91c4], ebp
je 0x10006238
or eax, 0x40000
mov dword [ecx], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
push edi
mov dword [ebx + 0xc], eax
push dword [esi + 0x14]
call fcn.100080d0
mov edi, dword [sym.imp.WS2_32.dll_ntohs]
add esp, 4
movzx eax, ax
push eax
call edi
mov word [ebx + 0x10], ax
push dword [esi + 0x18]
call fcn.100080d0
add esp, 4
movzx eax, ax
push eax
call edi
mov word [ebx + 0x12], ax
mov eax, dword [esi + 0x91a0]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x91a4]
mov dword [ebx + 0x34], eax
mov ecx, dword [esi + 0x78]
test ecx, ecx
jle 0x10006322
mov eax, dword [esi + 0x74]
add eax, 0x18
cmp dword [eax - 0x18], 2
jne 0x100062b4
cmp dword [eax - 4], 0
jne 0x100062b4
cmp dword [eax], 0
jne 0x100062b4
inc ebp
add eax, 0x58
sub ecx, 1
jne 0x100062a2
test ebp, ebp
je 0x10006322
lea eax, [ebp*4]
push eax
call dword [section..data]
add esp, 4
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x10006412
xor edx, edx
cmp dword [esi + 0x78], edx
jle 0x10006322
xor edi, edi
mov dword [esp + 0x14], edx
nop dword [eax]
mov eax, dword [esi + 0x74]
cmp dword [edi + eax], 2
jne 0x10006319
cmp dword [edi + eax + 0x14], 0
jne 0x10006319
cmp dword [edi + eax + 0x18], 0
jne 0x10006319
mov ecx, dword [ebx + 0x1c]
add ecx, dword [esp + 0x14]
mov eax, dword [edi + eax + 4]
add dword [esp + 0x14], 4
mov dword [ecx], eax
inc edx
add edi, 0x58
cmp edx, dword [esi + 0x78]
jl 0x100062f0
mov dword [ebx + 0x20], ebp
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1000637c
shl eax, 2
push eax
call dword [section..data]
add esp, 4
mov dword [ebx + 0x24], eax
test eax, eax
je 0x10006412
mov eax, dword [esi + 0x28]
xor edi, edi
test eax, eax
jle 0x1000637c
nop dword [eax]
mov dword [ebx + 0x28], edi
mov eax, dword [esi + 0x24]
push dword [eax + edi*4]
call fcn.1000cc20
mov ecx, dword [ebx + 0x24]
add esp, 4
mov dword [ecx + edi*4], eax
mov eax, dword [ebx + 0x24]
cmp dword [eax + edi*4], 0
je 0x10006412
mov eax, dword [esi + 0x28]
inc edi
cmp edi, eax
jl 0x10006350
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1000639b
push eax
call fcn.1000cc20
add esp, 4
mov dword [ebx + 0x2c], eax
test eax, eax
jne 0x1000639b
cmp dword [esi + 0x34], eax
jne 0x10006412
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100063f5
lea eax, [eax + eax*4]
shl eax, 3
push eax
call dword [section..data]
add esp, 4
mov dword [ebx + 0x38], eax
test eax, eax
je 0x10006412
mov eax, dword [esi + 0x30]
xor edi, edi
test eax, eax
jle 0x100063f5
xor edx, edx
mov ecx, dword [esi + 0x2c]
lea edx, [edx + 0x28]
mov eax, dword [ebx + 0x38]
inc edi
movups xmm0, xmmword [ecx + edx - 0x28]
movups xmmword [eax + edx - 0x28], xmm0
movups xmm0, xmmword [ecx + edx - 0x18]
movups xmmword [eax + edx - 0x18], xmm0
movq xmm0, qword [ecx + edx - 8]
movq qword [eax + edx - 8], xmm0
mov eax, dword [esi + 0x30]
cmp edi, eax
jl 0x100063c4
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x91c0]
test eax, eax
je 0x1000641c
push eax
call fcn.1000cc20
add esp, 4
mov dword [ebx + 0x44], eax
test eax, eax
jne 0x1000641c
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
ret
mov eax, dword [esi + 0x91c4]
test eax, eax
je 0x10006445
push eax
call fcn.1000cc20
add esp, 4
mov dword [ebx + 0x48], eax
xor ecx, ecx
mov edx, 0xf
test eax, eax
pop edi
pop esi
cmove ecx, edx
pop ebp
mov eax, ecx
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop esi
pop ebp
mov eax, 1
pop ebx
ret