Function at 0x585a20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a952e
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x73a280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x160], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x148]
xor edi, edi
mov dword [ebp - 0x154], edi
call fcn.0052d7b0
push esi
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], edi
call fcn.0052e960
test al, al
je 0x585daf
lea ecx, [ebp - 0x148]
call fcn.0052f3d0
push str.basemodelfilename
lea ecx, [ebp - 0x28]
call fcn.0043ef30
mov esi, dword [ebp - 0x160]
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 1
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052e4e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x585aed
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585ae3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.treefilename
lea ecx, [ebp - 0x28]
call fcn.0043ef30
add esi, 0x38
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e4e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x585b49
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585b3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587058
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.attributefilename
lea ecx, [ebp - 0x28]
call fcn.0043ef30
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x148]
add eax, 0x50
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052e4e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x585bab
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585ba1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58705d
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.smokebonename
lea ecx, [ebp - 0x28]
call fcn.0043ef30
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x148]
sub eax, 0xffffff80
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052e4e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x585c0d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585c03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587062
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.motionlistfilename
lea ecx, [ebp - 0x28]
call fcn.0043ef30
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x148]
add eax, 0x68
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052e4e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x585c6f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585c65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587067
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov eax, dword [ebp - 0x160]
cmp dword [eax + 0x48], 0
je 0x585cff
mov ecx, dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x15c], eax
test ecx, ecx
je 0x585cff
cmp dword [esi + 0x10], eax
jbe 0x587071
mov ecx, dword [esi + 0x14]
mov edx, esi
cmp ecx, 0xf
jbe 0x585ca9
mov edx, dword [esi]
cmp byte [edx + eax], 0x5c
mov edx, esi
jne 0x585cbe
cmp ecx, 0xf
jbe 0x585cb8
mov edx, dword [esi]
mov byte [edx + eax], 0x2f
jmp 0x585cf0
cmp ecx, 0xf
jbe 0x585cc5
mov edx, dword [esi]
movsx eax, byte [edx + eax]
push eax
call fcn.0065d940
mov dl, al
add esp, 4
mov eax, dword [ebp - 0x15c]
cmp dword [esi + 0x10], eax
jbe 0x587071
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x585ced
mov ecx, dword [esi]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x15c], eax
cmp eax, dword [ebp - 0x164]
jb 0x585c94
push str.smokefilename
lea ecx, [ebp - 0x28]
call fcn.0043ef30
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e600
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x585d60
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x585d56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58706c
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
je 0x585f03
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x154], eax
test al, 1
je 0x585ddb
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x149]
call fcn.00585950
push dword [ebp - 0x154]
push eax
call fcn.005057e0
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x148]
call fcn.0052da10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], 0
je 0x585f03
xor esi, esi
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x150], esi
mov eax, dword [ebp - 0x16c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x164], edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x158]
jbe 0x587076
mov eax, dword [ebp - 0x164]
add eax, esi
cmp dword [eax + 0x14], 0xf
jbe 0x585e45
mov eax, dword [eax]
push eax
call fcn.00657e7b
add esp, 4
mov dword [ebp - 0x164], eax
cmp eax, 3
ja 0x586297
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x168], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebp - 0x158]
sar edx, 2
inc eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jbe 0x587076
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add eax, 0x18
add esi, eax
mov eax, dword [ebp - 0x160]
add eax, 8
cmp dword [esi + 0x14], 0xf
lea ecx, [eax + ecx*4]
mov eax, esi
mov dword [ebp - 0x168], ecx
jbe 0x585ebd
mov eax, dword [esi]
push 0
push ecx
mov ecx, dword [0x748b60]
push eax
call fcn.004f3160
test eax, eax
je 0x586265
mov eax, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x150]
inc eax
add dword [ebp - 0x158], 2
add esi, 0x30
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x150], esi
cmp eax, dword [ebp - 0x154]
jb 0x585e05
push str.shapedata
lea ecx, [ebp - 0x148]
call fcn.0052f2d0
test eax, eax
je 0x586830
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
push str.pathname
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov dword [ebp - 0x15c], 0
call fcn.0043ef30
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
mov edi, 1
push eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x154], edi
call fcn.0052e4e0
test eax, eax
je 0x585fd6
push str.shapedatacount
lea ecx, [ebp - 0xb8]
call fcn.0043ef30
lea eax, [ebp - 0x15c]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0xb8]
mov edi, 3
push eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x154], edi
call fcn.0052e450
mov byte [ebp - 0x149], 1
test eax, eax
jne 0x585fdd
mov byte [ebp - 0x149], 0
mov eax, dword [ebp - 0x150]
test al, 2
je 0x586001
and eax, 0xfffffffd
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 4], 7
test al, 1
je 0x58601d
and eax, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
cmp byte [ebp - 0x149], 0
je 0x5867e1
xor edi, edi
cmp dword [ebp - 0x15c], edi
jbe 0x5867e1
nop dword [eax + eax]
mov al, byte [0x6d4294]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 9
movq xmm0, qword [str.shapedata]
mov dword [ebp - 0x44], 0xf
movq qword [ebp - 0x58], xmm0
mov byte [ebp - 0x50], al
mov byte [ebp - 0x4f], 0
push edi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x148]
call fcn.0052f230
mov ecx, dword [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x5860bc
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5860b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
je 0x5867d4
push str.specialpath
lea ecx, [ebp - 0x28]
call fcn.0043ef30
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e4e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x586123
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586119
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.shapeindex
lea ecx, [ebp - 0x28]
call fcn.0043ef30
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e450
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x586184
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58617a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
je 0x5867d4
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
push str.model
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.0043ef30
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e4e0
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x586210
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586206
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
je 0x5862b5
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00480da0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0xf
jbe 0x586241
mov eax, dword [eax]
mov esi, dword [ebp - 0x160]
mov ecx, esi
push eax
push dword [ebp - 0x158]
call fcn.0058a890
lea ecx, [ebp - 0xb8]
call fcn.0043f6b0
jmp 0x586320
cmp dword [esi + 0x14], 0xf
jbe 0x58626d
mov esi, dword [esi]
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x149]
call fcn.00585860
push esi
push eax
call fcn.005057e0
mov eax, dword [ebp - 0x168]
mov dword [eax], 0
jmp 0x585dac
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x149]
call fcn.00585780
mov ecx, dword [ebp - 0x164]
push ecx
jmp 0x585da6
push str.local_model
lea ecx, [ebp - 0xb8]
call fcn.0043ef30
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e4e0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.0043f6b0
test esi, esi
je 0x586799
cmp dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x88]
mov esi, dword [ebp - 0x160]
mov ecx, esi
cmova eax, dword [ebp - 0x88]
push eax
push dword [ebp - 0x158]
call fcn.0058a890
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push str.local_sourceskin
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 4
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052e4e0
test eax, eax
je 0x5863dd
push str.local_targetskin
lea ecx, [ebp - 0xb8]
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 8
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0052e4e0
mov byte [ebp - 0x149], 1
test eax, eax
jne 0x5863e4
mov byte [ebp - 0x149], 0
mov eax, dword [ebp - 0x150]
test al, 8
je 0x586408
and eax, 0xfffffff7
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 4], 0x12
test al, 4
je 0x586424
and eax, 0xfffffffb
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
cmp byte [ebp - 0x149], 0
je 0x586454
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x70]
cmova ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x5c], 0xf
push ecx
cmova eax, dword [ebp - 0x70]
mov ecx, esi
push eax
push 0
push dword [ebp - 0x158]
call fcn.00588cd0
push str.sourceskin
lea ecx, [ebp - 0x28]
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 0x10
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052e4e0
test eax, eax
je 0x5864de
push str.targetskin
lea ecx, [ebp - 0xb8]
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 0x20
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0052e4e0
mov byte [ebp - 0x149], 1
test eax, eax
jne 0x5864e5
mov byte [ebp - 0x149], 0
mov eax, dword [ebp - 0x150]
test al, 0x20
je 0x586509
and eax, 0xffffffdf
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 4], 0x12
test al, 0x10
je 0x586525
and eax, 0xffffffef
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
cmp byte [ebp - 0x149], 0
je 0x5865a5
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00480da0
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x17
jbe 0x586553
mov esi, dword [esi]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00480da0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x18
jbe 0x586579
mov eax, dword [eax]
mov ecx, dword [ebp - 0x160]
push esi
push eax
push 0
push dword [ebp - 0x158]
call fcn.00588cd0
lea ecx, [ebp - 0xb8]
call fcn.0043f6b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043f6b0
push str.sourceskin2
lea ecx, [ebp - 0x28]
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 0x40
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052e4e0
test eax, eax
je 0x586631
push str.targetskin2
lea ecx, [ebp - 0xb8]
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 0x80
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0052e4e0
mov byte [ebp - 0x149], 1
test eax, eax
jne 0x586638
mov byte [ebp - 0x149], 0
mov eax, dword [ebp - 0x150]
test al, al
jns 0x58665e
and eax, 0xffffff7f
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 4], 0x12
test al, 0x40
je 0x58667a
and eax, 0xffffffbf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
cmp byte [ebp - 0x149], 0
je 0x5866fa
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00480da0
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x1b
jbe 0x5866a8
mov esi, dword [esi]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00480da0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x1c
jbe 0x5866ce
mov eax, dword [eax]
mov ecx, dword [ebp - 0x160]
push esi
push eax
push 0
push dword [ebp - 0x158]
call fcn.00588cd0
lea ecx, [ebp - 0xb8]
call fcn.0043f6b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043f6b0
lea ecx, [ebp - 0x148]
call fcn.0052f3b0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x11
cmp ecx, 0xf
jbe 0x58673d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586733
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x586787
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58677d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x5867d4
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5867ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
inc edi
cmp edi, dword [ebp - 0x15c]
jb 0x586040
lea ecx, [ebp - 0x148]
call fcn.0052f3b0
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x58682a
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586820
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58707b
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov edi, dword [ebp - 0x150]
push str.hairdata
lea ecx, [ebp - 0x148]
call fcn.0052f2d0
test eax, eax
je 0x587007
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push str.pathname
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x158], 0
call fcn.0043ef30
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x28]
or edi, 0x100
push eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x154], edi
call fcn.0052e4e0
test eax, eax
je 0x5868f6
push str.hairdatacount
lea ecx, [ebp - 0xb8]
call fcn.0043ef30
lea eax, [ebp - 0x158]
mov dword [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0xb8]
or edi, 0x200
push eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x154], edi
call fcn.0052e450
mov byte [ebp - 0x149], 1
test eax, eax
jne 0x5868fd
mov byte [ebp - 0x149], 0
mov eax, dword [ebp - 0x150]
test eax, 0x200
je 0x586926
and eax, 0xfffffdff
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 4], 0x1d
test eax, 0x100
je 0x586947
and eax, 0xfffffeff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x150], eax
call fcn.0043f6b0
cmp byte [ebp - 0x149], 0
je 0x586fc4
xor edi, edi
mov dword [ebp - 0x15c], edi
cmp dword [ebp - 0x158], edi
jbe 0x586fc4
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 8
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x58], 0x72696168
mov dword [ebp - 0x54], 0x61746164
mov byte [ebp - 0x50], 0
push edi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x148]
call fcn.0052f230
mov ecx, dword [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x5869e5
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5869db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
je 0x586fb1
mov ax, word [0x6d42bc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x38], ax
movq xmm0, qword [str.specialpath]
mov al, byte [0x6d42be]
mov dword [ebp - 0x30], 0xb
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x36], al
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e4e0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x586a74
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586a6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov al, byte [0x6d435c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 9
movq xmm0, qword [str.hairindex]
mov dword [ebp - 0x44], 0xf
movq qword [ebp - 0x58], xmm0
mov byte [ebp - 0x50], al
mov byte [ebp - 0x4f], 0
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x148]
call fcn.0052e450
mov ecx, dword [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x586af6
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586aec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
test esi, esi
je 0x586fb1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
push str.model
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x25
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 0x400
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0052e4e0
test eax, eax
je 0x586c33
push str.sourceskin
lea ecx, [ebp - 0x40]
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 0x800
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0052e4e0
test eax, eax
je 0x586c33
push str.targetskin
lea ecx, [ebp - 0x58]
call fcn.0043ef30
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
or eax, 0x1000
mov dword [ebp - 4], 0x28
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0052e4e0
mov byte [ebp - 0x149], 1
test eax, eax
jne 0x586c3a
mov byte [ebp - 0x149], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 4], 0x27
test eax, 0x1000
je 0x586ca5
mov ecx, dword [ebp - 0x44]
and eax, 0xffffefff
mov dword [ebp - 0x150], eax
cmp ecx, 0xf
jbe 0x586c93
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586c83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
mov eax, dword [ebp - 0x150]
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0x26
test eax, 0x800
je 0x586d0a
mov ecx, dword [ebp - 0x2c]
and eax, 0xfffff7ff
mov dword [ebp - 0x150], eax
cmp ecx, 0xf
jbe 0x586cf8
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586ce8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
mov eax, dword [ebp - 0x150]
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0x25
test eax, 0x400
je 0x586d5d
mov ecx, dword [ebp - 0xa4]
and eax, 0xfffffbff
mov dword [ebp - 0x150], eax
cmp ecx, 0xf
jbe 0x586d5d
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586d53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
cmp byte [ebp - 0x149], 0
je 0x586ec5
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00480da0
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x29
jbe 0x586d92
mov esi, dword [esi]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00480da0
add esp, 0xc
mov edi, eax
cmp dword [edi + 0x14], 0xf
mov byte [ebp - 4], 0x2a
jbe 0x586db7
mov edi, dword [edi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00480da0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x2b
jbe 0x586dd7
mov eax, dword [eax]
mov ecx, dword [ebp - 0x160]
push esi
push edi
push eax
push 0
push dword [ebp - 0x168]
call fcn.0058a640
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x2a
cmp ecx, 0xf
jbe 0x586e25
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586e1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x29
cmp ecx, 0xf
jbe 0x586e6f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586e65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x25
cmp ecx, 0xf
jbe 0x586ebf
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586eb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov edi, dword [ebp - 0x15c]
lea ecx, [ebp - 0x148]
call fcn.0052f3b0
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x24
cmp ecx, 0xf
jbe 0x586f0e
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586f04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0x23
cmp ecx, 0xf
jbe 0x586f64
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586f5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x586fb1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586fa7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587053
push ecx
push edx
call fcn.005c8a85
add esp, 8
inc edi
mov dword [ebp - 0x15c], edi
cmp edi, dword [ebp - 0x158]
jb 0x586970
lea ecx, [ebp - 0x148]
call fcn.0052f3b0
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x587007
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x586ffd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587080
push ecx
push edx
call fcn.005c8a85
add esp, 8
push str.attachingdata
lea ecx, [ebp - 0x148]
call fcn.0052f2d0
test eax, eax
je 0x587049
mov eax, dword [ebp - 0x160]
add eax, 0xd0
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.00598d10
add esp, 8
test eax, eax
je 0x585daf
lea ecx, [ebp - 0x148]
call fcn.0052f3b0
mov esi, 1
jmp 0x585db1
call fcn.0064e36a
call fcn.0064e36a
call fcn.0064e36a
call fcn.0064e36a
call fcn.0064e36a
call fcn.0064e36a
call fcn.0046c110
call fcn.0045dae0
call fcn.0064e36a
call fcn.0064e36a
int3