Function at 0x564440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ddd3
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x6cf520]
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 - 0x150], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x138]
xor edi, edi
mov dword [ebp - 0x144], edi
call fcn.00513bf0
push esi
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], edi
call fcn.00514c10
test al, al
je 0x5647b6
lea ecx, [ebp - 0x138]
call fcn.005154f0
push str.basemodelfilename
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov esi, dword [ebp - 0x150]
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514790
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x56450d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x564503
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
push str.treefilename
lea ecx, [ebp - 0x28]
call fcn.0043eb80
add esi, 0x38
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00514790
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x564569
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x56455f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659f1
push ecx
push edx
call fcn.00597369
add esp, 8
push str.attributefilename
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x138]
add eax, 0x50
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514790
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5645cb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5645c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659f6
push ecx
push edx
call fcn.00597369
add esp, 8
push str.smokebonename
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x138]
sub eax, 0xffffff80
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514790
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x56462d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x564623
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659fb
push ecx
push edx
call fcn.00597369
add esp, 8
push str.motionlistfilename
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x138]
add eax, 0x68
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514790
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x56468f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x564685
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x565a00
push ecx
push edx
call fcn.00597369
add esp, 8
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x48], 0
je 0x56471f
mov ecx, dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], eax
test ecx, ecx
je 0x56471f
cmp dword [esi + 0x10], eax
jbe 0x565a0a
mov ecx, dword [esi + 0x14]
mov edx, esi
cmp ecx, 0x10
jb 0x5646c9
mov edx, dword [esi]
cmp byte [edx + eax], 0x5c
mov edx, esi
jne 0x5646de
cmp ecx, 0x10
jb 0x5646d8
mov edx, dword [esi]
mov byte [edx + eax], 0x2f
jmp 0x564710
cmp ecx, 0x10
jb 0x5646e5
mov edx, dword [esi]
movsx eax, byte [edx + eax]
push eax
call fcn.005e9801
mov dl, al
add esp, 4
mov eax, dword [ebp - 0x14c]
cmp dword [esi + 0x10], eax
jbe 0x565a0a
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x56470d
mov ecx, dword [esi]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x14c], eax
cmp eax, dword [ebp - 0x148]
jb 0x5646b4
push str.smokefilename
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.005148b0
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x564780
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x564776
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x565a05
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
je 0x564909
mov eax, dword [ebp - 0x154]
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
test al, 1
je 0x5647e2
push eax
push str.SmokeFileName_ArgCount__d__20
call fcn.004e89b0
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x138]
call fcn.00513e40
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.00597338
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x14c], 0
je 0x564909
xor esi, esi
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], esi
nop dword [eax]
mov eax, dword [ebp - 0x154]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x140], edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x148]
jbe 0x565a0f
mov eax, dword [ebp - 0x140]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x564850
mov eax, dword [eax]
push eax
call fcn.005eb29a
mov esi, eax
add esp, 4
test esi, esi
js 0x564c8c
cmp esi, 4
jge 0x564c8c
mov ecx, dword [ebp - 0x154]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x140], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebp - 0x148]
sar edx, 2
inc eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jbe 0x565a0f
mov eax, dword [ebp - 0x144]
add eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x150]
add ecx, 8
cmp dword [eax + 0x2c], 0x10
lea edx, [eax + 0x18]
lea esi, [ecx + esi*4]
jb 0x5648c3
mov edx, dword [eax + 0x18]
mov ecx, dword [0x722fec]
push 0
push esi
push edx
call fcn.004d5e90
test eax, eax
je 0x564c5f
mov eax, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x144]
inc eax
add dword [ebp - 0x148], 2
add esi, 0x30
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x144], esi
cmp eax, dword [ebp - 0x158]
jb 0x564810
push str.shapedata
lea ecx, [ebp - 0x138]
call fcn.005153f0
test eax, eax
je 0x5651c7
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
push str.pathname
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14c], 0
call fcn.0043eb80
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
mov edi, 1
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call fcn.00514790
test eax, eax
je 0x5649d6
push str.shapedatacount
lea ecx, [ebp - 0x70]
call fcn.0043eb80
lea eax, [ebp - 0x14c]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x70]
mov edi, 3
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call fcn.00514700
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5649dd
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 2
je 0x5649fe
and eax, 0xfffffffd
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x140], eax
call fcn.0043e620
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 7
test al, 1
je 0x564a1a
and eax, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043e620
cmp byte [ebp - 0x139], 0
je 0x565178
xor edi, edi
cmp dword [ebp - 0x14c], edi
jbe 0x565178
nop word [eax + eax]
mov al, byte [0x650428]
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 - 0x138]
call fcn.00515350
mov ecx, dword [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x564abc
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x564ab2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
je 0x56516b
push str.specialpath
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00514790
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x564b23
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x564b19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
push str.shapeindex
lea ecx, [ebp - 0x28]
call fcn.0043eb80
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00514700
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x564b84
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x564b7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
je 0x56516b
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.0043eb80
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00514790
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0xd
cmp ecx, 0x10
jb 0x564c10
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x564c06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
je 0x564c97
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004c08a0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x564c3e
mov eax, dword [eax]
mov esi, dword [ebp - 0x150]
mov ecx, esi
push eax
push dword [ebp - 0x148]
call fcn.005643d0
lea ecx, [ebp - 0x70]
call fcn.0043e620
jmp 0x564cf9
mov eax, dword [ebp - 0x144]
add eax, 0x18
add eax, dword [ebp - 0x140]
cmp dword [eax + 0x14], 0x10
jb 0x564c76
mov eax, dword [eax]
push eax
push str.CRaceData::RegisterEffect2__s__ERROR
call fcn.004e89b0
mov dword [esi], 0
jmp 0x5647b3
push esi
push str.SmokeFileName_SmokeNum__d__OUT_OF_RANGE
jmp 0x5647ae
push str.local_model
lea ecx, [ebp - 0x70]
call fcn.0043eb80
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x138]
call fcn.00514790
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.0043e620
test esi, esi
je 0x565130
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
mov esi, dword [ebp - 0x150]
mov ecx, esi
cmovae eax, dword [ebp - 0x88]
push eax
push dword [ebp - 0x148]
call fcn.005643d0
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 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.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 4
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514790
test eax, eax
je 0x564dbf
push str.local_targetskin
lea ecx, [ebp - 0x70]
call fcn.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 8
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00514790
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x564dc6
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 8
je 0x564de7
and eax, 0xfffffff7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x140], eax
call fcn.0043e620
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 4
je 0x564e03
and eax, 0xfffffffb
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043e620
cmp byte [ebp - 0x139], 0
je 0x564e3c
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0xa0]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x8c], 0x10
push ecx
cmovae eax, dword [ebp - 0xa0]
mov ecx, esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.00562ba0
push str.sourceskin
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 0x10
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514790
test eax, eax
je 0x564ec3
push str.targetskin
lea ecx, [ebp - 0x70]
call fcn.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 0x20
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00514790
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x564eca
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 0x20
je 0x564eeb
and eax, 0xffffffdf
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x140], eax
call fcn.0043e620
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 0x10
je 0x564f07
and eax, 0xffffffef
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043e620
cmp byte [ebp - 0x139], 0
je 0x564f84
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c08a0
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x17
jb 0x564f35
mov esi, dword [esi]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004c08a0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x18
jb 0x564f5b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x150]
push esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.00562ba0
lea ecx, [ebp - 0x70]
call fcn.0043e620
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043e620
push str.sourceskin2
lea ecx, [ebp - 0x28]
call fcn.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 0x40
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00514790
test eax, eax
je 0x56500d
push str.targetskin2
lea ecx, [ebp - 0x70]
call fcn.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 0x80
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00514790
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x565014
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, al
jns 0x565037
and eax, 0xffffff7f
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x140], eax
call fcn.0043e620
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 0x40
je 0x565053
and eax, 0xffffffbf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043e620
cmp byte [ebp - 0x139], 0
je 0x5650d0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c08a0
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x1b
jb 0x565081
mov esi, dword [esi]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004c08a0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1c
jb 0x5650a7
mov eax, dword [eax]
mov ecx, dword [ebp - 0x150]
push esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.00562ba0
lea ecx, [ebp - 0x70]
call fcn.0043e620
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043e620
lea ecx, [ebp - 0x138]
call fcn.005154d0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x11
cmp ecx, 0x10
jb 0x565113
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x565109
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0043e620
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x56516b
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x565161
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
inc edi
cmp edi, dword [ebp - 0x14c]
jb 0x564a40
lea ecx, [ebp - 0x138]
call fcn.005154d0
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5651c1
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5651b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x565a14
push ecx
push edx
call fcn.00597369
add esp, 8
mov edi, dword [ebp - 0x140]
push str.hairdata
lea ecx, [ebp - 0x138]
call fcn.005153f0
test eax, eax
je 0x5659a0
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.pathname
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x148], 0
call fcn.0043eb80
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x28]
or edi, 0x100
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call fcn.00514790
test eax, eax
je 0x565290
push str.hairdatacount
lea ecx, [ebp - 0x70]
call fcn.0043eb80
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x70]
or edi, 0x200
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call fcn.00514700
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x565297
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test eax, 0x200
je 0x5652bd
and eax, 0xfffffdff
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x140], eax
call fcn.0043e620
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x1d
test eax, 0x100
je 0x5652de
and eax, 0xfffffeff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043e620
cmp byte [ebp - 0x139], 0
je 0x56595a
xor edi, edi
mov dword [ebp - 0x14c], edi
cmp dword [ebp - 0x148], edi
jbe 0x56595a
nop
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 - 0x138]
call fcn.00515350
mov ecx, dword [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 0x1d
cmp ecx, 0x10
jb 0x565375
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x56536b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
je 0x565947
mov ax, word [0x650450]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x38], ax
movq xmm0, qword [str.specialpath]
mov al, byte [0x650452]
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 - 0x88]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.00514790
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
cmp ecx, 0x10
jb 0x565407
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5653fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
mov al, byte [0x6504f0]
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 - 0x158]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x138]
call fcn.00514700
mov ecx, dword [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 0x1d
cmp ecx, 0x10
jb 0x565489
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x56547f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
test esi, esi
je 0x565947
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 - 0xa0], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
push str.model
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x25
call fcn.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 0x400
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00514790
test eax, eax
je 0x5655c6
push str.sourceskin
lea ecx, [ebp - 0x40]
call fcn.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 0x800
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00514790
test eax, eax
je 0x5655c6
push str.targetskin
lea ecx, [ebp - 0x58]
call fcn.0043eb80
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x138]
or eax, 0x1000
mov dword [ebp - 4], 0x28
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00514790
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5655cd
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x27
test eax, 0x1000
je 0x565638
mov ecx, dword [ebp - 0x44]
and eax, 0xffffefff
mov dword [ebp - 0x140], eax
cmp ecx, 0x10
jb 0x565626
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x565616
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
mov eax, dword [ebp - 0x140]
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 0x56569d
mov ecx, dword [ebp - 0x2c]
and eax, 0xfffff7ff
mov dword [ebp - 0x140], eax
cmp ecx, 0x10
jb 0x56568b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x56567b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
mov eax, dword [ebp - 0x140]
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 0x5656ea
mov ecx, dword [ebp - 0x5c]
and eax, 0xfffffbff
mov dword [ebp - 0x140], eax
cmp ecx, 0x10
jb 0x5656ea
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5656e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
cmp byte [ebp - 0x139], 0
je 0x565852
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004c08a0
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x29
jb 0x56571f
mov esi, dword [esi]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004c08a0
add esp, 0xc
mov edi, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 0x2a
jb 0x565747
mov edi, dword [edi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c08a0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x2b
jb 0x56576a
mov eax, dword [eax]
mov ecx, dword [ebp - 0x150]
push esi
push edi
push eax
push 0
push dword [ebp - 0x158]
call fcn.00564180
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x2a
cmp ecx, 0x10
jb 0x5657b8
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5657ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
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, 0x10
jb 0x565802
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5657f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
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], 0x25
cmp ecx, 0x10
jb 0x56584c
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x565842
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
mov edi, dword [ebp - 0x14c]
lea ecx, [ebp - 0x138]
call fcn.005154d0
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x24
cmp ecx, 0x10
jb 0x56589b
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x565891
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 0x23
cmp ecx, 0x10
jb 0x5658f4
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5658ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0x1d
cmp ecx, 0x10
jb 0x565947
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x56593d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5659ec
push ecx
push edx
call fcn.00597369
add esp, 8
inc edi
mov dword [ebp - 0x14c], edi
cmp edi, dword [ebp - 0x148]
jb 0x565300
lea ecx, [ebp - 0x138]
call fcn.005154d0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5659a0
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x565996
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x565a19
push ecx
push edx
call fcn.00597369
add esp, 8
push str.attachingdata
lea ecx, [ebp - 0x138]
call fcn.005153f0
test eax, eax
je 0x5659e2
mov eax, dword [ebp - 0x150]
add eax, 0xd0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00574560
add esp, 8
test eax, eax
je 0x5647b6
lea ecx, [ebp - 0x138]
call fcn.005154d0
mov esi, 1
jmp 0x5647b8
call fcn.005dd260
call fcn.005dd260
call fcn.005dd260
call fcn.005dd260
call fcn.005dd260
call fcn.005dd260
call fcn.0043f1a0
call fcn.00457280
call fcn.005dd260
call fcn.005dd260
int3