Function at 0x5374d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d44c
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x697400]
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.004e9740
push esi
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], edi
call fcn.004ea770
test al, al
je 0x537846
lea ecx, [ebp - 0x138]
call fcn.004eb060
push str.basemodelfilename
lea ecx, [ebp - 0x28]
call fcn.0043e530
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.004ea2f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x53759d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x537593
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
push str.treefilename
lea ecx, [ebp - 0x28]
call fcn.0043e530
add esi, 0x38
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.004ea2f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x5375f9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5375ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53897c
push ecx
push edx
call fcn.00569ed3
add esp, 8
push str.attributefilename
lea ecx, [ebp - 0x28]
call fcn.0043e530
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.004ea2f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x53765b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x537651
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538981
push ecx
push edx
call fcn.00569ed3
add esp, 8
push str.smokebonename
lea ecx, [ebp - 0x28]
call fcn.0043e530
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.004ea2f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x5376bd
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5376b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538986
push ecx
push edx
call fcn.00569ed3
add esp, 8
push str.motionlistfilename
lea ecx, [ebp - 0x28]
call fcn.0043e530
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.004ea2f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x53771f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x537715
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53898b
push ecx
push edx
call fcn.00569ed3
add esp, 8
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x48], 0
je 0x5377af
mov ecx, dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], eax
test ecx, ecx
je 0x5377af
cmp dword [esi + 0x10], eax
jbe 0x538995
mov ecx, dword [esi + 0x14]
mov edx, esi
cmp ecx, 0xf
jbe 0x537759
mov edx, dword [esi]
cmp byte [edx + eax], 0x5c
mov edx, esi
jne 0x53776e
cmp ecx, 0xf
jbe 0x537768
mov edx, dword [esi]
mov byte [edx + eax], 0x2f
jmp 0x5377a0
cmp ecx, 0xf
jbe 0x537775
mov edx, dword [esi]
movsx eax, byte [edx + eax]
push eax
call fcn.005b947a
mov dl, al
add esp, 4
mov eax, dword [ebp - 0x14c]
cmp dword [esi + 0x10], eax
jbe 0x538995
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x53779d
mov ecx, dword [esi]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x14c], eax
cmp eax, dword [ebp - 0x148]
jb 0x537744
push str.smokefilename
lea ecx, [ebp - 0x28]
call fcn.0043e530
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.004ea410
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x537810
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x537806
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538990
push ecx
push edx
call fcn.00569ed3
add esp, 8
test esi, esi
je 0x537999
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 0x537872
push eax
push str.SmokeFileName_ArgCount__d__20
call fcn.004c27a0
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x138]
call fcn.004e99a0
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.00569ec5
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x14c], 0
je 0x537999
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 0x53899a
mov eax, dword [ebp - 0x140]
add eax, esi
cmp dword [eax + 0x14], 0xf
jbe 0x5378e0
mov eax, dword [eax]
push eax
call fcn.005bb150
mov esi, eax
add esp, 4
test esi, esi
js 0x537cea
cmp esi, 4
jge 0x537cea
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 0x53899a
mov eax, dword [ebp - 0x144]
add eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x150]
add ecx, 8
cmp dword [eax + 0x2c], 0xf
lea edx, [eax + 0x18]
lea esi, [ecx + esi*4]
jbe 0x537953
mov edx, dword [eax + 0x18]
mov ecx, dword [0x6e87ec]
push 0
push esi
push edx
call fcn.004aff70
test eax, eax
je 0x537cbd
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 0x5378a0
push str.shapedata
lea ecx, [ebp - 0x138]
call fcn.004eaf60
test eax, eax
je 0x53821c
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 - 0x40]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14c], 0
call fcn.0043e530
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
mov edi, 1
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call fcn.004ea2f0
test eax, eax
je 0x537a66
push str.shapedatacount
lea ecx, [ebp - 0x28]
call fcn.0043e530
lea eax, [ebp - 0x14c]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
mov edi, 3
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call fcn.004ea260
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x537a6d
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 2
je 0x537a8e
and eax, 0xfffffffd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 7
test al, 1
je 0x537aaa
and eax, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
cmp byte [ebp - 0x139], 0
je 0x5381cd
xor edi, edi
cmp dword [ebp - 0x14c], edi
jbe 0x5381cd
nop word [eax + eax]
mov al, byte [0x61eec0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 9
movq xmm0, qword [str.shapedata]
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x138]
call fcn.004eaec0
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x537b4c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x537b42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
test esi, esi
je 0x5381c0
push str.specialpath
lea ecx, [ebp - 0x28]
call fcn.0043e530
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.004ea2f0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x537bb3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x537ba9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
push str.shapeindex
lea ecx, [ebp - 0x28]
call fcn.0043e530
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.004ea260
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x537c14
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x537c0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
test esi, esi
je 0x5381c0
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.model
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.0043e530
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.004ea2f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.0043d7a0
test esi, esi
je 0x537cf5
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004a5330
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0xf
jbe 0x537c99
mov eax, dword [eax]
mov esi, dword [ebp - 0x150]
mov ecx, esi
push eax
push dword [ebp - 0x148]
call fcn.00537460
lea ecx, [ebp - 0xb8]
call fcn.0043d7a0
jmp 0x537d4e
mov eax, dword [ebp - 0x140]
add eax, 0x18
add eax, dword [ebp - 0x144]
cmp dword [eax + 0x14], 0xf
jbe 0x537cd4
mov eax, dword [eax]
push eax
push str.CRaceData::RegisterEffect2__s__ERROR
call fcn.004c27a0
mov dword [esi], 0
jmp 0x537843
push esi
push str.SmokeFileName_SmokeNum__d__OUT_OF_RANGE
jmp 0x53783e
push str.local_model
lea ecx, [ebp - 0x28]
call fcn.0043e530
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.004ea2f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.0043d7a0
test esi, esi
je 0x538188
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x150]
mov ecx, esi
cmova eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x148]
call fcn.00537460
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push str.local_sourceskin
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.0043e530
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 - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004ea2f0
test eax, eax
je 0x537e0e
push str.local_targetskin
lea ecx, [ebp - 0x28]
call fcn.0043e530
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 - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004ea2f0
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x537e15
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 8
je 0x537e36
and eax, 0xfffffff7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 4
je 0x537e52
and eax, 0xfffffffb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
cmp byte [ebp - 0x139], 0
je 0x537e88
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x88]
cmova ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x74], 0xf
push ecx
cmova eax, dword [ebp - 0x88]
mov ecx, esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.00535c40
push str.sourceskin
lea ecx, [ebp - 0x40]
call fcn.0043e530
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 - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004ea2f0
test eax, eax
je 0x537f0f
push str.targetskin
lea ecx, [ebp - 0x28]
call fcn.0043e530
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 - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004ea2f0
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x537f16
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 0x20
je 0x537f37
and eax, 0xffffffdf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 0x10
je 0x537f53
and eax, 0xffffffef
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
cmp byte [ebp - 0x139], 0
je 0x537fd6
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a5330
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x17
jbe 0x537f81
mov esi, dword [esi]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004a5330
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x18
jbe 0x537faa
mov eax, dword [eax]
mov ecx, dword [ebp - 0x150]
push esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.00535c40
lea ecx, [ebp - 0xb8]
call fcn.0043d7a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043d7a0
push str.sourceskin2
lea ecx, [ebp - 0x40]
call fcn.0043e530
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 - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004ea2f0
test eax, eax
je 0x53805f
push str.targetskin2
lea ecx, [ebp - 0x28]
call fcn.0043e530
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 - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004ea2f0
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x538066
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, al
jns 0x538089
and eax, 0xffffff7f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 0x40
je 0x5380a5
and eax, 0xffffffbf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
cmp byte [ebp - 0x139], 0
je 0x538128
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a5330
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x1b
jbe 0x5380d3
mov esi, dword [esi]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004a5330
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x1c
jbe 0x5380fc
mov eax, dword [eax]
mov ecx, dword [ebp - 0x150]
push esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.00535c40
lea ecx, [ebp - 0xb8]
call fcn.0043d7a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043d7a0
lea ecx, [ebp - 0x138]
call fcn.004eb040
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x11
cmp ecx, 0xf
jbe 0x53816b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x538161
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0043d7a0
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x5381c0
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5381b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
inc edi
cmp edi, dword [ebp - 0x14c]
jb 0x537ad0
lea ecx, [ebp - 0x138]
call fcn.004eb040
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x538216
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53820c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53899f
push ecx
push edx
call fcn.00569ed3
add esp, 8
mov edi, dword [ebp - 0x140]
push str.hairdata
lea ecx, [ebp - 0x138]
call fcn.004eaf60
test eax, eax
je 0x53892b
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 - 0x40]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x14c], 0
call fcn.0043e530
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x40]
or edi, 0x100
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call fcn.004ea2f0
test eax, eax
je 0x5382dc
push str.hairdatacount
lea ecx, [ebp - 0x28]
call fcn.0043e530
lea eax, [ebp - 0x14c]
mov dword [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x28]
or edi, 0x200
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call fcn.004ea260
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5382e3
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test eax, 0x200
je 0x538309
and eax, 0xfffffdff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x1d
test eax, 0x100
je 0x53832a
and eax, 0xfffffeff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
cmp byte [ebp - 0x139], 0
je 0x5388e8
xor edi, edi
mov dword [ebp - 0x148], edi
cmp dword [ebp - 0x14c], edi
jbe 0x5388e8
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 8
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x40], 0x72696168
mov dword [ebp - 0x3c], 0x61746164
mov byte [ebp - 0x38], 0
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x138]
call fcn.004eaec0
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x5383c5
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5383bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
test esi, esi
je 0x5388d5
mov ax, word [0x61eee8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x50], ax
movq xmm0, qword [str.specialpath]
mov al, byte [0x61eeea]
mov dword [ebp - 0x48], 0xb
mov dword [ebp - 0x44], 0xf
movq qword [ebp - 0x58], xmm0
mov byte [ebp - 0x4e], al
mov byte [ebp - 0x4d], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x138]
call fcn.004ea2f0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x538454
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53844a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
mov al, byte [0x61ef88]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 9
movq xmm0, qword [str.hairindex]
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.004ea260
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x5384d6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5384cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
test esi, esi
je 0x5388d5
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 - 0x40]
mov byte [ebp - 4], 0x25
call fcn.0043e530
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 - 0x40]
push eax
call fcn.004ea2f0
test eax, eax
je 0x538613
push str.sourceskin
lea ecx, [ebp - 0xb8]
call fcn.0043e530
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 - 0x88]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004ea2f0
test eax, eax
je 0x538613
push str.targetskin
lea ecx, [ebp - 0x58]
call fcn.0043e530
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 - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004ea2f0
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x53861a
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test eax, 0x1000
je 0x538640
and eax, 0xffffefff
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
mov eax, dword [ebp - 0x140]
test eax, 0x800
je 0x538663
and eax, 0xfffff7ff
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x140], eax
call fcn.0043d7a0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x25
test eax, 0x400
je 0x5386b0
mov ecx, dword [ebp - 0x2c]
and eax, 0xfffffbff
mov dword [ebp - 0x140], eax
cmp ecx, 0xf
jbe 0x5386b0
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5386a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
cmp byte [ebp - 0x139], 0
je 0x5387e9
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004a5330
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x29
jbe 0x5386e5
mov esi, dword [esi]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004a5330
add esp, 0xc
mov edi, eax
cmp dword [edi + 0x14], 0xf
mov byte [ebp - 4], 0x2a
jbe 0x53870a
mov edi, dword [edi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a5330
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x2b
jbe 0x53872a
mov eax, dword [eax]
mov ecx, dword [ebp - 0x150]
push esi
push edi
push eax
push 0
push dword [ebp - 0x158]
call fcn.00537210
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
cmp ecx, 0xf
jbe 0x538778
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53876e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x29
cmp ecx, 0xf
jbe 0x5387c2
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5387b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x25
call fcn.0043d7a0
mov edi, dword [ebp - 0x148]
lea ecx, [ebp - 0x138]
call fcn.004eb040
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x24
cmp ecx, 0xf
jbe 0x538832
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x538828
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
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 0x538888
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x53887e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
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 0x5388d5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5388cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x538977
push ecx
push edx
call fcn.00569ed3
add esp, 8
inc edi
mov dword [ebp - 0x148], edi
cmp edi, dword [ebp - 0x14c]
jb 0x538350
lea ecx, [ebp - 0x138]
call fcn.004eb040
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x53892b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x538921
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5389a4
push ecx
push edx
call fcn.00569ed3
add esp, 8
push str.attachingdata
lea ecx, [ebp - 0x138]
call fcn.004eaf60
test eax, eax
je 0x53896d
mov eax, dword [ebp - 0x150]
add eax, 0xd0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.005476a0
add esp, 8
test eax, eax
je 0x537846
lea ecx, [ebp - 0x138]
call fcn.004eb040
mov esi, 1
jmp 0x537848
call fcn.005afdf0
call fcn.005afdf0
call fcn.005afdf0
call fcn.005afdf0
call fcn.005afdf0
call fcn.005afdf0
call fcn.0047d390
call fcn.004524c0
call fcn.005afdf0
call fcn.005afdf0
int3