Function at 0x5f9d98
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x5fa237
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b45a8]
call fcn.004bad10
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [eax + 0xc], 0xffffff9e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], sym.DatCutter.exe__Acglow_TacGlowEffect_NewWndProc_qqrr17Messages_TMessage
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [0x5fa240]
not edx
and edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x50], edx
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bcc78
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bbd4c
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthLeft_qqri
add ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthRight_qqri
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, eax
sub ebx, eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthTop_qqri
add ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthBottom_qqri
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, eax
sub ebx, eax
mov dword [ebp - 0x18], ebx
mov byte [0x6b65be], 0xff
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
cmp eax, dword [ebp - 0x28]
jne 0x5f9f01
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
cmp eax, dword [ebp - 0x2c]
je 0x5fa0a1
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x5f9f2a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthLeft_qqri
mov edx, dword [ebp - 0x10]
add eax, dword [edx]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
jmp 0x5f9f2f
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x5f9f5a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthLeft_qqri
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 4]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x38], eax
jmp 0x5f9f5f
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 8]
je 0x5f9fb2
cmp dword [ebp - 0x30], 0
jne 0x5f9fa4
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov ebx, eax
sub ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthRight_qqri
add ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0xc]
mov dword [ebp - 0x34], ebx
jmp 0x5f9fb7
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
jmp 0x5f9fb7
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0xc]
je 0x5fa00a
cmp dword [ebp - 0x38], 0
jne 0x5f9ffc
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov ebx, eax
sub ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthBottom_qqri
add ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0xc]
mov dword [ebp - 0x3c], ebx
jmp 0x5fa00f
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
jmp 0x5fa00f
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x30], 0
jne 0x5fa033
cmp dword [ebp - 0x38], 0
je 0x5fa0ab
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call sym.DatCutter.exe__Sgraphutils_CreateBmp32_qqrxixi
mov dword [ebp - 0x40], eax
push 0xcc0020
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
call fcn.004570c8
jmp 0x5fa0ab
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004e674c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004e6780
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.USER32.DLL_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x5fa0f0
mov dl, 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bd098
mov dword [ebp - 0x44], 0xffffffff
jmp 0x5fa0fe
push 3
mov eax, dword [ebp + 8]
push eax
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x5fa10a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004f0054
push eax
call sub.USER32.DLL_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004f0054
push eax
call sub.USER32.DLL_SetWindowLongW
push 0x611
push 0
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthTop_qqri
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
sub edx, eax
mov eax, dword [ebp - 4]
add edx, dword [eax + 0xc]
add edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call sym.DatCutter.exe__Sskinmanager_TsSkinManager_MaskWidthLeft_qqri
mov edx, dword [ebp - 8]
mov edx, dword [edx]
sub edx, eax
mov eax, dword [ebp - 4]
add edx, dword [eax + 0xc]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004f0054
push eax
call sub.USER32.DLL_SetWindowPos
lea ecx, [ebp - 0x24]
xor edx, edx
xor eax, eax
call fcn.0041c13c
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x14], eax
push 2
push 0x6b65bc
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004abe84
call fcn.004a65ec
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004f0054
push eax
mov eax, dword [sym.DatCutter.exe__Sgraphutils_UpdateLayeredWindow]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004f0054
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 0x14]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebp - 4]
add eax, 0x14
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x50]
call fcn.004570c8
pop ebx
mov esp, ebp
pop ebp
ret 8