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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebb8e
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.004cd820
push esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], ebx
call fcn.004ce6e0
test al, al
je 0x51c92a
lea ecx, [ebp - 0x120]
call fcn.004cefa0
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.004ce400
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], bl
cmp edx, 0x10
jb 0x51c5a7
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c59d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f54a
push edx
push ecx
call fcn.00552cbd
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.004ce400
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c62c
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c622
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f54f
push edx
push ecx
call fcn.00552cbd
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.004ce400
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c6b1
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c6a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f554
push edx
push ecx
call fcn.00552cbd
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.004ce400
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c739
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c72f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f559
push edx
push ecx
call fcn.00552cbd
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.004ce400
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c7be
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c7b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f55e
push edx
push ecx
call fcn.00552cbd
add esp, 8
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x138], ecx
test ecx, ecx
je 0x51c849
xor eax, eax
mov dword [ebp - 0x12c], eax
test ecx, ecx
je 0x51c849
cmp dword [esi + 0x10], eax
jbe 0x51f568
mov ecx, dword [esi + 0x14]
mov edx, esi
cmp ecx, 0x10
jb 0x51c7ec
mov edx, dword [esi]
cmp byte [edx + eax], 0x5c
mov edx, esi
jne 0x51c801
cmp ecx, 0x10
jb 0x51c7fb
mov edx, dword [esi]
mov byte [edx + eax], 0x2f
jmp 0x51c83a
cmp ecx, 0x10
jb 0x51c808
mov edx, dword [esi]
add edx, eax
mov dword [ebp - 0x134], esi
cmp ecx, 0x10
jb 0x51c81d
mov eax, dword [esi]
mov dword [ebp - 0x134], eax
movsx eax, byte [edx]
push eax
call fcn.005a1bb6
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 0x51c7d7
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.004ce520
mov edx, dword [ebp - 0x8c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c8d3
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c8c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f563
push edx
push ecx
call fcn.00552cbd
add esp, 8
test esi, esi
je 0x51ca81
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 0x51c957
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.004cda90
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.00552cac
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x134], 0
je 0x51ca81
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 0x51f56d
mov eax, dword [ebp - 0x128]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x51c9c1
mov eax, dword [eax]
push eax
call fcn.005a3a49
add esp, 4
mov dword [ebp - 0x140], eax
test eax, eax
js 0x51cdfd
cmp eax, 4
jge 0x51cdfd
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 0x51f56d
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 0x51ca3b
mov eax, dword [esi]
push 0
push ecx
mov ecx, dword [0x6d7a60]
push eax
call fcn.00493120
test eax, eax
je 0x51cdd9
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 0x51c981
push str.shapedata
lea ecx, [ebp - 0x120]
call fcn.004cee90
test eax, eax
je 0x51e55f
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.004ce400
test eax, eax
je 0x51cb63
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.004ce370
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51cb6a
mov byte [ebp - 0x121], 0
test bl, 2
je 0x51cb7a
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 0x51e542
xor esi, esi
mov dword [ebp - 0x138], esi
cmp dword [ebp - 0x134], esi
jbe 0x51e542
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.004cedf0
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 7
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x51cc2e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51cc1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f54a
push edx
push ecx
call fcn.00552cbd
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x51e52f
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.004ce400
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x51cca5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51cc9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f54a
push edx
push ecx
call fcn.00552cbd
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.004ce370
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 7
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x51cd29
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51cd19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f54a
push edx
push ecx
call fcn.00552cbd
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x51e52f
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.004ce400
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51ce08
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 0x51cdbe
mov eax, dword [eax]
push eax
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051c110
lea ecx, [ebp - 0x40]
call fcn.00406ed0
jmp 0x51ce7b
cmp dword [esi + 0x14], 0x10
jb 0x51cde1
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 0x51c927
push eax
push str.SmokeFileName_SmokeNum__d__OUT_OF_RANGE
jmp 0x51c922
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.004ce400
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51e51a
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.0051c110
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.004ce400
test eax, eax
je 0x51cf3d
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51cf44
mov byte [ebp - 0x121], 0
test bl, 8
je 0x51cf54
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 0x51cf9c
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.0051acb0
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.004ce400
test eax, eax
je 0x51d033
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d03a
mov byte [ebp - 0x121], 0
test bl, 0x20
je 0x51d04a
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 0x51d0cc
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 0x51d09f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d0a7
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51d166
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d16d
mov byte [ebp - 0x121], 0
test bl, bl
jns 0x51d17f
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 0x51d201
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 0x51d1d4
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d1dc
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51d29e
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d2a5
mov byte [ebp - 0x121], 0
test ebx, 0x200
je 0x51d2bb
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 0x51d340
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 0x51d313
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d31b
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51d3dd
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d3e4
mov byte [ebp - 0x121], 0
test ebx, 0x800
je 0x51d3fa
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 0x51d47f
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 0x51d452
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d45a
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51d51c
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d523
mov byte [ebp - 0x121], 0
test ebx, 0x2000
je 0x51d539
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 0x51d5be
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 0x51d591
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d599
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51d65b
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d662
mov byte [ebp - 0x121], 0
test ebx, 0x8000
je 0x51d678
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 0x51d6fd
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 0x51d6d0
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d6d8
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51d79a
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d7a1
mov byte [ebp - 0x121], 0
test ebx, 0x20000
je 0x51d7b7
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 0x51d83c
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 0x51d80f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d817
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51d8d9
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d8e0
mov byte [ebp - 0x121], 0
test ebx, 0x80000
je 0x51d8f6
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 0x51d97b
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 0x51d94e
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d956
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51da18
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51da1f
mov byte [ebp - 0x121], 0
test ebx, 0x200000
je 0x51da35
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 0x51daba
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 0x51da8d
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51da95
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51db57
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51db5e
mov byte [ebp - 0x121], 0
test ebx, 0x800000
je 0x51db74
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 0x51dbf9
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 0x51dbcc
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51dbd4
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51dc96
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dc9d
mov byte [ebp - 0x121], 0
test ebx, 0x2000000
je 0x51dcb3
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 0x51dd38
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 0x51dd0b
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51dd13
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51ddd5
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dddc
mov byte [ebp - 0x121], 0
test ebx, 0x8000000
je 0x51ddf2
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 0x51de77
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 0x51de4a
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51de52
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51df14
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51df1b
mov byte [ebp - 0x121], 0
test ebx, 0x20000000
je 0x51df31
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 0x51dfb6
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 0x51df89
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51df91
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51e053
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e05a
mov byte [ebp - 0x121], 0
test ebx, ebx
jns 0x51e06c
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 0x51e0f1
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 0x51e0c4
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e0cc
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51e19a
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e1a1
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 2
je 0x51e1c2
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 0x51e24a
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 0x51e21d
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e225
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51e2f3
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e2fa
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 8
je 0x51e31b
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 0x51e3a3
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 0x51e376
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e37e
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004ce400
test eax, eax
je 0x51e44c
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e453
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 0x20
je 0x51e474
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 0x51e4fc
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 0x51e4cf
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e4d7
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051acb0
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.004cef80
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 0x51cbb0
lea ecx, [ebp - 0x120]
call fcn.004cef80
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.004cee90
test eax, eax
je 0x51f503
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.004ce400
test eax, eax
je 0x51e631
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.004ce370
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e638
mov byte [ebp - 0x121], 0
test bl, bl
jns 0x51e64a
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 0x51f4ec
xor esi, esi
mov dword [ebp - 0x138], esi
cmp dword [ebp - 0x134], esi
jbe 0x51f4ec
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.004cedf0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x59
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51f4d3
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.004ce400
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.004ce370
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x59
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51f4d3
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.004ce400
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x61
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51e830
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 0x51e816
mov eax, dword [eax]
push eax
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051c040
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.004ce400
test eax, eax
je 0x51e8cd
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e8d4
mov byte [ebp - 0x121], 0
test ebx, 0x200
je 0x51e8ea
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 0x51e96f
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 0x51e942
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e94a
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51ea0c
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ea13
mov byte [ebp - 0x121], 0
test ebx, 0x800
je 0x51ea29
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 0x51eaae
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 0x51ea81
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ea89
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51eb4b
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51eb52
mov byte [ebp - 0x121], 0
test ebx, 0x2000
je 0x51eb68
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 0x51ebed
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 0x51ebc0
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ebc8
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51ec8a
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ec91
mov byte [ebp - 0x121], 0
test ebx, 0x8000
je 0x51eca7
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 0x51ed2c
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 0x51ecff
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ed07
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51edc9
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51edd0
mov byte [ebp - 0x121], 0
test ebx, 0x20000
je 0x51ede6
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 0x51ee6b
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 0x51ee3e
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ee46
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51ef08
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ef0f
mov byte [ebp - 0x121], 0
test ebx, 0x80000
je 0x51ef25
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 0x51efaa
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 0x51ef7d
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ef85
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51f047
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f04e
mov byte [ebp - 0x121], 0
test ebx, 0x200000
je 0x51f064
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 0x51f0e9
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 0x51f0bc
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f0c4
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51f186
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f18d
mov byte [ebp - 0x121], 0
test ebx, 0x800000
je 0x51f1a3
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 0x51f228
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 0x51f1fb
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f203
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51f2c5
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f2cc
mov byte [ebp - 0x121], 0
test ebx, 0x2000000
je 0x51f2e2
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 0x51f367
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 0x51f33a
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f342
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004ce400
test eax, eax
je 0x51f404
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.004ce400
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f40b
mov byte [ebp - 0x121], 0
test ebx, 0x8000000
je 0x51f421
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 0x51f4a6
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 0x51f479
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f481
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051aba0
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.004cef80
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 0x51e680
lea ecx, [ebp - 0x120]
call fcn.004cef80
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00406ed0
push str.attachingdata
lea ecx, [ebp - 0x120]
call fcn.004cee90
test eax, eax
je 0x51f540
lea eax, [edi + 0xd0]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0052eda0
add esp, 8
test eax, eax
je 0x51c92a
lea ecx, [ebp - 0x120]
call fcn.004cef80
mov esi, 1
jmp 0x51c92c
call fcn.005984ba
call fcn.005984ba
call fcn.005984ba
call fcn.005984ba
call fcn.005984ba
call fcn.005984ba
call fcn.00436e80
call fcn.00420840
int3