joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b6c9e80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov edi, dword fs:[0x18]
sub esp, 0x4c
mov dword [ebp - 0x1c], edx
mov dword [esp + 8], 0x70
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6c9fe8
mov word [eax + 0x68], bx
mov esi, eax
lea eax, [eax + 0x6c]
mov dword [eax - 0x6c], 0x6b6db5a4
mov dword [eax - 0x68], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._CategoryMgr_Constructor
mov ebx, eax
test eax, eax
js 0x6b6c9f98
lea eax, [esi + 8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
mov ebx, eax
test eax, eax
jne 0x6b6c9fc0
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
test byte [0x6b6d7080], 8
jne 0x6b6c9f60
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6b6da7de
mov dword [esp + 8], str.EnumTfLanguageProfiles_Constructor
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], esi
mov ebx, 0x80004005
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6b6c9f53
mov ebx, 0x8007000e
jmp 0x6b6c9f53

Function at 0x6b6ca360
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
test byte [0x6b6d7080], 8
jne 0x6b6ca3a0
test ebx, ebx
je 0x6b6ca3d0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__ref_ld_n
mov dword [esp + 8], str.EnumTfInputProcessorProfiles_Release
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
test ebx, ebx
jne 0x6b6ca38d
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6b6ca5a0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
test byte [0x6b6d7080], 8
jne 0x6b6ca610
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6ca64b
mov dword [eax], sym._EnumTfInputProcessorProfiles_QueryInterface_12
mov dword [eax + 4], 1
mov dword [ebx], eax
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 0xc
movzx edx, dx
sub eax, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p_____x__p__n
mov dword [esp + 8], str.InputProcessorProfileMgr_EnumProfiles
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x6b6ca5c3
mov eax, 0x8007000e
jmp 0x6b6ca600

