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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x100989b5
mov eax, dword [eax + 8]
mov esi, dword [eax]
mov dword [esp + 0x18], esi
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [edi + 0x78]
jne 0x10098454
lea eax, [esp + 0x38]
mov ecx, edi
push eax
push ebx
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncColorSetPickCtrl::GetColorSetLineRect_int__struct_tagRECT__const
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x100989c5
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x100989cf
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e0238]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
sub dword [esp + 0x44], eax
mov ecx, esi
mov eax, dword [esi]
push 0x10006
call dword [eax + 0x2b0]
mov ecx, dword [esp + 0x18]
mov esi, eax
push 0x10006
mov edx, dword [ecx]
call dword [edx + 0x2b0]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push esi
push eax
mov eax, dword [esp + 0x4c]
sub eax, edx
push eax
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push ecx
push dword [eax + 0x1c]
call sym.HncOfficeFramework.dll_void___cdecl_HDraw3dRect_struct_HDC_____int__int__int__int__unsigned_long_int__unsigned_long_int_
add esp, 0x1c
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x100989da
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x100989e4
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 0x100989ef
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x100989f9
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101e02d0]
call fcn.10086240
neg esi
neg eax
sub dword [esp + 0x3c], esi
add dword [esp + 0x44], esi
mov esi, dword [esp + 0x18]
mov ecx, esi
sub dword [esp + 0x38], eax
add dword [esp + 0x40], eax
push 0xd
mov eax, dword [esi]
call dword [eax + 0x2b0]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x1c]
call sym.HncOfficeFramework.dll_void___cdecl_HFillSolidRect_struct_HDC_____struct_tagRECT_const___unsigned_long_int_
add esp, 0xc
cmp ebx, 0xc
ja 0x100984ac
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edi, dword [edi + 0x24]
mov dword [esp + 0x58], 0
mov esi, dword [eax + 0x28]
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineHeight_void_const
mov ecx, dword [esp + 0x14]
imul eax, ebx
mov dword [esp + 0x5c], eax
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineWidth_void_const
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineHeight_void_const
add eax, dword [esp + 0x5c]
push esi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push edi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
push 0x10
call dword [eax + 0x2b0]
mov ecx, dword [edi + 0x1af4]
xor esi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
jle 0x100987bf
test esi, esi
js 0x10098503
mov ecx, dword [edi + 0x1af4]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp esi, eax
jge 0x10098503
cmp ebx, 0xc
jge 0x10098503
lea eax, [ebx + ebx*4]
lea eax, [esi + eax*2]
lea eax, [eax + eax*4]
mov eax, dword [eax*8 + 0x1023ca40]
mov dword [esp + 0x1c], eax
jmp 0x1009850b
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x28]
mov ecx, edi
push eax
push esi
push ebx
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetCellRect_int__int__struct_tagRECT__
mov ecx, dword [edi + 0x1af4]
mov eax, dword [ecx]
call dword [eax + 0x14]
dec eax
cmp esi, eax
jne 0x100985dd
call dword [sym.imp.HncFoundation.dll__HncLayoutIsR2L_0]
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10098a04
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10098a0e
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e0238]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov ecx, eax
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x58], eax
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10098a19
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10098a23
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101e02d0]
call fcn.10086240
sub dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10098a2e
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10098a38
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e0198]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov edi, eax
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10098a43
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10098a4d
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov esi, dword [esp + 0x28]
neg eax
mov ecx, dword [esp + 0x30]
sub esi, eax
mov edx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x34]
neg edi
mov ebx, dword [esp + 0x24]
sub edx, edi
push ebx
add eax, edi
mov dword [esp + 0x34], ecx
push ebx
mov ebx, dword [esp + 0x18]
sub ecx, esi
mov dword [esp + 0x3c], eax
sub eax, edx
push eax
push ecx
push edx
push esi
push dword [ebx + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edx
call sym.HncOfficeFramework.dll_void___cdecl_HDraw3dRect_struct_HDC_____int__int__int__int__unsigned_long_int__unsigned_long_int_
add esp, 0x1c
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10098a58
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10098a62
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 0x10098a6d
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10098a77
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101e02d0]
call fcn.10086240
push dword [esp + 0x1c]
mov ebx, dword [ebx + 0x1c]
neg eax
sub dword [esp + 0x2c], eax
neg esi
sub dword [esp + 0x30], esi
add dword [esp + 0x34], eax
add dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edx, dword [esp + 0x2c]
sub ecx, edx
mov eax, dword [esp + 0x28]
push 0xf00021
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x44]
sub ecx, eax
push ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
mov ecx, dword [edi + 0x1af4]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ebx, dword [ebp + 0xc]
cmp esi, eax
jl 0x100984d5
test ebx, ebx
js 0x100988a4
cmp ebx, 0xc
jge 0x10098857
imul eax, ebx, 0x208
add eax, 0x8c
add eax, edi
push eax
lea eax, [esp + 0x6c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 0x2b0]
cmp ebx, dword [edi + 0x78]
jne 0x10098806
push 0xe
jmp 0x10098808
push 0x12
call eax
mov ecx, dword [esp + 0x10]
push eax
call dword [sym.imp.HncBaseDraw.dll_public:_unsigned_long_int___thiscall_CHncDrawContext::SetTextColor_unsigned_long_int_]
call dword [sym.imp.HncFoundation.dll__HncLayoutIsR2L_0]
lea ecx, [esp + 0x68]
mov edx, eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10098824
sub ecx, esi
lea eax, [esp + 0x58]
sar ecx, 1
push 1
test edx, edx
je 0x10098841
push 0x26
jmp 0x10098843
push 0x24
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::DrawTextW_unsigned_short_int_const___int__struct_tagRECT__const__unsigned_int__unsigned_int_]
cmp ebx, 0xc
jg 0x100988a4
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edi, dword [edi + 0x24]
mov dword [esp + 0x48], 0
mov esi, dword [eax + 0x28]
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineHeight_void_const
mov ecx, dword [esp + 0x14]
imul eax, ebx
mov dword [esp + 0x4c], eax
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineWidth_void_const
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncColorSetPickCtrl::_GetColorSetLineHeight_void_const
add eax, dword [esp + 0x4c]
push esi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push edi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10098a82
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10098a8c
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e0238]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov ecx, eax
mov eax, dword [esp + 0x54]
sub eax, ecx
add eax, 2
mov dword [esp + 0x4c], eax
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10098a97
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x10098aa1
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e02a0]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov ebx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x48]
sub dword [esp + 0x50], 5
inc eax
add eax, ecx
mov ecx, ebx
mov dword [esp + 0x48], eax
mov eax, dword [ebx]
push 0x14
call dword [eax + 0x2b0]
mov edx, dword [ebx]
mov ecx, ebx
push 0x10
mov esi, eax
call dword [edx + 0x2b0]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push esi
push eax
mov eax, dword [esp + 0x5c]
sub eax, edx
push eax
mov eax, dword [esp + 0x5c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push ecx
push dword [eax + 0x1c]
call sym.HncOfficeFramework.dll_void___cdecl_HDraw3dRect_struct_HDC_____int__int__int__int__unsigned_long_int__unsigned_long_int_
mov ecx, dword [esp + 0x290]
add esp, 0x1c
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 8
mov ecx, eax
call dword [edx + 8]
mov esi, eax
mov dword [esp + 0x18], eax
jmp 0x100982e6
mov ecx, eax
call dword [edx + 8]
jmp 0x10098317
push 4
mov ecx, eax
call edx
jmp 0x10098348
mov ecx, eax
call dword [edx + 8]
jmp 0x100983af
push 1
mov ecx, eax
call edx
jmp 0x100983d8
mov ecx, eax
call dword [edx + 8]
jmp 0x100983f2
push 1
mov ecx, eax
call edx
jmp 0x1009841b
mov ecx, eax
call dword [edx + 8]
jmp 0x1009854b
push 4
mov ecx, eax
call edx
jmp 0x1009857c
mov ecx, eax
call dword [edx + 8]
jmp 0x100985a0
push 1
mov ecx, eax
call edx
jmp 0x100985c9
mov ecx, eax
call dword [edx + 8]
jmp 0x100985f5
push 3
mov ecx, eax
call edx
jmp 0x10098626
mov ecx, eax
call dword [edx + 8]
jmp 0x10098640
push 1
mov ecx, eax
call edx
jmp 0x10098669
mov ecx, eax
call dword [edx + 8]
jmp 0x100986ca
push 1
mov ecx, eax
call edx
jmp 0x100986f3
mov ecx, eax
call dword [edx + 8]
jmp 0x1009870d
push 1
mov ecx, eax
call edx
jmp 0x10098736
mov ecx, eax
call dword [edx + 8]
jmp 0x100988bc
push 4
mov ecx, eax
call edx
jmp 0x100988ed
mov ecx, eax
call dword [edx + 8]
jmp 0x10098914
push 0x14
mov ecx, eax
call edx
jmp 0x10098945