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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x214
mov ebp, dword [esp + 0x22c]
mov edi, ecx
call 0x464ea8
pop eax
mov esi, edx
mov ecx, edx
mov dword [esp + 0x68], eax
mov edx, ebp
call fcn.0045db40
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
lea ecx, [eax + 0x7fffffff]
cmp ecx, 5
setb dl
cmp ecx, 1
setne dh
test dl, dh
jne 0x464f1b
cmp dword [ebp + 0xc], reloc.WS2_32.dll_getsockname
jne 0x464f1b
lea edx, [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 4], edx
mov edx, dword [ebp + 0x10]
mov ebp, dword [ebp + 0x20]
cmp edx, reloc.WS2_32.dll_accept
jne 0x465008
mov edx, dword [esp + 0x22c]
mov edx, dword [edx + 0x14]
mov dword [edi], edx
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [edi + 8], esi
mov dword [edi + 0xc], ebp
jmp 0x4651db
mov dword [esp], edi
lea edi, [esp + 0xe8]
mov ecx, 0x1f
mov esi, ebp
mov edx, 2
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xe8]
movzx eax, byte [0x62314d]
lea ebp, [edi + 0x7fffffff]
cmp ebp, 5
setb bl
cmp ebp, 1
setne bh
xor ecx, ecx
call fcn.0048bb80
mov esi, eax
test bl, bh
jne 0x464f8d
test esi, esi
je 0x465849
mov word [esi], 0x12
movzx eax, byte [esp + 0x160]
mov byte [esp + 4], al
movzx eax, byte [esp + 0x161]
mov byte [esp + 0xc], al
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x464fb8
test esi, esi
je 0x465849
cmp ebp, 5
mov eax, 1
mov word [esi], 2
mov dword [esp + 0x10], 0
cmovb eax, ebp
movzx eax, byte [eax + 0x61f956]
mov byte [esp + 4], al
mov ebx, dword [esp + 0x14]
cmp ebp, 5
mov ecx, 1
lea eax, [esp + 0xf0]
cmovb ecx, ebp
cmp ecx, 3
ja 0x4650e7
mov edx, dword [esp + 0x68]
add edx, dword [ecx*4 + 0x46584c]
jmp edx
mov eax, dword [esp + 0x22c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edx
mov dword [esp], edi
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x5c]
mov ebp, dword [eax + 0x24]
test ebp, ebp
je 0x46515c
mov edi, dword [eax + 0x20]
cmp si, 3
jne 0x465132
shr esi, 0x10
shl ebp, 3
jmp 0x46505c
add edi, 8
add ebp, 0xfffffff8
je 0x46515c
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
cmp ax, 3
jne 0x465050
cmp dx, si
jne 0x465050
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x22c]
mov edx, dword [esp + 8]
cmp esi, 0x10000
jbe 0x46537e
mov eax, dword [esp + 0x228]
mov word [esp + 0x164], 4
mov dword [esp + 0xe8], reloc.WS2_32.dll_accept
mov dword [esp + 0xec], 0x80001
lea edx, [esp + 0xe8]
mov esi, dword [eax]
xor eax, eax
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.00449cc0
add esp, 4
mov eax, dword [esp]
mov byte [esi + 0x249], 1
mov byte [eax], 3
mov byte [eax + 4], 0xa
jmp 0x4651b6
test dword [esp + 0xec], 0x7fffffff
je 0x465104
push dword [eax]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0xc]
mov byte [eax], cl
mov ch, byte [esp + 4]
mov byte [eax + 1], ch
mov byte [eax + 2], dl
mov dword [eax + 4], 1
mov dword [eax + 8], esi
mov dword [eax + 0xc], 1
jmp 0x46525a
shl ebp, 3
nop word cs:[eax + eax]
nop
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
cmp ax, si
je 0x465072
add edi, 8
add ebp, 0xfffffff8
jne 0x465140
mov eax, dword [esp + 0x228]
mov word [esp + 0x164], 4
mov dword [esp + 0xe8], reloc.WS2_32.dll_accept
mov dword [esp + 0xec], 0x80001
lea edx, [esp + 0xe8]
mov esi, dword [eax]
xor eax, eax
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.00449cc0
add esp, 4
mov ebp, dword [esp + 0x22c]
mov eax, dword [esp]
mov byte [esi + 0x249], 1
mov word [eax], 0x3309
test dword [esp + 0x10], 0x7fffffff
je 0x4651d2
push dword [esp + 0xc]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp]
lea ecx, [eax + 0x7fffffff]
cmp ecx, 5
setae dl
cmp ecx, 1
sete cl
or cl, dl
je 0x46520e
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x22c]
cmp dword [ecx], reloc.WS2_32.dll_getsockname
je 0x465205
call fcn.004490d0
mov eax, dword [esi]
test eax, 0x7fffffff
je 0x46525a
jmp 0x465235
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x22c]
add eax, 0x7fffffff
cmp eax, 3
ja 0x46524d
mov edx, dword [esp + 0x68]
add edx, dword [eax*4 + 0x46585c]
jmp edx
mov eax, 4
push dword [esi + eax]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x46525a
test dword [esi + 4], 0x7fffffff
jne 0x46539c
mov eax, dword [ebx + 0x5c]
lock dec dword [eax]
jne 0x46526a
lea ecx, [ebx + 0x5c]
call fcn.0049c0a0
cmp byte [ebx + 0x48], 0
jne 0x46528a
test dword [ebx + 0x4c], 0x7fffffff
je 0x46528a
push dword [ebx + 0x50]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x46529c
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4652ba
cmp dword [edi + 8], 9
jb 0x4652ab
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [ebx], 0x7fffffff
je 0x4652d3
push dword [ebx + 4]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebx + 0x68]
mov esi, dword [ebx + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x4652e5
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x465303
cmp dword [edi + 8], 9
jb 0x4652f4
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebx + 0x70]
call fcn.00435910
lea ecx, [ebx + 0xb4]
call fcn.00435910
lea ecx, [ebx + 0x28]
call fcn.00464700
mov edi, dword [ebx + 0x1c]
mov eax, edi
neg eax
jo 0x465364
mov ebp, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x46534d
mov esi, ebp
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, esi
call fcn.00498fe0
add esi, 0x3c
dec ebx
jne 0x465340
mov ebx, dword [esp + 0x14]
test edi, edi
je 0x465364
push ebp
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
test esi, esi
je 0x4653a6
mov ecx, 8
mov edx, esi
call fcn.0048bb80
test eax, eax
je 0x465849
mov edx, dword [esp + 8]
jmp 0x4653ab
mov eax, 8
jmp 0x46523a
mov eax, 1
mov ecx, dword [edi + 4]
push esi
push eax
push edx
push dword [esp + 0x18]
push dword [edi]
mov edi, eax
call dword [ecx + 0x18]
add esp, 0x14
test al, al
mov dword [esp + 8], edi
je 0x46541f
mov eax, dword [esp + 0x228]
mov word [esp + 0x164], 4
mov dword [esp + 0xe8], reloc.WS2_32.dll_accept
mov dword [esp + 0xec], 0x80001
lea edx, [esp + 0xe8]
mov esi, dword [eax]
xor eax, eax
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.00449cc0
add esp, 4
mov eax, dword [esp]
mov byte [esi + 0x249], 1
mov word [eax], 0x1809
jmp 0x4654c6
lea ecx, [esp + 0x78]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
call fcn.00445180
xor eax, eax
cmp eax, dword [esp + 0x78]
jno 0x4654e9
mov eax, dword [esp + 0x228]
mov word [esp + 0x164], 4
mov dword [esp + 0xe8], reloc.WS2_32.dll_accept
mov dword [esp + 0xec], 0x80001
lea edx, [esp + 0xe8]
mov esi, dword [eax]
xor eax, eax
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.00449cc0
add esp, 4
mov byte [esi + 0x249], 1
mov eax, dword [esp + 0x84]
movsd xmm0, qword [esp + 0x7c]
mov dword [esp + 0x27], eax
movsd qword [esp + 0x1f], xmm0
mov eax, dword [esp]
movsd xmm0, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x23]
mov byte [eax], 3
movsd qword [eax + 1], xmm0
movsd qword [eax + 8], xmm1
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 8]
je 0x4651b6
push eax
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4651b6
movsd xmm0, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x17c]
movsd qword [esp + 0x18c], xmm0
movsd qword [esp + 0x184], xmm1
movsd qword [esp + 0x17c], xmm2
call fcn.00449930
mov byte [esp + 0xe4], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x78], reloc.WS2_32.dll_getpeername
mov dword [esp + 0x24], 0
sub esp, 4
lea esi, [esp + 0x7c]
lea edx, [esp + 0x20]
mov ecx, esi
push connect
call fcn.00448990
add esp, 8
mov eax, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
lea edi, [esp + 0xf4]
mov ecx, 0x1c
lea edx, [esp + 0xe8]
mov dword [esp + 0xf0], eax
movsd qword [esp + 0xe8], xmm0
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x210], 5
lea edi, [esp + 0x194]
mov ecx, 0x1f
mov esi, edx
rep movsd dword es:[edi], dword [esi]
movsd xmm1, qword [ebx + 0x50]
movsd xmm2, qword [ebx + 0xf8]
mov eax, dword [ebx + 0x58]
movsd xmm0, qword [ebx + 0x48]
movsd qword [esp + 0xc8], xmm1
movsd xmm1, qword [ebx + 0x100]
movsd qword [esp + 0x1c], xmm2
movsd xmm2, qword [ebx + 0x110]
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 0x18]
movsd qword [esp + 0xc0], xmm0
movsd qword [esp + 0x24], xmm1
movsd xmm1, qword [ebx + 0x108]
movsd qword [esp + 0x34], xmm2
movsd xmm2, qword [ebx + 0x120]
mov dword [esp + 0x90], eax
lea eax, [ebx + 0x64]
movsd qword [esp + 0x2c], xmm1
movsd xmm1, qword [ebx + 0x118]
movsd qword [esp + 0x44], xmm2
movsd xmm2, qword [ebx + 0x130]
movsd qword [esp + 0x3c], xmm1
movsd xmm1, qword [ebx + 0x128]
movsd qword [esp + 0x54], xmm2
movsd xmm2, qword [ebx]
movsd qword [esp + 0x4c], xmm1
movsd xmm1, qword [ebx + 0x5c]
movsd qword [esp + 0x78], xmm2
movups xmmword [esp + 0x68], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [esp + 0x88], xmm1
push 0x94
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [ebx + 0x30]
movsd xmm0, qword [ebx + 0x28]
movsd xmm2, qword [ebx + 0x40]
mov eax, dword [ebx + 0x24]
xor ecx, ecx
mov edx, 0x13c
movsd qword [esp + 0xa8], xmm1
movsd xmm1, qword [ebx + 0x38]
movsd qword [esp + 0xa0], xmm0
movsd qword [esp + 0xb8], xmm2
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [ebx + 0x1c]
mov dword [esp + 0x9c], eax
movsd qword [esp + 0x94], xmm1
movzx eax, byte [0x62314d]
call fcn.0048bb80
test eax, eax
je 0x465849
lea esi, [esp + 0x78]
mov ecx, 0x17
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, eax
movups xmm0, xmmword [esp + 0x68]
movlps qword [eax + 0x5c], xmm0
add eax, 0x64
push 0x94
lea ecx, [esp + 0xec]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x24]
lea eax, [esp + 0x194]
movsd qword [esi + 0xf8], xmm0
movsd qword [esi + 0x100], xmm1
movsd xmm0, qword [esp + 0x2c]
movsd qword [esi + 0x108], xmm0
movsd xmm0, qword [esp + 0x34]
movsd qword [esi + 0x110], xmm0
movsd xmm0, qword [esp + 0x3c]
movsd qword [esi + 0x118], xmm0
movsd xmm0, qword [esp + 0x44]
movsd qword [esi + 0x120], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd qword [esi + 0x128], xmm0
movsd xmm0, qword [esp + 0x54]
movsd qword [esi + 0x130], xmm0
mov byte [esi + 0x138], 1
push eax
push dword [esp + 0x22c]
push esi
push dword [esp + 0xc]
call fcn.00462c60
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x4657e1
push dword [esp + 8]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [esp + 0x10], 0x7fffffff
je 0x4657fd
push dword [esp + 0xc]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp]
lea ecx, [eax + 0x7fffffff]
cmp ecx, 5
setae dl
cmp ecx, 1
sete cl
or cl, dl
je 0x46583d
mov ecx, dword [esp + 4]
cmp dword [ecx], reloc.WS2_32.dll_getsockname
je 0x46582a
call fcn.004490d0
mov eax, dword [ebp]
test eax, 0x7fffffff
je 0x465364
push dword [ebp + 4]
jmp 0x465356
mov ecx, ebp
call fcn.0045e5e0
jmp 0x465364
ud2