Function at 0x6b6ca760
Capabilities:
Delete registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x11c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x6b6d7080], 8
jne 0x6b6ca808
lea esi, [ebp - 0xee]
mov dword [esp], ebx
lea ebx, [ebp - 0xa0]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x27
call dword [sym.imp.ole32.dll_StringFromGUID2]
sub esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp], ebx
mov dword [esp + 0xc], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp + 8], str._s_s
mov dword [esp + 4], 0x44
call sym._swprintf_1
mov esi, dword [sym.imp.advapi32.dll_RegDeleteTreeW]
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call esi
sub esp, 8
mov dword [esp + 4], ebx
mov dword [esp], 0x80000001
call esi
xor eax, eax
sub esp, 8
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
test ebx, ebx
je 0x6b6ca8c8
mov eax, ebx
shr eax, 0x10
je 0x6b6ca8b0
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x6b6da770
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6b6da891
mov dword [esp + 8], str.InputProcessorProfiles_Unregister
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x6b6ca788
movzx eax, bx
mov dword [esp], 0x6b6da760
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
jmp 0x6b6ca87d
mov eax, 0x6b6da87a
jmp 0x6b6ca87d
Function at 0x6b6cdcb0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov eax, dword [ebp + 8]
test eax, eax
jne 0x6b6cdd78
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6b6cdd7f
mov dword [eax], sym._InputProcessorProfiles_QueryInterface_12
xor esi, esi
mov dword [eax + 4], 0x6b6db5dc
mov dword [eax + 8], 0x6b6db600
mov dword [eax + 0xc], 1
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
mov word [ebx + 0x10], ax
lea eax, [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
test byte [0x6b6d7080], 8
jne 0x6b6cdd40
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6b6da7de
mov dword [esp + 8], str.InputProcessorProfiles_Constructor
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov esi, 0x80040110
jmp 0x6b6cdd33
mov esi, 0x8007000e
jmp 0x6b6cdd33

Function at 0x6b6ce060
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
je 0x6b6ce098
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
test byte [0x6b6d7090], 8
jne 0x6b6ce0d8
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6b6db7fe
mov dword [esp + 8], str.LangBarMgr_Destructor
mov dword [esp + 4], 0x6b6d7090
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x6b6ce0a1

Function at 0x6b6ce470
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
test eax, eax
jne 0x6b6ce510
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6ce517
mov edx, dword [ebp + 0xc]
mov dword [eax], sym._LangBarMgr_QueryInterface_12
xor ebx, ebx
mov dword [eax + 4], 1
mov dword [edx], eax
test byte [0x6b6d7090], 8
jne 0x6b6ce4d8
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6db818
mov dword [esp + 8], str.LangBarMgr_Constructor
mov dword [esp + 4], 0x6b6d7090
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov ebx, 0x80040110
jmp 0x6b6ce4cb
mov ebx, 0x8007000e
jmp 0x6b6ce4cb
Function at 0x6b6ce520
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret

Function at 0x6b6ce9d0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
je 0x6b6cea08
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
test byte [0x6b6d70b4], 8
jne 0x6b6cea48
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Destroying_class_factory__p_n
mov dword [esp + 8], str.ClassFactory_Destructor
mov dword [esp + 4], 0x6b6d70b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x6b6cea11
Function at 0x6b6cedc0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ecx, dword [0x6b6ec014]
mov ebx, dword [0x6b6ec010]
test ecx, ecx
je 0x6b6cee89
mov esi, dword [0x6b6ec018]
xor eax, eax
mov edx, esi
jmp 0x6b6cedf8
inc eax
add edx, 0xc
cmp eax, ecx
je 0x6b6cee30
mov edi, dword [edx]
test edi, edi
jne 0x6b6cedf0
cmp eax, ebx
je 0x6b6ceec0
lea edx, [eax + eax*2]
lea edx, [esi + edx*4]
lea esi, [eax + 1]
mov edi, dword [ebp + 8]
mov dword [edx], esi
mov dword [edx + 4], edi
mov edi, dword [ebp + 0xc]
mov dword [edx + 8], edi
cmp eax, ecx
je 0x6b6ceea9
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, ebx
jne 0x6b6cee06
lea edi, [ebx + ebx*2]
mov dword [esp + 8], esi
lea edx, [edi*8]
mov dword [esp + 4], 8
mov dword [esp + 0xc], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
test eax, eax
je 0x6b6cef17
mov dword [0x6b6ec018], eax
lea edx, [eax + edi*4]
lea esi, [ebx + 1]
mov eax, ebx
mov ecx, dword [0x6b6ec014]
shl dword [0x6b6ec010], 1
jmp 0x6b6cee0f
test ebx, ebx
je 0x6b6ceec8
mov eax, dword [0x6b6ec018]
mov ebx, dword [ebp + 8]
mov esi, 1
mov dword [eax + 4], ebx
mov ebx, dword [ebp + 0xc]
mov dword [eax], 1
mov dword [eax + 8], ebx
mov dword [0x6b6ec014], esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test ebx, ebx
jne 0x6b6cee34
mov dword [esp + 8], 0x78
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [0x6b6ec018], eax
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x6b6cef52
mov ecx, dword [0x6b6ec014]
mov esi, 1
xor eax, eax
mov dword [0x6b6ec010], 0xa
jmp 0x6b6cee0f
test byte [0x6b6d70b4], 2
jne 0x6b6cef27
xor esi, esi
jmp 0x6b6cee25
mov dword [esp + 0xc], str.Out_of_memory__Unable_to_realloc_cookies_array_n
mov dword [esp + 8], str.generate_Cookie
xor esi, esi
mov dword [esp + 4], 0x6b6d70b4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_7
jmp 0x6b6cee25
test byte [0x6b6d70b4], 2
je 0x6b6cef20
mov dword [esp + 0xc], str.Out_of_memory__Unable_to_alloc_cookies_array_n
jmp 0x6b6cef2f
Function at 0x6b6cf070
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6cf167
mov esi, eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x14]
lea ecx, [esi + 8]
mov eax, dword [eax]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
call dword [eax]
sub esp, 0xc
test eax, eax
js 0x6b6cf142
mov eax, dword [ebx]
mov dword [esi + 4], ebx
mov dword [esi], eax
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x10]
mov dword [ebx], esi
xor ebx, ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._generate_Cookie
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
test byte [0x6b6d70b4], 8
jne 0x6b6cf110
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cookie__lx_n
mov dword [esp + 8], str.advise_sink
mov dword [esp + 4], 0x6b6d70b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], esi
mov ebx, 0x80040202
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6b6cf0fc
mov ebx, 0x8007000e
jmp 0x6b6cf0fc
Function at 0x6b6d01f0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
je 0x6b6d0228
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
test byte [0x6b6d70c4], 8
jne 0x6b6d0278
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6b6dbefe
mov dword [esp + 8], str.Range_Destructor
mov dword [esp + 4], 0x6b6d70c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x6b6d0231

