Function at 0x679035f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798d828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x5c]
push edi
lea eax, [esi - 0xf0]
xor ebx, ebx
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.6797db38
lea edi, [esi - 0xf0]
mov dword [esp + 0x50], ebx
cmp edi, ebx
je 0x67903652
lea edx, [esi - 0xb0]
mov dword [esp + 0x10], edx
jmp 0x67903656
mov dword [esp + 0x10], ebx
mov eax, dword [esi - 0xb0]
lea ebx, [esi - 0xb0]
mov ecx, ebx
call dword [eax + 0x2c]
mov ebp, dword [esp + 0x14]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x28]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x30]
mov dword [ecx + 0xc], ebp
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, eax
call dword [edx + 0x60]
lea edx, [esp + 0x14]
lea ecx, [esi - 0xf0]
push edx
push 1
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabControl::AdjustRect_int__struct_tagRECT__
lea eax, [esi + 0x24]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CRect::InflateRect_1
mov eax, dword [esi + 0x10]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub eax, ebp
mov ebp, dword [esp + 0x14]
sub ecx, ebp
mov ebp, dword [esi + 4]
add ecx, ebp
mov ebp, dword [esp + 0x1c]
add eax, edx
mov edx, dword [esp + 0x20]
add ecx, ebp
mov ebp, dword [esp + 0x68]
add eax, edx
mov dword [ebp], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esi + 8]
sub ecx, ebp
mov ebp, dword [esp + 0x5c]
add ebp, eax
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x60]
add ebp, ecx
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x64]
mov dword [ebp], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esi + 8]
sub edx, eax
mov eax, dword [esp + 0x1c]
sub eax, ebp
mov dword [esp + 0x28], ecx
mov ebp, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x24], eax
add eax, ebp
add ecx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x24]
mov edx, dword [esi - 0xd0]
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
call sub.MFC42.DLL_AfxRepositionWindow
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
mov dword [esp + 0x28], 0
neg edi
sbb edi, edi
sub esi, ecx
mov ecx, ebx
and edi, ebx
sub ebp, eax
call dword [edx + 0x2c]
sub esp, 0x10
xor ecx, ecx
mov ebx, esp
mov edx, dword [eax]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 4], ecx
lea ecx, [esp + 0x44]
push ecx
push edi
mov dword [ebx + 8], ebp
mov ecx, eax
mov dword [ebx + 0xc], esi
call dword [edx + 0x60]
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 0x14