Function at 0x5a260c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3d
push 0
push 0
dec ecx
jne 0x5a2614
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a5406
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_FreeBitmaps_qqrv
cmp dword [sym.DatCutter.exe__Sskinmanager_SkinFile], 0
je 0x5a490f
mov eax, dword [sym.DatCutter.exe__Sskinmanager_SkinFile]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x5a5424
mov edx, 0x5a544c
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x6b0514]
mov ax, word [eax]
mov word [ebp - 0x36], ax
mov eax, dword [0x6b0514]
mov word [eax], 0x2e
mov dword [ebp - 0x40], 0x9999999a
mov dword [ebp - 0x3c], 0x401d9999
push 0
push 0
mov edx, 0x5a544c
mov ecx, 0x5a5470
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
fstp qword [eax + 0x10]
wait
mov eax, dword [0x6b0514]
mov dx, word [ebp - 0x36]
mov word [eax], dx
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov edx, dword [ebp - 4]
mov dword [edx + 0x190], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x194], 0
je 0x5a2798
mov eax, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x5a27e2
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x90]
call fcn.0043db24
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x20]
call fcn.00459520
jne 0x5a278a
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
call fcn.004abe84
call fcn.004a65ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
call fcn.004abe84
call fcn.004a55fc
jmp 0x5a27e2
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5a26f8
jmp 0x5a27e2
mov edx, dword [ebp - 0x20]
mov eax, 0x5a548c
call fcn.004598a0
dec eax
jge 0x5a27bf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
call fcn.0045931c
cmp dword [ebp - 0x20], 0
je 0x5a27e2
mov eax, dword [ebp - 0x20]
call fcn.0043f188
test al, al
je 0x5a27e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
call fcn.004abf84
cmp al, 7
je 0x5a284b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov dl, 7
call fcn.004ad1e0
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov cl, 0xff
call sym.DatCutter.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuco
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
mov edx, 0xff00ff
call fcn.004ad348
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [0x415d44]
call fcn.00421e64
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00421ee0
mov dl, 1
mov eax, dword [0x415d44]
call fcn.00421e64
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00421ee0
xor eax, eax
push ebp
push 0x5a4908
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a48c3
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a48b7
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xa8]
mov edx, 0x5a544c
call fcn.00459520
jne 0x5a296d
lea ecx, [ebp - 0xac]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xac]
mov edx, 0x5a5424
call fcn.00459520
je 0x5a48ab
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 8]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 0x20], 0
je 0x5a48ab
mov eax, dword [ebp - 0x20]
mov ax, word [eax]
sub ax, 0x21
je 0x5a3612
sub ax, 0x1f
je 0x5a2cb0
sub ax, 0x1e
je 0x5a2eb8
sub ax, 0x20
jne 0x5a3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0xc8
mov ecx, 1
mov edx, dword [sym.DatCutter.exe___xp_21Smaskdata_TsMaskArray]
call fcn.0045a864
add esp, 4
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 + 8]
call fcn.00458e38
lea ecx, [ebp - 0xbc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 + 4]
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*8 + 0x28], ecx
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov byte [edx + eax*8 + 0x24], 1
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xc0]
call fcn.0043eba0
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xc4]
call fcn.0043eba0
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xc8]
call fcn.0043eba0
push eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xcc]
call fcn.0043eba0
pop edx
pop ecx
call fcn.0041c16c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea esi, [ebp - 0xa0]
lea edi, [edx + eax*8 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 + 0x1c], 1
lea eax, [ebp - 0xd0]
push eax
mov ecx, 2
mov edx, 0x16
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xd0]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x22], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 + 0x1e], 0
jle 0x5a2c0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x40]
wait
fnstsw ax
sahf
jae 0x5a2c0d
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
and word [edx + eax*8 + 0x22], 0xfffe
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x5a2c33
mov eax, dword [ebp - 0x5c]
sub eax, 0xa
cmp word [eax], 2
je 0x5a2c33
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.0045846c
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x5a2c4a
mov eax, dword [ebp - 0x60]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x18
jle 0x5a2c91
lea eax, [ebp - 0xd4]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xd4]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x1e], ax
jmp 0x5a48ab
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 + 0x1e], 0
jmp 0x5a48ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0xc8
mov ecx, 1
mov edx, dword [sym.DatCutter.exe___xp_21Smaskdata_TsMaskArray]
call fcn.0045a864
add esp, 4
lea ecx, [ebp - 0xd8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 + 8]
call fcn.00458e38
lea ecx, [ebp - 0xdc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 + 4]
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*8 + 0x28], ecx
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov byte [edx + eax*8 + 0x24], 2
lea eax, [ebp - 0xe0]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xe0]
call fcn.0043eba0
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xe4]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xe4]
call fcn.0043eba0
push eax
lea eax, [ebp - 0xe8]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xe8]
call fcn.0043eba0
push eax
lea eax, [ebp - 0xec]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xec]
call fcn.0043eba0
pop edx
pop ecx
call fcn.0041c16c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea esi, [ebp - 0xa0]
lea edi, [edx + eax*8 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xf0]
push eax
mov ecx, 1
mov edx, 0x16
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xf0]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x1c], ax
lea eax, [ebp - 0xf4]
push eax
mov ecx, 1
mov edx, 0x18
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0xf4]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x1e], ax
jmp 0x5a48ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0xc8
mov ecx, 1
mov edx, dword [sym.DatCutter.exe___xp_21Smaskdata_TsMaskArray]
call fcn.0045a864
add esp, 4
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 + 8]
call fcn.00458e38
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 + 4]
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*8 + 0x28], ecx
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov byte [edx + eax*8 + 0x24], 0
lea eax, [ebp - 0x100]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x100]
call fcn.0043eba0
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x104]
call fcn.0043eba0
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x108]
call fcn.0043eba0
push eax
lea eax, [ebp - 0x10c]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x10c]
call fcn.0043eba0
pop edx
pop ecx
call fcn.0041c16c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea esi, [ebp - 0xa0]
lea edi, [edx + eax*8 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x110]
push eax
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x110]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2c], ax
lea eax, [ebp - 0x114]
push eax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x114]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2e], ax
lea eax, [ebp - 0x118]
push eax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x118]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x30], ax
lea eax, [ebp - 0x11c]
push eax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x11c]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x32], ax
lea eax, [ebp - 0x120]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x120]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x1c], ax
lea eax, [ebp - 0x124]
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x124]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x1e], ax
lea eax, [ebp - 0x128]
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x128]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x22], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 + 0x1e], 0
jle 0x5a333c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
fld qword [eax + 0x10]
fcomp qword [ebp - 0x40]
wait
fnstsw ax
sahf
jae 0x5a333c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 + 0xc]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x1c]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x2c]
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x30]
sub eax, edx
dec eax
jne 0x5a3323
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 + 0xc]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x1e]
inc edx
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x2e]
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x32]
sub eax, edx
dec eax
jne 0x5a3323
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
or word [edx + eax*8 + 0x22], 1
jmp 0x5a333c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
and word [edx + eax*8 + 0x22], 0xfffe
lea eax, [ebp - 0x12c]
push eax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 0x20]
call fcn.00459588
mov eax, dword [ebp - 0x12c]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x20], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
movsx eax, word [edx + eax*8 + 0x2c]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x30]
add eax, edx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x32]
add eax, edx
test eax, eax
jne 0x5a35d7
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 + 0x20], 0
je 0x5a34ca
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2c], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2e], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x30], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x32], ax
jmp 0x5a35d7
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 + 0xc]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2c], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 + 0xc]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2e], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x2c]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x30], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x2e]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x32], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 4]
call fcn.0059b878
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x34], ax
jmp 0x5a48ab
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x20]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x134]
mov ecx, 0x5a5490
mov eax, 1
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x28]
call fcn.00459064
mov edx, dword [ebp - 0x28]
mov eax, 0x5a54bc
call fcn.004598a0
test eax, eax
setg byte [ebp - 0x2d]
cmp byte [ebp - 0x2d], 0
jne 0x5a367d
mov edx, dword [ebp - 0x28]
mov eax, 0x5a54d4
call fcn.004598a0
test eax, eax
jle 0x5a48ab
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x194], 0
je 0x5a37b8
mov eax, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x5a3873
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x138]
call fcn.0043db24
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x28]
call fcn.00459520
jne 0x5a37a7
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
cmp byte [ebp - 0x2d], 0
je 0x5a3730
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5a3873
mov dl, 1
mov eax, dword [sym.DatCutter.exe__Acpng_TPNGGraphic_]
call sym.DatCutter.exe__Acpng_TPNGGraphic__bctr_qqrv
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 8]
fld xword [0x5a54e0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5a3787
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Salphagraph_UpdateAlpha_qqrp16Graphics_TBitmap
jmp 0x5a378f
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Acpng_UpdateTransPixels_qqrp16Graphics_TBitmap
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x64]
call fcn.004570c8
jmp 0x5a3873
inc dword [ebp - 0x1c]
dec dword [ebp - 0x4c]
jne 0x5a36ae
jmp 0x5a3873
mov edx, dword [ebp - 0x28]
mov eax, 0x5a548c
call fcn.004598a0
dec eax
jge 0x5a37df
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
call fcn.0045931c
mov eax, dword [ebp - 0x28]
call fcn.0043f188
test al, al
je 0x5a3873
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov dword [ebp - 0x2c], eax
cmp byte [ebp - 0x2d], 0
je 0x5a3811
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x5a3873
mov dl, 1
mov eax, dword [sym.DatCutter.exe__Acpng_TPNGGraphic_]
call sym.DatCutter.exe__Acpng_TPNGGraphic__bctr_qqrv
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 8]
fld xword [0x5a54e0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
fcomp qword [eax + 0x10]
wait
fnstsw ax
sahf
jae 0x5a3858
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Salphagraph_UpdateAlpha_qqrp16Graphics_TBitmap
jmp 0x5a3860
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Acpng_UpdateTransPixels_qqrp16Graphics_TBitmap
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x68]
call fcn.004570c8
cmp dword [ebp - 0x2c], 0
je 0x5a48ab
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5a48ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0xc8
mov ecx, 1
mov edx, dword [sym.DatCutter.exe___xp_21Smaskdata_TsMaskArray]
call fcn.0045a864
add esp, 4
xor eax, eax
push ebp
push 0x5a3e06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*8], ecx
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
call fcn.004abe84
call fcn.004a65ec
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
call fcn.004abe84
call fcn.004a55fc
mov ecx, 0x5a5490
mov edx, dword [ebp - 0x20]
mov eax, 4
call fcn.0059b74c
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x5a3948
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
jmp 0x5a394f
mov dword [ebp - 0x70], 4
mov eax, dword [sym.DatCutter.exe__Sconst_acImgTypes]
mov edx, dword [ebp - 0x70]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov byte [ecx + edx*8 + 0x24], al
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
call fcn.004abf84
cmp al, 7
je 0x5a3a1f
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
mov dl, 7
call fcn.004ad1e0
push 1
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov eax, dword [ecx + eax*8]
mov cl, 0xff
call sym.DatCutter.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuco
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a48ab
lea ecx, [ebp - 0x13c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 + 8]
call fcn.00458e38
lea ecx, [ebp - 0x140]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 + 4]
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*8 + 0x28], ecx
mov ecx, 0x5a5490
mov edx, dword [ebp - 0x20]
mov eax, 2
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x1c], ax
mov ecx, 0x5a5490
mov edx, dword [ebp - 0x20]
mov eax, 3
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x1e], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea esi, [ebp - 0xa0]
lea edi, [edx + eax*8 + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x20]
mov ecx, 0
call fcn.0045908c
mov eax, dword [ebp - 0x144]
mov edx, 0x5a5490
call sym.DatCutter.exe__Acntutils_WordCount_qqrx27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
cmp eax, 4
jle 0x5a3c43
mov ecx, 0x5a5490
mov edx, dword [ebp - 0x20]
mov eax, 5
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2c], ax
mov ecx, 0x5a5490
mov edx, dword [ebp - 0x20]
mov eax, 6
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2e], ax
mov ecx, 0x5a5490
mov edx, dword [ebp - 0x20]
mov eax, 7
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x30], ax
mov ecx, 0x5a5490
mov edx, dword [ebp - 0x20]
mov eax, 8
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x32], ax
jmp 0x5a3d47
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 + 0xc]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x50]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2c], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 + 0xc]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x50]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x2e], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x2c]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x30], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 + 0x2e]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x32], ax
lea eax, [ebp - 0x148]
mov edx, dword [ebp - 0x20]
mov ecx, 0
call fcn.0045908c
mov eax, dword [ebp - 0x148]
mov edx, 0x5a5490
call sym.DatCutter.exe__Acntutils_WordCount_qqrx27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
cmp eax, 8
jle 0x5a3d9b
mov ecx, 0x5a5490
mov edx, dword [ebp - 0x20]
mov eax, 9
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x22], ax
jmp 0x5a3db5
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 + 0x22], 1
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp byte [edx + eax*8 + 0x24], 0
jne 0x5a3e05
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 4]
call fcn.0059b878
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x34], ax
ret
mov edx, dword [ebp - 0x20]
mov eax, 0x5a54f8
call fcn.004598a0
test eax, eax
jle 0x5a433b
mov eax, dword [ebp - 0x20]
mov edx, 0x5a54f8
call fcn.00459520
je 0x5a48ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
add eax, 0xc8
mov ecx, 1
mov edx, dword [sym.DatCutter.exe___xp_21Smaskdata_TsMaskArray]
call fcn.0045a864
add esp, 4
lea ecx, [ebp - 0x150]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.0043db24
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 - 0x30]
call fcn.00458e38
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.0043db24
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 - 0x34]
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*8 - 0x10], ecx
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x20]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x160]
mov ecx, 0x5a54fc
mov eax, 2
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0x24]
call fcn.00459064
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 4
call fcn.0059b74c
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 3
call fcn.0059b74c
push eax
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 2
call fcn.0059b74c
push eax
mov ecx, 0x5a553c
mov edx, dword [ebp - 0x24]
mov eax, 1
call fcn.0059b74c
pop edx
pop ecx
call fcn.0041c16c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea esi, [ebp - 0xa0]
lea edi, [edx + eax*8 - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 0x20]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x168]
mov ecx, 0x5a54fc
mov eax, 3
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x24]
call fcn.00459064
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 1
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0x1c], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x5a405e
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x1c], 1
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 2
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0x1a], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x5a40bd
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x1a], 0
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x24]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x170]
mov ecx, 0x5a551c
mov eax, 3
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x16c]
lea eax, [ebp - 0x28]
call fcn.00459064
cmp dword [ebp - 0x28], 0
je 0x5a4157
mov eax, dword [ebp - 0x28]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0x18], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 - 0x18], 0
jge 0x5a4171
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x18], 0
jmp 0x5a4171
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x18], 0
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x178]
mov edx, dword [ebp - 0x24]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x178]
mov ecx, 0x5a551c
mov eax, 4
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x28]
call fcn.00459064
cmp dword [ebp - 0x28], 0
je 0x5a41d6
mov eax, dword [ebp - 0x28]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0x16], ax
jmp 0x5a41f0
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x16], 1
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movsx eax, word [eax + 0x2c]
mov edx, dword [ebp - 0x54]
movsx edx, word [edx + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x54]
movsx edx, word [edx + 0x30]
add eax, edx
mov edx, dword [ebp - 0x54]
movsx edx, word [edx + 0x32]
add eax, edx
test eax, eax
jne 0x5a4300
mov eax, dword [ebp - 0x54]
cmp word [eax + 0x20], 0
je 0x5a427b
mov eax, dword [ebp - 0x54]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x54]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x54]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x54]
mov word [edx + 0x2e], ax
mov eax, dword [ebp - 0x54]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x54]
mov word [edx + 0x30], ax
mov eax, dword [ebp - 0x54]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x54]
mov word [edx + 0x32], ax
jmp 0x5a4300
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x2c]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x54]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x54]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x2c]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x54]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x54]
mov word [edx + 0x2e], ax
mov eax, dword [ebp - 0x54]
mov ax, word [eax + 0x2c]
mov edx, dword [ebp - 0x54]
mov word [edx + 0x30], ax
mov eax, dword [ebp - 0x54]
mov ax, word [eax + 0x2e]
mov edx, dword [ebp - 0x54]
mov word [edx + 0x32], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 4]
call fcn.0059b878
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 + 0x34], ax
jmp 0x5a48ab
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0x20]
call fcn.0043deec
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x20]
call fcn.00458e8c
mov edx, dword [ebp - 0x20]
mov eax, 0x5a54bc
call fcn.004598a0
test eax, eax
jle 0x5a48ab
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x194], 0
je 0x5a441c
mov eax, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x5a4469
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x180]
call fcn.0043db24
mov eax, dword [ebp - 0x180]
mov edx, dword [ebp - 0x20]
call fcn.00459520
jne 0x5a4412
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [sym.DatCutter.exe__Sskinmanager_sc]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x5a4469
inc dword [ebp - 0x1c]
dec dword [ebp - 0x4c]
jne 0x5a439d
jmp 0x5a4469
mov edx, dword [ebp - 0x20]
mov eax, 0x5a548c
call fcn.004598a0
dec eax
jge 0x5a4443
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
call fcn.0045931c
mov eax, dword [ebp - 0x20]
call fcn.0043f188
test al, al
je 0x5a4469
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x2c], 0
je 0x5a48ab
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jle 0x5a48ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
add eax, 0xc8
mov ecx, 1
mov edx, dword [sym.DatCutter.exe___xp_21Smaskdata_TsMaskArray]
call fcn.0045a864
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*8 - 0x38], ecx
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
call fcn.004abe84
call fcn.004a65ec
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
call fcn.004abe84
call fcn.004a55fc
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x30]
xor edx, edx
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x34]
xor edx, edx
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*8 - 0x10], ecx
xor eax, eax
push ebp
push 0x5a48a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
call fcn.004abf84
cmp al, 7
je 0x5a4627
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov dl, 7
call fcn.004ad1e0
push 1
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov eax, dword [ecx + eax*8 - 0x38]
mov cl, 0xff
call sym.DatCutter.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuco
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a48ab
lea ecx, [ebp - 0x188]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call fcn.0043db24
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 - 0x30]
call fcn.00458e38
lea ecx, [ebp - 0x190]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x18c]
call fcn.0043db24
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 - 0x34]
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x1a], 1
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x1c], 3
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea esi, [ebp - 0xa0]
lea edi, [edx + eax*8 - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x2c]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 - 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0xc], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x2c]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
movsx edx, word [ecx + edx*8 - 0x1a]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0xa], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 - 0xc]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 8], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ax, word [edx + eax*8 - 0xa]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 6], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 4]
call fcn.0059b878
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 4], ax
ret
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x5a2923
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5a28e5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a490f
cmp dword [ebp - 0x10], 0
je 0x5a48e9
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x74]
call fcn.004570c8
cmp dword [ebp - 0xc], 0
je 0x5a4902
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x78]
call fcn.004570c8
xor eax, eax
mov dword [ebp - 8], eax
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5a5350
mov ecx, 0x5a5568
mov dl, 1
mov eax, dword [0x432ec8]
call fcn.00434afc
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004351e0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 8]
call fcn.00435248
mov dl, 1
mov eax, dword [0x415d44]
call fcn.00421e64
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00421ee0
mov dl, 1
mov eax, dword [0x415d44]
call fcn.00421e64
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00421ee0
xor eax, eax
push ebp
push 0x5a5349
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 8]
call fcn.00435248
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a52ea
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x198]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.0043db24
mov eax, dword [ebp - 0x194]
mov edx, 0x5a544c
call fcn.00459520
je 0x5a52de
lea ecx, [ebp - 0x19c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a52de
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
push 0x5a5580
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1a0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 8]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x190], 0
je 0x5a4fb6
mov edx, dword [ebp - 0x20]
mov eax, 0x5a54f8
call fcn.004598a0
test eax, eax
jle 0x5a4fb6
mov eax, dword [ebp - 0x20]
mov edx, 0x5a54f8
call fcn.00459520
je 0x5a52d2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
add eax, 0xc8
mov ecx, 1
mov edx, dword [sym.DatCutter.exe___xp_21Smaskdata_TsMaskArray]
call fcn.0045a864
add esp, 4
lea ecx, [ebp - 0x1ac]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1ac]
lea edx, [ebp - 0x1a8]
call fcn.0043db24
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 - 0x30]
call fcn.00458e38
lea ecx, [ebp - 0x1b4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1b4]
lea edx, [ebp - 0x1b0]
call fcn.0043db24
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 - 0x34]
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*8 - 0x10], ecx
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1bc]
mov edx, dword [ebp - 0x20]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x1bc]
mov ecx, 0x5a54fc
mov eax, 2
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x24]
call fcn.00459064
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 4
call fcn.0059b74c
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 3
call fcn.0059b74c
push eax
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 2
call fcn.0059b74c
push eax
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 1
call fcn.0059b74c
pop edx
pop ecx
call fcn.0041c16c
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea esi, [ebp - 0xa0]
lea edi, [edx + eax*8 - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1c4]
mov edx, dword [ebp - 0x20]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x1c4]
mov ecx, 0x5a54fc
mov eax, 3
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x24]
call fcn.00459064
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 1
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0x1c], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 - 0x1c], 1
jge 0x5a4cd8
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x1c], 1
mov ecx, 0x5a551c
mov edx, dword [ebp - 0x24]
mov eax, 2
call fcn.0059b74c
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0x1a], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 - 0x1a], 0
jge 0x5a4d37
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x1a], 0
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x1cc]
mov edx, dword [ebp - 0x24]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x1cc]
mov ecx, 0x5a551c
mov eax, 3
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x28]
call fcn.00459064
cmp dword [ebp - 0x28], 0
je 0x5a4dd1
mov eax, dword [ebp - 0x28]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0x18], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
cmp word [edx + eax*8 - 0x18], 0
jge 0x5a4deb
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x18], 0
jmp 0x5a4deb
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x18], 0
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1d4]
mov edx, dword [ebp - 0x24]
mov ecx, 0
call fcn.0045908c
mov edx, dword [ebp - 0x1d4]
mov ecx, 0x5a551c
mov eax, 4
call sym.DatCutter.exe__Acntutils_ExtractWord_qqrix27System__AnsiStringT_us_i0__rx29System__Set_tc_iuc_0_iuc_255_
mov edx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x28]
call fcn.00459064
cmp dword [ebp - 0x28], 0
je 0x5a4e50
mov eax, dword [ebp - 0x28]
call fcn.0043eba0
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 0x16], ax
jmp 0x5a4e6a
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov word [edx + eax*8 - 0x16], 1
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movsx eax, word [eax + 0x2c]
mov edx, dword [ebp - 0x58]
movsx edx, word [edx + 0x2e]
add eax, edx
mov edx, dword [ebp - 0x58]
movsx edx, word [edx + 0x30]
add eax, edx
mov edx, dword [ebp - 0x58]
movsx edx, word [edx + 0x32]
add eax, edx
test eax, eax
jne 0x5a4f7a
mov eax, dword [ebp - 0x58]
cmp word [eax + 0x20], 0
je 0x5a4ef5
mov eax, dword [ebp - 0x58]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x58]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x58]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x58]
mov word [edx + 0x2e], ax
mov eax, dword [ebp - 0x58]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x58]
mov word [edx + 0x30], ax
mov eax, dword [ebp - 0x58]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 0x58]
mov word [edx + 0x32], ax
jmp 0x5a4f7a
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x2c]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x58]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x58]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x2c]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x58]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x58]
mov word [edx + 0x2e], ax
mov eax, dword [ebp - 0x58]
mov ax, word [eax + 0x2c]
mov edx, dword [ebp - 0x58]
mov word [edx + 0x30], ax
mov eax, dword [ebp - 0x58]
mov ax, word [eax + 0x2e]
mov edx, dword [ebp - 0x58]
mov word [edx + 0x32], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 4]
call fcn.0059b878
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov word [ecx + edx*8 - 4], ax
jmp 0x5a52d2
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 0x20]
call fcn.0043deec
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x20]
call fcn.00458e8c
mov edx, dword [ebp - 0x20]
mov eax, 0x5a54bc
call fcn.004598a0
test eax, eax
jle 0x5a52d2
mov edx, dword [ebp - 0x20]
mov eax, 0x5a548c
call fcn.004598a0
dec eax
jge 0x5a500e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
call fcn.0045931c
mov eax, dword [ebp - 0x20]
call fcn.0043f188
test al, al
je 0x5a52d2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
call fcn.0045a69c
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
add eax, 0xc8
mov ecx, 1
mov edx, dword [sym.DatCutter.exe___xp_21Smaskdata_TsMaskArray]
call fcn.0045a864
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x30]
xor edx, edx
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
lea eax, [edx + eax*8 - 0x34]
xor edx, edx
call fcn.00458e38
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [edx + eax*8 - 0x10], ecx
xor eax, eax
push ebp
push 0x5a523e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov edx, dword [ebp - 0x1c]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov dword [ecx + edx*8 - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
call fcn.004abf84
cmp al, 7
je 0x5a51a8
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov dl, 7
call fcn.004ad1e0
push 1
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [edx + eax*8 - 0x38]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
mov eax, dword [ecx + eax*8 - 0x38]
mov cl, 0xff
call sym.DatCutter.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuco
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a5248
lea ecx, [ebp - 0x1e0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1e0]
lea edx, [ebp - 0x1dc]
call fcn.0043db24
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 - 0x30]
call fcn.00458e38
lea ecx, [ebp - 0x1e8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.0043db24
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
shl eax, 3
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc8]
lea eax, [ecx + eax*8 - 0x34]
call fcn.00458e38
ret
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x5a4a39
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5a49c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a5350
cmp dword [ebp - 0x10], 0
je 0x5a5316
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x84]
call fcn.004570c8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x88]
call fcn.004570c8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x8c]
call fcn.004570c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a5410
lea eax, [ebp - 0x1e8]
mov edx, 5
call fcn.00458e30
lea eax, [ebp - 0x1d4]
mov edx, 8
call fcn.004582e0
lea eax, [ebp - 0x1b4]
mov edx, 0xf
call fcn.00458e30
lea eax, [ebp - 0x178]
mov edx, 8
call fcn.004582e0
lea eax, [ebp - 0x158]
mov edx, 4
call fcn.00458e30
lea eax, [ebp - 0x148]
mov edx, 2
call fcn.004582e0
lea eax, [ebp - 0x140]
mov edx, 3
call fcn.00458e30
lea eax, [ebp - 0x134]
mov edx, 2
call fcn.004582e0
lea eax, [ebp - 0x12c]
mov edx, 0x23
call fcn.00458e30
lea eax, [ebp - 0x90]
call fcn.00458e28
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00458e30
ret