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

Disassembly:
sub esp, 0x304
push ebx
push ebp
push esi
push edi
push str.renderPlayerBones
call fcn.1005baee
pop ecx
call fcn.10029d80
test eax, eax
jne 0x100511ea
mov eax, dword [0x10161380]
cmp dword [eax + 0x111], 0
jne 0x100511ea
cmp dword [0x10419098], 0
je 0x100511ea
cmp dword [0x1040b874], 0
je 0x100511ea
cmp dword [0x1040b878], 0
je 0x100511ea
cmp dword [0x104190ac], 0
je 0x100511ea
push dword [0x104190b4]
call fcn.1002a024
pop ecx
test eax, eax
jne 0x100511ea
mov ebx, dword [esp + 0x118]
xor ebp, ebp
push ebp
call fcn.1004130f
push 0
push 0xffffffffffffffff
mov esi, eax
call fcn.100299e1
add esp, 0xc
test esi, esi
je 0x100511dd
mov ecx, dword [0x104190ac]
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 0x100511ea
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 [0x10413618], 0
je 0x100511dd
mov ecx, dword [0x10161380]
mov al, byte [ecx + 0x2e1]
test al, al
je 0x100511dd
cmp al, 1
jne 0x100511dd
cmp dword [ecx + 0x2e3], 0
jne 0x10050b65
push 0xff000000
push ebp
call fcn.10041cce
pop ecx
pop ecx
mov ecx, dword [0x10161380]
mov ebx, eax
mov ecx, dword [ecx + 0x2e3]
cmp ecx, 1
jne 0x10050b75
or ebx, 0xffffffff
jmp 0x10050bda
cmp ecx, 2
jne 0x10050b81
mov ebx, 0xffff0000
jmp 0x10050bda
cmp ecx, 3
jne 0x10050b8d
mov ebx, 0xff00ff00
jmp 0x10050bda
cmp ecx, 4
jne 0x10050b99
mov ebx, 0xff0000ff
jmp 0x10050bda
cmp ecx, 5
jne 0x10050ba5
mov ebx, 0xffff00ff
jmp 0x10050bda
cmp ecx, 6
je 0x10050baf
cmp ecx, 7
jne 0x10050bb6
mov ebx, 0xffffff00
jmp 0x10050bda
cmp ecx, 8
jne 0x10050bc2
mov ebx, 0xff0080ff
jmp 0x10050bda
cmp ecx, 9
jne 0x10050bce
mov ebx, 0xff00cccc
jmp 0x10050bda
cmp ecx, 0xa
jne 0x10050bda
call fcn.1004dbef
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
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.100292e6
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.100292e6
mov ecx, dword [0x10413618]
add esp, 0x10
push eax
call fcn.10042b66
inc ebp
cmp ebp, 0x3ec
jl 0x100507d2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x304
ret