Function at 0x1001cdfc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006dd8b
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x100ce038]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
sub edi, eax
lea ecx, [eax + 0x35]
lea eax, [edi + ecx - 0x46]
mov edi, dword [esi + 0xc]
lea ebx, [edx + 0x37]
sub edi, edx
lea edx, [edi + ebx - 0x64]
push edx
push eax
push ebx
push ecx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
call ebx
mov eax, dword [esp + 0x2c]
add eax, 0x15f
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
call ebx
lea ecx, [esp + 0x1c]
call dword [0x10085f84]
and dword [esp + 0x68], 0
lea ecx, [esp + 0x14]
call dword [0x10085f84]
mov edi, dword [esp + 0x24]
add edi, 0x1d0
mov byte [esp + 0x68], 1
mov eax, dword [edi]
cmp dword [eax - 0xc], 0xc
jle 0x1001cee6
push 0xb
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 2
call dword [0x10085f74]
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str._font_face
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x1001cf58
push eax
push 0x3e
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
or dword [esp + 0x18], 0xffffffff
sub dword [esp + 0x18], eax
push 0x3c
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
add eax, dword [esp + 0x18]
mov ecx, edi
push eax
push 0
push 0x3e
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
inc eax
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 3
call dword [0x10085f74]
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x1001cf63
push edi
lea ecx, [esp + 0x18]
call dword [0x10085f74]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push 0x2410
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax - 0xc]
push eax
call dword [edx + 0x70]
mov eax, dword [esp + 0x54]
mov ecx, eax
sub ecx, dword [esp + 0x4c]
cmp ecx, 0x15f
jae 0x1001cf95
mov dword [esp + 0x34], eax
jmp 0x1001cf99
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
and dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
mov edi, dword [edi]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x20]
push edx
push dword [esp + 0x2c]
push 1
push eax
push edi
push ecx
call sub.asohtm.dll_QHTM_GetHTMLHeight
test eax, eax
je 0x1001cfdb
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
call ebx
mov eax, dword [esp + 0x48]
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
sub edi, 0x6e
sub edx, 0x4d
cmp edi, eax
jge 0x1001d00d
add eax, 0x6e
mov dword [esi + 0xc], eax
cmp edx, ecx
jge 0x1001d017
add ecx, 0x4d
mov dword [esi + 8], ecx
mov edx, dword [esi + 4]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi]
lea edi, [edx + 0x37]
sub ebx, edx
lea edx, [ebx + edi - 0x64]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax + 0x35]
sub edx, eax
lea eax, [edx + ecx - 0x46]
push eax
mov eax, dword [esp + 0x2c]
push edi
push ecx
add eax, 0x1b0
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8