Function at 0x559bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634e74
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x6c5580]
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 - 0x14c], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x138]
xor edi, edi
mov dword [ebp - 0x144], edi
call fcn.00508ad0
push esi
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], edi
call fcn.00509b00
test al, al
je 0x559f26
lea ecx, [ebp - 0x138]
call fcn.0050a3f0
push str.basemodelfilename
lea ecx, [ebp - 0x28]
call fcn.0043e950
mov esi, dword [ebp - 0x14c]
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00509680
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x559c7d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x559c73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
push str.treefilename
lea ecx, [ebp - 0x28]
call fcn.0043e950
add esi, 0x38
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00509680
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x559cd9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x559ccf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b9
push ecx
push edx
call fcn.0058d051
add esp, 8
push str.attributefilename
lea ecx, [ebp - 0x28]
call fcn.0043e950
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x138]
add eax, 0x50
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00509680
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x559d3b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x559d31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0be
push ecx
push edx
call fcn.0058d051
add esp, 8
push str.smokebonename
lea ecx, [ebp - 0x28]
call fcn.0043e950
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x138]
sub eax, 0xffffff80
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00509680
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x559d9d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x559d93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0c3
push ecx
push edx
call fcn.0058d051
add esp, 8
push str.motionlistfilename
lea ecx, [ebp - 0x28]
call fcn.0043e950
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x138]
add eax, 0x68
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00509680
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x559dff
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x559df5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0c8
push ecx
push edx
call fcn.0058d051
add esp, 8
mov eax, dword [ebp - 0x14c]
cmp dword [eax + 0x48], 0
je 0x559e8f
mov ecx, dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x150], eax
test ecx, ecx
je 0x559e8f
cmp dword [esi + 0x10], eax
jbe 0x55b0d2
mov ecx, dword [esi + 0x14]
mov edx, esi
cmp ecx, 0xf
jbe 0x559e39
mov edx, dword [esi]
cmp byte [edx + eax], 0x5c
mov edx, esi
jne 0x559e4e
cmp ecx, 0xf
jbe 0x559e48
mov edx, dword [esi]
mov byte [edx + eax], 0x2f
jmp 0x559e80
cmp ecx, 0xf
jbe 0x559e55
mov edx, dword [esi]
movsx eax, byte [edx + eax]
push eax
call fcn.005dfa26
mov dl, al
add esp, 4
mov eax, dword [ebp - 0x150]
cmp dword [esi + 0x10], eax
jbe 0x55b0d2
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x559e7d
mov ecx, dword [esi]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x150], eax
cmp eax, dword [ebp - 0x148]
jb 0x559e24
push str.smokefilename
lea ecx, [ebp - 0x28]
call fcn.0043e950
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.005097a0
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x559ef0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x559ee6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0cd
push ecx
push edx
call fcn.0058d051
add esp, 8
test esi, esi
je 0x55a079
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 0x559f52
push eax
push str.SmokeFileName_ArgCount__d__20
call fcn.004e0bc0
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x138]
call fcn.00508d30
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.0058d043
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x150], 0
je 0x55a079
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 0x55b0d7
mov eax, dword [ebp - 0x140]
add eax, esi
cmp dword [eax + 0x14], 0xf
jbe 0x559fc0
mov eax, dword [eax]
push eax
call fcn.005e14bf
mov esi, eax
add esp, 4
test esi, esi
js 0x55a3ca
cmp esi, 4
jge 0x55a3ca
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 0x55b0d7
mov eax, dword [ebp - 0x144]
add eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x14c]
add ecx, 8
cmp dword [eax + 0x2c], 0xf
lea edx, [eax + 0x18]
lea esi, [ecx + esi*4]
jbe 0x55a033
mov edx, dword [eax + 0x18]
mov ecx, dword [0x719250]
push 0
push esi
push edx
call fcn.004ce250
test eax, eax
je 0x55a39d
mov eax, dword [ebp - 0x150]
mov esi, dword [ebp - 0x144]
inc eax
add dword [ebp - 0x148], 2
add esi, 0x30
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x144], esi
cmp eax, dword [ebp - 0x158]
jb 0x559f80
push str.shapedata
lea ecx, [ebp - 0x138]
call fcn.0050a2f0
test eax, eax
je 0x55a8fc
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 - 0x150], 0
call fcn.0043e950
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.00509680
test eax, eax
je 0x55a146
push str.shapedatacount
lea ecx, [ebp - 0x28]
call fcn.0043e950
lea eax, [ebp - 0x150]
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.005095f0
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x55a14d
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 2
je 0x55a16e
and eax, 0xfffffffd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 7
test al, 1
je 0x55a18a
and eax, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
cmp byte [ebp - 0x139], 0
je 0x55a8ad
xor edi, edi
cmp dword [ebp - 0x150], edi
jbe 0x55a8ad
nop word [eax + eax]
mov al, byte [0x647438]
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.0050a250
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x55a22c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55a222
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
test esi, esi
je 0x55a8a0
push str.specialpath
lea ecx, [ebp - 0x28]
call fcn.0043e950
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00509680
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x55a293
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55a289
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
push str.shapeindex
lea ecx, [ebp - 0x28]
call fcn.0043e950
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.005095f0
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x55a2f4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55a2ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
test esi, esi
je 0x55a8a0
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.0043e950
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00509680
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.0043dab0
test esi, esi
je 0x55a3d5
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004bb120
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0xf
jbe 0x55a379
mov eax, dword [eax]
mov esi, dword [ebp - 0x14c]
mov ecx, esi
push eax
push dword [ebp - 0x148]
call fcn.00559b10
lea ecx, [ebp - 0xb8]
call fcn.0043dab0
jmp 0x55a42e
mov eax, dword [ebp - 0x140]
add eax, 0x18
add eax, dword [ebp - 0x144]
cmp dword [eax + 0x14], 0xf
jbe 0x55a3b4
mov eax, dword [eax]
push eax
push str.CRaceData::RegisterEffect2__s__ERROR
call fcn.004e0bc0
mov dword [esi], 0
jmp 0x559f23
push esi
push str.SmokeFileName_SmokeNum__d__OUT_OF_RANGE
jmp 0x559f1e
push str.local_model
lea ecx, [ebp - 0x28]
call fcn.0043e950
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x138]
call fcn.00509680
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.0043dab0
test esi, esi
je 0x55a868
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x14c]
mov ecx, esi
cmova eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x148]
call fcn.00559b10
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
push str.local_sourceskin
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.0043e950
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 - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00509680
test eax, eax
je 0x55a4ee
push str.local_targetskin
lea ecx, [ebp - 0x28]
call fcn.0043e950
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 - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00509680
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x55a4f5
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 8
je 0x55a516
and eax, 0xfffffff7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 4
je 0x55a532
and eax, 0xfffffffb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
cmp byte [ebp - 0x139], 0
je 0x55a568
cmp dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x58]
cmova ecx, dword [ebp - 0x88]
cmp dword [ebp - 0x44], 0xf
push ecx
cmova eax, dword [ebp - 0x58]
mov ecx, esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.005582b0
push str.sourceskin
lea ecx, [ebp - 0x40]
call fcn.0043e950
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 - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00509680
test eax, eax
je 0x55a5ef
push str.targetskin
lea ecx, [ebp - 0x28]
call fcn.0043e950
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 - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00509680
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x55a5f6
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, 0x20
je 0x55a617
and eax, 0xffffffdf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 0x10
je 0x55a633
and eax, 0xffffffef
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
cmp byte [ebp - 0x139], 0
je 0x55a6b6
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004bb120
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x17
jbe 0x55a664
mov esi, dword [esi]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004bb120
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x18
jbe 0x55a68a
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14c]
push esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.005582b0
lea ecx, [ebp - 0xb8]
call fcn.0043dab0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043dab0
push str.sourceskin2
lea ecx, [ebp - 0x40]
call fcn.0043e950
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 - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00509680
test eax, eax
je 0x55a73f
push str.targetskin2
lea ecx, [ebp - 0x28]
call fcn.0043e950
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 - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00509680
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x55a746
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test al, al
jns 0x55a769
and eax, 0xffffff7f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x12
test al, 0x40
je 0x55a785
and eax, 0xffffffbf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
cmp byte [ebp - 0x139], 0
je 0x55a808
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004bb120
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x1b
jbe 0x55a7b6
mov esi, dword [esi]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004bb120
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x1c
jbe 0x55a7dc
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14c]
push esi
push eax
push 0
push dword [ebp - 0x148]
call fcn.005582b0
lea ecx, [ebp - 0xb8]
call fcn.0043dab0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0043dab0
lea ecx, [ebp - 0x138]
call fcn.0050a3d0
lea ecx, [ebp - 0x88]
call fcn.0043dab0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x55a856
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55a84c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x55a8a0
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55a896
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
inc edi
cmp edi, dword [ebp - 0x150]
jb 0x55a1b0
lea ecx, [ebp - 0x138]
call fcn.0050a3d0
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x55a8f6
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55a8ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0dc
push ecx
push edx
call fcn.0058d051
add esp, 8
mov edi, dword [ebp - 0x140]
push str.hairdata
lea ecx, [ebp - 0x138]
call fcn.0050a2f0
test eax, eax
je 0x55afcc
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 - 0x148], 0
call fcn.0043e950
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.00509680
test eax, eax
je 0x55a9bc
push str.hairdatacount
lea ecx, [ebp - 0x28]
call fcn.0043e950
lea eax, [ebp - 0x148]
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.005095f0
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x55a9c3
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test eax, 0x200
je 0x55a9e9
and eax, 0xfffffdff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x1d
test eax, 0x100
je 0x55aa0a
and eax, 0xfffffeff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
cmp byte [ebp - 0x139], 0
je 0x55af89
xor esi, esi
mov dword [ebp - 0x150], esi
cmp dword [ebp - 0x148], esi
jbe 0x55af89
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 esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x138]
call fcn.0050a250
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x55aaa5
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55aa9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
test edi, edi
je 0x55af76
mov ax, word [0x647460]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x50], ax
movq xmm0, qword [str.specialpath]
mov al, byte [0x647462]
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.00509680
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x55ab34
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55ab2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
mov al, byte [0x647500]
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.005095f0
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov byte [ebp - 4], 0x1d
cmp ecx, 0xf
jbe 0x55abb6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55abac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
test edi, edi
je 0x55af76
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.0043e950
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 - 0xb8]
push eax
call fcn.00509680
test eax, eax
je 0x55acf3
push str.sourceskin
lea ecx, [ebp - 0x58]
call fcn.0043e950
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 - 0x58]
push eax
call fcn.00509680
test eax, eax
je 0x55acf3
push str.targetskin
lea ecx, [ebp - 0x40]
call fcn.0043e950
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 - 0x40]
push eax
call fcn.00509680
mov byte [ebp - 0x139], 1
test eax, eax
jne 0x55acfa
mov byte [ebp - 0x139], 0
mov eax, dword [ebp - 0x140]
test eax, 0x1000
je 0x55ad20
and eax, 0xffffefff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
mov eax, dword [ebp - 0x140]
test eax, 0x800
je 0x55ad40
and eax, 0xfffff7ff
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 4], 0x25
test eax, 0x400
je 0x55ad64
and eax, 0xfffffbff
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x140], eax
call fcn.0043dab0
cmp byte [ebp - 0x139], 0
je 0x55ae8a
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004bb120
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0xf
mov byte [ebp - 4], 0x29
jbe 0x55ad99
mov esi, dword [esi]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004bb120
add esp, 0xc
mov edi, eax
cmp dword [edi + 0x14], 0xf
mov byte [ebp - 4], 0x2a
jbe 0x55adbe
mov edi, dword [edi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004bb120
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x2b
jbe 0x55adde
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14c]
push esi
push edi
push eax
push 0
push dword [ebp - 0x158]
call fcn.005598c0
lea ecx, [ebp - 0x58]
call fcn.0043dab0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x29
cmp ecx, 0xf
jbe 0x55ae34
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55ae2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
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 0x55ae84
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55ae7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
mov esi, dword [ebp - 0x150]
lea ecx, [ebp - 0x138]
call fcn.0050a3d0
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x24
cmp ecx, 0xf
jbe 0x55aed3
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55aec9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
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 0x55af29
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55af1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
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 0x55af76
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55af6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0b4
push ecx
push edx
call fcn.0058d051
add esp, 8
inc esi
mov dword [ebp - 0x150], esi
cmp esi, dword [ebp - 0x148]
jb 0x55aa30
lea ecx, [ebp - 0x138]
call fcn.0050a3d0
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x55afcc
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55afc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0e1
push ecx
push edx
call fcn.0058d051
add esp, 8
push str.flytargetadjustposition
lea ecx, [ebp - 0x138]
call fcn.0050a2f0
test eax, eax
je 0x55b067
push str.adjustposition
lea ecx, [ebp - 0x28]
call fcn.0043e950
mov edi, dword [ebp - 0x14c]
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0x2c
lea eax, [edi + 0xe0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00509500
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x55b04b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x55b041
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55b0e6
push ecx
push edx
call fcn.0058d051
add esp, 8
test esi, esi
je 0x559f26
lea ecx, [ebp - 0x138]
mov byte [edi + 0xdc], 1
call fcn.0050a3d0
jmp 0x55b06d
mov edi, dword [ebp - 0x14c]
push str.attachingdata
lea ecx, [ebp - 0x138]
call fcn.0050a2f0
test eax, eax
je 0x55b0aa
lea eax, [edi + 0xd0]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00569d40
add esp, 8
test eax, eax
je 0x559f26
lea ecx, [ebp - 0x138]
call fcn.0050a3d0
mov esi, 1
jmp 0x559f28
call fcn.005d30c0
call fcn.005d30c0
call fcn.005d30c0
call fcn.005d30c0
call fcn.005d30c0
call fcn.005d30c0
call fcn.00444310
call fcn.0045deb0
call fcn.005d30c0
call fcn.005d30c0
call fcn.005d30c0
int3