joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000893e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x1003700c]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.10010560
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.0x10008a25.2
mov ecx, dword [ebp - 0x11c]
cmp ecx, 6
je 0x100089e2
cmp ecx, 0xa
je 0x100089e2
cmp ecx, 5
jne case.0x10008a25.2
cmp dword [ebp - 0x118], 2
jne 0x100089cb
cmp byte [ebp - 6], 1
jne 0x100089b0
call fcn.100088f2
cmp eax, 9
je case.0x10008a25.1
test dword [ebp - 8], 0x8000
je case.0x10008a25.7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000dc5b
leave
ret
cmp dword [ebp - 0x118], 1
jne case.0x10008a25.2
test dword [ebp - 8], 0x200
jne case.0x10008a25.2
xor eax, eax
inc eax
jmp 0x100089bf
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x124]
and dword [ebp - 0x124], 0
push eax
push ecx
push ecx
call fcn.100088a1
add esp, 0xc
test eax, eax
je case.0x10008a25.2
mov eax, dword [ebp - 0x124]
cmp eax, 0x30
ja 0x10008a6c
je case.0x10008a25.1
cmp eax, 0xb
ja 0x10008a2c
je case.0x10008a25.2
dec eax
cmp eax, 9
ja case.0x10008a25.2
movzx eax, byte [eax + 0x10008aba]
jmp dword [eax*4 + 0x10008aa6]
cmp eax, 0x10
ja 0x10008a4a
je case.0x10008a25.4
sub eax, 0xc
je case.0x10008a25.7
sub eax, 1
je case.0x10008a25.7
sub eax, 1
je case.0x10008a25.7
sub eax, 1
jmp 0x100089b7
sub eax, 0x11
je case.0x10008a25.7
sub eax, 1
je case.0x10008a25.7
sub eax, 7
je case.0x10008a25.7
dec eax
sub eax, 1
je case.0x10008a25.4
jmp case.0x10008a25.2
push 2
pop eax
jmp 0x100089bf
cmp eax, 0x7a
ja 0x10008a90
je 0x10008a8c
sub eax, 0x46
je case.0x10008a25.4
dec eax
sub eax, 1
je case.0x10008a25.4
sub eax, 0xc
je case.0x10008a25.4
sub eax, 0x25
jne case.0x10008a25.2
push 4
jmp 0x10008a66
sub eax, 0x7d
je case.0x10008a25.4
sub eax, 1
je case.0x10008a25.4
sub eax, 3
jne 0x10008a5a
push 3
jmp 0x10008a66

Function at 0x1000909b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1003700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x100090b6
mov al, 1
jmp 0x100090f9
push 0x34
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.10010560
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x100090f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10032cc0
call fcn.1000b4bb
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x100090b2
mov eax, dword [ebp - 0x38]
shr eax, 0xa
and al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000dc5b
leave
ret
Function at 0x10009106
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareBraveSoftwareUpdateDev_
push SysStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10009134
xor al, al
jmp 0x1000917c
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push ebx
push str.IsEnabledLogToFile
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10009178
cmp dword [ebp - 8], edi
jne 0x10009178
cmp dword [ebp - 0xc], ebx
je 0x10009178
mov bl, 1
pop edi
mov al, bl
pop esi
pop ebx
leave
ret

