Function at 0x10006b8c
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov ecx, 0x10018efc
call fcn.1000a7e0
test eax, eax
je 0x10006f23
lea ecx, [ebp - 0x10]
call fcn.1000cec0
push 0x1001821c
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov ecx, esp
push 0x10018f10
call sub.MFC42u.DLL_CString::CString_3
push ecx
mov ecx, esp
push 0x10018f14
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x18]
call fcn.1000c2f0
push eax
call fcn.10004707
add esp, 0xc
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x18]
call fcn.1000c2f0
push eax
call fcn.1000438a
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
jne 0x10006c1b
push ecx
mov ecx, esp
lea eax, [ebp - 0x18]
push eax
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x10]
call fcn.1000cf20
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
mov byte [ecx - 1], 0
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov byte [edx - 2], 0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 8]
call sub.MFC42u.DLL_CString::CString_2
cmp dword [ebp - 4], 0
je 0x10006c5a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
push 0x1001a5d4
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a58
add esp, 0xc
push 0x10018efc
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018f08
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018f0c
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018f04
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018ef8
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018f18
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a58
add esp, 0xc
cmp dword [0x10018f18], 0
je 0x10006e52
push 0x10018f1c
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a58
add esp, 0xc
push 0x10018f54
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006ab2
add esp, 0xc
push 0x10018f58
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006ab2
add esp, 0xc
call fcn.10006b0c
push 0x10018f28
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018f2c
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018efc
mov ecx, 0x10018f2c
call fcn.100125a8
push 0x10018f30
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018f38
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018f3c
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push 0x10018f40
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 8]
push edx
call sub.MFC42u.DLL_CString::CString_3
call fcn.10006a09
add esp, 0xc
push str.mempatch.txt
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::operator_2
push ecx
mov ecx, esp
push 0x10018f10
call sub.MFC42u.DLL_CString::CString_3
push ecx
mov ecx, esp
push 0x10018f14
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x18]
call fcn.1000c2f0
push eax
call fcn.10004707
add esp, 0xc
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x18]
call fcn.1000c2f0
push eax
call fcn.1000438a
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
jne 0x10006ebe
push ecx
mov ecx, esp
lea eax, [ebp - 0x18]
push eax
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x10]
call fcn.1000cf20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10006f0b
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
mov byte [ecx - 1], 0
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov byte [edx - 2], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x10018ef4
call sub.MFC42u.DLL_CString::operator_2
cmp dword [ebp - 4], 0
je 0x10006f0b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 8]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x10]
call fcn.1000cf00
cmp dword [ebp + 8], 0
je 0x10006fa5
cmp dword [0x100191c0], 0
jne 0x10006fa5
cmp dword [0x10018f18], 0
jne 0x10006f47
cmp dword [0x1001a5d4], 0x3e7
jle 0x10006fa5
mov dword [ebp - 0x3c], 0x20
lea eax, [ebp - 0x3c]
push eax
push 0
push 0xfffffffffffffffd
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetMenuBarInfo]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
mov dword [0x10018f4c], edx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [0x10018f50], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [0x1001907c]
push eax
push 0x100064ca
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x100191c0], eax
mov esp, ebp
pop ebp
ret