joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482d90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov ebx, ecx
mov ecx, edx
mov dword [esp], eax
dec ebx
mov esi, ebx
mov edi, 0
cmp esi, edi
jl 0x482dd8
dec edi
nop
inc edi
mov al, byte [esp]
mov dl, byte [ecx]
xor dl, al
movzx eax, dl
mov ebx, eax
mov eax, dword [esp]
shr eax, 8
mov edx, dword [ebx*4 + 0x5b6e70]
xor eax, edx
mov dword [esp], eax
inc ecx
cmp esi, edi
jg 0x482db4
mov eax, dword [esp]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x4ad7f0
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov esi, eax
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x4ad82c
mov eax, esi
call fcn.004b2000
cmp byte [esi + 0x40], 0
je 0x4ad825
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4ad8ca
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4ad8ab
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4ad8a3
mov esi, esi
mov eax, dword [esi + 8]
test eax, eax
je 0x4ad858
mov eax, esi
mov edx, dword [esi + 8]
mov edx, dword [edx]
call edx
mov eax, esi
mov edx, dword [esi + 0x184]
mov edx, dword [edx]
call edx
mov edi, eax
test eax, eax
jne 0x4ad86e
mov bl, 0
jmp 0x4ad8ca
cmp edi, 2
je 0x4ad8a3
mov eax, dword [esi + 8]
test eax, eax
je 0x4ad848
cmp edi, 3
je 0x4ad884
cmp edi, 1
jne 0x4ad848
mov eax, dword [esi + 8]
inc dword [eax + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4ad848
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
jmp 0x4ad848
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4ad8c1
mov eax, dword [esi + 0x14]
cmp eax, 0xcc
je 0x4ad8c1
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004adc90
mov eax, esi
call fcn.004ad8e0
mov bl, al
mov al, bl
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0xc
ret
Function at 0x4ad8e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
cmp eax, 0xcc
je 0x4ad9d2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x174]
mov edx, dword [ecx]
call edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0xcc
jmp 0x4ad9d2
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
test eax, eax
je 0x4ad965
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
mov edx, dword [ecx]
call edx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x6c]
push 0
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x6c]
mov eax, dword [ebp - 4]
mov edx, 0
mov edi, dword [ebp - 4]
mov ebx, dword [edi + 0x178]
mov ebx, dword [ebx + 4]
call ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
cmp edx, esi
jne 0x4ad999
mov byte [ebp - 8], 0
jmp 0x4ada04
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [ebp - 4]
cmp edx, dword [eax + 0x54]
jb 0x4ad930
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x174]
mov edx, dword [ecx + 4]
call edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x174]
mov edx, dword [ecx]
call edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x174]
cmp byte [edx + 8], 0
jne 0x4ad999
mov eax, dword [ebp - 4]
cmp byte [eax + 0x41], 0
je 0x4ad9f6
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0xce
jmp 0x4ada00
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0xcd
mov byte [ebp - 8], 1
mov al, byte [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
leave
ret
Function at 0x4010ba
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x404004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call esi
mov dword [ebp - 0x12c], eax
cmp eax, edi
je 0x40117d
push ebx
mov ebx, 0x11c
push ebx
lea eax, [ebp - 0x120]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40117c
cmp dword [ebp - 0x11c], 5
jne 0x40117c
cmp dword [ebp - 0x118], 1
push 2
pop eax
je 0x401137
cmp dword [ebp - 0x118], eax
jne 0x40117c
mov dword [ebp - 0x128], eax
call dword [sym.imp.MSVCR100.dll__get_heap_handle]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x124], eax
cmp ebx, edi
je 0x401162
push 4
lea eax, [ebp - 0x128]
push eax
push edi
push ebx
call esi
cmp dword [ebp - 0x124], edi
je 0x40117c
push 4
lea eax, [ebp - 0x128]
push eax
push edi
push dword [ebp - 0x124]
call esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x12c]
pop edi
xor ecx, ebp
pop esi
call fcn.004017c2
leave
ret