Function at 0x10009482
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
call fcn.10009106
mov byte [ebx + 0x77], al
mov ecx, ebx
lea eax, [ebp - 4]
push eax
call fcn.10009ef8
mov edi, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], edi
cmp dword [edi - 0xc], 0
je 0x1000950d
push edi
push 1
push str.EnableLogging
push str.LoggingSettings
call esi
push edi
push 1
test eax, eax
push str.ShowTime
setne al
push str.LoggingSettings
mov byte [ebx + 0x74], al
call esi
push edi
push 0
test eax, eax
push str.LogToOutputDebug
setne al
push str.LoggingSettings
mov byte [ebx + 0x76], al
call esi
push edi
push 1
test eax, eax
push str.AppendToFile
setne al
push str.LoggingSettings
mov byte [ebx + 0x78], al
call esi
test eax, eax
setne al
jmp 0x1000951b
mov byte [ebx + 0x74], 1
mov al, 1
mov byte [ebx + 0x76], 1
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x79], al
cmp byte [ebx + 0x75], 0
je 0x10009528
mov byte [ebx + 0x76], 1
xor eax, eax
mov byte [ebx], 1
mov dword [ebx + 4], 7
mov edi, esi
mov dword [ebp - 4], eax
mov edx, dword [eax + 0x100386a0]
mov ecx, dword [eax + 0x100386a4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
test edx, edx
je 0x10009594
cmp ecx, 9
ja 0x10009594
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.10009ef8
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x10009577
push esi
push 1
push dword [ebp - 0xc]
push str.LoggingLevel
call edi
jmp 0x1000957a
xor eax, eax
inc eax
mov edx, dword [ebp - 0x10]
test eax, eax
setne cl
mov byte [ebx + edx*8], cl
lea ecx, [esi - 0x10]
mov dword [ebx + edx*8 + 4], eax
call fcn.10003c15
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
cmp eax, 0x48
jb 0x10009539
call fcn.10009036
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
lea ecx, [ecx - 0x10]
call fcn.10003c15
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100095c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.10005495
mov esi, dword [ebp - 4]
xor ecx, ecx
inc ecx
mov edx, 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x100095f0
push edx
lea ecx, [ebp - 4]
call fcn.10006371
mov esi, dword [ebp - 4]
push esi
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x10009629
mov ecx, dword [ebp + 8]
push 0x1002d258
call fcn.10008254
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.100054bc
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10003c15
mov eax, dword [ebp + 8]
jmp 0x10009663
push str.BraveSoftwareUpdateLog
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10009602
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.10008406
mov esi, dword [ebp + 8]
lea ecx, [ebp - 4]
add eax, 0x10
push 0xffffffffffffffff
mov dword [esi], eax
call fcn.100054bc
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10003c15
mov eax, esi
pop esi
leave
ret 4

Function at 0x10009710
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
cmp byte [ebx + 0x77], 0
je 0x100097d9
mov eax, dword [ebx + 0xcc]
push esi
push edi
test eax, eax
jne 0x100097cf
lea eax, [ebp - 4]
push eax
call fcn.10009668
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
je 0x10009770
lea edx, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.1000b425
mov edi, dword [ebp - 8]
mov ecx, edi
call fcn.10008b01
test al, al
jne 0x1000977a
mov ecx, edi
call fcn.10007b28
test eax, eax
jns 0x1000977a
lea ecx, [edi - 0x10]
call fcn.10003c15
lea ecx, [esi - 0x10]
call fcn.10003c15
jmp 0x100097d7
mov al, byte [ebx + 0x79]
push 0x20
mov byte [ebp - 8], al
call fcn.1000e750
pop ecx
push dword [ebp - 8]
mov ecx, eax
push esi
call fcn.10009fdd
mov dword [ebx + 0xcc], eax
test eax, eax
jne 0x100097b5
push esi
push dword [ebx + 0x54]
push str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_log_writer_to__s
call fcn.1000b4bb
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [edi - 0x10]
call fcn.10003c15
lea ecx, [esi - 0x10]
call fcn.10003c15
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x100097d7
push eax
mov ecx, ebx
call fcn.10009e85
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009c67
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
test esi, esi
je 0x10009d1b
cmp dword [ebp + 8], 0
jne 0x10009c8c
cmp dword [ebp + 0x10], 2
jg 0x10009d1b
lea ecx, [ebp - 4]
call fcn.10005495
lea ecx, [ebp + 0x14]
call fcn.10005495
xor edi, edi
inc edi
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x58]
push 0
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x10009cc0
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jle 0x10009c9f
jmp 0x10009cea
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
mov ecx, ebx
push esi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10009b93
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x58]
call dword [eax + 8]
cmp edi, 0x14
jle 0x10009d05
push str.LOG_SYSTEM:_Couldnt_acquire_lock__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x10033260
call esi
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.10003c15
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.10003c15
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x10009fdd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0xc]
push ebx
mov ebx, ecx
push edi
lea ecx, [ebx + 0xc]
mov dword [ebx], fcn.1000a189
mov dword [ebx + 4], 0x989680
mov word [ebx + 8], 0
mov byte [ebx + 0xa], al
mov byte [ebx + 0xb], 1
call fcn.10005495
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x10], edi
call fcn.10008254
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0x18], edi
call fcn.10005495
movzx eax, byte [0x100399e9]
neg eax
sbb eax, eax
and eax, 0x10039910
mov dword [ebp + 8], eax
je 0x1000a0a5
push esi
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.10009ef8
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], edi
je 0x1000a080
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 0x989680
push str.MaxLogFileSize
push str.LoggingSettings
call edi
mov dword [ebx + 4], eax
xor eax, eax
push esi
inc eax
push eax
push str.LogFileWide
push str.LoggingSettings
call edi
test eax, eax
setne al
jmp 0x1000a08a
xor eax, eax
mov dword [ebx + 4], 0x989680
inc eax
mov byte [ebx + 0xb], al
lea ecx, [ebx + 0x1c]
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
call fcn.10008206
lea ecx, [esi - 0x10]
call fcn.10003c15
pop esi
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x1000a106
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x1000a187
mov byte [esi + 8], 1
call fcn.1000a1b5
cmp dword [esi + 0x10], 0
je 0x1000a187
test al, al
je 0x1000a126
mov byte [esi + 0xa], 1
mov ecx, esi
call fcn.1000a8ec
test al, al
jne 0x1000a14d
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.1000b4bb
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
ret
mov ecx, esi
call fcn.1000a3d9
cmp dword [esi + 0x18], 0
jne 0x1000a174
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.1000b4bb
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 0x10], 0
mov byte [esi + 9], 1
je 0x1000a187
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
ret

