Function at 0x4799a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b9098
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x4799c3
xor eax, eax
jmp 0x4799c6
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4799e3
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 8
mov ecx, ebx
call fcn.0047e8a0
test eax, eax
jne 0x479a00
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 8
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea edi, [esi + 8]
mov dword [esp + 0x34], eax
mov edx, edi
mov dword [esp + 0x38], ecx
lea ebp, [esi + 0x20]
mov eax, dword [edx]
push ebp
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x44], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x40]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov edx, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0x8c], 0
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, eax
call sub.MFC42.DLL_CWnd::ClientToScreen
mov ecx, dword [ebx + 0x6c]
lea eax, [esp + 0x3c]
push eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov ecx, dword [esp + 0x8c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x34]
mov ecx, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov edx, dword [ebx + 0x68]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x464
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, edi
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esi], ecx
mov ecx, dword [esp + 0x3c]
mov eax, edi
mov dword [esi + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x1c], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x54]
mov dword [esi + 0x18], eax
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x78]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi], ebx
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
lea ecx, [esp + 0x54]
mov dword [edi + 0xc], edx
mov dword [esp + 0x84], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 8