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

Disassembly:
sub esp, 0x304
push ebx
push ebp
push esi
push edi
push str.renderPlayerBones
call fcn.100613f2
pop ecx
call fcn.1002e16d
test eax, eax
jne 0x1005119f
mov eax, dword [0x10163938]
cmp dword [eax + 0xce73], 0
jne 0x1005119f
cmp dword [0x1043c4b0], 0
je 0x1005119f
cmp dword [0x1042ec70], 0
je 0x1005119f
cmp dword [0x1042ec74], 0
je 0x1005119f
cmp dword [0x1043c4c4], 0
je 0x1005119f
push dword [0x1043c4cc]
call fcn.1002e411
pop ecx
test eax, eax
jne 0x1005119f
mov ebx, dword [esp + 0x118]
xor ebp, ebp
push ebp
call fcn.10044b9b
push 0
push 0xffffffffffffffff
mov esi, eax
call fcn.1002ddce
add esp, 0xc
test esi, esi
je 0x10051192
mov ecx, dword [0x1043c4c4]
mov eax, dword [ecx]
call dword [eax]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov esi, eax
test esi, esi
je 0x1005119f
and dword [esp + 0x34], 0
lea ecx, [esp + 0x34]
and dword [esp + 0x38], 0
and dword [esp + 0x3c], 0
and dword [esp + 0xdc], 0
and dword [esp + 0xe0], 0
and dword [esp + 0xe4], 0
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
and dword [esp + 0x18], 0
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
and dword [esp + 0x48], 0
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
and dword [esp + 0x54], 0
and dword [esp + 0x58], 0
and dword [esp + 0x5c], 0
and dword [esp + 0x60], 0
and dword [esp + 0x64], 0
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
and dword [esp + 0x28], 0
and dword [esp + 0x2c], 0
and dword [esp + 0x30], 0
and dword [esp + 0x7c], 0
and dword [esp + 0x80], 0
and dword [esp + 0x84], 0
and dword [esp + 0xf4], 0
and dword [esp + 0xf8], 0
and dword [esp + 0xfc], 0
and dword [esp + 0xe8], 0
and dword [esp + 0xec], 0
and dword [esp + 0xf0], 0
and dword [esp + 0x88], 0
and dword [esp + 0x8c], 0
and dword [esp + 0x90], 0
and dword [esp + 0x94], 0
and dword [esp + 0x98], 0
and dword [esp + 0x9c], 0
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
and dword [esp + 0x24], 0
and dword [esp + 0xa0], 0
and dword [esp + 0xa4], 0
and dword [esp + 0xa8], 0
and dword [esp + 0xac], 0
and dword [esp + 0xb0], 0
and dword [esp + 0xb4], 0
and dword [esp + 0xc4], 0
and dword [esp + 0xc8], 0
and dword [esp + 0xcc], 0
and dword [esp + 0xb8], 0
and dword [esp + 0xbc], 0
and dword [esp + 0xc0], 0
and dword [esp + 0xd0], 0
and dword [esp + 0xd4], 0
and dword [esp + 0xd8], 0
and dword [esp + 0x70], 0
and dword [esp + 0x74], 0
and dword [esp + 0x78], 0
and dword [esp + 0x100], 0
and dword [esp + 0x104], 0
and dword [esp + 0x108], 0
and dword [esp + 0x10c], 0
and dword [esp + 0x110], 0
and dword [esp + 0x114], 0
mov eax, dword [esi]
push ecx
push 6
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xdc]
push ecx
push 8
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 4
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
push 0x16
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
push 0x20
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x64]
push ecx
push 0x17
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
push 0x21
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x7c]
push ecx
push 0x18
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x22
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xf4]
push ecx
push 0x19
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xe8]
push ecx
push 0x23
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x88]
push ecx
push 3
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push ecx
push 2
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push 1
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xa0]
push ecx
push 0x33
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xac]
push ecx
push 0x29
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xb8]
push ecx
push 0x34
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xc4]
push ecx
push 0x2a
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push ecx
push 0x35
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xd0]
push ecx
push 0x2b
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x100]
push ecx
push 0x36
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x10c]
push ecx
push 0x2c
mov ecx, esi
call dword [eax + 0x74]
cmp dword [0x10436a18], 0
je 0x10051192
mov ecx, dword [0x10163938]
mov al, byte [ecx + 0x9b2e]
test al, al
je 0x10051192
cmp al, 1
jne 0x10051192
cmp dword [ecx + 0x9b2f], 0
jne 0x10050b13
push 0xff000000
push ebp
call fcn.10045625
pop ecx
pop ecx
mov ecx, dword [0x10163938]
mov ebx, eax
mov ecx, dword [ecx + 0x9b2f]
cmp ecx, 1
jne 0x10050b23
or ebx, 0xffffffff
jmp 0x10050b8f
cmp ecx, 2
jne 0x10050b2f
mov ebx, 0xffff0000
jmp 0x10050b8f
cmp ecx, 3
jne 0x10050b3b
mov ebx, 0xff00ff00
jmp 0x10050b8f
cmp ecx, 4
jne 0x10050b47
mov ebx, 0xff0000ff
jmp 0x10050b8f
cmp ecx, 5
jne 0x10050b53
mov ebx, 0xffff00ff
jmp 0x10050b8f
cmp ecx, 6
jne 0x10050b5f
mov ebx, 0xff3b3aa8
jmp 0x10050b8f
cmp ecx, 7
jne 0x10050b6b
mov ebx, 0xffffff00
jmp 0x10050b8f
cmp ecx, 8
jne 0x10050b77
mov ebx, 0xff0080ff
jmp 0x10050b8f
cmp ecx, 9
jne 0x10050b83
mov ebx, 0xff00cccc
jmp 0x10050b8f
cmp ecx, 0xa
jne 0x10050b8f
call fcn.1004dc30
mov ebx, eax
push ebx
sub esp, 0xc
lea esi, [esp + 0x44]
mov edi, esp
lea eax, [esp + 0x12c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0xe0]
push eax
sub esp, 0xc
lea eax, [esp + 0x13c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x20]
mov edi, esp
lea eax, [esp + 0x144]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x38]
push eax
sub esp, 0xc
lea eax, [esp + 0x154]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x5c]
mov edi, esp
lea eax, [esp + 0x15c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x14]
push eax
sub esp, 0xc
lea eax, [esp + 0x16c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x50]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x174]
movsd dword es:[edi], dword [esi]
push eax
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x14]
push eax
sub esp, 0xc
lea eax, [esp + 0x184]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x68]
mov edi, esp
lea eax, [esp + 0x18c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x44]
push eax
sub esp, 0xc
lea eax, [esp + 0x19c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x74]
mov edi, esp
lea eax, [esp + 0x1a4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x50]
push eax
sub esp, 0xc
lea eax, [esp + 0x1b4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x38]
mov edi, esp
lea eax, [esp + 0x1bc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
push eax
sub esp, 0xc
lea esi, [esp + 0x6c]
mov edi, esp
lea eax, [esp + 0x1cc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x8c]
mov edi, esp
lea eax, [esp + 0x1d4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x68]
push eax
sub esp, 0xc
lea eax, [esp + 0x1e4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0xf8]
mov edi, esp
lea eax, [esp + 0x1ec]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x2c]
push eax
sub esp, 0xc
lea eax, [esp + 0x1fc]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x104]
mov edi, esp
lea eax, [esp + 0x204]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x80]
push eax
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x214]
push eax
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x98]
mov edi, esp
lea eax, [esp + 0x21c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x14]
push eax
sub esp, 0xc
lea eax, [esp + 0x22c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0xa4]
mov edi, esp
lea eax, [esp + 0x234]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x8c]
push eax
sub esp, 0xc
lea eax, [esp + 0x244]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x2c]
mov edi, esp
lea eax, [esp + 0x24c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x98]
push eax
sub esp, 0xc
lea eax, [esp + 0x25c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0xb0]
mov edi, esp
lea eax, [esp + 0x264]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x20]
push eax
sub esp, 0xc
lea eax, [esp + 0x274]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0xbc]
mov edi, esp
lea eax, [esp + 0x27c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0x20]
push eax
sub esp, 0xc
lea eax, [esp + 0x28c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0xc8]
mov edi, esp
lea eax, [esp + 0x294]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0xa4]
push eax
sub esp, 0xc
lea eax, [esp + 0x2a4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0xd4]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x2ac]
push eax
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0xb0]
push eax
sub esp, 0xc
lea eax, [esp + 0x2bc]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x80]
mov edi, esp
lea eax, [esp + 0x2c4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0xbc]
push eax
sub esp, 0xc
lea eax, [esp + 0x2d4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0xe0]
mov edi, esp
lea eax, [esp + 0x2dc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0xc8]
push eax
sub esp, 0xc
lea eax, [esp + 0x2ec]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x110]
mov edi, esp
lea eax, [esp + 0x2f4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
push eax
sub esp, 0xc
lea esi, [esp + 0x84]
mov edi, esp
lea eax, [esp + 0x304]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
push ebx
sub esp, 0xc
lea esi, [esp + 0x11c]
mov edi, esp
lea eax, [esp + 0x30c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
add esp, 0x10
lea esi, [esp + 0xd4]
push eax
sub esp, 0xc
lea eax, [esp + 0x31c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002d6d3
mov ecx, dword [0x10436a18]
add esp, 0x10
push eax
call fcn.100464bd
inc ebp
cmp ebp, 0x3ec
jl 0x10050780
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x304
ret