Function at 0x6b802870
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x138
mov eax, dword [ecx]
mov dword [ebp - 0xfc], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x100], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x104], eax
mov eax, dword [section..bss]
test eax, eax
jne 0x6b802a70
mov eax, dword [0x6b80e014]
test eax, eax
je 0x6b802f28
mov edx, dword [0x6b80e018]
mov dword [esp], edx
call eax
test eax, eax
je 0x6b802f28
test byte [0x6b80801c], 8
jne 0x6b803028
mov dword [section..bss], 1
lea esi, [esi]
mov edx, dword fs:[0x18]
mov dword [esp + 8], 0xf4
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x108], eax
call eax
mov edx, dword [ebp - 0x10c]
mov esi, dword [ebp - 0x100]
mov ecx, 0x35
lea edi, [eax + 4]
sub esp, 0xc
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xfc]
mov dword [eax + 0xe0], 0xffffffff
mov dword [eax + 0xe4], 0xa
mov dword [eax + 0xd8], esi
mov dword [eax + 0xe8], 0
mov dword [esp + 8], 0x2d0
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x108]
call eax
sub esp, 0xc
mov dword [ebx + 0xec], eax
mov dword [esp], 0x6b808040
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [0x6b808018]
sub esp, 4
lea edx, [eax + 4]
mov dword [ebx], eax
mov eax, dword [0x6b80e004]
mov dword [0x6b808018], edx
mov dword [ebx + 0xf0], eax
mov dword [0x6b80e004], ebx
mov dword [esp], 0x6b808040
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [esp], esi
call dword [0x6b80e00c]
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x58]
mov edi, dword [ebx]
lea esi, [eax + 1]
test byte [0x6b80801c], 8
jne 0x6b802f50
mov dword [esp + 8], edi
mov edi, dword [sym.imp.user32.dll_PostMessageA]
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov eax, dword [ebx + 0xd8]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x104]
sub esp, 0x10
test eax, eax
jne 0x6b802f08
mov dword [ebx + 0xdc], 0
mov ecx, 1
mov dword [ebx + 0x58], 1
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx]
lea esi, [eax + 4]
test byte [0x6b80801c], 8
jne 0x6b802f98
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov eax, dword [ebx + 0xd8]
mov dword [esp], eax
call edi
mov eax, dword [ebx]
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
cmp eax, 1
jne 0x6b80306e
movzx eax, byte [0x6b80801c]
and eax, 8
test al, al
je 0x6b8028e8
mov eax, dword [ebp - 0x104]
mov esi, dword [ebp - 0x100]
mov dword [esp + 0xc], str.hWnd_p__lpLogCtx_p__fEnable_u_n
mov dword [esp + 8], str.WTOpenW
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xfc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
lea eax, [ebp - 0xec]
mov ecx, 0x35
mov edi, eax
rep movsd dword es:[edi], dword [esi]
test byte [0x6b80801c], 8
je 0x6b8028e8
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x10c], ecx
mov ebx, dword [ebp - 0x9c]
mov dword [ebp - 0x108], edx
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x108]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Name:__s__Options:__x__Status:__x__Locks:__x__MsgBase:__x__Device:__x_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], str.PktRate__x_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x84]
call sym._DUMPBITS
mov dword [esp + 0xc], str.PktData_0x_04lx__s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x80]
call sym._DUMPBITS
mov dword [esp + 0xc], str.PktMode_0x_04lx__s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x7c]
call sym._DUMPBITS
mov dword [esp + 0xc], str.MovMask_0x_04lx__s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x74]
mov dword [esp + 0xc], str.BtnDnMask:__lx__BtnUpMask:__lx_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x68]
mov dword [esp + 0xc], str.InOrgX:__li__InOrgY:__li__InOrgZ:__li_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0xc], str.InExtX:__li__InExtY:__li__InExtZ:__li_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x50]
mov dword [esp + 0xc], str.OutOrgX:__li__OutOrgY:__li__OutOrgZ:__li_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x44]
mov dword [esp + 0xc], str.OutExtX:__li__OutExtY:__li__OutExtZ:__li_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x38]
mov dword [esp + 0xc], str.SensX:__li__SensY:__li__SensZ:__li_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], str.SysMode:__i_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], str.SysOrgX:__i__SysOrgY:__i_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], str.SysExtX:__i__SysExtY:__i_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x6b80801c], 8
je 0x6b8028e8
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.SysSensX:__li__SysSensY:__li_n
mov dword [esp + 8], 0x6b80b67c
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0x6b80801c
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6b8028e8
mov dword [ebx + 0xdc], 1
mov ecx, 4
mov dword [ebx + 0x58], 4
jmp 0x6b802a30
test byte [0x6b80801c], 8
jne 0x6b802ff0
mov dword [section..bss], 2
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebx + 0xd8]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Posting_message__x_to__p_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.TABLET_PostTabletMessage
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
mov dword [ebp - 0xfc], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0xfc]
jmp 0x6b8029ec
mov eax, dword [ebx + 0xd8]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Posting_message__x_to__p_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.TABLET_PostTabletMessage
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], edx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xfc]
jmp 0x6b802a45
mov eax, dword [0x6b80e018]
mov dword [esp + 0xc], str.Failed_to_initialize_the_tablet_to_hwnd__p_n
mov dword [esp + 8], str.LoadTablet
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6b802f35
mov eax, dword [0x6b80e018]
mov dword [esp + 0xc], str.Initialized_the_tablet_to_hwnd__p_n
mov dword [esp + 8], str.LoadTablet
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
movzx eax, byte [0x6b80801c]
mov dword [section..bss], 1
and eax, 8
jmp 0x6b802a83
xor eax, eax
jmp 0x6b802a61