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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
push 0
cmp dword [esi + 0xb8], 1
mov ecx, dword [esi + 0xac]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
jne 0x1008fe6f
lea edx, [esp + 0x48]
push edx
call eax
mov ecx, dword [eax + 4]
jmp 0x1008fe7b
lea edx, [esp + 0x58]
push edx
call eax
mov ecx, dword [eax + 4]
neg ecx
mov eax, dword [esi + 0x8c]
cdq
idiv ecx
dec eax
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x24], eax
je 0x1008fea1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0
jmp 0x1008feaf
mov eax, dword [esi + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x28], eax
mov edx, dword [ebp + 8]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1008feb5
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea ebx, [esi + 0x94]
sub edx, ecx
mov dword [esp + 0x40], 0
push ebx
lea eax, [esp + 0x48]
sar edx, 1
push eax
mov dword [esp + 0x44], edx
call edi
mov eax, dword [esi + 0xb4]
push ebx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 8]
add dword [esp + 0x48], eax
lea eax, [esp + 0x58]
add dword [esp + 0x4c], ecx
sub dword [esp + 0x50], edx
sub dword [esp + 0x54], esi
push eax
call edi
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x4c]
mov eax, dword [edi + 0xb4]
sub ebx, dword [eax + 8]
sub ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp eax, dword [esp + 0x24]
jg 0x10090125
mov esi, eax
mov dword [esp + 0x10], eax
nop dword [eax + eax]
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_struct_EX_CHARINFO____thiscall_CHncDicViewCtrl::_GetAdjustYText_int_
mov edi, eax
mov dword [esp + 0x38], edi
test edi, edi
je 0x100900fa
cmp word [edi + 0xe], 0
je 0x100900fa
xor esi, esi
mov dword [esp + 0x14], 0
test ebx, ebx
jle 0x100900f6
movzx ebx, word [edi + 0xe]
mov dword [esp + 0x44], ebx
test bx, bx
je 0x100900f2
mov eax, dword [edi]
add esi, eax
mov dword [esp + 0x54], eax
movzx eax, bx
mov dword [esp + 0x20], esi
lea ecx, [eax - 0x41]
add eax, 0x20
movzx edx, ax
cmp cx, 0x19
movzx eax, bx
cmova edx, eax
mov eax, dword [ebp + 8]
cmp word [eax], dx
jne 0x10090057
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x1c]
jne 0x1008ffca
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x14], ecx
jl 0x10090057
add eax, 2
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
add eax, 0xffffffff
je 0x10090097
lea edx, [edi + 0x1e]
lea ecx, [eax + 1]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
nop
test ebx, ebx
jne 0x10090007
mov ebx, ecx
xor ecx, ecx
cmp dword [esp + 0x18], esi
cmovg ebx, ecx
add esi, dword [esp + 0x54]
mov dword [esp + 0x20], esi
movzx edx, word [edx]
lea esi, [edx - 0x41]
lea ecx, [edx + 0x20]
cmp si, 0x19
mov esi, dword [esp + 0x2c]
movzx edi, cx
mov ecx, edx
cmova edi, ecx
cmp word [esi], di
jne 0x1009004b
mov edx, dword [esp + 0x30]
add esi, 2
mov ecx, dword [esp + 0x34]
add edx, 0x10
dec ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
sub eax, 1
je 0x10090093
mov esi, dword [esp + 0x20]
jmp 0x1008fff0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
inc dword [esp + 0x14]
lea eax, [ebx + 0x2800]
mov ebx, dword [esp + 0x18]
lea ecx, [edi + 0x10]
mov edx, 0x3ff
cmp ax, dx
mov edx, 0x1000
cmova ecx, edi
cmp word [ecx + 0x18], dx
lea eax, [ecx + 0x10]
lea edi, [ecx + 0x20]
cmovne edi, eax
mov dword [esp + 0x38], edi
cmp ebx, esi
jg 0x1008ff73
jmp 0x100900f6
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x40], 1
mov dword [edi + 0x70], eax
test ebx, ebx
mov dword [edi + 0x6c], edx
lea eax, [edx + 1]
cmovne edx, eax
cmovne ecx, ebx
mov dword [edi + 0x74], edx
mov dword [edi + 0x78], ecx
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 4]
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0x78]
mov dword [edi + 0x60], eax
mov dword [edi + 0x80], 1
mov ecx, dword [ecx + 4]
call fcn.1001bbc0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
add esi, 2
jmp 0x100900fe
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x24]
jle 0x1008ff40
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x64]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 8