Function at 0x5e3e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cb08c
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x150], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x138]
xor ebx, ebx
mov dword [ebp - 0x140], ebx
call fcn.00587c40
push esi
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], ebx
call fcn.00588ce0
test al, al
je 0x5e4165
lea ecx, [ebp - 0x138]
call fcn.005895d0
push str.basemodelfilename
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [edi + 0x20]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp ecx, 0x10
jb 0x5e3ee9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e3edf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
push str.treefilename
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea esi, [edi + 0x38]
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5e3f45
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e3f3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542f
push ecx
push edx
call fcn.0061abd4
add esp, 8
push str.attributefilename
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [edi + 0x50]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5e3fa1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e3f97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e5434
push ecx
push edx
call fcn.0061abd4
add esp, 8
push str.smokebonename
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [edi + 0x80]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5e4000
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e3ff6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e5439
push ecx
push edx
call fcn.0061abd4
add esp, 8
push str.motionlistfilename
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [edi + 0x68]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5e405c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4052
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e543e
push ecx
push edx
call fcn.0061abd4
add esp, 8
cmp dword [edi + 0x48], 0
je 0x5e40ce
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [ebp - 0x14c], eax
test eax, eax
je 0x5e40ce
cmp dword [esi + 0x10], edi
jbe 0x5e5448
mov eax, dword [esi + 0x14]
mov ecx, esi
cmp eax, 0x10
jb 0x5e4086
mov ecx, dword [esi]
cmp byte [ecx + edi], 0x5c
mov ecx, esi
jne 0x5e409b
cmp eax, 0x10
jb 0x5e4095
mov ecx, dword [esi]
mov byte [ecx + edi], 0x2f
jmp 0x5e40c5
cmp eax, 0x10
jb 0x5e40a2
mov ecx, dword [esi]
movsx eax, byte [ecx + edi]
push eax
call fcn.00663e42
add esp, 4
cmp dword [esi + 0x10], edi
jbe 0x5e5448
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x5e40c2
mov ecx, dword [esi]
mov byte [ecx + edi], al
inc edi
cmp edi, dword [ebp - 0x14c]
jb 0x5e4071
push str.smokefilename
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588930
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5e412f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4125
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e5443
push ecx
push edx
call fcn.0061abd4
add esp, 8
test esi, esi
je 0x5e42d2
mov esi, dword [ebp - 0x158]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test al, 1
je 0x5e4192
push eax
push str.SmokeFileName_ArgCount__d__20
call fcn.00566650
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x138]
call fcn.00587eb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x148], 0
je 0x5e42d2
xor edi, edi
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], edi
nop dword [eax]
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x144]
jbe 0x5e544d
mov eax, dword [esi]
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x5e41ee
mov eax, dword [eax]
push eax
call fcn.006690db
mov esi, eax
add esp, 4
test esi, esi
js 0x5e42c7
cmp esi, 4
jge 0x5e42c7
mov ecx, dword [ebp - 0x158]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x14c], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebp - 0x144]
sar edx, 2
inc eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jbe 0x5e544d
mov eax, dword [ebp - 0x14c]
add eax, 0x18
add edi, eax
mov eax, dword [ebp - 0x150]
add eax, 8
cmp dword [edi + 0x14], 0x10
lea esi, [eax + esi*4]
mov eax, edi
jb 0x5e425e
mov eax, dword [edi]
mov ecx, dword [0x7a8748]
push 0
push 0
push esi
push eax
call fcn.005532e0
test eax, eax
je 0x5e42a9
mov eax, dword [ebp - 0x148]
mov edi, dword [ebp - 0x140]
inc eax
add dword [ebp - 0x144], 2
add edi, 0x30
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x140], edi
cmp eax, dword [ebp - 0x154]
jae 0x5e42d2
mov esi, dword [ebp - 0x158]
jmp 0x5e41c0
cmp dword [edi + 0x14], 0x10
jb 0x5e42b1
mov edi, dword [edi]
push edi
push str.CRaceData::RegisterEffect2__s__ERROR
call fcn.00566650
mov dword [esi], 0
jmp 0x5e4162
push esi
push str.SmokeFileName_SmokeNum__d__OUT_OF_RANGE
jmp 0x5e415d
push str.shapedata
lea ecx, [ebp - 0x138]
call fcn.005894d0
test eax, eax
je 0x5e4cf0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
push str.pathname
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
mov dword [ebp - 0x148], 0
call fcn.00451ad0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x70]
mov ebx, 1
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
test eax, eax
je 0x5e438d
push str.shapedatacount
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
mov ebx, 3
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588780
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5e4394
mov byte [ebp - 0x139], 0
test bl, 2
je 0x5e43a4
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.00451a30
mov dword [ebp - 4], 7
test bl, 1
je 0x5e43bb
lea ecx, [ebp - 0x70]
and ebx, 0xfffffffe
call fcn.00451a30
cmp byte [ebp - 0x139], 0
je 0x5e4caa
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
cmp dword [ebp - 0x148], ecx
jbe 0x5e4caa
nop dword [eax]
movq xmm0, qword [str.shapedata]
mov al, byte [0x70b7a4]
mov dword [ebp - 0x48], 9
mov dword [ebp - 0x44], 0xf
movq qword [ebp - 0x58], xmm0
mov byte [ebp - 0x50], al
mov byte [ebp - 0x4f], 0
push ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x138]
call fcn.00589430
mov ecx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 7
sete al
mov byte [ebp - 0x139], al
cmp ecx, 0x10
jb 0x5e4464
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4454
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
mov al, byte [ebp - 0x139]
add esp, 8
test al, al
jne 0x5e4c91
push str.specialpath
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x5e44cb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e44c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
push str.shapeindex
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588780
mov ecx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 7
sete al
mov byte [ebp - 0x139], al
cmp ecx, 0x10
jb 0x5e453b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e452b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
mov al, byte [ebp - 0x139]
add esp, 8
test al, al
jne 0x5e4c91
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
push str.model
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00451ad0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0xd
cmp ecx, 0x10
jb 0x5e45bd
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e45b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
test esi, esi
je 0x5e4608
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004d9e80
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x5e45e7
mov eax, dword [eax]
mov edi, dword [ebp - 0x150]
mov ecx, edi
push eax
push dword [ebp - 0x144]
call fcn.005e7e10
lea ecx, [ebp - 0xb8]
call fcn.00451a30
jmp 0x5e4661
push str.local_model
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.00451a30
test esi, esi
je 0x5e4c59
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
mov edi, dword [ebp - 0x150]
mov ecx, edi
cmovae eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x144]
call fcn.005e7e10
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
push str.local_sourceskin
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x12
call fcn.00451ad0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x58]
or ebx, 4
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
test eax, eax
je 0x5e4712
push str.local_targetskin
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x28]
or ebx, 8
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5e4719
mov byte [ebp - 0x139], 0
test bl, 8
je 0x5e4729
lea ecx, [ebp - 0x28]
and ebx, 0xfffffff7
call fcn.00451a30
mov dword [ebp - 4], 0x12
test bl, 4
je 0x5e4740
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffb
call fcn.00451a30
cmp byte [ebp - 0x139], 0
je 0x5e4779
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, edi
push eax
push 0
push dword [ebp - 0x144]
call fcn.005e6610
push str.sourceskin
lea ecx, [ebp - 0x58]
call fcn.00451ad0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x58]
or ebx, 0x10
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
test eax, eax
je 0x5e47e8
push str.targetskin
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x28]
or ebx, 0x20
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5e47ef
mov byte [ebp - 0x139], 0
test bl, 0x20
je 0x5e47ff
lea ecx, [ebp - 0x28]
and ebx, 0xffffffdf
call fcn.00451a30
mov dword [ebp - 4], 0x12
test bl, 0x10
je 0x5e4816
lea ecx, [ebp - 0x58]
and ebx, 0xffffffef
call fcn.00451a30
cmp byte [ebp - 0x139], 0
je 0x5e4899
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d9e80
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x17
jb 0x5e484b
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004d9e80
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x18
jb 0x5e4871
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x144]
mov ecx, edi
call fcn.005e6610
lea ecx, [ebp - 0xb8]
call fcn.00451a30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00451a30
mov edi, 2
mov dword [ebp - 0x154], edi
push edi
push str.sourceskin_u
push 0xc
push 0x7e51b4
call fcn.00455990
push edi
push str.targetskin_u
push 0xc
push 0x7e51c0
call fcn.00455990
mov esi, 0x7e51b4
mov dword [ebp - 0x58], 0
add esp, 0x20
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5e48e8
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x5e5457
mov dword [ebp - 0x44], 0xf
cmp esi, 0x10
jae 0x5e4925
push esi
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], esi
push 0x7e51b4
push eax
call fcn.00653a50
mov byte [ebp + esi - 0x58], 0
jmp 0x5e49a3
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x5e4947
mov eax, connect
mov edi, closesocket
push eax
call fcn.00455860
add esp, 4
jmp 0x5e4978
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x5e4967
push eax
call fcn.00455860
add esp, 4
jmp 0x5e4978
test eax, eax
je 0x5e4976
push eax
call fcn.0061aba4
add esp, 4
jmp 0x5e4978
xor eax, eax
push esi
push 0x7e51b4
push eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], edi
call fcn.00653a50
mov eax, dword [ebp - 0x140]
mov edi, dword [ebp - 0x154]
mov byte [eax + esi], 0
add esp, 0xc
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x58]
or ebx, 0x40
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
test eax, eax
je 0x5e4a0b
push 0x7e51c0
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x28]
or ebx, 0x80
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5e4a12
mov byte [ebp - 0x139], 0
mov dword [ebp - 4], 0x19
test bl, bl
jns 0x5e4a69
mov ecx, dword [ebp - 0x14]
and ebx, 0xffffff7f
cmp ecx, 0x10
jb 0x5e4a57
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4a4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0x12
test bl, 0x40
je 0x5e4aac
mov ecx, dword [ebp - 0x44]
and ebx, 0xffffffbf
cmp ecx, 0x10
jb 0x5e4aac
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4aa2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
cmp byte [ebp - 0x139], 0
je 0x5e4b9b
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004d9e80
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x1b
jb 0x5e4ae1
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d9e80
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1c
jb 0x5e4b04
mov eax, dword [eax]
mov ecx, dword [ebp - 0x150]
push esi
push eax
push 0
push dword [ebp - 0x144]
call fcn.005e6610
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1b
cmp ecx, 0x10
jb 0x5e4b51
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4b47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x12
cmp ecx, 0x10
jb 0x5e4b9b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4b91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
inc edi
mov dword [ebp - 0x154], edi
cmp edi, 9
jbe 0x5e48a4
lea ecx, [ebp - 0x138]
call fcn.005895b0
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x11
cmp ecx, 0x10
jb 0x5e4bf4
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4bea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0xd
cmp ecx, 0x10
jb 0x5e4c47
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4c3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x5e4c91
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4c87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov ecx, dword [ebp - 0x14c]
inc ecx
mov dword [ebp - 0x14c], ecx
cmp ecx, dword [ebp - 0x148]
jb 0x5e43e0
lea ecx, [ebp - 0x138]
call fcn.005895b0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5e4cf0
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4ce6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e5452
push ecx
push edx
call fcn.0061abd4
add esp, 8
push str.hairdata
lea ecx, [ebp - 0x138]
call fcn.005894d0
test eax, eax
je 0x5e53de
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push str.pathname
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x144], 0
call fcn.00451ad0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x88]
or ebx, 0x100
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
test eax, eax
je 0x5e4daa
push str.hairdatacount
lea ecx, [ebp - 0x28]
call fcn.00451ad0
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x28]
or ebx, 0x200
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588780
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5e4db1
mov byte [ebp - 0x139], 0
test ebx, 0x200
je 0x5e4dc7
lea ecx, [ebp - 0x28]
and ebx, 0xfffffdff
call fcn.00451a30
mov dword [ebp - 4], 0x1d
test ebx, 0x100
je 0x5e4de7
lea ecx, [ebp - 0x88]
and ebx, 0xfffffeff
call fcn.00451a30
cmp byte [ebp - 0x139], 0
je 0x5e539b
xor esi, esi
mov dword [ebp - 0x148], esi
cmp dword [ebp - 0x144], esi
jbe 0x5e539b
nop dword [eax + eax]
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x40], 0x72696168
mov dword [ebp - 0x3c], 0x61746164
mov byte [ebp - 0x38], 0
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x138]
call fcn.00589430
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0x1d
sete al
mov byte [ebp - 0x139], al
cmp ecx, 0x10
jb 0x5e4e8d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4e7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
mov al, byte [ebp - 0x139]
add esp, 8
test al, al
jne 0x5e5388
mov ax, word [0x70b7cc]
movq xmm0, qword [str.specialpath]
mov word [ebp - 0x38], ax
mov al, byte [0x70b7ce]
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 - 0x58]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588810
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
cmp ecx, 0x10
jb 0x5e4f15
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4f0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
movq xmm0, qword [str.hairindex]
mov al, byte [0x70b874]
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.00588780
mov ecx, dword [ebp - 0x2c]
test eax, eax
mov byte [ebp - 4], 0x1d
sete al
mov byte [ebp - 0x139], al
cmp ecx, 0x10
jb 0x5e4f9f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e4f8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
mov al, byte [ebp - 0x139]
add esp, 8
test al, al
jne 0x5e5388
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], al
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
push str.model
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x25
call fcn.00451ad0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x28]
or ebx, 0x400
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
test eax, eax
je 0x5e50be
push str.sourceskin
lea ecx, [ebp - 0xb8]
call fcn.00451ad0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x27
push eax
lea eax, [ebp - 0xb8]
or ebx, 0x800
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
test eax, eax
je 0x5e50be
push str.targetskin
lea ecx, [ebp - 0x40]
call fcn.00451ad0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x28
push eax
lea eax, [ebp - 0x40]
or ebx, 0x1000
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call fcn.00588810
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x5e50c5
mov byte [ebp - 0x139], 0
test ebx, 0x1000
je 0x5e50db
lea ecx, [ebp - 0x40]
and ebx, 0xffffefff
call fcn.00451a30
test ebx, 0x800
je 0x5e50f4
lea ecx, [ebp - 0xb8]
and ebx, 0xfffff7ff
call fcn.00451a30
mov dword [ebp - 4], 0x25
test ebx, 0x400
je 0x5e513d
mov ecx, dword [ebp - 0x14]
and ebx, 0xfffffbff
cmp ecx, 0x10
jb 0x5e513d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e5133
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
cmp byte [ebp - 0x139], 0
je 0x5e52a5
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004d9e80
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x29
jb 0x5e5172
mov esi, dword [esi]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d9e80
add esp, 0xc
mov edi, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 0x2a
jb 0x5e5194
mov edi, dword [edi]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004d9e80
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x2b
jb 0x5e51b7
mov eax, dword [eax]
mov ecx, dword [ebp - 0x150]
push esi
push edi
push eax
push 0
push dword [ebp - 0x14c]
call fcn.005e7bc0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x2a
cmp ecx, 0x10
jb 0x5e5205
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e51fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x29
cmp ecx, 0x10
jb 0x5e524f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e5245
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
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, 0x10
jb 0x5e529f
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e5295
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov esi, dword [ebp - 0x148]
lea ecx, [ebp - 0x138]
call fcn.005895b0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x24
cmp ecx, 0x10
jb 0x5e52eb
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e52e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0x23
cmp ecx, 0x10
jb 0x5e5338
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e532e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 0x1d
cmp ecx, 0x10
jb 0x5e5388
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e537e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e542a
push ecx
push edx
call fcn.0061abd4
add esp, 8
inc esi
mov dword [ebp - 0x148], esi
cmp esi, dword [ebp - 0x144]
jb 0x5e4e10
lea ecx, [ebp - 0x138]
call fcn.005895b0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x5e53de
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5e53d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e545c
push ecx
push edx
call fcn.0061abd4
add esp, 8
push str.attachingdata
lea ecx, [ebp - 0x138]
call fcn.005894d0
test eax, eax
je 0x5e5420
mov eax, dword [ebp - 0x150]
add eax, 0xd0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.005f2210
add esp, 8
test eax, eax
je 0x5e4165
lea ecx, [ebp - 0x138]
call fcn.005895b0
mov esi, 1
jmp 0x5e4167
call fcn.0065ecef
call fcn.0065ecef
call fcn.0065ecef
call fcn.0065ecef
call fcn.0065ecef
call fcn.0065ecef
call fcn.00454860
call fcn.00475c60
call fcn.0065ecef
call fcn.0044c6a0
call fcn.0065ecef
int3