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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x118
mov esi, esp
mov dword [esi + 0x100], ebp
mov dword [esi + 0x104], esp
mov dword [esi + 0x110], 0xffffffff
mov dword [esi + 0x10c], 0x45cbb0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword fs:[0]
lea edx, [edx + 0x10]
mov dword [esi + 0x108], ecx
lea ecx, [esi + 0x108]
mov dword fs:[0], ecx
mov byte [esi + 5], 1
mov dword [esi + 0x110], 0
lea ecx, [esi + 0x88]
push eax
mov dword [esi + 0x84], edx
push edx
push ecx
call fcn.00458da0
add esp, 0xc
mov eax, dword [esi + 0x88]
test eax, eax
mov dword [esi + 0x80], eax
je 0x45af21
movsd xmm0, qword [esi + 0xa8]
movsd xmm1, qword [esi + 0xa0]
movsd xmm2, qword [esi + 0x90]
movsd xmm3, qword [esi + 0x98]
lea edi, [esi + 0x38]
mov ecx, edi
movsd qword [esi + 0x70], xmm0
movsd qword [esi + 0x68], xmm1
movsd qword [esi + 0x60], xmm3
movsd qword [esi + 0x58], xmm2
mov dword [esi + 0x50], 1
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x40], xmm1
movsd qword [esi + 0x38], xmm3
movsd qword [esi + 0x30], xmm2
movq xmm0, qword [esi + 0x50]
movq qword [esi + 0x28], xmm0
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x40]
lea ebx, [eax - 0x90]
test edx, edx
cmove ecx, ebx
movzx ecx, byte [ecx]
mov byte [esi + 0x24], cl
test cl, cl
lea ecx, [esi + 0x40]
je 0x45afa5
lea ebx, [eax - 0x8c]
lea edi, [eax - 0x8f]
mov dword [esi + 0x10], ebx
lea ebx, [eax - 0x88]
mov dword [esi + 0x14], ebx
lea ebx, [eax - 0x84]
add eax, 0xffffff80
test edx, edx
lea edx, [esi + 0x39]
cmove edx, edi
mov dword [esi + 8], ebx
cmove ecx, dword [esi + 0x14]
lea edi, [esi + 0x44]
movzx ebx, byte [edx + 2]
cmove edi, dword [esi + 8]
mov byte [esi + 0x8a], bl
lea ebx, [esi + 0x48]
movzx edx, word [edx]
cmove ebx, eax
mov word [esi + 0x88], dx
lea edx, [esi + 0x3c]
cmove edx, dword [esi + 0x10]
mov edi, dword [edi]
mov eax, dword [edx]
mov dword [esi + 8], eax
mov eax, dword [ecx]
mov dword [esi + 0x14], eax
movzx eax, word [ebx]
mov dword [esi + 0x1c], eax
mov al, 1
mov dword [esi + 0x10], eax
jmp 0x45b01a
mov eax, dword [esi + 0xa4]
movq xmm0, qword [esi + 0x9c]
movsd xmm2, qword [esi + 0x8c]
movsd xmm1, qword [esi + 0x94]
mov dword [esi + 0x6c], eax
movq qword [esi + 0x64], xmm0
movsd qword [esi + 0x5c], xmm1
movsd qword [esi + 0x54], xmm2
mov dword [esi + 0x50], 0
mov edi, dword [esi + 0x68]
cmp byte [esi + 0x54], 0
jne 0x45af6f
mov eax, dword [esi + 0x58]
test eax, 0x7fffffff
jne 0x45b39d
cmp dword [edi - 0x60], 0x80000000
lea eax, [edi - 0x68]
mov dword [esi + 8], eax
je 0x45af90
mov ecx, dword [esi + 8]
mov dword [esi + 0x110], 7
call fcn.0045a990
push 0x60
push dword [ebp + 0x10]
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x45b389
test edx, edx
cmove edi, ebx
cmp dword [edi + 4], 0x80000000
jne 0x45afd6
lea edi, [eax - 0x88]
add eax, 0xffffff7c
test edx, edx
lea edx, [esi + 0x44]
mov dword [esi + 8], connect
cmove ecx, edi
cmove edx, eax
mov ecx, dword [ecx]
mov edi, dword [edx]
jmp 0x45b010
add edi, 4
mov byte [esi + 6], 0
mov byte [esi + 7], 1
mov dword [esi + 0x110], 2
push edi
lea eax, [esi + 0x88]
push eax
call fcn.004e32d0
add esp, 8
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov edi, dword [esi + 0x90]
mov dword [esi + 8], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], 0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xc]
cmp eax, ecx
jne 0x45b045
mov ecx, ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x110], 3
call fcn.00474f90
mov ebx, dword [ebp + 8]
mov edi, dword [esi + 0x20]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 8]
xor edx, edx
cmp eax, ecx
cmovae edx, ecx
mov ecx, dword [ebx + 4]
sub eax, edx
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4], dl
movzx edx, word [esi + 0x88]
mov word [ecx + eax*4 + 1], dx
movzx edx, byte [esi + 0x8a]
mov byte [ecx + eax*4 + 3], dl
mov edx, dword [esi + 8]
mov dword [ecx + eax*4 + 4], edx
mov edx, dword [esi + 0x14]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], edi
mov edi, dword [esi + 0x1c]
mov dword [ecx + eax*4 + 0x10], edi
inc dword [ebx + 0xc]
push 0x60
push dword [ebp + 0x10]
lea eax, [esi + 0x88]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x40]
cmp dword [esi + 0x28], 0
je 0x45b218
mov dword [esi + 0x1c], eax
movzx eax, byte [esi + 0x38]
mov dword [esi + 8], ecx
mov edi, dword [esi + 0x4c]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x24], eax
movzx eax, word [esi + 0x39]
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x20], eax
movzx eax, byte [esi + 0x3b]
mov byte [esi + 0x1a], al
movzx eax, byte [0x5781b1]
push 8
push 0x240
call fcn.00402ce0
add esp, 8
test eax, eax
mov dword [esi + 0x7c], eax
je 0x45b3ed
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [esi + 0x78], edi
mov edx, eax
and edx, dword [esi + 8]
movdqu xmm0, xmmword [ecx + edx]
pmovmskb ebx, xmm0
test ebx, ebx
jne 0x45b144
mov edi, 0x10
nop word cs:[eax + eax]
nop
add edx, edi
add edi, 0x10
and edx, eax
movdqu xmm0, xmmword [ecx + edx]
pmovmskb ebx, xmm0
test ebx, ebx
je 0x45b130
tzcnt ebx, ebx
add ebx, edx
and ebx, eax
movzx edx, byte [ecx + ebx]
test dl, dl
js 0x45b164
movdqa xmm0, xmmword [ecx]
pmovmskb edx, xmm0
tzcnt ebx, edx
movzx edx, byte [ecx + ebx]
lea edi, [ebx - 0x10]
and dl, 1
and edi, eax
mov eax, dword [esi + 8]
shr eax, 0x19
mov byte [ecx + ebx], al
mov byte [ecx + edi + 0x10], al
mov edi, dword [esi + 0x78]
movzx eax, dl
movzx edx, byte [esi + 0x14]
neg ebx
sub dword [edi + 8], eax
lea eax, [ebx + ebx*8]
mov ebx, dword [esi + 0x7c]
shl eax, 4
mov byte [ecx + eax - 0x90], dl
movzx edx, word [esi + 0x18]
mov word [ecx + eax - 0x8f], dx
movzx edx, byte [esi + 0x1a]
mov byte [ecx + eax - 0x8d], dl
mov edx, dword [esi + 0x10]
mov dword [ecx + eax - 0x8c], edx
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax - 0x88], edx
mov edx, dword [esi + 0x24]
mov dword [ecx + eax - 0x80], edx
mov edx, dword [esi + 0x20]
mov dword [ecx + eax - 0x84], edx
mov dword [ecx + eax - 0x78], 8
mov dword [ecx + eax - 0x74], ebx
mov ebx, dword [ebp + 8]
mov dword [ecx + eax - 0x70], 0
mov dword [ecx + eax - 0x6c], 0
mov dword [ecx + eax - 0x60], 0x80000000
mov word [ecx + eax - 8], 0xb
inc dword [edi + 0xc]
add eax, ecx
cmp dword [eax - 0x60], 0x80000000
lea ecx, [eax - 0x68]
mov dword [esi + 8], ecx
jne 0x45b239
jmp 0x45b24e
cmp byte [esi + 0x2c], 0
jne 0x45b22a
test ecx, 0x7fffffff
jne 0x45b3c3
cmp dword [eax - 0x60], 0x80000000
lea ecx, [eax - 0x68]
mov dword [esi + 8], ecx
je 0x45b24e
mov ecx, dword [esi + 8]
mov dword [esi + 0x110], 5
call fcn.0045a990
mov ebx, dword [ebp + 8]
push 0x60
lea eax, [esi + 0x88]
push eax
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx]
cmp eax, dword [ebx + 0xc]
jne 0x45b389
test eax, eax
je 0x45b389
mov ecx, dword [ebx + 8]
xor edi, edi
lea edx, [ecx + 1]
cmp edx, eax
mov edx, dword [ebx + 4]
cmovae edi, eax
dec eax
neg edi
lea edi, [ecx + edi + 1]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], eax
mov edi, dword [edx + ecx*4 + 0x10]
movzx eax, byte [edx + ecx*4]
mov dword [esi + 0x5f], edi
cmp al, 2
movsd xmm0, qword [edx + ecx*4 + 9]
movsd qword [esi + 0x58], xmm0
movq xmm0, qword [edx + ecx*4 + 1]
movq qword [esi + 0x50], xmm0
je 0x45b389
mov byte [esi + 0x28], al
movsd xmm1, qword [esi + 0x58]
mov eax, dword [esi + 0x5f]
movq xmm0, qword [esi + 0x50]
mov dword [esi + 0x110], 8
movsd qword [esi + 0x31], xmm1
mov dword [esi + 0x38], eax
lea eax, [esi + 0x28]
movq qword [esi + 0x29], xmm0
push eax
push dword [esi + 0x84]
lea eax, [esi + 0x88]
push eax
call fcn.00458ff0
add esp, 0xc
cmp dword [esi + 0x88], 0x80000000
je 0x45b365
cmp dword [esi + 0xa0], 0x80000000
je 0x45b32b
lea ecx, [esi + 0x98]
mov dword [esi + 0x110], 0xa
call fcn.0045a990
lea eax, [esi + 0x88]
mov dword [esi + 0x110], 9
push eax
call fcn.00475060
add esp, 4
mov eax, dword [esi + 0x88]
test eax, eax
je 0x45b365
shl eax, 3
lea eax, [eax + eax*8]
push 8
push eax
push dword [esi + 0x8c]
call fcn.00402cf0
add esp, 0xc
cmp byte [esi + 0x28], 0
jne 0x45b389
mov eax, dword [esi + 0x2c]
cmp eax, 0x80000000
je 0x45b389
test eax, eax
je 0x45b389
push 1
push eax
push dword [esi + 0x30]
call fcn.00402cf0
jmp 0x45af9d
mov eax, dword [esi + 0x108]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
push eax
push dword [esi + 0x5c]
call fcn.00402cf0
add esp, 0xc
cmp dword [edi - 0x60], 0x80000000
lea eax, [edi - 0x68]
mov dword [esi + 8], eax
jne 0x45af7e
jmp 0x45af90
push 1
push ecx
push dword [esi + 0x34]
mov edi, eax
call fcn.00402cf0
mov eax, edi
add esp, 0xc
cmp dword [eax - 0x60], 0x80000000
lea ecx, [eax - 0x68]
mov dword [esi + 8], ecx
jne 0x45b239
jmp 0x45b24e
mov dword [esi + 0x110], 6
push 0x240
push 8
call fcn.00500210
add esp, 8
ud2