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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], ebx
mov esi, ecx
lea edi, [ebp - 0xbc]
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 dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5d2047
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x50], eax
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0xcc]
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 - 0x14]
mov eax, dword [eax + 0x58]
call sym.DatCutter.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xd4], 0
je 0x5d201e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xd4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx]
mov edx, dword [edx + 8]
call fcn.00458e8c
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x14], 0
je 0x5d17f9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x5d1813
mov dl, 1
mov eax, dword [0x4a1ef4]
call fcn.004ab564
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x40], 0
jl 0x5d188e
mov eax, dword [ebp - 0x18]
call sym.DatCutter.exe__Actitlebar_TacTitleBarItem_GetState_qqrv
mov dword [ebp - 0x64], eax
imul eax, dword [ebp - 0x40], 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
mov eax, dword [edx + eax*4 + 8]
dec eax
dec eax
jge 0x5d1869
imul eax, dword [ebp - 0x40], 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
mov eax, dword [edx + eax*4 + 8]
dec eax
mov dword [ebp - 0x60], eax
jmp 0x5d1870
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x60]
jge 0x5d1880
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
jmp 0x5d1886
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
jmp 0x5d1893
xor eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
xor edx, edx
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
jne 0x5d18c2
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x18]
call fcn.004a4890
jmp 0x5d18f6
cmp dword [ebp - 0x40], 0
jl 0x5d18f6
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
imul edx, dword [ebp - 0x40], 0x43
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0xd0]
lea edx, [ecx + edx*4]
mov ecx, dword [ebp - 0x44]
mov ebx, ecx
shl ecx, 3
sub ecx, ebx
mov edx, dword [edx + ecx*8 + 0x10]
call fcn.004a4890
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov edx, 1
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
jne 0x5d1936
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 4]
call fcn.004a4b60
mov eax, dword [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
pop edx
call fcn.004a4bb4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov edx, 2
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
jne 0x5d1964
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x3c], eax
jmp 0x5d19b9
cmp dword [ebp - 0x40], 0
jl 0x5d19af
imul eax, dword [ebp - 0x40], 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x44]
mov ecx, edx
shl edx, 3
sub edx, ecx
movzx eax, byte [eax + edx*8 + 0x3c]
mov dword [ebp - 0x38], eax
imul eax, dword [ebp - 0x40], 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x44]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov eax, dword [eax + edx*8 + 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x5d19b9
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov edx, 3
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
jne 0x5d19ec
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
call fcn.004a4b2c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov edx, 4
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
jne 0x5d1a25
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov al, byte [eax + 0x1d]
mov byte [ebp - 0x69], al
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
mov dl, byte [ebp - 0x69]
call fcn.004a4c58
mov eax, dword [sym.DatCutter.exe__Sconst_ac_UseSysCharSet]
cmp byte [eax], 0
je 0x5d1a4a
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
push eax
call fcn.004aee58
mov edx, eax
pop eax
call fcn.004a4ce0
jmp 0x5d1a6d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x64]
call fcn.004a4cd8
push eax
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
pop edx
call fcn.004a4ce0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebp + 0xc]
je 0x5d1a8d
push 0
xor ecx, ecx
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x24]
call sym.DatCutter.exe__Salphagraph_FillRect32_qqrpx16Graphics_TBitmaprx11Types_TRect15Graphics_TColoruc
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x30]
sub al, 1
jb 0x5d1e21
je 0x5d1aaa
dec al
je 0x5d1c4d
jmp 0x5d1fd8
cmp dword [ebp - 0x40], 0
jge 0x5d1be4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb0]
add eax, 0x6c
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
sub eax, 2
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x54]
jle 0x5d1aea
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc8]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, 3
cdq
idiv ecx
mov ebx, eax
mov eax, dword [ebp - 0x18]
call sym.DatCutter.exe__Actitlebar_TacTitleBarItem_GetState_qqrv
imul ebx, eax
mov dword [ebp - 0xdc], ebx
xor eax, eax
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, 3
cdq
idiv ecx
add eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xdc]
push eax
push 4
lea eax, [ebp - 0x12c]
push eax
mov ecx, 8
mov edx, 2
mov eax, 8
call fcn.004376b0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb0]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 0x24]
call sym.DatCutter.exe__Actitlebar_PaintItemNoAlpha_qqrpx16Graphics_TBitmapt1rx11Types_TRectt3t3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
xor edx, edx
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
je 0x5d1bb9
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
mov edx, 0xffffff
call fcn.004a4890
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov edx, 2
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
je 0x5d1fe5
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x3c], 0xe5a8d
jmp 0x5d1fe5
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x44]
xor ecx, ecx
xor edx, edx
call sym.DatCutter.exe__Acntutils_MakeCacheInfo_qqrp16Graphics_TBitmapii
mov eax, dword [ebp - 0x18]
call sym.DatCutter.exe__Actitlebar_TacTitleBarItem_GetState_qqrv
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x70], eax
push ebp
push 1
mov eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
call fcn.005d15f4
pop ecx
jmp 0x5d1fe5
mov eax, dword [ebp - 0x18]
call sym.DatCutter.exe__Actitlebar_TacTitleBarItem_GetState_qqrv
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x5d1c66
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
jmp 0x5d1c6d
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb0]
add eax, 0x6c
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
sub eax, 2
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x54]
jle 0x5d1ca9
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0x40], 0
jl 0x5d1de3
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x70], 0
jne 0x5d1cde
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xcc]
push eax
call sub.USER32.DLL_InflateRect
lea eax, [ebp - 0xcc]
mov ecx, 1
xor edx, edx
call fcn.00437804
lea eax, [ebp - 0x104]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp + 0xc]
call sym.DatCutter.exe__Acntutils_MakeCacheInfo_qqrp16Graphics_TBitmapii
mov eax, dword [ebp - 0x18]
call sym.DatCutter.exe__Actitlebar_TacTitleBarItem_GetState_qqrv
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x84], eax
push ebp
push 1
mov eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 1
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov edx, dword [eax + 8]
lea ecx, [ebp - 0x104]
mov eax, dword [ebp - 0x40]
call fcn.005d15f4
pop ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov edx, 2
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
je 0x5d1de3
cmp dword [ebp - 0x44], 1
jge 0x5d1d75
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], eax
jmp 0x5d1d7f
mov dword [ebp - 0x90], 1
imul eax, dword [ebp - 0x40], 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x90]
mov ecx, edx
shl edx, 3
sub edx, ecx
movzx eax, byte [eax + edx*8 + 0x3c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x44], 1
jge 0x5d1db5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x94], eax
jmp 0x5d1dbf
mov dword [ebp - 0x94], 1
imul eax, dword [ebp - 0x40], 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x94]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov eax, dword [eax + edx*8 + 0x38]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xcc]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x18]
sub eax, dword [edx + 0xa8]
dec eax
sar eax, 1
jns 0x5d1e01
adc eax, 0
add dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xa8]
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], eax
jmp 0x5d1fe5
lea eax, [ebp - 0x118]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp + 0xc]
call sym.DatCutter.exe__Acntutils_MakeCacheInfo_qqrp16Graphics_TBitmapii
mov eax, dword [ebp - 0x18]
call sym.DatCutter.exe__Actitlebar_TacTitleBarItem_GetState_qqrv
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x98], eax
push ebp
push 1
mov eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov edx, dword [eax + 8]
lea ecx, [ebp - 0x118]
mov eax, dword [ebp - 0x40]
call fcn.005d15f4
pop ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xb0], 0
jne 0x5d1fe5
mov eax, dword [ebp - 0x18]
call sym.DatCutter.exe__Actitlebar_TacTitleBarItem_GetState_qqrv
test eax, eax
jne 0x5d1fe5
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x244]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
xor edx, edx
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
je 0x5d1f26
cmp dword [ebp - 0x44], 1
jge 0x5d1ee2
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa4], eax
jmp 0x5d1eec
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sskinprovider_TsSkinProvider_TitleSkinIndex_qqrv
imul eax, eax, 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0xa4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov eax, dword [eax + edx*8 + 0x10]
push eax
mov eax, dword [ebp - 0x24]
call fcn.004abe84
mov eax, dword [eax + 0x40]
pop edx
call fcn.004a4890
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov edx, 2
call sym.DatCutter.exe__Actitlebar_TacFontData_GetBool_qqrxi
test al, al
je 0x5d1fcb
cmp dword [ebp - 0x44], 1
jge 0x5d1f4f
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa8], eax
jmp 0x5d1f59
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sskinprovider_TsSkinProvider_TitleSkinIndex_qqrv
imul eax, eax, 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0xa8]
mov ecx, edx
shl edx, 3
sub edx, ecx
movzx eax, byte [eax + edx*8 + 0x3c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x44], 1
jge 0x5d1f96
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xac], eax
jmp 0x5d1fa0
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sskinprovider_TsSkinProvider_TitleSkinIndex_qqrv
imul eax, eax, 0x43
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 0xd0]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0xac]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov eax, dword [eax + edx*8 + 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
call sym.DatCutter.exe__Sskinprovider_TsSkinProvider_TitleSkinIndex_qqrv
mov dword [ebp - 0x40], eax
jmp 0x5d1fe5
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x244]
mov dword [ebp - 0x44], eax
push ebp
lea eax, [ebp - 0xcc]
call fcn.005d0fc4
pop ecx
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x14], 0
jne 0x5d201e
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xbc]
push eax
mov cl, 0x80
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
call sym.DatCutter.exe__Sgraphutils_SumBmpRect_qqrpx16Graphics_TBitmapt1xucrx11Types_TRectrx12Types_TPoint
mov eax, dword [ebp - 0x24]
call fcn.004570c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d204e
lea eax, [ebp - 0x11c]
call fcn.00458e28
lea eax, [ebp - 0x4c]
call fcn.00458e28
lea eax, [ebp - 0x2c]
call fcn.00458e28
ret