Function at 0x45b690
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], 0x45cbc0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword fs:[0]
mov dword [esi + 0x108], ecx
lea ecx, [esi + 0x108]
mov dword fs:[0], ecx
lea ecx, [edx + 0x10]
mov byte [esi + 4], 1
mov dword [esi + 0x110], 0
lea edx, [esi + 0x88]
push eax
mov dword [esi + 0x84], ecx
push ecx
push edx
call fcn.00458da0
add esp, 0xc
mov eax, dword [esi + 0x88]
test eax, eax
mov dword [esi + 0x80], eax
je 0x45b811
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 0x45b8af
lea ebx, [eax - 0x8c]
lea edi, [eax - 0x8f]
mov dword [esi + 0x14], ebx
lea ebx, [eax - 0x88]
mov dword [esi + 0xc], 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 + 0xc]
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 + 0x14]
movzx ebx, word [ebx]
mov eax, dword [edx]
mov dword [esi + 8], eax
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [esi + 0x14], eax
mov al, 1
mov dword [esi + 0x18], eax
jmp 0x45b92d
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 eax, dword [esi + 0x58]
mov edi, dword [esi + 0x68]
movzx ebx, byte [esi + 0x54]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0xc], eax
push 0x48
push dword [ebp + 0x10]
lea eax, [esi + 0x88]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test bl, bl
jne 0x45b88c
test dword [esi + 8], 0x7fffffff
je 0x45b88c
push 1
push dword [esi + 8]
push dword [esi + 0xc]
call fcn.00402cf0
add esp, 0xc
add edi, 0xffffff88
lea ecx, [esi + 0x88]
mov byte [esi + 7], 0
mov dword [esi + 0x110], 1
mov edx, edi
call fcn.0045c7a0
jmp 0x45bc77
test edx, edx
cmove edi, ebx
cmp dword [edi + 4], 0x80000000
jne 0x45b8e6
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 eax, dword [edx]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
jmp 0x45b926
add edi, 4
mov byte [esi + 5], 0
mov byte [esi + 6], 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 edx, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0
mov ecx, dword [ebp + 8]
mov edi, dword [ecx]
mov eax, dword [ecx + 0xc]
cmp eax, edi
jne 0x45b956
mov dword [esi + 0x20], ebx
mov dword [esi + 0x110], 3
call fcn.00474f90
mov ecx, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
mov edi, dword [ecx]
mov eax, dword [ecx + 0xc]
add eax, dword [ecx + 8]
xor edx, edx
cmp eax, edi
cmovae edx, edi
mov edi, dword [ecx + 4]
sub eax, edx
mov edx, dword [esi + 0x18]
lea eax, [eax + eax*4]
mov byte [edi + eax*4], dl
movzx edx, word [esi + 0x88]
mov word [edi + eax*4 + 1], dx
movzx edx, byte [esi + 0x8a]
mov byte [edi + eax*4 + 3], dl
mov edx, dword [esi + 8]
mov dword [edi + eax*4 + 4], edx
mov edx, dword [esi + 0xc]
mov dword [edi + eax*4 + 8], edx
mov edx, dword [esi + 0x14]
mov dword [edi + eax*4 + 0xc], edx
mov dword [edi + eax*4 + 0x10], ebx
inc dword [ecx + 0xc]
push 0x48
push dword [ebp + 0x10]
lea eax, [esi + 0x88]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebx, dword [esi + 0x30]
mov edx, dword [esi + 0x40]
cmp dword [esi + 0x28], 0
je 0x45bb21
movzx eax, byte [esi + 0x38]
mov dword [esi + 0x14], edx
mov edi, dword [esi + 0x4c]
mov byte [esi + 8], al
mov eax, dword [esi + 0x3c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x18], eax
movzx eax, word [esi + 0x39]
mov word [esi + 0x1c], ax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x24], eax
movzx eax, byte [esi + 0x3b]
mov byte [esi + 0x1e], al
movzx eax, byte [0x5781b1]
push 8
push 0x240
call fcn.00402ce0
add esp, 8
test eax, eax
mov dword [esi + 0x20], eax
je 0x45bca2
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], edi
mov edx, eax
and edx, ebx
movdqu xmm0, xmmword [ecx + edx]
pmovmskb ebx, xmm0
test ebx, ebx
jne 0x45ba54
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 0x45ba40
tzcnt ebx, ebx
add ebx, edx
and ebx, eax
movzx edx, byte [ecx + ebx]
test dl, dl
js 0x45ba74
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 + 0x78]
shr eax, 0x19
mov byte [ecx + ebx], al
mov byte [ecx + edi + 0x10], al
mov edi, dword [esi + 0x7c]
movzx eax, dl
movzx edx, byte [esi + 8]
neg ebx
sub dword [edi + 8], eax
lea eax, [ebx + ebx*8]
shl eax, 4
mov byte [ecx + eax - 0x90], dl
movzx edx, word [esi + 0x1c]
mov word [ecx + eax - 0x8f], dx
movzx edx, byte [esi + 0x1e]
mov byte [ecx + eax - 0x8d], dl
mov edx, dword [esi + 0xc]
mov dword [ecx + eax - 0x8c], edx
mov edx, dword [esi + 0x14]
mov dword [ecx + eax - 0x88], edx
mov edx, dword [esi + 0x18]
mov dword [ecx + eax - 0x80], edx
mov edx, dword [esi + 0x24]
mov dword [ecx + eax - 0x84], edx
mov edx, dword [esi + 0x20]
mov dword [ecx + eax - 0x78], 8
mov dword [ecx + eax - 0x74], edx
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]
lea edx, [ecx + eax]
mov dword [esi + 0x110], 4
jmp 0x45bb33
cmp byte [esi + 0x2c], 0
jne 0x45bb33
test ebx, 0x7fffffff
jne 0x45bc8b
add edx, 0xffffff88
lea ecx, [esi + 0x88]
mov byte [esi + 0x13], 0
mov dword [esi + 0x110], 4
call fcn.0045c7a0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp eax, dword [ebx + 0xc]
jne 0x45bc77
test eax, eax
je 0x45bc77
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 0x45bc77
mov byte [esi + 0x28], al
movsd xmm1, qword [esi + 0x58]
mov eax, dword [esi + 0x5f]
movq xmm0, qword [esi + 0x50]
mov dword [esi + 0x110], 6
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 0x45bc55
cmp dword [esi + 0xa0], 0x80000000
je 0x45bc1b
lea ecx, [esi + 0x98]
mov dword [esi + 0x110], 8
call fcn.0045a990
lea eax, [esi + 0x88]
mov dword [esi + 0x110], 7
push eax
call fcn.00475060
add esp, 4
mov eax, dword [esi + 0x88]
test eax, eax
je 0x45bc55
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 0x45bc77
mov eax, dword [esi + 0x2c]
cmp eax, 0x80000000
je 0x45bc77
test eax, eax
je 0x45bc77
push 1
push eax
push dword [esi + 0x30]
call fcn.00402cf0
add esp, 0xc
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 ebx
push dword [esi + 0x34]
mov edi, edx
call fcn.00402cf0
mov edx, edi
add esp, 0xc
jmp 0x45bb15
mov dword [esi + 0x110], 5
push 0x240
push 8
call fcn.00500210
add esp, 8
ud2