Function at 0x1000a3d9
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1003700c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x70], 0
lea edx, [ebp - 0x70]
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x14]
mov ecx, dword [ebx]
call fcn.10008c20
mov eax, dword [ebp - 0x70]
cmp eax, dword [edi + 4]
jbe 0x1000a411
mov ecx, edi
call fcn.1000a5b0
xor eax, eax
cmp byte [edi + 0xa], al
setne al
xor esi, esi
push esi
push 0x80
lea eax, [eax*2 + 2]
push eax
push esi
push 3
push 0x40000000
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
jne 0x1000a44b
mov dword [edi + 0x18], esi
xor al, al
jmp 0x1000a548
mov edx, ebx
lea ecx, [ebp - 0x70]
call fcn.1000b425
mov esi, dword [ebp - 0x70]
lea edx, [ebp - 0x69]
mov ecx, esi
mov byte [ebp - 0x69], 1
call fcn.10008b8a
cmp byte [ebp - 0x69], 0
jne 0x1000a516
mov ecx, dword [edi + 0x18]
call fcn.1000909b
test al, al
jne 0x1000a516
lea ecx, [ebp - 0x90]
call fcn.10006fe6
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x68]
push 0x10032440
push eax
call fcn.10006c1d
add esp, 0x10
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x90]
push 0xc0010000
push eax
call fcn.10007053
lea ecx, [ebp - 0x68]
mov bl, al
call fcn.10006cee
test bl, bl
je 0x1000a4d9
push ecx
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x90]
push eax
call fcn.10007871
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000a506
cmp byte [edi + 0xb], 0
je 0x1000a506
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
push 0
push eax
push 2
push 0x10031d0c
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x90]
call fcn.1000702c
xor ebx, ebx
inc ebx
jmp 0x1000a53e
push dword [ebx]
push dword [edi + 0x1c]
push str.LOG_SYSTEM:___s_:_ERROR___Log_path__s_has_a_reparse_point
call fcn.1000b4bb
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x18], 0
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.10003c15
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000dc5b
leave
ret
Function at 0x1000a557
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 0x80
push 5
push ebx
push 3
push 0x40000000
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x18], 0xffffffff
mov edi, eax
jne 0x1000a587
xor al, al
jmp 0x1000a5ab
cmp byte [esi + 0xb], bl
je 0x1000a5a2
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 2
push 0x10031d0c
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000a626
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1003700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x18
mov dword [ebp - 0x70], ecx
lea edi, [ebp - 0x68]
pop ecx
mov esi, str.SYSTEMCurrentControlSetControlSession_Manager
lea eax, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
xor ebx, ebx
lea eax, [ebp - 0x68]
push ebx
push eax
push SysStringLen
movsw word es:[edi], word [esi]
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000a751
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x6c]
push 7
pop esi
push eax
push ebx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], ebx
push eax
push ebx
push str.PendingFileRenameOperations
push dword [ebp - 0x74]
mov dword [ebp - 0x78], esi
call edi
test eax, eax
jne 0x1000a751
cmp dword [ebp - 0x78], esi
jne 0x1000a751
push dword [ebp - 0x6c]
call fcn.1000e3db
push dword [ebp - 0x6c]
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x7c], esi
call fcn.10010560
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
push esi
push ebx
push ebx
push str.PendingFileRenameOperations
push dword [ebp - 0x74]
call edi
test eax, eax
jne 0x1000a746
mov edi, dword [ebp - 0x6c]
shr edi, 1
lea eax, [edi - 2]
cmp eax, 0xffffd
ja 0x1000a746
cmp word [esi + edi*2 - 4], bx
jne 0x1000a746
cmp word [esi + edi*2 - 2], bx
jne 0x1000a746
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
add eax, 0x14
mov edx, str.___
push eax
call fcn.1000a95a
mov esi, dword [ebp - 0x70]
pop ecx
test edi, edi
je 0x1000a732
mov eax, dword [ebp - 0x7c]
push esi
lea eax, [eax + ebx*2]
push eax
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000a735
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc ebx
add ebx, eax
cmp ebx, edi
jb 0x1000a70d
or ebx, 0xffffffff
cmp ebx, 0xffffffff
lea ecx, [esi - 0x10]
setne bl
call fcn.10003c15
mov esi, dword [ebp - 0x7c]
push esi
call fcn.1000dc69
pop ecx
mov al, bl
jmp 0x1000a753
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000dc5b
leave
ret
Function at 0x1000a8ec
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x1000a8f9
xor al, al
pop esi
ret
push 0x1f4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000a932
cmp eax, 0x80
je 0x1000a932
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.1000b4bb
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x1000a8f5
mov al, 1
pop esi
ret