Function at 0x6b6d0c20
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6d0d11
mov ebx, eax
test byte [0x6b6d70c4], 8
jne 0x6b6d0cb0
mov eax, dword [esi]
mov dword [ebx + 8], esi
mov dword [ebx], sym._Range_QueryInterface_12
mov dword [ebx + 4], 1
mov dword [esp], esi
xor esi, esi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
test byte [0x6b6d70c4], 8
jne 0x6b6d0ce0
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6dbf4b
mov dword [esp + 8], str.Range_Constructor
mov dword [esp + 4], 0x6b6d70c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x6b6d0c66
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6b6dbf54
mov dword [esp + 8], str.Range_Constructor
mov dword [esp + 4], 0x6b6d70c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov esi, 0x8007000e
jmp 0x6b6d0c9d
Function at 0x6b6d1aa0
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, 0x38
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x6b6d7138], 8
jne 0x6b6d1b38
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x6b6d1b9c
lea eax, [ebx + 0x24]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._DocumentMgr_Constructor
mov edx, dword [ebp - 0x1c]
test eax, eax
mov ecx, eax
js 0x6b6d1b68
mov eax, dword [esi]
lea esi, [ebx + 0x4c]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [ebx + 0x4c]
mov dword [edx], eax
mov dword [eax + 4], edx
mov dword [ebx + 0x4c], edx
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.ThreadMgr_CreateDocumentMgr
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_9
jmp 0x6b6d1ac2
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov ecx, 0x8007000e
jmp 0x6b6d1b24

Function at 0x6b6d2100
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
je 0x6b6d2138
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
test byte [0x6b6d7138], 8
jne 0x6b6d2178
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.destroying__p_n
mov dword [esp + 8], str.EnumTfDocumentMgr_Destructor
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_9
jmp 0x6b6d2141
Function at 0x6b6d2340
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
mov eax, dword fs:[0x18]
sub esp, 0x2c
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6d23da
mov dword [eax], sym._EnumTfDocumentMgr_QueryInterface_12
mov ebx, eax
mov edx, 0
mov dword [eax + 4], 1
mov dword [eax + 0xc], edi
mov eax, dword [edi]
cmp edi, eax
cmove eax, edx
mov dword [ebx + 8], eax
test byte [0x6b6d7138], 8
jne 0x6b6d23b0
mov dword [esi], ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.returning__p_n
mov dword [esp + 8], str.EnumTfDocumentMgr_Constructor
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_9
jmp 0x6b6d23a3
mov eax, 0x8007000e
jmp 0x6b6d23a7
Function at 0x6b6d28f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force 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, 0x38
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
test byte [0x6b6d7138], 8
jne 0x6b6d2a70
test edx, edx
je 0x6b6d2ae6
mov edi, dword [ebp - 0x1c]
mov dword [edx], 0
mov ebx, dword [edi + 0x54]
add edi, 0x54
mov eax, dword [ebx]
cmp ebx, edi
jne 0x6b6d2952
jmp 0x6b6d29a0
mov ecx, dword [eax]
mov ebx, eax
cmp eax, edi
je 0x6b6d29a0
mov eax, ecx
cmp dword [ebx + 8], esi
jne 0x6b6d2948
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6b6d2972
mov ecx, dword [eax]
mov dword [ebp - 0x24], edx
mov dword [esp], eax
call dword [ecx + 4]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
sub esp, 4
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xc], eax
call dword [sym.imp.user32.dll_GetFocus]
cmp esi, eax
je 0x6b6d2acc
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], esi
sub esp, 0xc
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edi
mov ecx, dword [edx + 0x54]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov dword [edx + 0x54], eax
call dword [sym.imp.user32.dll_GetFocus]
cmp esi, eax
je 0x6b6d2ab2
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x5c]
test eax, eax
jne 0x6b6d2988
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 8], 0
mov dword [esp + 4], sym._ThreadFocusHookProc_12
mov dword [esp + 0xc], eax
mov dword [esp], 5
call dword [sym.imp.user32.dll_SetWindowsHookExW]
mov edx, dword [ebp - 0x1c]
sub esp, 0x10
mov dword [edx + 0x5c], eax
test eax, eax
jne 0x6b6d2988
test byte [0x6b6d7138], 2
je 0x6b6d2988
mov dword [esp + 0xc], str.Unable_to_set_focus_hook_n
mov dword [esp + 8], str.SetupWindowsHook
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_9
xor eax, eax
jmp 0x6b6d298a
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p___p__p__p_n
mov dword [esp + 8], str.ThreadMgr_AssociateFocus
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 3
mov dword [ebp - 0x24], edx
call sym._wine_dbg_log.constprop.0_9
mov edx, dword [ebp - 0x24]
jmp 0x6b6d2922
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._ThreadMgr_SetFocus_8
sub esp, 8
jmp 0x6b6d29f0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._ThreadMgr_SetFocus_8
sub esp, 8
jmp 0x6b6d2988
mov eax, 0x80070057
jmp 0x6b6d298a