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

Disassembly:
push 0xffffffffffffffff
push 0x575938
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1b0]
mov bl, byte [ebp + 0x424]
mov edi, dword [esp + 0x1b4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], edi
mov byte [esp + 0x17], bl
cmp bl, 2
jb 0x486218
push 0
push 0x84d
push str.AppearanceManager.cpp
call fcn.0050ea20
add esp, 0xc
mov ecx, dword [ebp + 0x404]
test ecx, ecx
jne 0x487629
cmp dword [ebp + 0x40c], ecx
jne 0x487629
movzx esi, word [ebp + 0x429]
movzx eax, bl
lea eax, [eax + eax*2]
lea edx, [eax*4 + 0x6d87c0]
mov dword [esp + 0x30], edx
test ecx, ecx
jne 0x486255
mov ecx, edi
call fcn.0052a760
mov ecx, ebp
call fcn.00499490
movzx edi, ax
cmp di, 7
jae 0x486297
movzx eax, di
movzx eax, word [ebp + eax*2 + 0x514]
cmp ax, 1
jbe 0x486297
push eax
mov ecx, 0x6b79b8
call fcn.0049ebe0
test eax, eax
je 0x4862a0
cmp dword [0x69b944], 0
jne 0x4862a0
movzx ebx, word [eax + 0x9c]
jmp 0x4862bd
test si, si
je 0x4878a9
push esi
mov ecx, 0x6b79b8
call fcn.0049ebe0
movzx ebx, word [eax + 0x9c]
push esi
mov ecx, 0x6b79b8
call fcn.0049ebe0
movzx ebp, word [eax + 0x9e]
movzx eax, di
dec eax
mov dword [esp + 0x28], 0
cmp eax, 5
ja case.default.0x4862d5
jmp dword [eax*4 + 0x4878d4]
mov ecx, dword [esp + 0x24]
movzx edx, word [ecx + 0x520]
mov dword [esp + 0x28], edx
jmp case.default.0x4862d5
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 0x51e]
mov dword [esp + 0x28], ecx
jmp case.default.0x4862d5
mov edx, dword [esp + 0x24]
movzx eax, word [edx + 0x518]
jmp 0x486338
mov ecx, dword [esp + 0x24]
movzx edx, word [ecx + 0x51a]
mov dword [esp + 0x28], edx
jmp case.default.0x4862d5
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 0x51c]
mov dword [esp + 0x28], ecx
jmp case.default.0x4862d5
mov edx, dword [esp + 0x24]
movzx eax, word [edx + 0x516]
mov dword [esp + 0x28], eax
cmp ebx, 0xffffffff
je 0x4878a9
cmp ebx, 3
je 0x48713a
cmp di, 6
jne 0x48683a
movzx eax, si
push eax
mov ecx, 0x6bf490
mov dword [esp + 0x24], eax
call fcn.00514f40
test eax, eax
je 0x4864fd
mov ebx, dword [esp + 0x28]
cmp bx, 1
ja 0x4864fd
cmp dword [0x69b944], 0
je 0x4864fd
xor ecx, ecx
mov byte [esp + 0x34], 0
mov dword [esp + 0x35], ecx
mov dword [esp + 0x39], ecx
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x41], ecx
mov dword [esp + 0x45], ecx
mov dword [esp + 0x49], ecx
mov dword [esp + 0x4d], ecx
mov dword [esp + 0x51], ecx
push 0x21
cmp byte [esp + 0x1b], cl
jne 0x4863c7
add eax, 4
push eax
lea ecx, [esp + 0x3c]
push ecx
jmp 0x4863d0
add eax, 0x24
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486404
test dl, dl
je 0x4863fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486404
add eax, 2
add ecx, 2
test dl, dl
jne 0x4863e1
xor eax, eax
or ebp, 0xffffffff
jmp 0x48640d
sbb eax, eax
mov ebp, 0xffffffff
sbb eax, ebp
test eax, eax
je 0x4866a8
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1a8], 4
test eax, eax
je 0x486440
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486442
xor esi, esi
push 2
push 4
push 0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x1b8], ebp
call fcn.0052ad40
mov edi, dword [esp + 0x18]
push str.Bip01_L_Forearm
push esi
mov ecx, edi
call fcn.0052a6c0
lea eax, [esp + 0x34]
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x486475
sub eax, esi
test eax, eax
jle 0x4864a5
cmp byte [esp + edx + 0x34], 0x2e
je 0x4864a0
lea eax, [esp + 0x34]
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x486491
sub eax, esi
cmp edx, eax
jl 0x486482
jmp 0x4864a5
mov byte [esp + edx + 0x33], 0x52
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1a8], 5
test eax, eax
je 0x4864d0
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x4864d2
xor esi, esi
push 2
push 4
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x1b8], ebp
call fcn.0052ad40
push str.Bip01_R_Forearm
push esi
mov ecx, edi
call fcn.0052a6c0
jmp 0x4866ac
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov ebx, dword [eax + ebp*4]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x486510
sub eax, edx
mov edi, eax
xor eax, eax
test edi, edi
jle 0x48656a
lea esi, [esp + 0x9c]
mov ecx, ebx
sub esi, ebx
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x486542
mov byte [esi + ecx], dl
inc eax
inc ecx
cmp eax, edi
jl 0x486530
jmp 0x48656a
lea ecx, [eax + ebx]
lea edx, [esp + eax + 0x9e]
mov byte [esp + eax + 0x9c], 0x5f
mov byte [esp + eax + 0x9d], 0x52
sub edx, ecx
mov edi, edi
mov al, byte [ecx]
mov byte [ecx + edx], al
inc ecx
test al, al
jne 0x486560
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x1a8], 6
test eax, eax
je 0x486595
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486597
xor esi, esi
push 0
push 4
push 0
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bip01_R_Forearm
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0052a6c0
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push str.Bip01_R_Forearm
push edx
push esi
push ebp
call fcn.00484ee0
xor eax, eax
test edi, edi
jle 0x48662a
lea esi, [esp + 0x9c]
mov ecx, ebx
sub esi, ebx
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x486604
mov byte [ecx + esi], dl
inc eax
inc ecx
cmp eax, edi
jl 0x4865f2
jmp 0x48662a
lea ecx, [eax + ebx]
lea edx, [esp + eax + 0x9e]
mov byte [esp + eax + 0x9c], 0x5f
mov byte [esp + eax + 0x9d], 0x4c
sub edx, ecx
mov al, byte [ecx]
mov byte [ecx + edx], al
inc ecx
test al, al
jne 0x486620
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x1a8], 7
test eax, eax
je 0x486655
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486657
xor esi, esi
push 0
push 4
push 0
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bip01_L_Forearm
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0052a6c0
mov ecx, dword [esp + 0x20]
push str.Bip01_L_Forearm
push ecx
mov ecx, dword [esp + 0x34]
push esi
push ebp
call fcn.00484ee0
mov ebx, dword [esp + 0x28]
mov edi, esi
or ebp, 0xffffffff
jmp 0x4866ac
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
movzx edx, bx
push edx
call fcn.00485350
test eax, eax
je 0x4878a9
test bx, bx
je 0x4878a9
cmp dword [0x69b944], 0
jne 0x4878a9
xor ecx, ecx
mov byte [esp + 0x34], 0
mov dword [esp + 0x35], ecx
mov dword [esp + 0x39], ecx
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x41], ecx
mov dword [esp + 0x45], ecx
mov dword [esp + 0x49], ecx
mov dword [esp + 0x4d], ecx
mov dword [esp + 0x51], ecx
push 0x21
cmp byte [esp + 0x1b], cl
jne 0x486711
add eax, 4
push eax
lea eax, [esp + 0x3c]
push eax
jmp 0x48671a
add eax, 0x24
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x34]
jmp 0x486730
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486750
test dl, dl
je 0x48674c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486750
add eax, 2
add ecx, 2
test dl, dl
jne 0x486730
xor eax, eax
jmp 0x486754
sbb eax, eax
sbb eax, ebp
test eax, eax
je 0x4878a9
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1a8], 8
test eax, eax
je 0x486787
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486789
xor esi, esi
push 2
push 4
push 0
lea edx, [esp + 0x40]
push edx
mov ecx, esi
mov dword [esp + 0x1b8], ebp
call fcn.0052ad40
push str.Bip01_L_Forearm
push esi
mov ecx, edi
call fcn.0052a6c0
lea eax, [esp + 0x34]
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4867b8
sub eax, esi
test eax, eax
jle 0x4867e8
cmp byte [esp + edx + 0x34], 0x2e
je 0x4867e3
lea eax, [esp + 0x34]
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4867d4
sub eax, esi
cmp edx, eax
jl 0x4867c5
jmp 0x4867e8
mov byte [esp + edx + 0x33], 0x52
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1a8], 9
test eax, eax
je 0x486813
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486815
xor esi, esi
push 2
push 4
push 0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x1b8], ebp
call fcn.0052ad40
push str.Bip01_R_Forearm
mov ecx, edi
jmp 0x4878a3
cmp di, 1
je 0x486f32
cmp di, 3
je 0x486f32
cmp di, 4
je 0x486f32
cmp di, 5
jne 0x486c43
movzx ebx, si
push ebx
mov ecx, 0x6bf490
call fcn.00514f40
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x486ad2
cmp dword [0x69b944], 0
je 0x486966
xor eax, eax
mov byte [esp + 0x34], 0
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
push 0x21
cmp byte [esp + 0x1b], al
jne 0x4868c5
add ecx, 4
push ecx
lea ecx, [esp + 0x3c]
push ecx
jmp 0x4868ce
add ecx, 0x24
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x34]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486900
test dl, dl
je 0x4868fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486900
add eax, 2
add ecx, 2
test dl, dl
jne 0x4868e0
xor eax, eax
jmp 0x486905
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x486966
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0xd
test eax, eax
je 0x486934
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486936
xor esi, esi
push 2
push 3
push 0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
mov edi, dword [esp + 0x18]
push str.Bone_L
push esi
mov ecx, edi
call fcn.0052a6c0
jmp 0x48696a
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp ax, 1
ja 0x486a6a
cmp dword [0x69b944], 0
jne 0x486a6a
xor eax, eax
mov byte [esp + 0x34], 0
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
push 0x21
cmp byte [esp + 0x1b], al
jne 0x4869c3
mov ecx, dword [esp + 0x24]
add ecx, 4
push ecx
lea edx, [esp + 0x3c]
push edx
jmp 0x4869d0
mov eax, dword [esp + 0x24]
add eax, 0x24
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486a01
test dl, dl
je 0x4869fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486a01
add eax, 2
add ecx, 2
test dl, dl
jne 0x4869e1
xor eax, eax
jmp 0x486a06
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x486b48
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0xe
test eax, eax
je 0x486a39
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486a3b
xor esi, esi
push 2
push 3
push 0
lea edx, [esp + 0x40]
push edx
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bone_L
push esi
mov ecx, edi
call fcn.0052a6c0
jmp 0x486b48
test ax, ax
je 0x486b48
cmp dword [0x69b944], 0
jne 0x486b48
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0xf
test eax, eax
je 0x486aab
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486aad
xor esi, esi
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebp*4]
push 0
push 4
push 0
push eax
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
jmp 0x486b26
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x10
test eax, eax
je 0x486afd
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486aff
xor esi, esi
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebp*4]
push 0
push 4
push 0
push eax
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
mov edi, dword [esp + 0x18]
push str.Bone_L
push esi
mov ecx, edi
call fcn.0052a6c0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push str.Bone_L
push ebx
push edi
push edx
call fcn.00484ee0
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
movzx eax, bx
push eax
call fcn.00485350
mov esi, eax
test esi, esi
je 0x4878a9
test bx, bx
je 0x4878a9
cmp dword [0x69b944], 0
jne 0x4878a9
push 0x40
lea ecx, [esp + 0x39]
push 0
push ecx
mov byte [esp + 0x40], 0
call fcn.0055a690
add esp, 0xc
cmp byte [esp + 0x17], 0
push 0x21
jne 0x486ba3
add esi, 4
push esi
lea edx, [esp + 0x3c]
push edx
jmp 0x486bac
add esi, 0x24
push esi
lea eax, [esp + 0x3c]
push eax
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x34]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486be0
test dl, dl
je 0x486bdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486be0
add eax, 2
add ecx, 2
test dl, dl
jne 0x486bc0
xor eax, eax
jmp 0x486be5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4878a9
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x11
test eax, eax
je 0x486c18
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486c1a
xor esi, esi
push 2
push 4
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bone_L
mov ecx, edi
jmp 0x4878a3
cmp di, 2
jne 0x486db6
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x12
test eax, eax
je 0x486c78
mov ecx, eax
call fcn.00529c90
mov edi, eax
jmp 0x486c7a
xor edi, edi
mov ebx, dword [esp + 0x30]
mov edx, dword [ebx + 4]
mov eax, dword [edx + ebp*4]
push 0
push 4
push 0
push eax
mov ecx, edi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bone_R
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0052a6c0
mov ecx, dword [esp + 0x2c]
movzx eax, si
push str.Bip01_R_Forearm
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
push edi
push eax
call fcn.00484ee0
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + ebp*4]
mov eax, esi
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x486cd7
sub eax, edi
je 0x486d3a
lea ebx, [esp + 0x9c]
mov edi, esi
sub ebx, esi
lea ecx, [ecx]
mov al, byte [edi]
cmp al, 0x2e
je 0x486d0f
mov byte [ebx + edi], al
mov eax, esi
inc ecx
inc edi
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x486d00
sub eax, ebp
cmp ecx, eax
jb 0x486cf0
jmp 0x486d3a
lea eax, [ecx + esi]
lea edx, [esp + ecx + 0x9e]
mov byte [esp + ecx + 0x9c], 0x5f
mov byte [esp + ecx + 0x9d], 0x4c
sub edx, eax
jmp 0x486d30
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x486d30
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x13
test eax, eax
je 0x486d65
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486d67
xor esi, esi
push 0
push 4
push 0
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bone_L
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0052a6c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push str.Bip01_L_Forearm
push eax
push esi
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00484ee0
jmp 0x4878a9
movzx edi, si
push edi
mov ecx, 0x6bf490
call fcn.00514f40
test eax, eax
je 0x486eb7
cmp word [esp + 0x28], 1
ja 0x486eb7
cmp dword [0x69b944], 0
jne 0x486eb7
xor ecx, ecx
mov byte [esp + 0x34], 0
mov dword [esp + 0x35], ecx
mov dword [esp + 0x39], ecx
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x41], ecx
mov dword [esp + 0x45], ecx
mov dword [esp + 0x49], ecx
mov dword [esp + 0x4d], ecx
mov dword [esp + 0x51], ecx
push 0x21
cmp byte [esp + 0x1b], cl
jne 0x486e1f
add eax, 4
push eax
lea edx, [esp + 0x3c]
push edx
jmp 0x486e28
add eax, 0x24
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x34]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x486e60
test dl, dl
je 0x486e5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x486e60
add eax, 2
add ecx, 2
test dl, dl
jne 0x486e40
xor eax, eax
jmp 0x486e65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4878a9
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x14
test eax, eax
je 0x486ea6
mov ecx, eax
call fcn.00529c90
push 2
push 4
push 0
lea ecx, [esp + 0x40]
mov esi, eax
push ecx
jmp 0x487888
push 2
push 4
xor esi, esi
push esi
lea ecx, [esp + 0x40]
push ecx
jmp 0x487888
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x15
test eax, eax
je 0x486ee2
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x486ee4
xor esi, esi
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebp*4]
push 0
push 4
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bone_R
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0052a6c0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push str.Bone_R
push edi
push esi
push edx
call fcn.00484ee0
jmp 0x4878a9
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
movzx eax, di
push eax
mov ecx, ebx
call fcn.00485350
mov dword [esp + 0x20], eax
test eax, eax
je 0x4870be
test di, di
je 0x4870be
cmp dword [0x69b944], 0
jne 0x4870be
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0xa
test eax, eax
je 0x486f92
mov ecx, eax
call fcn.00529c90
mov edi, eax
jmp 0x486f94
xor edi, edi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebp*4]
push 0
push 4
push 0
push eax
mov ecx, edi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bone_R
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0052a6c0
mov ecx, dword [esp + 0x24]
push str.Bone_R
movzx eax, si
push eax
push edi
push ecx
mov ecx, ebx
call fcn.00484ee0
xor eax, eax
mov byte [esp + 0x34], 0
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
push 0x21
cmp byte [esp + 0x1b], al
jne 0x48701c
mov edx, dword [esp + 0x24]
add edx, 4
push edx
lea eax, [esp + 0x3c]
push eax
jmp 0x487029
mov ecx, dword [esp + 0x24]
add ecx, 0x24
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x34]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x487060
test dl, dl
je 0x48705c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x487060
add eax, 2
add ecx, 2
test dl, dl
jne 0x487040
xor eax, eax
jmp 0x487065
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4878a9
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0xb
test eax, eax
je 0x487098
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x48709a
xor esi, esi
push 2
push 4
push 0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
mov ecx, edi
jmp 0x48789e
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0xc
test eax, eax
je 0x4870e9
mov ecx, eax
call fcn.00529c90
mov edi, eax
jmp 0x4870eb
xor edi, edi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebp*4]
push 0
push 4
push 0
push eax
mov ecx, edi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bone_R
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0052a6c0
mov edx, dword [esp + 0x24]
push str.Bone_R
movzx ecx, si
push ecx
push edi
push edx
mov ecx, ebx
call fcn.00484ee0
jmp 0x4878a9
cmp di, 2
jne 0x4878a9
movzx eax, si
push eax
mov ecx, 0x6bf490
mov dword [esp + 0x24], eax
call fcn.00514f40
test eax, eax
je 0x4872e0
cmp dword [0x69b944], 0
jne 0x4872e0
xor ecx, ecx
mov byte [esp + 0x34], 0
mov dword [esp + 0x35], ecx
mov dword [esp + 0x39], ecx
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x41], ecx
mov dword [esp + 0x45], ecx
mov dword [esp + 0x49], ecx
mov dword [esp + 0x4d], ecx
mov dword [esp + 0x51], ecx
push 0x21
cmp byte [esp + 0x1b], cl
jne 0x4871a5
add eax, 4
push eax
lea eax, [esp + 0x3c]
push eax
jmp 0x4871ae
add eax, 0x24
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x34]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4871e3
test dl, dl
je 0x4871dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4871e3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4871c0
xor eax, eax
or ebx, 0xffffffff
jmp 0x4871ec
sbb eax, eax
mov ebx, 0xffffffff
sbb eax, ebx
test eax, eax
je 0x487484
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x16
test eax, eax
je 0x48721f
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x487221
xor esi, esi
push 2
push 3
push 0
lea edx, [esp + 0x40]
push edx
mov ecx, esi
mov dword [esp + 0x1b8], ebx
call fcn.0052ad40
mov edi, dword [esp + 0x18]
push str.Bip01_L_Forearm
push esi
mov ecx, edi
call fcn.0052a6c0
lea eax, [esp + 0x34]
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x487254
sub eax, esi
test eax, eax
jle 0x487284
cmp byte [esp + edx + 0x34], 0x2e
je 0x48727f
lea eax, [esp + 0x34]
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x487270
sub eax, esi
cmp edx, eax
jl 0x487261
jmp 0x487284
mov byte [esp + edx + 0x33], 0x52
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x17
test eax, eax
je 0x4872af
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x4872b1
xor esi, esi
push 2
push 3
push 0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x1b8], ebx
call fcn.0052ad40
push str.Bip01_R_Forearm
push esi
mov ecx, edi
call fcn.0052a6c0
jmp 0x487488
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov ebx, dword [edx + ebp*4]
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4872f0
sub eax, edx
mov esi, eax
xor eax, eax
test esi, esi
jle 0x48734a
lea edi, [esp + 0x9c]
mov ecx, ebx
sub edi, ebx
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x487322
mov byte [edi + ecx], dl
inc eax
inc ecx
cmp eax, esi
jl 0x487310
jmp 0x48734a
lea ecx, [eax + ebx]
lea edx, [esp + eax + 0x9e]
mov byte [esp + eax + 0x9c], 0x5f
mov byte [esp + eax + 0x9d], 0x52
sub edx, ecx
mov edi, edi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x487340
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x1a
test eax, eax
je 0x487375
mov ecx, eax
call fcn.00529c90
mov edi, eax
jmp 0x487377
xor edi, edi
push 0
push 4
push 0
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bip01_R_Forearm
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0052a6c0
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
push str.Bip01_R_Forearm
push ecx
mov ecx, dword [esp + 0x34]
push edi
push ebp
call fcn.00484ee0
xor eax, eax
test esi, esi
jle 0x48740a
lea edi, [esp + 0x9c]
mov ecx, ebx
sub edi, ebx
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x4873e4
mov byte [ecx + edi], dl
inc eax
inc ecx
cmp eax, esi
jl 0x4873d2
jmp 0x48740a
lea ecx, [eax + ebx]
lea edx, [esp + eax + 0x9e]
mov byte [esp + eax + 0x9c], 0x5f
mov byte [esp + eax + 0x9d], 0x4c
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x487400
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x1b
test eax, eax
je 0x487435
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x487437
xor esi, esi
push 0
push 4
push 0
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
push str.Bip01_L_Forearm
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0052a6c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push str.Bip01_L_Forearm
push eax
push esi
push ebp
call fcn.00484ee0
or ebx, 0xffffffff
mov edi, esi
jmp 0x487488
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
movzx ecx, si
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00485350
test eax, eax
je 0x4878a9
test si, si
je 0x4878a9
xor ecx, ecx
mov byte [esp + 0x78], 0
mov dword [esp + 0x79], ecx
mov dword [esp + 0x7d], ecx
mov dword [esp + 0x81], ecx
mov dword [esp + 0x85], ecx
mov dword [esp + 0x89], ecx
mov dword [esp + 0x8d], ecx
mov dword [esp + 0x91], ecx
mov dword [esp + 0x95], ecx
push 0x21
cmp byte [esp + 0x1b], cl
jne 0x4874f9
add eax, 4
push eax
lea edx, [esp + 0x80]
push edx
jmp 0x487505
add eax, 0x24
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0050ec00
add esp, 0xc
mov ecx, str.nofile
lea eax, [esp + 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x487536
test dl, dl
je 0x487532
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x487536
add eax, 2
add ecx, 2
test dl, dl
jne 0x487516
xor eax, eax
jmp 0x48753a
sbb eax, eax
sbb eax, ebx
test eax, eax
je 0x4878a9
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x1c
test eax, eax
je 0x48756d
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x48756f
xor esi, esi
push 2
push 4
push 0
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
mov dword [esp + 0x1b8], ebx
call fcn.0052ad40
push str.Bip01_L_Forearm
push esi
mov ecx, edi
call fcn.0052a6c0
lea eax, [esp + 0x78]
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4875a1
sub eax, esi
test eax, eax
jle 0x4875d4
mov edi, edi
cmp byte [esp + edx + 0x78], 0x2e
je 0x4875cf
lea eax, [esp + 0x78]
inc edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4875c0
sub eax, esi
cmp edx, eax
jl 0x4875b0
jmp 0x4875d4
mov byte [esp + edx + 0x77], 0x52
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 0x1d
test eax, eax
je 0x4875ff
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x487601
xor esi, esi
push 2
push 4
push 0
lea edx, [esp + 0x84]
push edx
mov ecx, esi
mov dword [esp + 0x1b8], ebx
call fcn.0052ad40
push str.Bip01_R_Forearm
mov ecx, edi
jmp 0x4878a3
push 6
mov ecx, ebp
call fcn.00499530
cmp dword [ebp + 0x404], 0
movzx esi, ax
jne 0x487645
mov ecx, edi
call fcn.0052a760
mov ecx, ebp
call fcn.004994e0
movzx ebx, ax
test si, si
je 0x4878a9
push esi
mov ecx, 0x6b79b8
call fcn.0049ebe0
movzx edi, word [eax + 0x9c]
push esi
mov ecx, 0x6b79b8
call fcn.0049ebe0
movzx ebp, word [eax + 0x9e]
or esi, 0xffffffff
cmp edi, esi
je 0x4878a9
cmp edi, 3
je 0x4878a9
push 0x98
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
cmp bx, 6
jne 0x4876f2
mov dword [esp + 0x1a8], 0
test eax, eax
je 0x4876c1
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x4876c3
xor esi, esi
mov eax, dword [0x6d8818]
mov ecx, dword [eax + ebp*4]
push 0
push 0xa
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
mov ecx, dword [esp + 0x18]
push str.Bip01_R_Forearm
jmp 0x4878a3
cmp bx, 2
jne 0x48785c
mov dword [esp + 0x1a8], 1
test eax, eax
je 0x487716
mov ecx, eax
call fcn.00529c90
mov ebx, eax
jmp 0x487718
xor ebx, ebx
push 0x98
mov dword [esp + 0x1ac], esi
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1a8], 2
test eax, eax
je 0x48774c
mov ecx, eax
call fcn.00529c90
mov dword [esp + 0x20], eax
jmp 0x487754
mov dword [esp + 0x20], 0
mov edx, dword [0x6d8818]
mov ebp, dword [edx + ebp*4]
mov eax, ebp
mov dword [esp + 0x1a8], esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x487770
sub eax, edx
mov esi, eax
xor eax, eax
test esi, esi
jle 0x4877ca
lea edi, [esp + 0x9c]
mov ecx, ebp
sub edi, ebp
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x4877a2
mov byte [edi + ecx], dl
inc eax
inc ecx
cmp eax, esi
jl 0x487790
jmp 0x4877ca
lea ecx, [eax + ebp]
lea edx, [esp + eax + 0x9e]
mov byte [esp + eax + 0x9c], 0x5f
mov byte [esp + eax + 0x9d], 0x52
sub edx, ecx
mov edi, edi
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4877c0
push 0
push 0xa
push 0
lea eax, [esp + 0xa8]
push eax
mov ecx, ebx
call fcn.0052ad40
push str.Bip01_R_Forearm
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.0052a6c0
xor eax, eax
test esi, esi
jle 0x48783a
lea edi, [esp + 0x9c]
mov ecx, ebp
sub edi, ebp
mov dl, byte [ecx]
cmp dl, 0x2e
je 0x487813
mov byte [ecx + edi], dl
inc eax
inc ecx
cmp eax, esi
jl 0x487801
jmp 0x48783a
lea ecx, [eax + ebp]
lea edx, [esp + eax + 0x9e]
mov byte [esp + eax + 0x9c], 0x5f
mov byte [esp + eax + 0x9d], 0x4c
sub edx, ecx
nop
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x487830
mov esi, dword [esp + 0x20]
push 0
push 0xa
push 0
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.0052ad40
push str.Bip01_L_Forearm
mov ecx, ebx
jmp 0x4878a3
mov dword [esp + 0x1a8], 3
test eax, eax
je 0x487876
mov ecx, eax
call fcn.00529c90
mov esi, eax
jmp 0x487878
xor esi, esi
mov edx, dword [0x6d8818]
mov eax, dword [edx + ebp*4]
push 0
push 0xa
push 0
push eax
mov ecx, esi
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0052ad40
mov ecx, dword [esp + 0x18]
push str.Bone_R
push esi
call fcn.0052a6c0
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0055a677
add esp, 0x198
ret 8