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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [sym.DatCutter.exe__Sbutton_TsButton_]
call fcn.004572e4
test al, al
je 0x5fa48c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2a4]
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sbutton_TsButton_GlyphIndex_qqrv
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2c8]
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sbutton_TsButton_GlyphRect_qqrv
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
mov byte [ebp - 0x31], al
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sbutton_TsButton_CurrentState_qqrv
cmp eax, 2
sete byte [ebp - 0x39]
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sbutton_TsButton_CurrentState_qqrv
mov dword [ebp - 0x40], eax
mov al, byte [0x5fafd8]
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x301]
mov byte [ebp - 0x42], al
jmp 0x5fa5ff
mov eax, dword [ebp - 0x14]
mov edx, dword [sym.DatCutter.exe__Sbitbtn_TsBitBtn_]
call fcn.004572e4
test al, al
je 0x5fa546
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x31c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
call fcn.00466d68
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x318]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2e4]
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sbitbtn_TsBitBtn_ImgRect_qqrv
mov eax, dword [ebp - 0x14]
call fcn.00467078
and eax, 0x7f
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x310]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sbitbtn_TsBitBtn_GetDown_qqrv
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x30d]
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x100]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x30c]
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x344]
mov byte [ebp - 0x42], al
jmp 0x5fa5ff
mov eax, dword [ebp - 0x14]
mov edx, dword [sym.DatCutter.exe__Sspeedbutton_TsSpeedButton_]
call fcn.004572e4
test al, al
je 0x5fafce
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
call fcn.0046603c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x208]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1e0]
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebp - 0x14]
call fcn.00466064
and eax, 0x7f
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x200]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x1b8]
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x1fd]
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xc4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x1fc]
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x232]
mov byte [ebp - 0x42], al
xor edx, edx
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Scommondata_TsCommonData_Skinned_qqro
test al, al
je 0x5fa656
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov eax, dword [eax + 0xd0]
mov edx, dword [ebp - 0x2c]
imul edx, dword [edx + 0x28], 0x43
mov edx, dword [eax + edx*4 + 0xa0]
cmp dword [ebp - 0x40], 0
sete al
and al, byte [ebp - 0x41]
jne 0x5fa645
cmp byte [ebp - 0x31], 0
jne 0x5fa641
test byte [ebp - 0x32], 2
jne 0x5fa645
xor eax, eax
jmp 0x5fa647
mov al, 1
mov ecx, 0x1fffffff
call sym.DatCutter.exe__Acntutils_iffi_qqroii
mov dword [ebp - 0x48], eax
jmp 0x5fa68d
mov eax, 0xff00000f
call fcn.004a41ac
mov edx, eax
cmp dword [ebp - 0x40], 0
sete al
and al, byte [ebp - 0x41]
jne 0x5fa67e
cmp byte [ebp - 0x31], 0
jne 0x5fa67a
test byte [ebp - 0x32], 2
jne 0x5fa67e
xor eax, eax
jmp 0x5fa680
mov al, 1
mov ecx, 0x1fffffff
call sym.DatCutter.exe__Acntutils_iffi_qqroii
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x18], 0
jne 0x5fa6a1
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 0
je 0x5fabe9
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x5fabe9
mov eax, dword [ebp - 0x20]
call fcn.004abf84
test al, al
je 0x5fa6eb
cmp byte [ebp - 0x31], 0
je 0x5fa6eb
mov eax, dword [sym.DatCutter.exe__Sconst_ac_CheckEmptyAlpha]
cmp byte [eax], 0
je 0x5fa7af
mov eax, dword [ebp - 0x20]
call fcn.004abf84
cmp al, 7
jne 0x5fa7af
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x70]
test eax, eax
je 0x5fa7a0
mov eax, dword [ebp - 0x20]
call fcn.004abf84
cmp al, 7
jne 0x5fa7a0
mov byte [ebp - 0x4d], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x5fa790
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
call fcn.004ac008
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
test eax, eax
jl 0x5fa788
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
cmp byte [eax + edx*4 + 3], 0
je 0x5fa780
mov byte [ebp - 0x4d], 1
jmp 0x5fa788
inc dword [ebp - 0x24]
dec dword [ebp - 0x60]
jne 0x5fa76d
inc dword [ebp - 0x28]
dec dword [ebp - 0x5c]
jne 0x5fa747
cmp byte [ebp - 0x4d], 0
jne 0x5fa7a0
mov dl, 6
mov eax, dword [ebp - 0x20]
call fcn.004ad1e0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x20]
call fcn.004abf84
cmp al, 7
jne 0x5faad9
lea eax, [ebp - 0xb8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x30]
dec eax
cmp eax, dword [ebp - 0x40]
jle 0x5fa7e0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
jmp 0x5fa7e7
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x68]
imul dword [ebp - 0x64]
mov dword [ebp - 0xc8], eax
xor eax, eax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xb8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
cmp eax, dword [ebp - 0x18]
jne 0x5fa87c
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x70]
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [sym.DatCutter.exe__Sconst_EmptyCI]
push eax
push 0
mov eax, dword [ebp - 0x48]
push eax
cmp dword [ebp - 0x40], 0
sete al
xor ecx, ecx
mov edx, dword [ebp - 0x38]
call sym.DatCutter.exe__Acntutils_iffi_qqroii
push eax
mov al, byte [ebp - 0x42]
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x44]
lea edx, [ebp - 0xc8]
lea eax, [ebp - 0xb8]
call sym.DatCutter.exe__Sgraphutils_CopyBmp32_qqrrx11Types_TRectt1px16Graphics_TBitmapt3rx17Sconst_TCacheInfoxox15Graphics_TColorxixo
jmp 0x5fafce
mov dl, 1
mov eax, dword [sym.DatCutter.exe__Acpng_TPNGGraphic_]
call sym.DatCutter.exe__Acpng_TPNGGraphic__bctr_qqrv
mov dword [ebp - 0x1c], eax
mov dl, 7
mov eax, dword [ebp - 0x1c]
call fcn.004ad1e0
lea eax, [ebp - 0xb8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0xb8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xcc0020
mov eax, dword [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x42]
mov byte [eax + 0xa8], dl
cmp byte [ebp - 0x31], 0
jne 0x5fa940
test byte [ebp - 0x32], 1
je 0x5fa940
cmp dword [ebp - 0x38], 0x32
jge 0x5fa934
mov dword [ebp - 0x6c], 0x32
jmp 0x5fa93a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x40], 0
jne 0x5fa9ba
cmp dword [ebp - 0x38], 0
je 0x5fa9ba
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x5fa9ba
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.004ac008
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
test eax, eax
jl 0x5fa9b2
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4 + 3]
imul dword [ebp - 0x38]
mov ecx, 0x64
cdq
idiv ecx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x24]
mov byte [edx + ecx*4 + 3], al
inc dword [ebp - 0x24]
dec dword [ebp - 0x60]
jne 0x5fa98a
inc dword [ebp - 0x28]
dec dword [ebp - 0x5c]
jne 0x5fa964
cmp byte [ebp - 0x31], 0
jne 0x5fa9c6
test byte [ebp - 0x32], 2
jne 0x5fa9d2
cmp dword [ebp - 0x40], 0
sete al
and al, byte [ebp - 0x41]
je 0x5fa9da
mov eax, dword [ebp - 0x1c]
call sym.DatCutter.exe__Sgraphutils_GrayScale_qqrp16Graphics_TBitmap
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
cmp eax, dword [ebp - 0x18]
jne 0x5faa0f
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb8]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x5faac1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
call sym.DatCutter.exe__Sgraphutils_CreateBmp32_qqrxixi
mov dword [ebp - 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004abe84
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb8]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 4]
mov dword [ebp - 0x70], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x70]
call fcn.004570c8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x74]
call fcn.004570c8
jmp 0x5fafce
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
call fcn.004abe84
cmp eax, dword [ebp - 0x18]
je 0x5fabb4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
call sym.DatCutter.exe__Sgraphutils_CreateBmp32_qqrxixi
mov dword [ebp - 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x30]
push eax
mov al, byte [ebp - 0x31]
push eax
mov al, byte [ebp - 0x32]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov al, byte [ebp - 0x39]
push eax
mov al, byte [ebp - 0x42]
push eax
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
call sym.DatCutter.exe__Sgraphutils_DrawGlyphEx_qqrp16Graphics_TBitmapt1rx11Types_TRectio44System__Set_t16Sconst_Sconst__3_iuc_0_iuc_1_
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 4]
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x78]
call fcn.004570c8
jmp 0x5fafce
mov eax, dword [ebp - 0x30]
push eax
mov al, byte [ebp - 0x31]
push eax
mov al, byte [ebp - 0x32]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov al, byte [ebp - 0x39]
push eax
mov al, byte [ebp - 0x42]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x44]
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0x20]
call sym.DatCutter.exe__Sgraphutils_DrawGlyphEx_qqrp16Graphics_TBitmapt1rx11Types_TRectio44System__Set_t16Sconst_Sconst__3_iuc_0_iuc_1_
jmp 0x5fafce
cmp dword [ebp - 8], 0
je 0x5fafce
cmp dword [ebp - 0x10], 0xffffffff
jle 0x5fafce
mov eax, dword [ebp - 8]
call sym.DatCutter.exe__Sthirdparty_GetImageCount_qqrp24Imglist_TCustomImageList
cmp eax, dword [ebp - 0x10]
jle 0x5fafce
lea esi, [ebp - 0xb8]
lea edi, [ebp - 0xa8]
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 - 8]
mov edx, dword [sym.DatCutter.exe__Acalphaimagelist_TsAlphaImageList_]
call fcn.004572e4
test al, al
je 0x5fad8f
xor edx, edx
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Scommondata_TsCommonData_Skinned_qqro
test al, al
je 0x5facde
cmp dword [ebp - 0x40], 0
sete al
xor ecx, ecx
mov edx, dword [ebp - 0x38]
call sym.DatCutter.exe__Acntutils_iffi_qqroii
mov dword [ebp - 0x7c], eax
cmp byte [ebp - 0x31], 0
jne 0x5fac66
test byte [ebp - 0x32], 1
jne 0x5fac6a
xor eax, eax
jmp 0x5fac6c
mov al, 1
xor ecx, ecx
mov edx, 0x32
call sym.DatCutter.exe__Acntutils_iffi_qqroii
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
jle 0x5fac8e
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
jmp 0x5fac97
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x48]
push eax
xor eax, eax
mov al, byte [ebp - 0x39]
add eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov al, byte [ebp - 0x42]
push eax
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x44]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 8]
call sym.DatCutter.exe__Acalphaimagelist_DrawAlphaImgList_qqrpx24Imglist_TCustomImageListpx16Graphics_TBitmapxixixixix15Graphics_TColor
jmp 0x5fafce
mov eax, dword [ebp - 0x18]
call fcn.004a65ec
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x40], 0
sete al
xor ecx, ecx
mov edx, dword [ebp - 0x38]
call sym.DatCutter.exe__Acntutils_iffi_qqroii
mov dword [ebp - 0x88], eax
cmp byte [ebp - 0x31], 0
jne 0x5fad0f
test byte [ebp - 0x32], 1
jne 0x5fad13
xor eax, eax
jmp 0x5fad15
mov al, 1
xor ecx, ecx
mov edx, 0x32
call sym.DatCutter.exe__Acntutils_iffi_qqroii
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x8c]
jle 0x5fad43
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
jmp 0x5fad4f
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x48]
push eax
xor eax, eax
mov al, byte [ebp - 0x39]
add eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov al, byte [ebp - 0x42]
push eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 8]
call sym.DatCutter.exe__Acalphaimagelist_DrawAlphaImgListDC_qqrpx24Imglist_TCustomImageListxp5HDC__xixixixix15Graphics_TColorxixixo
jmp 0x5fafce
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5fafc7
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.005fa304
pop ecx
xor edx, edx
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Scommondata_TsCommonData_Skinned_qqro
test al, al
je 0x5faf40
cmp byte [ebp - 0x31], 0
jne 0x5fae7a
test byte [ebp - 0x32], 2
je 0x5fadfa
mov eax, dword [ebp - 4]
call fcn.004abe84
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Sgraphutils_GrayScaleTrans_qqrp16Graphics_TBitmapx14Sconst_TsColor
test byte [ebp - 0x32], 1
je 0x5fae56
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
lea eax, [ebp - 0xe4]
push eax
push 0x3fe00000
push 0
push 0xff00ff
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
call sym.DatCutter.exe__Sgraphutils_BlendTransRectangle_qqrp16Graphics_TBitmapiit1rx11Types_TRectd15Graphics_TColor
jmp 0x5fafa0
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 4]
call sym.DatCutter.exe__Sgraphutils_CopyTransBitmaps_qqrp16Graphics_TBitmapt1ii14Sconst_TsColor
jmp 0x5fafa0
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Scommondata_ControlIsActive_qqrp24Scommondata_TsCommonData
xor al, 1
and al, byte [ebp - 0x41]
je 0x5faeae
mov eax, dword [ebp - 4]
call fcn.004abe84
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Sgraphutils_GrayScaleTrans_qqrp16Graphics_TBitmapx14Sconst_TsColor
mov eax, dword [ebp - 0x2c]
call sym.DatCutter.exe__Scommondata_ControlIsActive_qqrp24Scommondata_TsCommonData
test al, al
jne 0x5faf1f
cmp dword [ebp - 0x38], 0
jle 0x5faf1f
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
lea eax, [ebp - 0xe4]
push eax
fild dword [ebp - 0x38]
fdiv dword [0x5fafdc]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0xff00ff
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
call sym.DatCutter.exe__Sgraphutils_BlendTransRectangle_qqrp16Graphics_TBitmapiit1rx11Types_TRectd15Graphics_TColor
jmp 0x5fafa0
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 4]
call sym.DatCutter.exe__Sgraphutils_CopyTransBitmaps_qqrp16Graphics_TBitmapt1ii14Sconst_TsColor
jmp 0x5fafa0
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0xff00ff
mov eax, dword [ebp - 4]
call fcn.004ad348
cmp byte [ebp - 0x31], 0
jne 0x5faf88
test byte [ebp - 0x32], 2
je 0x5faf88
mov eax, dword [ebp - 4]
call fcn.004abe84
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Sgraphutils_GrayScaleTrans_qqrp16Graphics_TBitmapx14Sconst_TsColor
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fafce
mov eax, dword [ebp - 4]
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x98]
call fcn.004570c8
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret