Function at 0x100cb000
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x278
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x274], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x4c], esi
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea eax, [esp + 0x80]
push eax
call sym.HncOfficeFramework.dll_void___cdecl_RemoveAmp3DotChar_unsigned_short_int__
mov eax, dword [ebp + 0x14]
add esp, 0x14
mov edx, dword [esi]
mov ecx, eax
and ecx, 0x11000000
mov dword [esp + 0xc], ecx
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x20], ecx
mov ecx, esi
je 0x100cb07f
mov eax, dword [edx + 0x2b0]
push 0x11
call eax
jmp 0x100cb099
mov edx, dword [edx + 0x2b0]
and eax, 0x10020000
cmp eax, 0x10020000
jne 0x100cb095
push 0xe
jmp 0x100cb097
push 7
call edx
movups xmm0, xmmword [edi]
mov ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
movd eax, xmm0
movaps xmmword [esp + 0x34], xmm0
add dword [esp + 0x38], 4
sub dword [esp + 0x3c], 4
add eax, 4
sub dword [esp + 0x40], 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.HncBaseDraw.dll_public:_unsigned_long_int___thiscall_CHncDrawContext::SetTextColor_unsigned_long_int_]
lea ecx, [esp + 0x70]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cb0d3
sub ecx, edx
sar ecx, 1
je 0x100cb300
mov eax, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [esp + 0x30]
push 0x1002b
movaps xmmword [esp + 0x64], xmm0
mov eax, dword [eax + 0x340]
call eax
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, dword [esi + 0x10]
imul ecx
lea ecx, [esp + 0x48]
sar edx, 5
mov eax, edx
shr eax, 0x1f
push ecx
add edx, eax
lea ecx, [esp + 0x74]
call fcn.100cb500
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x64]
add esp, 4
push eax
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
push eax
test ecx, ecx
jne 0x100cb147
mov edx, dword [esp + 0x54]
jmp 0x100cb152
cmp dword [esp + 0x54], ecx
mov edx, ecx
cmovg edx, dword [esp + 0x54]
lea ecx, [esp + 0x68]
call fcn.100177a0
mov edx, dword [esp + 0x50]
add esp, 8
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cb167
push 1
push 0x21
sub ecx, edi
lea eax, [esp + 0x68]
sar ecx, 1
push eax
push ecx
mov ecx, dword [esp + 0x34]
push edx
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::DrawTextW_unsigned_short_int_const___int__struct_tagRECT__const__unsigned_int__unsigned_int_]
mov eax, dword [esi]
mov ecx, esi
push 3
mov eax, dword [eax + 0x2c4]
call eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
add ecx, 2
add eax, ecx
mov dword [esp + 0x64], eax
test edx, edx
je 0x100cb1f4
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cb1b3
sub ecx, edi
sar ecx, 1
je 0x100cb1f4
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cb1d0
push 1
push 0x21
sub ecx, edi
lea eax, [esp + 0x68]
sar ecx, 1
push eax
push ecx
mov ecx, dword [esp + 0x34]
push edx
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::DrawTextW_unsigned_short_int_const___int__struct_tagRECT__const__unsigned_int__unsigned_int_]
cmp dword [esp + 0xc], 0x1000000
jne 0x100cb300
cmp dword [esp + 0x20], 0
mov eax, 7
mov edi, 0x11
mov ecx, esi
cmove edi, eax
mov eax, dword [esi]
push 3
mov dword [esp + 0x30], edi
mov eax, dword [eax + 0x2c4]
call eax
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, dword [esp + 0x64]
cmp dword [esp + 0x54], 0
mov dword [esp + 0xc], eax
je 0x100cb254
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x68]
add eax, dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
sub eax, 2
jmp 0x100cb264
mov eax, dword [esp + 0x10]
add eax, 0xfffffff7
add eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
add eax, 5
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
add eax, 3
mov dword [esp + 0x10], eax
nop
mov eax, dword [esi]
mov ecx, esi
push edi
mov eax, dword [eax + 0x2b0]
call eax
mov ecx, dword [esp + 0x24]
push eax
mov esi, dword [ecx + 0x1c]
mov dword [esp + 0x10], esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xf00021
push 0
push 0
push 0
push 1
push dword [esp + 0x3c]
mov esi, eax
push dword [esp + 0x28]
push dword [esp + 0x3c]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x28]
dec dword [esp + 0x10]
add eax, 2
dec dword [esp + 0x20]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
cmp eax, 7
jl 0x100cb280
mov ecx, dword [esp + 0x27c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0x10