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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x632c79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
mov eax, dword [0x6b55d0]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x178], eax
push edi
mov dword [esp + 0xac], esi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x18c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], connect
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
fldz
mov ecx, dword [ebp + 8]
fstp dword [esi + 0x20]
mov byte [esi + 0x1c], 1
mov dword [esi + 0x14], ecx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [ecx]
mov byte [esp + 0x18c], 4
call dword [eax + 0x68]
mov edi, eax
push edi
call fcn.00565bb0
push edi
call fcn.0048e604
cmp eax, 0x2a
pop ecx
pop ecx
je 0x46f3a3
push edi
call fcn.0048e604
push eax
push 0x2a
push str.wrong_number_of_bones__old_d__new_d__n
call fcn.004500b3
add esp, 0x10
mov dword [esp + 0x10], ebx
push dword [esp + 0x10]
push edi
call fcn.0048e69d
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x2a
mov dword [ecx*4 + 0x95e9b0], eax
jl 0x46f3a7
lea ecx, [esp + 0x8c]
call fcn.004e2c10
push ebx
push ebx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x198], 5
call fcn.004e7410
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x190], 6
call fcn.004e8fb0
pop ecx
lea ecx, [esp + 0xf4]
call fcn.00493e74
cmp byte [ebp + 0xc], bl
mov byte [esp + 0x18c], 7
lea ecx, [esp + 0xb0]
je 0x46f46c
push str._CP_Characters_ragdoll_ragdoll_male.xml
call fcn.00493e85
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x194], 8
call fcn.00401c73
mov ecx, eax
call fcn.00455553
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x190], 9
call fcn.00494014
mov byte [esp + 0x18c], 8
jmp 0x46f4ad
push str._CP_Characters_ragdoll_ragdoll_female.xml
call fcn.00493e85
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x194], 0xa
call fcn.00401c73
mov ecx, eax
call fcn.00455553
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x190], 0xb
call fcn.00494014
mov byte [esp + 0x18c], 0xa
lea ecx, [esp + 0x48]
call fcn.00402a58
lea ecx, [esp + 0xb0]
mov byte [esp + 0x18c], 7
call fcn.00402a58
push str.default_world
call fcn.0040617e
mov ecx, eax
call fcn.005dfbcd
push eax
lea ecx, [esp + 0xe4]
call fcn.004e7380
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xf8]
call fcn.00493639
push eax
mov ecx, esi
call fcn.0046f108
mov edi, eax
push edi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c], edi
call fcn.0046e1db
mov eax, dword [esp + 0x80]
and eax, 0x7fffffff
cmp eax, edi
mov byte [esp + 0x18c], 0xc
jge 0x46f547
add eax, eax
cmp edi, eax
jl 0x46f534
mov eax, edi
push 4
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0054d250
add esp, 0xc
push 0x2a
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], edi
call fcn.0046e2d3
mov eax, dword [esp + 0x3c]
push 0x2a
and eax, 0x7fffffff
pop ecx
cmp eax, ecx
mov byte [esp + 0x18c], 0xd
jge 0x46f58c
add eax, eax
cmp eax, ecx
jg 0x46f579
mov eax, ecx
push 2
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0054d250
add esp, 0xc
push 0x2a
pop ecx
mov dword [esp + 0x38], ecx
push ecx
lea ecx, [esp + 0x68]
call fcn.0046e2d3
mov eax, dword [esp + 0x6c]
and eax, 0x7fffffff
cmp eax, 0x2a
mov byte [esp + 0x18c], 0xe
jge 0x46f5ca
add eax, eax
cmp eax, 0x2a
jg 0x46f5ba
push 0x2a
pop eax
push 2
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0054d250
add esp, 0xc
lea ecx, [esi + 0x44]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
cmp eax, edi
mov dword [esp + 0x68], 0x2a
jge 0x46f5f5
add eax, eax
cmp edi, eax
jl 0x46f5e9
mov eax, edi
push 2
push eax
push ecx
call fcn.0054d250
add esp, 0xc
mov eax, edi
shl eax, 2
push eax
mov dword [esi + 0x48], edi
call fcn.0042392e
pop ecx
mov ecx, dword [0x9617f0]
mov edx, edi
push 0xb
shl edx, 5
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push edx
call dword [eax]
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x18c], 0xf
je 0x46f642
push fcn.004458bd
push edi
push 0x20
push eax
call fcn.004017fd
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x46f646
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x18c], 0xe
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
mov eax, dword [eax*4 + 0x6a4968]
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x114]
push 0x64bc80
push eax
call fcn.0054d6b0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x1c], ebx
call fcn.004e2a60
cmp eax, ebx
jne 0x46f7e9
push str.Biped_Spine0
push dword [esp + 0x28]
call fcn.006021f0
test eax, eax
pop ecx
pop ecx
jne 0x46f6bb
mov eax, dword [esp + 0x14]
mov dword [esi + 0x50], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x54]
call fcn.0046f0c8
mov eax, dword [esp + 0x14]
inc word [eax + 6]
mov eax, dword [esp + 0x14]
movsx edi, word [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dx, word [esp + 0x20]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x34]
mov word [ecx + eax*2], dx
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], 7
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x46f71a
xor eax, eax
inc eax
push eax
push dword [0x6a4a10]
call fcn.0053b2a0
cmp byte [ebp + 0xc], bl
mov ecx, 0x6a46f8
jne 0x46f729
mov ecx, 0x6a4830
mov eax, edi
imul eax, eax, 7
xor dl, dl
fld dword [ecx + eax*4 + 8]
fld dword [ecx + eax*4 + 4]
fld dword [ecx + eax*4]
fld dword [ecx + eax*4 + 0xc]
fstp dword [esp + 0x2c]
fld dword [ecx + eax*4 + 0x18]
fstp dword [esp + 0x30]
fld dword [ecx + eax*4 + 0x14]
fstp dword [esp + 0x24]
fld dword [ecx + eax*4 + 0x10]
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0xb0]
mov eax, edi
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0xb0]
fstp dword [eax]
fstp dword [eax + 4]
fstp dword [eax + 8]
fldz
fstp dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax*4 + 0x95e9b0]
cmp eax, 0xffffffff
je 0x46f7d3
cmp dl, bl
jne 0x46f7ce
mov ecx, dword [esp + 0x34]
mov cx, word [ecx + eax*2]
cmp cx, 0xffff
je 0x46f7c2
mov edx, dword [esi + 0x44]
mov word [edx + edi*2], cx
mov dl, 1
jmp 0x46f7c9
mov eax, dword [eax*4 + 0x95e9b0]
cmp eax, 0xffffffff
jne 0x46f7a5
cmp eax, 0xffffffff
jne 0x46f7db
mov eax, dword [esi + 0x44]
or word [eax + edi*2], 0xffff
inc dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
jmp 0x46f7f6
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
or word [ecx + eax*2], 0xffff
mov cx, word [eax*4 + 0x95e9b0]
mov edx, dword [esp + 0x64]
mov word [edx + eax*2], cx
inc eax
cmp eax, 0x2a
mov dword [esp + 0x10], eax
jl 0x46f656
mov ecx, dword [0x9617f0]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x28]
push 0xb
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
mov eax, dword [ecx]
push 0x2c
call dword [eax + 0x10]
mov word [eax + 4], 0x2c
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
mov byte [esp + 0x190], 0x10
call fcn.004e8540
push edi
mov byte [esp + 0x190], 0xe
mov dword [esi + 8], eax
call fcn.0042396e
pop ecx
mov ecx, dword [0x9617f0]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov ecx, dword [0x9617f0]
mov eax, dword [ecx]
push 0xb
push 0x14
pop ebx
push ebx
call dword [eax + 0x10]
mov word [eax + 4], bx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
mov byte [esp + 0x190], 0x11
call fcn.0046df3c
mov dword [esi], eax
mov ecx, dword [0x9617f0]
mov eax, dword [ecx]
push 0xb
push ebx
mov byte [esp + 0x194], 0xe
call dword [eax + 0x10]
mov word [eax + 4], bx
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x44]
push ecx
mov ecx, eax
mov byte [esp + 0x190], 0x12
call fcn.0046df3c
mov dword [esi + 4], eax
mov ecx, dword [0x9617f0]
mov eax, dword [ecx]
push 0xb
push ebx
mov byte [esp + 0x194], 0xe
call dword [eax + 0x10]
mov word [eax + 4], bx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
mov byte [esp + 0x190], 0x13
call fcn.004e8050
mov ecx, esi
mov byte [esp + 0x18c], 0xe
mov dword [esi + 0xc], eax
call fcn.0046dfe8
inc dword [0x95ea58]
push 0x2a
pop edi
push edi
lea ecx, [esp + 0x9c]
call fcn.0046e3c4
mov eax, dword [esp + 0xa0]
and eax, 0x7fffffff
cmp eax, edi
mov byte [esp + 0x18c], bl
jge 0x46f96a
add eax, eax
cmp eax, edi
jg 0x46f957
mov eax, edi
push 0x20
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.0054d250
add esp, 0xc
mov ecx, dword [0x9617f0]
push 0xb
mov dword [esp + 0xa0], edi
mov eax, dword [ecx]
push 0x18
call dword [eax + 0x10]
mov word [eax + 4], 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x98]
push ecx
push dword [esi]
mov ecx, eax
mov byte [esp + 0x194], 0x15
call fcn.004e7760
lea ecx, [esp + 0x98]
mov dword [esi + 0x10], eax
mov byte [esp + 0x18c], 0xe
call fcn.0046e442
lea ecx, [esp + 0x64]
mov byte [esp + 0x18c], 0xd
call fcn.0046e34f
lea ecx, [esp + 0x34]
mov byte [esp + 0x18c], 0xc
call fcn.0046e34f
lea ecx, [esp + 0x78]
mov byte [esp + 0x18c], 7
call fcn.0046e25a
lea ecx, [esp + 0xf4]
mov byte [esp + 0x18c], 6
call fcn.00402a58
lea ecx, [esp + 0xdc]
mov byte [esp + 0x18c], 5
call fcn.004e04a0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x18c], 4
call fcn.004e2b60
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x17c]
mov eax, esi
call fcn.006009d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8