Function at 0x401191
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareAdobeAdobe_Acrobat11.0Security
xor edi, edi
push 0x80000002
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4011f8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x403164
push dword [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4011ef
cmp dword [ebp - 4], esi
jne 0x4011ef
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x401218
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x404034], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x40125c
call ebx
test eax, eax
jns 0x401252
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x404030], eax
mov dword [0x404034], 1
mov eax, dword [0x404030]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401278
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x4012a8
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x40129e
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x401293
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x401298
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x4012a7
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
Function at 0x4017c2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404004]
jne 0x4017cc
repz ret
jmp fcn.00401b99
Function at 0x10001890
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1cc
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
test byte [0x10015018], 8
jne 0x10001ab0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10001ae0
test ebx, ebx
je 0x100018c6
test esi, esi
je 0x10001ae0
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x198]
mov dword [esp + 8], 0x27
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
sub esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
lea edi, [ebp - 0xfc]
mov dword [esp + 0xc], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp + 8], str._s_sCategoryItem_s
mov dword [esp + 4], 0x78
mov dword [esp], edi
call sym._swprintf
mov edx, dword [ebp + 0x10]
mov eax, dword [0x10021748]
mov dword [edx], eax
mov eax, dword [0x1002174c]
mov dword [edx + 4], eax
mov eax, dword [0x10021750]
mov dword [edx + 8], eax
mov eax, dword [0x10021754]
mov dword [edx + 0xc], eax
lea eax, [ebp - 0x1b0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1b8], eax
sub esp, 0x14
test eax, eax
jne 0x10001a90
mov dword [ebp - 0x1b4], 0
lea edi, [ebp - 0x1a8]
mov dword [ebp + 0x18], ebx
mov ebx, esi
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x1ac]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x14a]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1ac], 0x27
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1b0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x100019f4
cmp eax, 0xea
jne 0x10001a90
lea eax, [ebp - 0x14a]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
js 0x10001a80
test esi, esi
je 0x10001a48
xor eax, eax
jmp 0x10001a27
add eax, 1
cmp esi, eax
je 0x10001a80
mov edx, dword [ebx + eax*4]
mov ecx, dword [edx]
cmp dword [edi], ecx
jne 0x10001a20
mov ecx, dword [edx + 4]
cmp dword [edi + 4], ecx
jne 0x10001a20
mov ecx, dword [edx + 8]
cmp dword [edi + 8], ecx
jne 0x10001a20
mov edx, dword [edx + 0xc]
cmp dword [edi + 0xc], edx
jne 0x10001a20
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1a8]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1b8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
add dword [ebp - 0x1b4], 1
jmp 0x1000198b
mov dword [ebp - 0x1b8], 1
mov eax, dword [ebp - 0x1b8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0x10017078
mov dword [esp + 8], str.CategoryMgr_FindClosestCategory
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10015018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100018af
mov dword [ebp - 0x1b8], 0x80070057
jmp 0x10001a6e
Function at 0x100082b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x1d4
mov eax, dword [eax + 0x60]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x1c0], 0x27
test eax, eax
je 0x10008400
mov edx, dword [ebx + 0x64]
lea ecx, [ebp - 0x1c0]
lea edi, [ebp - 0x1aa]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x1000832c
cmp eax, 0xea
jne 0x10008478
add dword [ebx + 0x64], 1
test esi, esi
je 0x100083f0
lea eax, [ebp - 0x1bc]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edx, eax
sub esp, 8
xor eax, eax
test edx, edx
js 0x100083f5
mov eax, dword [ebp + 8]
add esi, 0x14
mov dword [esi - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esi - 8], eax
movzx eax, word [ebx + 0x68]
mov word [esi - 4], ax
lea eax, [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._get_active_textservice
lea ecx, [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1b8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1b4]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x1b0]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0x10015074
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x14
test eax, eax
jne 0x100084a0
nop
lea esi, [esi]
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, word [ebx + 0x68]
lea edi, [ebp - 0x15c]
mov dword [esp + 0x10], str.LanguageProfile
mov dword [esp + 8], str._s_s0x_08x
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa8
mov dword [esp], edi
call sym._swprintf_1
lea eax, [ebx + 0x60]
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x10008487
mov dword [ebx + 0x64], 0
mov eax, dword [ebx + 0x60]
xor edx, edx
jmp 0x100082d9
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov dword [ebx + 0x60], 0
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x6c]
lea ecx, [ebp + 8]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x14
jmp 0x100083f0
Function at 0x10008b30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x74
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
test byte [0x10015080], 8
jne 0x10008c10
test esi, esi
je 0x10008c42
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
je 0x10008bec
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10008b99
jmp 0x10008c3d
lea eax, [ebp - 0x5a]
add dword [edi + 0xc], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
js 0x10008b91
add ebx, 1
add esi, 0x10
cmp ebx, dword [ebp + 0xc]
jae 0x10008bec
mov eax, dword [edi + 8]
lea edx, [ebp - 0x60]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x5a]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x60], 0x27
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x10008b70
cmp eax, 0xea
je 0x10008b70
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10008bf8
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
cmp ebx, dword [ebp + 0xc]
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x100187f0
mov dword [esp + 8], str.ProfilesEnumGuid_Next
mov dword [esp + 4], 0x10015080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x10008b4c
mov ebx, dword [ebp + 0xc]
jmp 0x10008bec
mov eax, 0x80004003
jmp 0x10008c00
Function at 0x100091b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov esi, dword [ebp + 8]
test byte [0x10015080], 8
jne 0x100092f0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1000931d
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
je 0x100092d0
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x100092cb
lea edi, [esi + 0x10]
jmp 0x10009215
cmp eax, 0xffffffff
jne 0x100092c1
mov dword [ebp + 8], ebx
mov ebx, esi
mov esi, dword [ebp + 8]
cmp ebx, dword [ebp + 0xc]
jae 0x100092d0
mov eax, dword [esi + 8]
lea edx, [ebp - 0x20]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x20], 0x27
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x10009265
cmp eax, 0xea
jne 0x100092d0
lea eax, [ebp - 0x1c]
add dword [esi + 0xc], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
js 0x10009209
mov dword [ebp + 8], esi
mov esi, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, ebx
call sym._next_LanguageProfile
cmp eax, 1
jne 0x100091f8
add dword [ebp + 0x10], 0x38
add esi, 1
cmp dword [ebp + 0xc], esi
ja 0x10009288
jmp 0x10009201
mov ebx, dword [ebp + 0xc]
nop
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100092dc
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
cmp ebx, dword [ebp + 0xc]
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x100187f0
mov dword [esp + 8], str.EnumTfLanguageProfiles_Next
mov dword [esp + 4], 0x10015080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x100091c9
mov eax, 0x80004003
jmp 0x100092e4
Function at 0x1000a370
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x108
mov ebx, dword [ebp + 0xc]
test byte [0x10015080], 8
jne 0x1000a400
lea esi, [ebp - 0xde]
mov dword [esp], ebx
lea ebx, [ebp - 0x90]
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 - 8]
pop ebx
pop esi
pop ebp
ret 8
test ebx, ebx
je 0x1000a4c8
mov eax, ebx
shr eax, 0x10
je 0x1000a4b0
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], 0x10018788
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0x100188f1
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.InputProcessorProfiles_Unregister
mov dword [esp + 4], 0x10015080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x1000a387
movzx eax, bx
mov dword [esp], 0x10018777
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
jmp 0x1000a475
mov eax, 0x10018760
jmp 0x1000a475
Function at 0x1000ef70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [0x100150b4], 8
jne 0x1000efb0
mov eax, dword [0x1002900c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edx, dword [ebp + 8]
sub esp, 4
mov dword [edx], eax
test eax, eax
je 0x1000efa4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
leave
xor eax, eax
ret 4
mov dword [esp + 0xc], 0x10019bbc
mov dword [esp + 8], str.TF_GetThreadMgr
mov dword [esp + 4], 0x100150b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x1000ef7f
Function at 0x100111b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
mov eax, dword [0x1002900c]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10011268
mov edx, eax
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x100112a0
cmp edi, 9
je 0x10011218
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp + 0xc], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_CallNextHookEx]
sub esp, 0x10
mov ebx, eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov ebx, dword [edx + 0x54]
lea ecx, [edx + 0x54]
cmp ecx, ebx
jne 0x1001122e
jmp 0x100111ea
mov ebx, dword [ebx]
cmp ecx, ebx
je 0x100111ea
cmp dword [ebx + 8], esi
jne 0x10011228
test byte [0x100150d4], 8
jne 0x100112e0
mov eax, dword [ebx + 0xc]
cmp dword [edx + 0x28], eax
je 0x1001125d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x10], edx
call sym._ThreadMgr_SetFocus_8
mov edx, dword [ebp - 0x10]
sub esp, 8
mov eax, dword [edx + 0x5c]
jmp 0x100111ea
xor ebx, ebx
test byte [0x100150d4], 2
je 0x10011207
mov dword [esp + 0xc], str.Hook_proc_but_no_ThreadMgr_for_this_thread._Serious_Error_n
mov dword [esp + 8], str.ThreadFocusHookProc
mov dword [esp + 4], 0x100150d4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_9
jmp 0x10011207
xor ebx, ebx
test byte [0x100150d4], 2
je 0x10011207
mov dword [esp + 0xc], str.Hook_proc_but_no_ThreadMgr_focus_Hook._Serious_Error_n
mov dword [esp + 8], str.ThreadFocusHookProc
mov dword [esp + 4], 0x100150d4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_9
jmp 0x10011207
mov dword [esp + 0xc], str.Triggering_Associated_window_focus_n
mov dword [esp + 8], str.ThreadFocusHookProc
mov dword [esp + 4], 0x100150d4
mov dword [esp], 3
mov dword [ebp - 0x10], edx
call sym._wine_dbg_log.constprop.0_9
mov edx, dword [ebp - 0x10]
jmp 0x10011240