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

Disassembly:
sub esp, 0x304
push ebx
push ebp
push esi
push edi
push str.renderPlayerBones
call fcn.1005ba7f
pop ecx
call fcn.1002b19f
test eax, eax
jne 0x10054abf
mov eax, dword [0x1015c888]
cmp dword [eax + 0xd0a0], 0
jne 0x10054abf
cmp dword [0x1019a990], 0
je 0x10054abf
cmp dword [0x1018d148], 0
je 0x10054abf
cmp dword [0x1018d14c], 0
je 0x10054abf
cmp dword [0x1019a9a4], 0
je 0x10054abf
push dword [0x1019a9ac]
call fcn.1002b443
pop ecx
test eax, eax
jne 0x10054abf
mov ebx, dword [esp + 0x118]
xor ebp, ebp
push ebp
call fcn.10040602
push 0
push 0xffffffffffffffff
mov esi, eax
call fcn.1002ae00
add esp, 0xc
test esi, esi
je 0x10054ab2
mov ecx, dword [0x1019a9a4]
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 0x10054abf
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 [0x10194f14], 0
je 0x10054ab2
mov ecx, dword [0x1015c888]
mov al, byte [ecx + 0x1008]
test al, al
je 0x10054ab2
cmp al, 1
jne 0x10054ab2
cmp dword [ecx + 0x37d3], 0
jne 0x1005443a
push 0xff000000
push ebp
call fcn.10041015
pop ecx
pop ecx
mov ecx, dword [0x1015c888]
mov ebx, eax
mov ecx, dword [ecx + 0x37d3]
cmp ecx, 1
jne 0x1005444a
or ebx, 0xffffffff
jmp 0x100544af
cmp ecx, 2
jne 0x10054456
mov ebx, 0xffff0000
jmp 0x100544af
cmp ecx, 3
jne 0x10054462
mov ebx, 0xff00ff00
jmp 0x100544af
cmp ecx, 4
jne 0x1005446e
mov ebx, 0xff0000ff
jmp 0x100544af
cmp ecx, 5
jne 0x1005447a
mov ebx, 0xffff00ff
jmp 0x100544af
cmp ecx, 6
je 0x10054484
cmp ecx, 7
jne 0x1005448b
mov ebx, 0xffffff00
jmp 0x100544af
cmp ecx, 8
jne 0x10054497
mov ebx, 0xff0080ff
jmp 0x100544af
cmp ecx, 9
jne 0x100544a3
mov ebx, 0xff00cccc
jmp 0x100544af
cmp ecx, 0xa
jne 0x100544af
call fcn.10051bcd
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
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.1002a71d
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.1002a71d
mov ecx, dword [0x10194f14]
add esp, 0x10
push eax
call fcn.10041e98
inc ebp
cmp ebp, 0x3ec
jl 0x100540a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x304
ret