Function at 0x407b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x697e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
xor eax, eax
push ebx
mov dword [esp + 0x74], eax
push esi
mov dword [esp + 0x7c], eax
mov eax, dword [0x8b0a50]
xor esi, esi
push edi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x248], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x248], 2
call fcn.004b0f30
lea ecx, [esp + 0xa4]
mov byte [esp + 0x248], 3
call fcn.004c2ef0
lea ecx, [esp + 0x84]
call fcn.00403c60
mov ebx, dword [ebp + 8]
mov byte [esp + 0x248], 5
mov eax, dword [ebx + 0x68]
cmp eax, esi
jle 0x407dd0
mov edi, dword [ebp + 0xc]
test esi, esi
jge 0x407c29
xor eax, eax
jmp 0x407c39
cmp esi, eax
jl 0x407c31
xor eax, eax
jmp 0x407c39
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
lea edx, [esp + 0x38]
lea ecx, [esp + 0x50]
push edx
push ecx
mov ecx, dword [esp + 0x7c]
push eax
push edi
call fcn.00405ec0
test al, al
jne 0x407cea
test esi, esi
jge 0x407c5e
xor edi, edi
jmp 0x407c6f
cmp esi, dword [ebx + 0x68]
jl 0x407c67
xor edi, edi
jmp 0x407c6f
mov edx, dword [ebx + 0x6c]
mov eax, dword [edx + esi*4]
mov edi, dword [eax]
push edi
lea ecx, [esp + 0x88]
call fcn.00403c10
lea eax, [edi + 4]
lea ecx, [esp + 0x88]
push eax
call fcn.00403c10
lea ecx, [edi + 8]
push ecx
lea ecx, [esp + 0x90]
call fcn.00403c10
mov dl, byte [edi + 0xc]
mov byte [esp + 0x90], dl
mov eax, dword [edi + 0x10]
test esi, esi
mov dword [esp + 0x94], eax
jge 0x407cb8
xor eax, eax
jmp 0x407cc9
cmp esi, dword [ebx + 0x68]
jl 0x407cc1
xor eax, eax
jmp 0x407cc9
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x84]
push 1
push edx
mov dword [esp + 0xa0], eax
call fcn.004b0ad0
jmp 0x407dc1
mov eax, dword [edi + 4]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x407dc1
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
test esi, esi
mov ecx, dword [eax + 8]
mov ebx, dword [ecx + edx*4]
jge 0x407d12
xor edi, edi
jmp 0x407d26
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 0x68]
jl 0x407d1e
xor edi, edi
jmp 0x407d26
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + esi*4]
mov edi, dword [eax]
push ebx
push edi
call fcn.00403c30
add esp, 8
test al, al
je 0x407d75
lea ecx, [ebx + 4]
lea edx, [edi + 4]
push ecx
push edx
call fcn.00403c30
add esp, 8
test al, al
je 0x407d75
lea eax, [ebx + 8]
lea ecx, [edi + 8]
push eax
push ecx
call fcn.00403c30
add esp, 8
test al, al
je 0x407d75
mov al, byte [edi + 0xc]
test al, al
je 0x407d6e
mov cl, byte [ebx + 0xc]
test cl, cl
jne 0x407d8d
test al, al
jne 0x407d75
mov al, byte [ebx + 0xc]
test al, al
je 0x407d8d
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
inc eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], eax
cmp eax, ecx
jge 0x407dc1
jmp 0x407cfd
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
test esi, esi
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + edx*4]
jge 0x407da2
xor eax, eax
jmp 0x407db6
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 0x68]
jl 0x407dae
xor eax, eax
jmp 0x407db6
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, dword [ecx + 0x14]
add edx, eax
mov dword [ecx + 0x14], edx
mov ebx, dword [ebp + 8]
inc esi
mov eax, dword [ebx + 0x68]
cmp esi, eax
jl 0x407c1e
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebx + 4]
test edi, edi
mov dword [esp + 0x1c], edi
jle 0x407df5
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax + 0x10]
call fcn.004b7970
inc esi
cmp esi, edi
fstp st(0)
jl 0x407de0
cmp edi, 1
jle 0x407e93
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
test ebx, ebx
jl 0x407e7d
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov esi, dword [eax + ebx*4 + 4]
mov edi, dword [eax + ebx*4]
mov ecx, dword [esi + 0x10]
mov edx, dword [edi + 0x10]
fld dword [ecx + 0x130]
fld dword [edx + 0x130]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x407e7d
push edi
lea ecx, [esp + 0xd0]
call fcn.0040bfb0
push esi
mov ecx, edi
mov byte [esp + 0x24c], 6
call fcn.0040c040
lea eax, [esp + 0xcc]
mov ecx, esi
push eax
call fcn.0040c040
lea ecx, [esp + 0xcc]
mov byte [esp + 0x248], 5
call fcn.00403c80
dec ebx
jns 0x407e0e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x18], eax
inc eax
cmp eax, ecx
jl 0x407e06
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi]
mov edi, dword [ecx - 8]
mov ecx, esi
call fcn.00570850
mov edx, dword [esi]
cmp byte [edi + edx - 1], 0x5c
je 0x407eb6
push 0x5c
push 1
mov ecx, esi
call fcn.00570940
mov edi, dword [ebp + 0x14]
lea eax, [esp + 0x18]
push edi
push esi
push eax
call fcn.00571790
push str..dat
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x260], 7
call fcn.005719c0
add esp, 0x18
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24c], 8
call fcn.00571160
mov edx, dword [esp + 0x1c]
mov ebx, dword [0x6c74ac]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x407f14
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x407f14
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x248], 5
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x407f37
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x407f37
push eax
call ebx
add esp, 4
push edi
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.00571790
push str..ses
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x260], 9
call fcn.005719c0
add esp, 0x18
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x24c], 0xa
call fcn.00571160
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x407f8b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x407f8b
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x407faf
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x407faf
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x2c]
push 0
push 0x80
lea edx, [esp + 0x80]
push 2
push edx
push 3
push 0x40000000
push eax
mov dword [esp + 0x94], 0xc
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 1
call dword [0x6c7388]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4080c4
lea ecx, [esp + 0x2c]
push ecx
call fcn.00576130
add esp, 4
test al, al
je 0x40801c
lea edx, [esp + 0x2c]
push edx
call fcn.005765a0
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00403c80
lea ecx, [esp + 0xa4]
mov byte [esp + 0x248], 3
call fcn.004c2f30
lea ecx, [esp + 0xec]
mov byte [esp + 0x248], 2
call fcn.004b1310
mov eax, dword [esp + 0x34]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40806b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40806b
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x2c]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408087
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408087
push eax
call ebx
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x409625
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409625
push eax
call ebx
add esp, 4
xor al, al
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.NESTER_VER_1_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
mov esi, dword [0x6c738c]
lea edx, [esp + 0x14]
push 0
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push edi
call esi
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.00401f10
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push ecx
push str.BEGIN_MARKER__s_r_n_r_n
push edx
mov byte [esp + 0x254], 0xb
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0xc
call fcn.00571160
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x408148
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408148
push eax
call dword [0x6c74ac]
add esp, 4
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408170
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408170
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__UNITS___________CM_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
fld dword [ebx + 8]
fmul dword [0x6c8a7c]
sub esp, 8
lea eax, [esp + 0x24]
fstp qword [esp]
push str.__FABRIC_HEIGHT____.2f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0xd
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4081ff
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4081ff
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__NAP_CONSTRAINT__0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__FLIP_CONSTRAINT_0_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push 0
lea eax, [esp + 0x20]
push str.__GLOBAL_RIGHT_TILT_LIMIT___d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0xe
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4082a2
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4082a2
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push 0
lea eax, [esp + 0x20]
push str.__GLOBAL_LEFT_TILT_LIMIT____d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0xf
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408303
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408303
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push 0
push 0
lea eax, [esp + 0x24]
push str.__GLOBAL_GAP________________f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x10
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408366
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408366
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
fld dword [ebx + 0x14]
sub esp, 8
lea eax, [esp + 0x24]
fstp qword [esp]
push str.__TOP_SALVAGE_______________f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x11
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4083ce
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4083ce
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
fld dword [ebx + 0x14]
sub esp, 8
lea eax, [esp + 0x24]
fstp qword [esp]
push str.__BOTTOM_SALVAGE____________f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x12
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408436
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408436
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
fld dword [ebx + 0x14]
sub esp, 8
lea eax, [esp + 0x24]
fstp qword [esp]
push str.__LEFT_SALVAGE______________f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x13
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x40849e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40849e
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebx + 0x18]
dec eax
je 0x408660
dec eax
mov eax, dword [ebx + 0x1c]
push eax
push str.__CNTRL_MAN_ROTATION_UNIT___d_r_n
je 0x408578
lea eax, [esp + 0x24]
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x18
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408512
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408512
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov ebx, dword [ebx + 0x1c]
lea eax, [esp + 0x18]
push ebx
push str.__CNTRL_AUTO_ROTATION_UNIT__d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x19
call fcn.00571160
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408713
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408713
jmp 0x408709
lea eax, [esp + 0x70]
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x16
call fcn.00571160
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4085bf
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4085bf
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov ebx, dword [ebx + 0x1c]
lea eax, [esp + 0x54]
push ebx
push str.__CNTRL_AUTO_ROTATION_UNIT__d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x17
call fcn.00571160
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408622
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408622
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__CNTRL_HORZ_FLIP__________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__CNTRL_VERT_FLIP__________1_r_n_r_n
jmp 0x40874c
mov eax, dword [ebx + 0x1c]
push eax
lea eax, [esp + 0x68]
push str.__CNTRL_MAN_ROTATION_UNIT___d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x14
call fcn.00571160
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4086b0
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4086b0
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov ebx, dword [ebx + 0x1c]
lea eax, [esp + 0x40]
push ebx
push str.__CNTRL_AUTO_ROTATION_UNIT__d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x15
call fcn.00571160
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x408713
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408713
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__CNTRL_HORZ_FLIP__________0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__CNTRL_VERT_FLIP__________0_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__BEGIN_STYLE_1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____STYLE_NAME_TEMPLATE_STYLE_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____NUMBER_OF_GARMENTS_IN_STYLE_1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x40]
mov eax, dword [eax + 4]
push eax
push str.____NUMBER_OF_PIECES_IN_STYLE____d_r_n_r_n
push ecx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x1a
call fcn.00571160
mov edx, dword [esp + 0x40]
mov byte [esp + 0x248], 5
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40881e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40881e
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____BEGIN_STYLE_PIECE___________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______IS_IN_NAP_GROUP___________0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______IS_IN_FLIP_GROUP__________0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____END_STYLE_PIECE_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____BEGIN_STYLE_PIECE___________2_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______IS_IN_NAP_GROUP___________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______IS_IN_FLIP_GROUP__________0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____END_STYLE_PIECE_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____BEGIN_STYLE_PIECE___________3_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______IS_IN_NAP_GROUP___________0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______IS_IN_FLIP_GROUP__________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____END_STYLE_PIECE_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____BEGIN_STYLE_PIECE___________4_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______IS_IN_NAP_GROUP___________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______IS_IN_FLIP_GROUP__________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____END_STYLE_PIECE_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.____BEGIN_GARMENT___________0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______GARMENT_NAME__________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______NUMBER_OF_REPLICATION_1_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.______BEGIN_BUNDLE__________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [eax - 8]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
push edi
call esi
push str.______END_BUNDLE_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [eax + 4]
test eax, eax
jle 0x409469
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + ebx*4]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x54]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x84]
call fcn.00405ec0
test al, al
je 0x40945c
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x40]
push eax
push str.______BEGIN_PIECE_____d_r_n
push ecx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x1b
call fcn.00571160
mov edx, dword [esp + 0x40]
mov byte [esp + 0x248], 5
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x408b70
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408b70
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________STYLE_PIECE_ID_1_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________BEGIN_VERTICES_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + ebx*4]
lea ecx, [esp + 0xec]
mov edx, dword [eax + 0x10]
push edx
call fcn.004b20c0
lea ecx, [esp + 0xec]
call fcn.004b7d20
lea eax, [esp + 0x64]
lea ecx, [esp + 0xec]
push eax
call fcn.00401f10
push str.151____151
mov ecx, eax
mov byte [esp + 0x24c], 0x1c
call fcn.00571ba0
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x248], 5
test eax, eax
lea eax, [ecx - 0xc]
sete byte [esp + 0x27]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x408c3d
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408c3d
push eax
call dword [0x6c74ac]
add esp, 4
mov al, byte [esp + 0x27]
test al, al
je 0x408c4b
push 0
push 0
jmp 0x408c62
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x54], edx
mov ecx, edx
mov edx, eax
push ecx
mov dword [esp + 0x6c], eax
push edx
lea ecx, [esp + 0xf4]
call fcn.004b2c10
mov eax, dword [ebp + 8]
push 0
mov cl, byte [eax + 0x50]
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xf0]
mov edx, dword [esp + 0xa4]
push edx
call fcn.004b8220
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xec]
push eax
call fcn.00493e40
mov ecx, dword [ebp + 8]
push 0
mov edx, dword [ecx + 0x10]
mov dword [esp + 0xa0], edx
mov eax, edx
lea edx, [esp + 0xf0]
push eax
push edx
call fcn.004a21b0
lea eax, [esp + 0xec]
lea ecx, [esp + 0xcc]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.0049d530
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x24c], 0x1d
call fcn.004c3080
lea ecx, [esp + 0xcc]
mov byte [esp + 0x248], 5
call fcn.004c2f30
lea ecx, [esp + 0xec]
call fcn.004b14e0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x18], 0
call fcn.00471090
test eax, eax
jle 0x408dd5
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x28]
push edx
push eax
push ecx
lea ecx, [esp + 0xb0]
call fcn.004710a0
fld dword [esp + 0x6c]
sub esp, 8
lea edx, [esp + 0x68]
fstp qword [esp]
fld dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
push str.___________f_______f_r_n
push edx
call fcn.00572aa0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x1e
call fcn.00571160
mov eax, dword [esp + 0x60]
mov byte [esp + 0x248], 5
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x408da3
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408da3
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xa4]
inc edx
mov dword [esp + 0x18], edx
call fcn.00471090
cmp dword [esp + 0x18], eax
jl 0x408d29
lea ecx, [esp + 0xa4]
call fcn.00471050
push str.________END_VERTICES_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.0040a4f0
push ecx
add eax, 8
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
call fcn.0040a460
mov ecx, dword [ebp + 0xc]
push ebx
mov byte [esp + 0x250], 0x1f
call fcn.0040a4f0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040a460
mov ecx, dword [ebp + 8]
mov byte [esp + 0x250], 5
call fcn.00492ad0
test eax, eax
je 0x408f3d
mov eax, dword [eax + 8]
cmp eax, 3
ja case.0x408e59.0
jmp dword [eax*4 + 0x40a444]
mov dword [esp + 0x18], 0x2d
jmp 0x408e86
mov dword [esp + 0x18], 0x5a
jmp 0x408e86
mov dword [esp + 0x18], 0xb4
jmp 0x408e86
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x58]
push eax
push str.________MAN_ROTATION_UNIT___d_r_n
push ecx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x20
call fcn.00571160
mov edx, dword [esp + 0x58]
mov byte [esp + 0x248], 5
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x408ed7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408ed7
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push eax
push str.________AUTO_ROTATION_UNIT__d_r_n
push ecx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x21
call fcn.00571160
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x248], 5
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x408f6c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x408f6c
push eax
call dword [0x6c74ac]
add esp, 4
jmp 0x408f6c
push str.________MAN_ROTATION_UNIT___1.000000_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________AUTO_ROTATION_UNIT__1.000000_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________HORZ_FLIP___________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________VERT_FLIP___________1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________FLIP_STATUS________0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________ANGLE______________0_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.0040a4f0
push ecx
add eax, 8
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
call fcn.0040a460
mov ecx, dword [ebp + 0xc]
push ebx
mov byte [esp + 0x250], 0x22
call fcn.0040a4f0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040a460
mov ecx, dword [ebp + 8]
mov byte [esp + 0x250], 5
call fcn.00492ea0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40915c
fld dword [eax + 8]
fmul dword [0x6c8abc]
fcom dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x409074
fadd qword [0x6c8a90]
jmp 0x40907a
fsub qword [0x6c8a90]
call fcn.00658ed2
push eax
lea ecx, [esp + 0x74]
push str.________CW_TILT_LIMIT_______d_r_n
push ecx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x23
call fcn.00571160
mov edx, dword [esp + 0x70]
mov byte [esp + 0x248], 5
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4090cc
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4090cc
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [esp + 0x1c]
fld dword [eax + 8]
fmul dword [0x6c8abc]
fcom dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x409101
fadd qword [0x6c8a90]
jmp 0x409107
fsub qword [0x6c8a90]
call fcn.00658ed2
push eax
lea ecx, [esp + 0x4c]
push str.________CCW_TILT_LIMIT______d_r_n
push ecx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x24
call fcn.00571160
mov edx, dword [esp + 0x48]
mov byte [esp + 0x248], 5
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40922b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40922b
jmp 0x409221
mov eax, dword [ebp + 8]
lea edx, [esp + 0x3c]
mov eax, dword [eax + 0x20]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
push str.________CW_TILT_LIMIT_______d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x25
call fcn.00571160
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x248], 5
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4091ba
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4091ba
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 8]
lea edx, [esp + 0x44]
mov eax, dword [eax + 0x20]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
push str.________CCW_TILT_LIMIT______d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x26
call fcn.00571160
mov eax, dword [esp + 0x44]
mov byte [esp + 0x248], 5
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40922b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40922b
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + ebx*4]
mov edx, dword [eax + 8]
lea eax, [esp + 0x4c]
push edx
push str.________PIECE_NAME__________s_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x27
call fcn.00571160
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x409297
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409297
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + ebx*4]
mov edx, dword [eax + 4]
lea eax, [esp + 0x30]
push edx
push str.________PIECE_SIZE__________s_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x28
call fcn.00571160
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x409303
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409303
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________PIECE_NAP_ARROW____0_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________TWIN_PIECE__________1000000_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], 0
mov ecx, dword [eax + 8]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x40943b
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x20]
mov ecx, eax
inc eax
push ecx
push str.________BEGIN_PIECE_INSTANCE___d_r_n
push edx
mov dword [esp + 0x44], eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x29
call fcn.00571160
mov eax, dword [esp + 0x20]
mov byte [esp + 0x248], 5
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4093cb
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4093cb
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__________BUNDLE_ID__1_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.________END_PIECE_INSTANCE_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
inc ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov eax, dword [edx + ebx*4]
cmp ecx, dword [eax + 0x14]
jl 0x409374
push str.______END_PIECE_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x408af6
push str.____END_GARMENT_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__END_STYLE_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.END_MARKER_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push edi
call dword [0x6c73b4]
mov ecx, dword [esp + 0x34]
push 0
push 0x80
lea eax, [esp + 0x80]
push 2
push eax
push 3
push 0x40000000
push ecx
mov dword [esp + 0x94], 0xc
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 1
call dword [0x6c7388]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40963e
lea edx, [esp + 0x34]
push edx
call fcn.00576130
add esp, 4
test al, al
je 0x409540
lea eax, [esp + 0x34]
push eax
call fcn.005765a0
add esp, 4
mov ecx, dword [esp + 0x8c]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x409567
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409567
mov esi, dword [0x6c74ac]
push eax
call esi
add esp, 4
jmp 0x40956d
mov esi, dword [0x6c74ac]
mov edx, dword [esp + 0x88]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40958c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40958c
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x84]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4095aa
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4095aa
push eax
call esi
add esp, 4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x248], 3
call fcn.004c2f30
lea ecx, [esp + 0xec]
mov byte [esp + 0x248], 2
call fcn.004b1310
mov ecx, dword [esp + 0x34]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4095ee
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4095ee
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x40960a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x40960a
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x409625
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409625
push eax
call esi
add esp, 4
xor al, al
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.___NESTING_SESSION_DATA_FILE_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.BEGIN_MARKER_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.00401f10
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push str.__MARKER_NAME_______s_r_n
push edx
mov byte [esp + 0x254], 0x2a
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x2b
call fcn.00571160
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4096dd
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4096dd
push eax
call dword [0x6c74ac]
add esp, 4
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x409705
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409705
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
push str.__MARKER_FILE_NAME__s_r_n
push ecx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x2c
call fcn.00571160
mov edx, dword [esp + 0x20]
mov byte [esp + 0x248], 5
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x409769
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409769
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
push str.__NUM_OF_COPIES____1_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00571200
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
fld dword [ebx + 8]
fmul dword [0x6c8a7c]
sub esp, 8
lea eax, [esp + 0x28]
fstp qword [esp]
push str.__MARKER_WIDTH_______f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x2d
call fcn.00571160
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4097f8
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4097f8
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
fld dword [ebx + 8]
fmul dword [0x6c8a7c]
sub esp, 8
lea eax, [esp + 0x28]
fstp qword [esp]
push str.__NWIDTH_____________f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x2e
call fcn.00571160
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x409866
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409866
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
fld dword [ebx + 0xe8]
fmul dword [0x6c8a7c]
sub esp, 8
lea eax, [esp + 0x28]
fstp qword [esp]
push str.__MARKER_LENGTH______f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x2f
call fcn.00571160
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4098d7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4098d7
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
call esi
mov ecx, ebx
call fcn.0049ce50
sub esp, 8
lea eax, [esp + 0x28]
fstp qword [esp]
push str.__MARKER_EFFICIENCY__f_r_n
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x30
call fcn.00571160
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x248], 5
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x409943
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x409943
push eax
call dword [0x6c74ac]
add esp, 4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push ecx
mov eax, dword [edx - 8]
lea ecx, [esp + 0x18]
push eax
call fcn.0040a490
push eax
push edi
call esi
push str.__NESTING_METHOD_Interactive_Nesting_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov ecx, ebx
call fcn.0040a550
dec eax
je 0x409b22
dec eax
mov ecx, ebx
je 0x409a38
call fcn.0040a560
push eax
lea eax, [esp + 0x24]
push str.__CNTRL_MAN_ROTATION_UNIT___d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x35
call fcn.00403c10
lea ecx, [esp + 0x20]
mov byte [esp + 0x248], 5
call fcn.00401000
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov ecx, ebx
call fcn.0040a560
push eax
lea edx, [esp + 0x34]
push str.__CNTRL_AUTO_ROTATION_UNIT__d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x36
call fcn.00403c10
mov byte [esp + 0x248], 5
lea ecx, [esp + 0x30]
jmp 0x409bb5
call fcn.0040a560
push eax
lea eax, [esp + 0x50]
push str.__CNTRL_MAN_ROTATION_UNIT___d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x33
call fcn.00403c10
lea ecx, [esp + 0x4c]
mov byte [esp + 0x248], 5
call fcn.00401000
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov ecx, ebx
call fcn.0040a560
push eax
lea edx, [esp + 0x48]
push str.__CNTRL_AUTO_ROTATION_UNIT__d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x34
call fcn.00403c10
lea ecx, [esp + 0x44]
mov byte [esp + 0x248], 5
call fcn.00401000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.____SESSION_HORZ_FLIP__________1_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.____SESSION_VERT_FLIP__________1_r_n_r_n
jmp 0x409c09
mov ecx, ebx
call fcn.0040a560
push eax
lea eax, [esp + 0x40]
push str.__CNTRL_MAN_ROTATION_UNIT___d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x31
call fcn.00403c10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x248], 5
call fcn.00401000
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov ecx, ebx
call fcn.0040a560
push eax
lea edx, [esp + 0x4c]
push str.__CNTRL_AUTO_ROTATION_UNIT__d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x32
call fcn.00403c10
mov byte [esp + 0x248], 5
lea ecx, [esp + 0x48]
call fcn.00401000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.____SESSION_HORZ_FLIP__________0_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.____SESSION_VERT_FLIP__________0_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.__NAP_CONST_______________0_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.__FLIP_CONST______________0_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.__CNTRL_CHECK_CONSTRAINTS_0_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov ecx, ebx
mov dword [esp + 0x1c], 0
call fcn.0040a500
test eax, eax
jle 0x40a3a9
jmp 0x409cd0
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0040a510
lea ecx, [esp + 0x38]
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov dword [esp + 0x20], eax
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00405ec0
test al, al
je 0x40a390
mov ecx, dword [esp + 0x18]
xor ebx, ebx
add ecx, 0x14
call fcn.0040a4e0
test eax, eax
jle 0x40a390
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [edx + 0x14]
call fcn.0040a4f0
cmp byte [eax], 0
jne 0x40a37b
mov eax, dword [esp + 0x38]
mov ecx, eax
inc eax
mov dword [esp + 0x38], eax
push ecx
lea eax, [esp + 0x24]
push str.__BEGIN_PIECE__d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x37
call fcn.00403c10
lea ecx, [esp + 0x20]
mov byte [esp + 0x248], 5
call fcn.00401000
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x30]
push edx
push str.____PIECE_ID___d_r_n
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x38
call fcn.00403c10
lea ecx, [esp + 0x30]
mov byte [esp + 0x248], 5
call fcn.00401000
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.____BUNDLE_ID_1_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov eax, dword [esp + 0x18]
push ebx
lea ecx, [eax + 0x14]
call fcn.0040a4f0
test byte [eax + 8], 2
je 0x409ee6
mov ecx, dword [esp + 0x18]
push ebx
add ecx, 0x14
call fcn.0040a4f0
test byte [eax + 8], 4
je 0x409ee6
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [edx + 0x14]
call fcn.0040a4f0
fld dword [eax + 0xc]
fadd dword [0x6c8a84]
push ebx
fmul dword [0x6c8abc]
fcomp dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x409e8a
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x14]
call fcn.0040a4f0
fld dword [eax + 0xc]
fadd dword [0x6c8a84]
fmul dword [0x6c8abc]
fadd qword [0x6c8a90]
jmp 0x409eab
mov ecx, dword [esp + 0x1c]
add ecx, 0x14
call fcn.0040a4f0
fld dword [eax + 0xc]
fadd dword [0x6c8a84]
fmul dword [0x6c8abc]
fsub qword [0x6c8a90]
call fcn.00658ed2
push eax
lea edx, [esp + 0x50]
push str.____ANGLE______d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x39
call fcn.00403c10
mov byte [esp + 0x248], 5
lea ecx, [esp + 0x4c]
jmp 0x40a194
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [edx + 0x14]
call fcn.0040a4f0
mov cl, byte [eax + 8]
push ebx
test cl, 2
je 0x409fe7
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x14]
call fcn.0040a4f0
test byte [eax + 8], 1
je 0x409fad
mov ecx, dword [esp + 0x18]
push ebx
add ecx, 0x14
call fcn.0040a4f0
fld dword [eax + 0xc]
fchs
fadd dword [0x6c8a84]
fst dword [esp + 0x28]
fcomp dword [0x6c8a88]
fnstsw ax
test ah, 0x41
jne 0x409f4d
fld dword [esp + 0x28]
fsub dword [0x6c8a80]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [0x6c8abc]
fcom dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x409f6c
fadd qword [0x6c8a90]
jmp 0x409f72
fsub qword [0x6c8a90]
call fcn.00658ed2
push eax
lea edx, [esp + 0x48]
push str.____ANGLE______d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x3a
call fcn.00403c10
mov byte [esp + 0x248], 5
lea ecx, [esp + 0x44]
jmp 0x40a0d6
push 0x2bf20
lea edx, [esp + 0x40]
push str.____ANGLE______d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x3b
call fcn.00403c10
mov byte [esp + 0x248], 5
lea ecx, [esp + 0x3c]
jmp 0x40a0d6
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 0x14]
call fcn.0040a4f0
mov cl, byte [eax + 8]
push ebx
test cl, 4
je 0x40a103
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x14]
call fcn.0040a4f0
test byte [eax + 8], 1
je 0x40a0a4
mov ecx, dword [esp + 0x18]
push ebx
add ecx, 0x14
call fcn.0040a4f0
fld dword [eax + 0xc]
fchs
fst dword [esp + 0x28]
fcomp dword [0x6c8a88]
fnstsw ax
test ah, 0x41
jne 0x40a047
fld dword [esp + 0x28]
fsub dword [0x6c8a80]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [0x6c8abc]
fcom dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x40a066
fadd qword [0x6c8a90]
jmp 0x40a06c
fsub qword [0x6c8a90]
call fcn.00658ed2
push eax
lea edx, [esp + 0x4c]
push str.____ANGLE______d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x3c
call fcn.00403c10
mov byte [esp + 0x248], 5
lea ecx, [esp + 0x48]
jmp 0x40a0d6
push 0
lea edx, [esp + 0x74]
push str.____ANGLE______d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x3d
call fcn.00403c10
mov byte [esp + 0x248], 5
lea ecx, [esp + 0x70]
call fcn.00401000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.____FLIP_FLAG_1_r_n
jmp 0x40a1bc
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 0x14]
call fcn.0040a4f0
fld dword [eax + 0xc]
fmul dword [0x6c8abc]
push ebx
fcomp dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x40a143
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x14]
call fcn.0040a4f0
fld dword [eax + 0xc]
fmul dword [0x6c8abc]
fadd qword [0x6c8a90]
jmp 0x40a15e
mov ecx, dword [esp + 0x1c]
add ecx, 0x14
call fcn.0040a4f0
fld dword [eax + 0xc]
fmul dword [0x6c8abc]
fsub qword [0x6c8a90]
call fcn.00658ed2
push eax
lea edx, [esp + 0x60]
push str.____ANGLE______d_r_n
push edx
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x3e
call fcn.00403c10
mov byte [esp + 0x248], 5
lea ecx, [esp + 0x5c]
call fcn.00401000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.____FLIP_FLAG_0_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xec]
mov eax, dword [edx + 0x10]
push eax
call fcn.004b20c0
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0xf0]
call fcn.00401f10
push str.151____151
push eax
mov byte [esp + 0x250], 0x3f
call fcn.0040a4c0
add esp, 8
lea ecx, [esp + 0x58]
mov byte [esp + 0x27], al
mov byte [esp + 0x248], 5
call fcn.00401000
mov al, byte [esp + 0x27]
test al, al
je 0x40a241
push 0
push 0
jmp 0x40a259
mov ecx, dword [ebp + 8]
call fcn.0040a580
push ecx
mov ecx, dword [ebp + 8]
fstp dword [esp]
call fcn.0040a570
push ecx
fstp dword [esp]
lea ecx, [esp + 0xf4]
call fcn.004b2c10
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [edx + 0x14]
call fcn.0040a4f0
mov ecx, dword [ebp + 8]
push eax
call fcn.0040a590
push eax
lea ecx, [esp + 0xf4]
call fcn.004b7c70
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xec]
push eax
call fcn.00493e40
mov ecx, dword [ebp + 8]
push 0
call fcn.0040a540
push ecx
lea ecx, [esp + 0xf4]
fstp dword [esp]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004a21b0
lea edx, [esp + 0xc4]
lea eax, [esp + 0xc8]
push edx
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0xfc]
call fcn.004b3100
lea ecx, [esp + 0xec]
call fcn.004b14e0
fld dword [esp + 0x6c]
sub esp, 8
lea eax, [esp + 0x68]
fstp qword [esp]
fld dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
push str.____NLOC________f__f__r_n
push eax
call fcn.00572aa0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0x40
call fcn.00403c10
lea ecx, [esp + 0x60]
mov byte [esp + 0x248], 5
call fcn.00401000
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push str.__END_PIECE_r_n_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
mov eax, dword [esp + 0x18]
inc ebx
lea ecx, [eax + 0x14]
call fcn.0040a4e0
cmp ebx, eax
jl 0x409d16
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
inc ebx
mov dword [esp + 0x1c], ebx
call fcn.0040a500
cmp ebx, eax
jl 0x409ccd
push str.END_MARKER_r_n
lea ecx, [esp + 0x14]
call fcn.0040a4a0
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0040a4b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a490
push eax
push edi
call esi
push edi
call dword [0x6c73b4]
lea ecx, [esp + 0x84]
call fcn.00403c80
lea ecx, [esp + 0xa4]
mov byte [esp + 0x248], 3
call fcn.004c2f30
lea ecx, [esp + 0xec]
mov byte [esp + 0x248], 2
call fcn.004b1310
lea ecx, [esp + 0x34]
call fcn.00401000
lea ecx, [esp + 0x2c]
call fcn.00401000
lea ecx, [esp + 0x10]
call fcn.00401000
mov ecx, dword [esp + 0x240]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10