Function at 0x51c430
Capabilities:
Inspect section memory permissions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebb4e
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x651ea8]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], 0
xor ebx, ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x128], ebx
call fcn.004cd7d0
push esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], ebx
call fcn.004ce690
test al, al
je 0x51c8aa
lea ecx, [ebp - 0x120]
call fcn.004cef50
push 0x11
push str.basemodelfilename
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], bl
call fcn.00406cf0
lea eax, [edi + 0x20]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], bl
cmp edx, 0x10
jb 0x51c527
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c51d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ca
push edx
push ecx
call fcn.00552bfd
add esp, 8
push 0xc
push str.treefilename
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00406cf0
lea esi, [edi + 0x38]
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c5ac
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c5a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4cf
push edx
push ecx
call fcn.00552bfd
add esp, 8
push 0x11
push str.attributefilename
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00406cf0
lea eax, [edi + 0x50]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c631
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c627
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4d4
push edx
push ecx
call fcn.00552bfd
add esp, 8
push 0xd
push str.smokebonename
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00406cf0
lea eax, [edi + 0x80]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c6b9
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c6af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4d9
push edx
push ecx
call fcn.00552bfd
add esp, 8
push 0x12
push str.motionlistfilename
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00406cf0
lea eax, [edi + 0x68]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c73e
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c734
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4de
push edx
push ecx
call fcn.00552bfd
add esp, 8
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x138], ecx
test ecx, ecx
je 0x51c7c9
xor eax, eax
mov dword [ebp - 0x12c], eax
test ecx, ecx
je 0x51c7c9
cmp dword [esi + 0x10], eax
jbe 0x51f4e8
mov ecx, dword [esi + 0x14]
mov edx, esi
cmp ecx, 0x10
jb 0x51c76c
mov edx, dword [esi]
cmp byte [edx + eax], 0x5c
mov edx, esi
jne 0x51c781
cmp ecx, 0x10
jb 0x51c77b
mov edx, dword [esi]
mov byte [edx + eax], 0x2f
jmp 0x51c7ba
cmp ecx, 0x10
jb 0x51c788
mov edx, dword [esi]
add edx, eax
mov dword [ebp - 0x134], esi
cmp ecx, 0x10
jb 0x51c79d
mov eax, dword [esi]
mov dword [ebp - 0x134], eax
movsx eax, byte [edx]
push eax
call fcn.005a1af6
mov ecx, dword [ebp - 0x12c]
add esp, 4
mov edx, dword [ebp - 0x134]
mov byte [edx + ecx], al
mov eax, ecx
inc eax
mov dword [ebp - 0x12c], eax
cmp eax, dword [ebp - 0x138]
jb 0x51c757
push 0xd
push str.smokefilename
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00406cf0
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce4d0
mov edx, dword [ebp - 0x8c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c853
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c849
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4e3
push edx
push ecx
call fcn.00552bfd
add esp, 8
test esi, esi
je 0x51ca01
mov eax, dword [ebp - 0x13c]
mov esi, dword [eax + 4]
mov ecx, esi
mov eax, dword [eax]
sub ecx, eax
mov dword [ebp - 0x134], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test al, 1
je 0x51c8d7
sub esi, dword [ebp - 0x134]
mov eax, 0x2aaaaaab
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.SmokeFileName_ArgCount__d__20
call fcn.004a4c60
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x120]
call fcn.004cda40
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.00552bec
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x134], 0
je 0x51ca01
xor esi, esi
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x138], esi
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x128], edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x12c]
jbe 0x51f4ed
mov eax, dword [ebp - 0x128]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x51c941
mov eax, dword [eax]
push eax
call fcn.005a3989
add esp, 4
mov dword [ebp - 0x140], eax
test eax, eax
js 0x51cd7d
cmp eax, 4
jge 0x51cd7d
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x128], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebp - 0x12c]
sar edx, 2
inc eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jbe 0x51f4ed
mov eax, dword [ebp - 0x128]
add eax, 0x18
add esi, eax
mov eax, dword [ebp - 0x140]
add eax, 2
cmp dword [esi + 0x14], 0x10
lea ecx, [edi + eax*4]
mov eax, esi
mov dword [ebp - 0x140], ecx
jb 0x51c9bb
mov eax, dword [esi]
push 0
push ecx
mov ecx, dword [0x6d7a60]
push eax
call fcn.00493120
test eax, eax
je 0x51cd59
mov eax, dword [ebp - 0x134]
mov esi, dword [ebp - 0x138]
inc eax
add dword [ebp - 0x12c], 2
add esi, 0x30
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], esi
cmp eax, dword [ebp - 0x144]
jb 0x51c901
push str.shapedata
lea ecx, [ebp - 0x120]
call fcn.004cee40
test eax, eax
je 0x51e4df
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 8
push str.pathname
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00406cf0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xa0]
mov ebx, 1
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51cae3
push 0xe
push str.shapedatacount
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
mov ebx, 3
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce320
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51caea
mov byte [ebp - 0x121], 0
test bl, 2
je 0x51cafa
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.00406ed0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 7
and ebx, 0xfffffffe
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51e4c2
xor esi, esi
mov dword [ebp - 0x138], esi
cmp dword [ebp - 0x134], esi
jbe 0x51e4c2
push 9
push str.shapedata
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x120]
call fcn.004ceda0
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 7
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x51cbae
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51cb9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ca
push edx
push ecx
call fcn.00552bfd
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x51e4af
push 0xb
push str.specialpath
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00406cf0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x51cc25
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51cc1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ca
push edx
push ecx
call fcn.00552bfd
add esp, 8
push 0xa
push str.shapeindex
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce320
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 7
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x51cca9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51cc99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ca
push edx
push ecx
call fcn.00552bfd
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x51e4af
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], al
push 5
push str.model
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00406cf0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51cd88
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x51cd3e
mov eax, dword [eax]
push eax
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051c090
lea ecx, [ebp - 0x40]
call fcn.00406ed0
jmp 0x51cdfb
cmp dword [esi + 0x14], 0x10
jb 0x51cd61
mov esi, dword [esi]
push esi
push str.CRaceData::RegisterEffect2__s__ERROR
call fcn.004a4c60
mov eax, dword [ebp - 0x140]
mov dword [eax], 0
jmp 0x51c8a7
push eax
push str.SmokeFileName_SmokeNum__d__OUT_OF_RANGE
jmp 0x51c8a2
push 0xb
push str.local_model
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51e49a
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
mov ecx, edi
cmovae eax, dword [ebp - 0xa0]
push eax
push dword [ebp - 0x12c]
call fcn.0051c090
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push 0x10
push str.local_sourceskin
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x40]
or ebx, 4
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51cebd
push 0x10
push str.local_targetskin
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x28]
or ebx, 8
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51cec4
mov byte [ebp - 0x121], 0
test bl, 8
je 0x51ced4
lea ecx, [ebp - 0x28]
and ebx, 0xfffffff7
call fcn.00406ed0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0x12
and ebx, 0xfffffffb
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51cf1c
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x74], 0x10
push ecx
cmovae eax, dword [ebp - 0x88]
mov ecx, edi
push eax
push 0
push dword [ebp - 0x12c]
call fcn.0051ac30
push 0xa
push str.sourceskin
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x28]
or ebx, 0x10
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51cfb3
push 0xa
push str.targetskin
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x40]
or ebx, 0x20
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51cfba
mov byte [ebp - 0x121], 0
test bl, 0x20
je 0x51cfca
lea ecx, [ebp - 0x40]
and ebx, 0xffffffdf
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xffffffef
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51d04c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x18
jb 0x51d01f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d027
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x28]
or ebx, 0x40
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51d0e6
push 0xb
push str.targetskin2
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x40]
or ebx, 0x80
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d0ed
mov byte [ebp - 0x121], 0
test bl, bl
jns 0x51d0ff
lea ecx, [ebp - 0x40]
and ebx, 0xffffff7f
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xffffffbf
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51d181
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x1c
jb 0x51d154
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d15c
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x28]
or ebx, 0x100
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51d21e
push 0xb
push str.targetskin3
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x40]
or ebx, 0x200
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d225
mov byte [ebp - 0x121], 0
test ebx, 0x200
je 0x51d23b
lea ecx, [ebp - 0x40]
and ebx, 0xfffffdff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xfffffeff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51d2c0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x20
jb 0x51d293
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d29b
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x28]
or ebx, 0x400
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51d35d
push 0xb
push str.targetskin4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x40]
or ebx, 0x800
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d364
mov byte [ebp - 0x121], 0
test ebx, 0x800
je 0x51d37a
lea ecx, [ebp - 0x40]
and ebx, 0xfffff7ff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xfffffbff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51d3ff
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x24
jb 0x51d3d2
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d3da
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x28]
or ebx, 0x1000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51d49c
push 0xb
push str.targetskin5
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x40]
or ebx, 0x2000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d4a3
mov byte [ebp - 0x121], 0
test ebx, 0x2000
je 0x51d4b9
lea ecx, [ebp - 0x40]
and ebx, 0xffffdfff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xffffefff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51d53e
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x28
jb 0x51d511
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d519
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin6
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x28]
or ebx, 0x4000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51d5db
push 0xb
push str.targetskin6
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x40]
or ebx, 0x8000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d5e2
mov byte [ebp - 0x121], 0
test ebx, 0x8000
je 0x51d5f8
lea ecx, [ebp - 0x40]
and ebx, 0xffff7fff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xffffbfff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51d67d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x2c
jb 0x51d650
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d658
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin6
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0x28]
or ebx, 0x10000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51d71a
push 0xb
push str.targetskin6
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x2e
push eax
lea eax, [ebp - 0x40]
or ebx, 0x20000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d721
mov byte [ebp - 0x121], 0
test ebx, 0x20000
je 0x51d737
lea ecx, [ebp - 0x40]
and ebx, 0xfffdffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xfffeffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51d7bc
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x2f
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x30
jb 0x51d78f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d797
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x31
push eax
lea eax, [ebp - 0x28]
or ebx, 0x40000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51d859
push 0xb
push str.targetskin7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x32
push eax
lea eax, [ebp - 0x40]
or ebx, 0x80000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d860
mov byte [ebp - 0x121], 0
test ebx, 0x80000
je 0x51d876
lea ecx, [ebp - 0x40]
and ebx, 0xfff7ffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xfffbffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51d8fb
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x33
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x34
jb 0x51d8ce
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d8d6
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0x28]
or ebx, 0x100000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51d998
push 0xb
push str.targetskin8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x36
push eax
lea eax, [ebp - 0x40]
or ebx, 0x200000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d99f
mov byte [ebp - 0x121], 0
test ebx, 0x200000
je 0x51d9b5
lea ecx, [ebp - 0x40]
and ebx, 0xffdfffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xffefffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51da3a
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x37
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x38
jb 0x51da0d
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51da15
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xb
push str.sourceskin9
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x39
push eax
lea eax, [ebp - 0x28]
or ebx, 0x400000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51dad7
push 0xb
push str.targetskin9
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x3a
push eax
lea eax, [ebp - 0x40]
or ebx, 0x800000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dade
mov byte [ebp - 0x121], 0
test ebx, 0x800000
je 0x51daf4
lea ecx, [ebp - 0x40]
and ebx, 0xff7fffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xffbfffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51db79
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x3c
jb 0x51db4c
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51db54
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xc
push str.sourceskin10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x3d
push eax
lea eax, [ebp - 0x28]
or ebx, 0x1000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51dc16
push 0xc
push str.targetskin10
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x3e
push eax
lea eax, [ebp - 0x40]
or ebx, 0x2000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dc1d
mov byte [ebp - 0x121], 0
test ebx, 0x2000000
je 0x51dc33
lea ecx, [ebp - 0x40]
and ebx, 0xfdffffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xfeffffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51dcb8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x3f
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x40
jb 0x51dc8b
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51dc93
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xc
push str.sourceskin11
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x41
push eax
lea eax, [ebp - 0x28]
or ebx, 0x4000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51dd55
push 0xc
push str.targetskin11
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x42
push eax
lea eax, [ebp - 0x40]
or ebx, 0x8000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dd5c
mov byte [ebp - 0x121], 0
test ebx, 0x8000000
je 0x51dd72
lea ecx, [ebp - 0x40]
and ebx, 0xf7ffffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xfbffffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51ddf7
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x43
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x44
jb 0x51ddca
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ddd2
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xc
push str.sourceskin12
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x45
push eax
lea eax, [ebp - 0x28]
or ebx, 0x10000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51de94
push 0xc
push str.targetskin12
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x46
push eax
lea eax, [ebp - 0x40]
or ebx, 0x20000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51de9b
mov byte [ebp - 0x121], 0
test ebx, 0x20000000
je 0x51deb1
lea ecx, [ebp - 0x40]
and ebx, 0xdfffffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xefffffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51df36
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x47
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x48
jb 0x51df09
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51df11
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xc
push str.sourceskin13
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x49
push eax
lea eax, [ebp - 0x28]
or ebx, 0x40000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51dfd3
push 0xc
push str.targetskin13
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x4a
push eax
lea eax, [ebp - 0x40]
or ebx, 0x80000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dfda
mov byte [ebp - 0x121], 0
test ebx, ebx
jns 0x51dfec
lea ecx, [ebp - 0x40]
and ebx, 0x7fffffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
and ebx, 0xbfffffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51e071
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x4b
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x4c
jb 0x51e044
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e04c
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xc
push str.sourceskin14
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x4d
or esi, 1
lea ecx, [ebp - 0x120]
push eax
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x128], esi
call fcn.004ce3b0
test eax, eax
je 0x51e11a
push 0xc
push str.targetskin14
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x4e
push eax
lea eax, [ebp - 0x40]
or esi, 2
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x128], esi
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e121
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 2
je 0x51e142
and eax, 0xfffffffd
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x130], eax
call fcn.00406ed0
mov eax, dword [ebp - 0x130]
and eax, 0xfffffffe
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x130], eax
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51e1ca
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x4f
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x50
jb 0x51e19d
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e1a5
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xc
push str.sourceskin15
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x51
or esi, 4
lea ecx, [ebp - 0x120]
push eax
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x128], esi
call fcn.004ce3b0
test eax, eax
je 0x51e273
push 0xc
push str.targetskin15
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x52
push eax
lea eax, [ebp - 0x40]
or esi, 8
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x128], esi
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e27a
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 8
je 0x51e29b
and eax, 0xfffffff7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x130], eax
call fcn.00406ed0
mov eax, dword [ebp - 0x130]
and eax, 0xfffffffb
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x130], eax
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51e323
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x53
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x54
jb 0x51e2f6
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e2fe
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
push 0xc
push str.sourceskin16
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x55
or esi, 0x10
lea ecx, [ebp - 0x120]
push eax
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x128], esi
call fcn.004ce3b0
test eax, eax
je 0x51e3cc
push 0xc
push str.targetskin16
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0x56
push eax
lea eax, [ebp - 0x40]
or esi, 0x20
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x128], esi
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e3d3
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 0x20
je 0x51e3f4
and eax, 0xffffffdf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x130], eax
call fcn.00406ed0
mov eax, dword [ebp - 0x130]
and eax, 0xffffffef
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x130], eax
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51e47c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x57
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x58
jb 0x51e44f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e457
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac30
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00406ed0
lea ecx, [ebp - 0x120]
call fcn.004cef30
lea ecx, [ebp - 0x70]
call fcn.00406ed0
lea ecx, [ebp - 0x88]
call fcn.00406ed0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.00406ed0
mov esi, dword [ebp - 0x138]
inc esi
mov dword [ebp - 0x138], esi
cmp esi, dword [ebp - 0x134]
jb 0x51cb30
lea ecx, [ebp - 0x120]
call fcn.004cef30
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00406ed0
mov ebx, dword [ebp - 0x130]
push str.hairdata
lea ecx, [ebp - 0x120]
call fcn.004cee40
test eax, eax
je 0x51f483
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 8
push str.pathname
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x59
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x5a
push eax
lea eax, [ebp - 0x28]
or ebx, 0x40
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51e5b1
push 0xd
push str.hairdatacount
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 0x5b
push eax
lea eax, [ebp - 0x40]
or ebx, 0x80
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce320
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e5b8
mov byte [ebp - 0x121], 0
test bl, bl
jns 0x51e5ca
lea ecx, [ebp - 0x40]
and ebx, 0xffffff7f
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x59
and ebx, 0xffffffbf
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51f46c
xor esi, esi
mov dword [ebp - 0x138], esi
cmp dword [ebp - 0x134], esi
jbe 0x51f46c
nop dword [eax]
push 8
push str.hairdata
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x5c
push eax
lea ecx, [ebp - 0x120]
call fcn.004ceda0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x59
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51f453
push 0xb
push str.specialpath
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x5d
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x59
call fcn.00406ed0
push 9
push str.hairindex
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x5e
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce320
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x59
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51f453
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
push 5
push str.model
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x61
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x62
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.004ce3b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x61
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51e7b0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x63
jb 0x51e796
mov eax, dword [eax]
push eax
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051bfc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xa
push str.sourceskin
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x64
push eax
lea eax, [ebp - 0x28]
or ebx, 0x100
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51e84d
push 0xa
push str.targetskin
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x65
push eax
lea eax, [ebp - 0x40]
or ebx, 0x200
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e854
mov byte [ebp - 0x121], 0
test ebx, 0x200
je 0x51e86a
lea ecx, [ebp - 0x40]
and ebx, 0xfffffdff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xfffffeff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51e8ef
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x66
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x67
jb 0x51e8c2
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e8ca
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xb
push str.sourceskin2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x68
push eax
lea eax, [ebp - 0x28]
or ebx, 0x400
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51e98c
push 0xb
push str.targetskin2
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x69
push eax
lea eax, [ebp - 0x40]
or ebx, 0x800
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e993
mov byte [ebp - 0x121], 0
test ebx, 0x800
je 0x51e9a9
lea ecx, [ebp - 0x40]
and ebx, 0xfffff7ff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xfffffbff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51ea2e
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x6a
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x6b
jb 0x51ea01
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ea09
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xb
push str.sourceskin3
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x6c
push eax
lea eax, [ebp - 0x28]
or ebx, 0x1000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51eacb
push 0xb
push str.targetskin3
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x6d
push eax
lea eax, [ebp - 0x40]
or ebx, 0x2000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ead2
mov byte [ebp - 0x121], 0
test ebx, 0x2000
je 0x51eae8
lea ecx, [ebp - 0x40]
and ebx, 0xffffdfff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xffffefff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51eb6d
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x6e
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x6f
jb 0x51eb40
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51eb48
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xb
push str.sourceskin4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x70
push eax
lea eax, [ebp - 0x28]
or ebx, 0x4000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51ec0a
push 0xb
push str.targetskin4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x71
push eax
lea eax, [ebp - 0x40]
or ebx, 0x8000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ec11
mov byte [ebp - 0x121], 0
test ebx, 0x8000
je 0x51ec27
lea ecx, [ebp - 0x40]
and ebx, 0xffff7fff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xffffbfff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51ecac
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x72
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x73
jb 0x51ec7f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ec87
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xb
push str.sourceskin5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x74
push eax
lea eax, [ebp - 0x28]
or ebx, 0x10000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51ed49
push 0xb
push str.targetskin5
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x75
push eax
lea eax, [ebp - 0x40]
or ebx, 0x20000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ed50
mov byte [ebp - 0x121], 0
test ebx, 0x20000
je 0x51ed66
lea ecx, [ebp - 0x40]
and ebx, 0xfffdffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xfffeffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51edeb
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x76
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x77
jb 0x51edbe
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51edc6
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xb
push str.sourceskin6
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x78
push eax
lea eax, [ebp - 0x28]
or ebx, 0x40000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51ee88
push 0xb
push str.targetskin6
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x79
push eax
lea eax, [ebp - 0x40]
or ebx, 0x80000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ee8f
mov byte [ebp - 0x121], 0
test ebx, 0x80000
je 0x51eea5
lea ecx, [ebp - 0x40]
and ebx, 0xfff7ffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xfffbffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51ef2a
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x7a
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x7b
jb 0x51eefd
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ef05
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xb
push str.sourceskin7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x7c
push eax
lea eax, [ebp - 0x28]
or ebx, 0x100000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51efc7
push 0xb
push str.targetskin7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x7d
push eax
lea eax, [ebp - 0x40]
or ebx, 0x200000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51efce
mov byte [ebp - 0x121], 0
test ebx, 0x200000
je 0x51efe4
lea ecx, [ebp - 0x40]
and ebx, 0xffdfffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xffefffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51f069
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x7e
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x7f
jb 0x51f03c
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f044
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xb
push str.sourceskin8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x28]
or ebx, 0x400000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51f106
push 0xb
push str.targetskin8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x81
push eax
lea eax, [ebp - 0x40]
or ebx, 0x800000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f10d
mov byte [ebp - 0x121], 0
test ebx, 0x800000
je 0x51f123
lea ecx, [ebp - 0x40]
and ebx, 0xff7fffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xffbfffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51f1a8
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x82
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x83
jb 0x51f17b
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f183
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xb
push str.sourceskin9
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x84
push eax
lea eax, [ebp - 0x28]
or ebx, 0x1000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51f245
push 0xb
push str.targetskin9
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x85
push eax
lea eax, [ebp - 0x40]
or ebx, 0x2000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f24c
mov byte [ebp - 0x121], 0
test ebx, 0x2000000
je 0x51f262
lea ecx, [ebp - 0x40]
and ebx, 0xfdffffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xfeffffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51f2e7
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x86
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x87
jb 0x51f2ba
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f2c2
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
push 0xc
push str.sourceskin10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406cf0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x88
push eax
lea eax, [ebp - 0x28]
or ebx, 0x4000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
test eax, eax
je 0x51f384
push 0xc
push str.targetskin10
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406cf0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x89
push eax
lea eax, [ebp - 0x40]
or ebx, 0x8000000
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ebx
call fcn.004ce3b0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f38b
mov byte [ebp - 0x121], 0
test ebx, 0x8000000
je 0x51f3a1
lea ecx, [ebp - 0x40]
and ebx, 0xf7ffffff
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x61
and ebx, 0xfbffffff
call fcn.00406ed0
cmp byte [ebp - 0x121], 0
je 0x51f426
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00484670
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x8a
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00484670
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x8b
jb 0x51f3f9
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f401
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab20
lea ecx, [ebp - 0x40]
call fcn.00406ed0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x61
call fcn.00406ed0
lea ecx, [ebp - 0x120]
call fcn.004cef30
lea ecx, [ebp - 0x88]
call fcn.00406ed0
lea ecx, [ebp - 0x70]
call fcn.00406ed0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x59
call fcn.00406ed0
mov esi, dword [ebp - 0x138]
inc esi
mov dword [ebp - 0x138], esi
cmp esi, dword [ebp - 0x134]
jb 0x51e600
lea ecx, [ebp - 0x120]
call fcn.004cef30
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00406ed0
push str.attachingdata
lea ecx, [ebp - 0x120]
call fcn.004cee40
test eax, eax
je 0x51f4c0
lea eax, [edi + 0xd0]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0052ed20
add esp, 8
test eax, eax
je 0x51c8aa
lea ecx, [ebp - 0x120]
call fcn.004cef30
mov esi, 1
jmp 0x51c8ac
call fcn.005983fa
call fcn.005983fa
call fcn.005983fa
call fcn.005983fa
call fcn.005983fa
call fcn.005983fa
call fcn.00436e80
call fcn.00420840
int3