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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebb6e
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.004cd7f0
push esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], ebx
call fcn.004ce6b0
test al, al
je 0x51c8ca
lea ecx, [ebp - 0x120]
call fcn.004cef70
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.004ce3d0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], bl
cmp edx, 0x10
jb 0x51c547
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c53d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ea
push edx
push ecx
call fcn.00552c1d
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.004ce3d0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c5cc
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c5c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ef
push edx
push ecx
call fcn.00552c1d
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.004ce3d0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c651
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c647
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4f4
push edx
push ecx
call fcn.00552c1d
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.004ce3d0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c6d9
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c6cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4f9
push edx
push ecx
call fcn.00552c1d
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.004ce3d0
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c75e
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c754
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4fe
push edx
push ecx
call fcn.00552c1d
add esp, 8
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x138], ecx
test ecx, ecx
je 0x51c7e9
xor eax, eax
mov dword [ebp - 0x12c], eax
test ecx, ecx
je 0x51c7e9
cmp dword [esi + 0x10], eax
jbe 0x51f508
mov ecx, dword [esi + 0x14]
mov edx, esi
cmp ecx, 0x10
jb 0x51c78c
mov edx, dword [esi]
cmp byte [edx + eax], 0x5c
mov edx, esi
jne 0x51c7a1
cmp ecx, 0x10
jb 0x51c79b
mov edx, dword [esi]
mov byte [edx + eax], 0x2f
jmp 0x51c7da
cmp ecx, 0x10
jb 0x51c7a8
mov edx, dword [esi]
add edx, eax
mov dword [ebp - 0x134], esi
cmp ecx, 0x10
jb 0x51c7bd
mov eax, dword [esi]
mov dword [ebp - 0x134], eax
movsx eax, byte [edx]
push eax
call fcn.005a1b16
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 0x51c777
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.004ce4f0
mov edx, dword [ebp - 0x8c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51c873
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51c869
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f503
push edx
push ecx
call fcn.00552c1d
add esp, 8
test esi, esi
je 0x51ca21
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 0x51c8f7
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.004cda60
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.00552c0c
mov esp, ebp
pop ebp
ret 4
shr eax, 1
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x134], 0
je 0x51ca21
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 0x51f50d
mov eax, dword [ebp - 0x128]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x51c961
mov eax, dword [eax]
push eax
call fcn.005a39a9
add esp, 4
mov dword [ebp - 0x140], eax
test eax, eax
js 0x51cd9d
cmp eax, 4
jge 0x51cd9d
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 0x51f50d
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 0x51c9db
mov eax, dword [esi]
push 0
push ecx
mov ecx, dword [0x6d7a60]
push eax
call fcn.00493120
test eax, eax
je 0x51cd79
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 0x51c921
push str.shapedata
lea ecx, [ebp - 0x120]
call fcn.004cee60
test eax, eax
je 0x51e4ff
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.004ce3d0
test eax, eax
je 0x51cb03
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.004ce340
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51cb0a
mov byte [ebp - 0x121], 0
test bl, 2
je 0x51cb1a
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 0x51e4e2
xor esi, esi
mov dword [ebp - 0x138], esi
cmp dword [ebp - 0x134], esi
jbe 0x51e4e2
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.004cedc0
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 7
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x51cbce
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51cbbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ea
push edx
push ecx
call fcn.00552c1d
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x51e4cf
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.004ce3d0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x51cc45
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51cc3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ea
push edx
push ecx
call fcn.00552c1d
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.004ce340
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 7
sete al
mov byte [ebp - 0x121], al
cmp edx, 0x10
jb 0x51ccc9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51ccb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f4ea
push edx
push ecx
call fcn.00552c1d
mov al, byte [ebp - 0x121]
add esp, 8
test al, al
jne 0x51e4cf
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.004ce3d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51cda8
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 0x51cd5e
mov eax, dword [eax]
push eax
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051c0b0
lea ecx, [ebp - 0x40]
call fcn.00406ed0
jmp 0x51ce1b
cmp dword [esi + 0x14], 0x10
jb 0x51cd81
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 0x51c8c7
push eax
push str.SmokeFileName_SmokeNum__d__OUT_OF_RANGE
jmp 0x51c8c2
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.004ce3d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51e4ba
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.0051c0b0
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.004ce3d0
test eax, eax
je 0x51cedd
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51cee4
mov byte [ebp - 0x121], 0
test bl, 8
je 0x51cef4
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 0x51cf3c
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.0051ac50
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.004ce3d0
test eax, eax
je 0x51cfd3
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51cfda
mov byte [ebp - 0x121], 0
test bl, 0x20
je 0x51cfea
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 0x51d06c
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 0x51d03f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d047
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51d106
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d10d
mov byte [ebp - 0x121], 0
test bl, bl
jns 0x51d11f
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 0x51d1a1
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 0x51d174
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d17c
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51d23e
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d245
mov byte [ebp - 0x121], 0
test ebx, 0x200
je 0x51d25b
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 0x51d2e0
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 0x51d2b3
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d2bb
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51d37d
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d384
mov byte [ebp - 0x121], 0
test ebx, 0x800
je 0x51d39a
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 0x51d41f
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 0x51d3f2
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d3fa
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51d4bc
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d4c3
mov byte [ebp - 0x121], 0
test ebx, 0x2000
je 0x51d4d9
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 0x51d55e
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 0x51d531
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d539
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51d5fb
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d602
mov byte [ebp - 0x121], 0
test ebx, 0x8000
je 0x51d618
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 0x51d69d
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 0x51d670
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d678
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51d73a
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d741
mov byte [ebp - 0x121], 0
test ebx, 0x20000
je 0x51d757
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 0x51d7dc
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 0x51d7af
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d7b7
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51d879
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d880
mov byte [ebp - 0x121], 0
test ebx, 0x80000
je 0x51d896
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 0x51d91b
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 0x51d8ee
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51d8f6
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51d9b8
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51d9bf
mov byte [ebp - 0x121], 0
test ebx, 0x200000
je 0x51d9d5
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 0x51da5a
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 0x51da2d
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51da35
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51daf7
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dafe
mov byte [ebp - 0x121], 0
test ebx, 0x800000
je 0x51db14
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 0x51db99
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 0x51db6c
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51db74
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51dc36
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dc3d
mov byte [ebp - 0x121], 0
test ebx, 0x2000000
je 0x51dc53
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 0x51dcd8
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 0x51dcab
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51dcb3
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51dd75
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dd7c
mov byte [ebp - 0x121], 0
test ebx, 0x8000000
je 0x51dd92
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 0x51de17
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 0x51ddea
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ddf2
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51deb4
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51debb
mov byte [ebp - 0x121], 0
test ebx, 0x20000000
je 0x51ded1
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 0x51df56
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 0x51df29
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51df31
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51dff3
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51dffa
mov byte [ebp - 0x121], 0
test ebx, ebx
jns 0x51e00c
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 0x51e091
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 0x51e064
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e06c
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51e13a
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e141
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 2
je 0x51e162
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 0x51e1ea
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 0x51e1bd
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e1c5
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51e293
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e29a
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 8
je 0x51e2bb
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 0x51e343
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 0x51e316
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e31e
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004ce3d0
test eax, eax
je 0x51e3ec
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e3f3
mov byte [ebp - 0x121], 0
mov eax, dword [ebp - 0x130]
test al, 0x20
je 0x51e414
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 0x51e49c
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 0x51e46f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e477
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ac50
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.004cef50
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 0x51cb50
lea ecx, [ebp - 0x120]
call fcn.004cef50
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.004cee60
test eax, eax
je 0x51f4a3
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.004ce3d0
test eax, eax
je 0x51e5d1
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.004ce340
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e5d8
mov byte [ebp - 0x121], 0
test bl, bl
jns 0x51e5ea
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 0x51f48c
xor esi, esi
mov dword [ebp - 0x138], esi
cmp dword [ebp - 0x134], esi
jbe 0x51f48c
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.004cedc0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x59
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51f473
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.004ce3d0
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.004ce340
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x59
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51f473
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.004ce3d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x61
mov esi, eax
call fcn.00406ed0
test esi, esi
je 0x51e7d0
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 0x51e7b6
mov eax, dword [eax]
push eax
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051bfe0
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.004ce3d0
test eax, eax
je 0x51e86d
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e874
mov byte [ebp - 0x121], 0
test ebx, 0x200
je 0x51e88a
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 0x51e90f
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 0x51e8e2
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51e8ea
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51e9ac
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51e9b3
mov byte [ebp - 0x121], 0
test ebx, 0x800
je 0x51e9c9
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 0x51ea4e
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 0x51ea21
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ea29
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51eaeb
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51eaf2
mov byte [ebp - 0x121], 0
test ebx, 0x2000
je 0x51eb08
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 0x51eb8d
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 0x51eb60
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51eb68
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51ec2a
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ec31
mov byte [ebp - 0x121], 0
test ebx, 0x8000
je 0x51ec47
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 0x51eccc
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 0x51ec9f
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51eca7
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51ed69
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51ed70
mov byte [ebp - 0x121], 0
test ebx, 0x20000
je 0x51ed86
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 0x51ee0b
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 0x51edde
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ede6
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51eea8
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51eeaf
mov byte [ebp - 0x121], 0
test ebx, 0x80000
je 0x51eec5
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 0x51ef4a
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 0x51ef1d
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51ef25
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51efe7
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51efee
mov byte [ebp - 0x121], 0
test ebx, 0x200000
je 0x51f004
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 0x51f089
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 0x51f05c
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f064
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51f126
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f12d
mov byte [ebp - 0x121], 0
test ebx, 0x800000
je 0x51f143
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 0x51f1c8
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 0x51f19b
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f1a3
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51f265
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f26c
mov byte [ebp - 0x121], 0
test ebx, 0x2000000
je 0x51f282
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 0x51f307
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 0x51f2da
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f2e2
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004ce3d0
test eax, eax
je 0x51f3a4
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.004ce3d0
mov byte [ebp - 0x121], 1
test eax, eax
jne 0x51f3ab
mov byte [ebp - 0x121], 0
test ebx, 0x8000000
je 0x51f3c1
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 0x51f446
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 0x51f419
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x51f421
mov eax, dword [eax]
push esi
push eax
push 0
push dword [ebp - 0x12c]
mov ecx, edi
call fcn.0051ab40
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.004cef50
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 0x51e620
lea ecx, [ebp - 0x120]
call fcn.004cef50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00406ed0
push str.attachingdata
lea ecx, [ebp - 0x120]
call fcn.004cee60
test eax, eax
je 0x51f4e0
lea eax, [edi + 0xd0]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0052ed40
add esp, 8
test eax, eax
je 0x51c8ca
lea ecx, [ebp - 0x120]
call fcn.004cef50
mov esi, 1
jmp 0x51c8cc
call fcn.0059841a
call fcn.0059841a
call fcn.0059841a
call fcn.0059841a
call fcn.0059841a
call fcn.0059841a
call fcn.00436e80
call fcn.00420840
int3