Function at 0x100976f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x1c], edi
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10097a32
mov eax, dword [eax + 8]
mov esi, dword [eax]
mov edx, dword [esi]
mov ecx, esi
push 0x10
call dword [edx + 0x2b0]
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 0x2b0]
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [ebx + 0x74]
mov ecx, esi
jne 0x1009774e
push 0xe
jmp 0x10097750
push 0x12
call edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x10], eax
cmp eax, 0xc
ja 0x100977ab
mov edi, dword [ebx + 0x24]
mov ecx, ebx
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x24], 0
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineHeight_void_const
imul eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [esp + 0x28], eax
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineWidth_void_const
mov ecx, ebx
mov dword [esp + 0x2c], eax
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineHeight_void_const
add eax, dword [esp + 0x28]
push esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push edi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [esp + 0x1c]
call dword [sym.imp.HncFoundation.dll__HncLayoutIsR2L_0]
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10097a3e
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10097a48
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101e02d0]
call fcn.10086240
add dword [esp + 0x24], eax
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10097a53
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10097a5d
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e02a0]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov ecx, eax
mov eax, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x2c], eax
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10097a68
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10097a72
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov esi, eax
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10097a7d
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10097a87
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm0
divss xmm0, dword [0x101e02d0]
call fcn.10086240
lea ecx, [eax + esi]
mov eax, dword [esp + 0x28]
dec eax
add eax, ecx
mov dword [esp + 0x28], eax
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10097a92
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10097a9c
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e02a0]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov esi, dword [esp + 0x28]
add eax, esi
mov ecx, dword [esp + 0x2c]
add eax, 0xfffffffe
mov edx, dword [esp + 0x24]
add esi, 2
mov ebx, dword [esp + 0x14]
add edx, 2
push ebx
push ebx
sub ecx, 2
mov dword [esp + 0x38], eax
sub eax, esi
mov dword [esp + 0x34], ecx
push eax
sub ecx, edx
mov dword [esp + 0x30], edx
push ecx
push esi
push edx
push dword [edi + 0x1c]
mov dword [esp + 0x44], esi
call sym.HncOfficeFramework.dll_void___cdecl_HDraw3dRect_struct_HDC_____int__int__int__int__unsigned_long_int__unsigned_long_int_
mov eax, dword [esp + 0x48]
add esp, 0x1c
sub eax, dword [esp + 0x24]
cdq
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
and edx, 3
add eax, edx
sar eax, 2
add eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
nop word [eax + eax]
push dword [esp + 0x18]
mov ebx, dword [edi + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebx
call esi
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, 4
push 0xf00021
push 0
push 0
push 0
sub ecx, edx
cmp edx, 2
push 2
cmovle ecx, edx
dec eax
push 1
add eax, ecx
push eax
mov eax, dword [esp + 0x3c]
add eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 7
jl 0x100979b0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
mov ecx, eax
call dword [edx + 8]
mov esi, eax
jmp 0x10097728
mov ecx, eax
call dword [edx + 8]
jmp 0x100977c9
push 1
mov ecx, eax
call edx
jmp 0x100977f2
mov ecx, eax
call dword [edx + 8]
jmp 0x1009780e
push 0x14
mov ecx, eax
call edx
jmp 0x1009783f
mov ecx, eax
call dword [edx + 8]
jmp 0x10097863
push 1
mov ecx, eax
call edx
jmp 0x1009788c
mov ecx, eax
call dword [edx + 8]
jmp 0x100978a6
push 2
mov ecx, eax
call edx
jmp 0x100978d3
mov ecx, eax
call dword [edx + 8]
jmp 0x100978f9
push 0x14
mov ecx, eax
call edx
jmp 0x1009792a