Function at 0x679050b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798dab2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_4
xor edi, edi
mov dword [esp + 0x30], edi
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov ecx, dword [esp + 0x38]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call dword [edx + 8]
push 0x40
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, edi
mov byte [esp + 0x30], 1
je 0x6790511e
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi], 0x6799e378
mov dword [esp + 0x10], esi
jmp 0x67905124
mov dword [esp + 0x10], edi
mov esi, edi
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push ebp
push eax
push 0x50010000
push ecx
mov ecx, esi
mov byte [esp + 0x44], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_CButton::Create
test eax, eax
jne 0x67905180
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea eax, [ebp + 0x80]
cmp eax, edi
jne 0x6790518e
xor eax, eax
jmp 0x67905191
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x20]
push ebx
push edi
push eax
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x6c]
mov esi, edx
mov dword [esp + 0x18], esi
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x679051ce
cmp eax, edi
je 0x679051c3
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x74], edi
mov dword [ebp + 0x70], edi
jmp 0x679052b9
cmp eax, edi
jne 0x67905206
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x6c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x70], ebx
jmp 0x679052b9
mov ecx, dword [ebp + 0x74]
cmp ebx, ecx
jg 0x67905224
cmp ebx, edx
jle 0x6790521c
mov ecx, ebx
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp + 0x70], ebx
jmp 0x679052b9
mov eax, dword [ebp + 0x78]
cmp eax, edi
jne 0x6790524e
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x67905242
mov eax, 4
jmp 0x6790524e
cmp eax, 0x400
jle 0x6790524e
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x3c], eax
jl 0x6790525c
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x3c]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x70]
mov esi, dword [ebp + 0x6c]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x44], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x70]
mov ecx, ebx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x6c]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
add esp, 8
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ecx
mov edx, dword [ebp + 0x6c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
mov dword [edx + esi*4], eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 8