Function at 0x1000ae22
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push dword [edi + 4]
mov dword [ebp - 8], ecx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x1000ae5a
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x1000aeb1
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000e3db
cmp dword [ebp - 4], 0
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
je 0x1000aeac
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x1000aeb1
movzx esi, si
or esi, 0x80070000
jmp 0x1000aeb1
xor eax, eax
mov word [ecx], ax
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x1000aeb9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push dword [ebx + 4]
mov dword [ebp - 8], ecx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x1000aef1
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x1000af65
mov edx, dword [ebp - 4]
test edx, edx
je 0x1000af5d
shr edx, 1
add edx, 1
js 0x1000af6d
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
mov esi, dword [edi]
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x1000af20
push edx
mov ecx, edi
call fcn.10006371
mov esi, dword [edi]
test esi, esi
jne 0x1000af2b
mov esi, 0x8007000e
jmp 0x1000af51
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x1000af51
movzx esi, si
or esi, 0x80070000
push 0xffffffffffffffff
mov ecx, edi
call fcn.100054bc
pop edi
jmp 0x1000af65
mov ecx, dword [ebp + 0xc]
call fcn.100068a7
mov eax, esi
pop esi
pop ebx
leave
ret 8
push 0x80070057
call fcn.10001276
int3
Function at 0x1000b5dd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x1003700c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp edi, 0x80000003
jne 0x1000b60a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000dc5b
leave
ret
push esi
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.10010560
mov esi, dword [0x100399f0]
lea ecx, [ebp - 0x80c]
xor edx, edx
call fcn.1000aa55
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push str.baselogging.cc
push 0
push esi
push dword [ebp - 0x80c]
push edi
push str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x80c]
add esp, 0x2c
lea ecx, [ecx - 0x10]
call fcn.10003c15
lea ecx, [ebp - 0x808]
call fcn.1000bc1c
push 0x250012
push str.Exception
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
sub eax, 3
je 0x1000b69e
sub eax, 1
jne 0x1000b696
int3
xor eax, eax
inc eax
jmp 0x1000b5fd
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1000bc1c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000bc8b
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1000bc67
push ebx
push edi
push eax
call fcn.1000ee50
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x1000bc82
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret
Function at 0x1000c7f7
Capabilities:
Terminate process

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push dword [0x1003706c]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x7530
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x10037084]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [0x10037084]
mov esi, eax
mov ecx, esi
call fcn.1000c7be
push 0x104
push esi
push dword [0x10037078]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [str.plugin_container.exe]
mov ecx, edi
cmp word [esi], di
je 0x1000c862
inc ecx
cmp word [esi + ecx*2], di
jne 0x1000c85b
push 0x5c
pop edx
jmp 0x1000c86e
xor eax, eax
mov word [esi + ecx*2], ax
dec ecx
cmp word [esi + ecx*2 - 2], dx
jne 0x1000c867
movzx eax, word [ebx]
mov edx, edi
mov edi, eax
test ax, ax
je 0x1000c894
lea eax, [esi + ecx*2]
inc edx
mov word [eax], di
lea eax, [eax + 2]
movzx edi, word [ebx + edx*2]
test di, di
jne 0x1000c884
push 0x44
pop edx
lea ecx, [esp + 0x20]
call fcn.1000c7be
push 0x10
pop edx
lea ecx, [esp + 0x10]
call fcn.1000c7be
push dword [0x10037070]
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call eax
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10017454
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ed0
push 0x10025ec8
push str.FlsAlloc
push 0x1e
call fcn.10017372
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10017488
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002437c]
call esi
jmp 0x1001748e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100174d2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ee0
push 0x10025ed8
push str.FlsGetValue
push 0x20
call fcn.10017372
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10017509
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002437c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]