joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001882e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x1001884e
lea eax, [edi + 0x10]
push eax
push str.Mutex__s_already_created
push 3
call fcn.1001620b
mov al, 1
jmp 0x100188af
push esi
lea esi, [edi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x1001885c
mov eax, dword [esi]
jmp 0x1001885e
mov eax, esi
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
cmp eax, 0xb7
jne 0x10018891
push esi
push str.Got_handle_to_existing_mutex__s
push 3
call fcn.10009f57
cmp dword [edi + 4], 0
jne 0x100188ac
lea eax, [ebp + 0xc]
push eax
push esi
push str.Failed_to_create_the_mutex__s:_LastError:_0x_x
push 3
call fcn.1001650b
xor al, al
jmp 0x100188ae
mov al, 1
pop esi
pop edi
pop ebp
ret 8

Function at 0x1001ad3a
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1001ad50
mov eax, 0x80004003
jmp 0x1001ae0f
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1001ad62
mov eax, 0x80070057
jmp 0x1001ae0e
push ebx
xor ecx, ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
mov dword [edi], ecx
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp + 0xc], ecx
push eax
push ecx
push esi
push ecx
mov dword [ebp + 8], ecx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1001ae03
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100dcabd
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1001adfc
push dword [ebp + 8]
call fcn.10294c40
mov dword [edi], eax
pop ecx
test eax, eax
je 0x1001adee
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push ebx
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x1001adda
xor esi, esi
jmp 0x1001adf3
call fcn.10018800
push dword [edi]
mov esi, eax
call fcn.102a9552
and dword [edi], 0
pop ecx
jmp 0x1001adf3
mov esi, 0x8007000e
push ebx
call fcn.102a9552
pop ecx
jmp 0x1001ae0b
mov esi, 0x8007000e
jmp 0x1001ae0b
push eax
call fcn.10018817
mov esi, eax
mov eax, esi
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x1001b00c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [edi + 0x20], 0
je 0x1001b0b8
cmp dword [esi + 0x14], 8
push 4
pop ebx
mov dword [ebp - 0x390], ebx
mov dword [ebp - 0x394], ebx
jb 0x1001b04d
mov eax, dword [esi]
jmp 0x1001b04f
mov eax, esi
lea edx, [ebp - 0x394]
push edx
push ecx
lea ecx, [ebp - 0x390]
push ecx
push 0
push eax
push dword [edi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
je 0x1001b097
cmp ecx, 2
je 0x1001b0a3
cmp ecx, 0xea
je 0x1001b0a3
push esi
lea eax, [edi + 8]
push eax
push str.ORegistryKey.GetValue_failure:_Cannot_get_registry__s_value__s
push ecx
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.100088e9
jmp 0x1001b0ca
cmp dword [ebp - 0x390], ebx
jne 0x1001b0a3
mov al, 1
jmp 0x1001b0a5
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret 8
push str.ORegistryKey.GetValue_failure:_Cannot_get_DWORD_value._The_registry_key_is_closed_or_not_set
push 0x3a
lea ecx, [ebp - 0x38c]
call fcn.10014732
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x10020610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.10021e45
test al, al
jne 0x10020690
cmp dword [esi + 4], 0xffffffff
je 0x10020642
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x18]
push eax
xor eax, eax
push eax
push edi
push dword [esi + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x10020677
push str.Failed_to_start_thread.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.10013c8c
jmp 0x100206a2
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x14], 0x103
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 4
push str.Attempting_to_start_a_new_thread_when_the_thread_has_already_been_started
push 0x53
lea ecx, [ebp - 0x38c]
call fcn.10014556
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3
Function at 0x100243c6
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.10024516
test al, al
je 0x100243ed
xor eax, eax
inc eax
jmp 0x10024507
push ebx
push 2
pop ebx
mov ecx, esi
call fcn.10024399
mov esi, eax
test esi, esi
je 0x10024504
push edi
push 0x44
lea eax, [ebp - 0x560]
push 0
push eax
call fcn.1027bff1
xor eax, eax
mov dword [ebp - 0x50c], 1
lea edi, [ebp - 0x51c]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10024503
push str.wusa.exe
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.10298759
push esi
lea eax, [ebp - 0x108]
push eax
push str.__s____s___quiet__norestart
lea eax, [ebp - 0x508]
push 0x400
push eax
call fcn.100245ac
add esp, 0x20
mov dword [ebp - 0x560], 0x44
lea eax, [ebp - 0x51c]
xor edi, edi
push eax
lea eax, [ebp - 0x560]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10024503
push dword [ebp - 0x518]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x51c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x50c]
push eax
push dword [ebp - 0x51c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x51c]
call esi
cmp dword [ebp - 0x50c], edi
je 0x10024501
cmp dword [ebp - 0x50c], 0x80240017
jne 0x10024503
mov ebx, edi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret

Function at 0x10024516
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1002456c
push str.ucrtbase.dll
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10298759
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne bl
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret

Function at 0x10030de0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push dword [ebp + 8]
push dword [ebp + 0xc]
push eax
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
js 0x10030e10
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.10030e16
test al, al
je 0x10030e10
mov al, 1
jmp 0x10030e12
xor al, al
pop ebp
ret 8
Function at 0x10041e51
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x50]
mov edx, dword [ebx + 8]
push esi
push edi
test eax, eax
je 0x10041f90
movsd xmm0, qword [eax]
cvtpd2ps xmm0, xmm0
movss dword [edx], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x20]
cvtpd2ps xmm0, xmm0
movss dword [edx + 4], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x40]
cvtpd2ps xmm0, xmm0
movss dword [edx + 8], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x60]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0xc], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 8]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x10], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x28]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x14], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x48]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x18], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x68]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x1c], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x20], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x30]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x24], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x50]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x28], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x70]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x2c], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x18]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x30], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x38]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x34], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x58]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x38], xmm0
mov eax, dword [ecx + 0x50]
movsd xmm0, qword [eax + 0x78]
cvtpd2ps xmm0, xmm0
movss dword [edx + 0x3c], xmm0
jmp 0x10041fbc
movzx esi, byte [ecx]
lea edi, [ebp - 0x50]
add esi, ecx
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [edx], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edx + 0x30], xmm0
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x100562f0
Capabilities:
Log keystrokes via polling

Disassembly:
push 8
mov eax, 0x10316a1d
call fcn.102790e7
mov edi, ecx
push dword [edi + 0xc]
call fcn.1005ab6e
mov ebx, dword [ebp + 8]
test ebx, ebx
js 0x10056445
mov esi, dword [ebp + 0xc]
test esi, esi
js 0x10056445
cmp ebx, eax
jg 0x10056436
cmp esi, eax
jg 0x10056436
movzx eax, word [edi + 0x5f]
cmp ebx, eax
jne 0x10056340
movzx eax, word [edi + 0x61]
cmp esi, eax
je 0x1005644f
and dword [ebp - 0x10], 0
mov word [edi + 0x5f], bx
mov word [edi + 0x61], si
call dword [sym.imp.USER32.dll_GetMessageTime]
push 1
mov dword [ebp + 0xc], eax
mov byte [ebp + 0xb], 0
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100563a4
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x1066593c]
je 0x100563a4
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100563a4
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x100563a4
cmp dword [ebp - 0x10], 0
je 0x100563a4
mov eax, dword [ebp + 0xc]
mov dword [0x1066593c], eax
mov byte [ebp + 0xb], 1
and dword [ebp + 0xc], 0
and dword [ebp - 4], 0
push 1
push 0x1c
call fcn.10025730
test eax, eax
je 0x100563cc
push dword [ebp + 0x10]
mov ecx, eax
push esi
push ebx
push dword [edi + 8]
call fcn.100955de
mov esi, eax
jmp 0x100563ce
xor esi, esi
cmp dword [0x106659ac], 0
push esi
push dword [edi + 0xc]
mov dword [ebp + 0xc], esi
jne 0x1005641a
call fcn.1004b9a5
mov ecx, eax
call fcn.10059e99
cmp byte [ebp + 0xb], 0
je 0x10056426
mov ebx, 0x10667280
push 1
mov ecx, ebx
call fcn.10099aed
push 0
push 0
push 1
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10056b32
push 0
mov ecx, ebx
call fcn.10099aed
jmp 0x10056426
call fcn.1004b9a5
mov ecx, eax
call fcn.1004cea4
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1005644f
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x1005644f
push eax
push esi
push ebx
call fcn.10055bc3
push 0x46001c
jmp 0x1005644a
push 0x207360
call fcn.10153dc1
call fcn.102790b8
ret 0xc
Function at 0x10065196
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 4], bl
jne 0x10065329
lea eax, [ebp - 0x210]
mov byte [edi + 4], 1
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftAirDrop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100651e8
xor al, al
jmp 0x10065330
xor eax, eax
mov dword [ebp - 0x220], 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], ebx
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push str.DllPath
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x210], ebx
test esi, esi
jne 0x100651e1
cmp dword [ebp - 0x214], 1
je 0x10065255
push 0x5a0d4
call fcn.10153dc1
jmp 0x100651e1
xor eax, eax
push ebx
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10012074
mov ebx, eax
test ebx, ebx
je 0x100651e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CompositorSignaled
push ebx
call esi
push str.ShutdownAirDrop
push ebx
mov dword [ebp - 0x218], eax
call esi
push str.LoadAnimationLibrary
push ebx
mov dword [ebp - 0x224], eax
call esi
push str.SaveAnimationLibrary
push ebx
mov dword [ebp - 0x228], eax
call esi
push str.AnimationLibraryIsLoaded
push ebx
mov dword [ebp - 0x22c], eax
call esi
push str.GetAnimationLibrary
push ebx
mov dword [ebp - 0x230], eax
call esi
cmp dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], eax
je 0x10065341
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x10065341
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x10065341
mov edx, dword [ebp - 0x22c]
test edx, edx
je 0x10065341
mov esi, dword [ebp - 0x230]
test esi, esi
je 0x10065341
cmp dword [ebp - 0x21c], 0
je 0x10065341
mov dword [edi], ebx
mov ebx, dword [ebp - 0x218]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x21c]
mov dword [edi + 8], ebx
xor ebx, ebx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], eax
xor eax, eax
cmp dword [edi], ebx
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100651e1
Function at 0x1006534d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x218], 0
lea eax, [ebp - 0x210]
and dword [ebp - 0x214], 0
push esi
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0x208
push eax
lea eax, [ebp - 0x214]
push eax
push 2
push str.AnimationXMLPath
push str.SoftwareMicrosoftAirDrop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x100653bc
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10006939
jmp 0x100653cc
and dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 4
Function at 0x10080f89
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
cmp byte [0x106671da], bl
jne 0x10080fb9
mov eax, ebx
cmp eax, 0x4a
jae 0x10081067
mov byte [eax + 0x10667190], bl
inc eax
cmp eax, 0x4a
jb 0x10080fa6
mov byte [0x106671da], 1
mov esi, dword [ebp + 8]
cmp byte [esi + 0x10667190], bl
je 0x10080fd7
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi*4 + 0x10667068]
mov dword [eax], ecx
mov al, 1
jmp 0x1008105f
push edi
mov edi, dword [ebp + 0xc]
imul eax, esi, 0x14
add eax, 0x103563c0
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 8]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftOffice16.0CommonGraphics
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008104c
lea eax, [ebp - 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
mov dword [ebp + 0xc], ebx
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], 4
push eax
mov eax, dword [ebp - 0xc]
push ebx
push dword [eax + 4]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10081043
cmp dword [ebp + 0xc], 4
jne 0x10081043
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [edi], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [edi]
mov al, bl
mov dword [esi*4 + 0x10667068], ecx
mov byte [esi + 0x10667190], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.10279be9
int3

Function at 0x10081184
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x106671dc]
test eax, eax
jne 0x10081212
push esi
mov esi, 0x11c
push esi
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.1027bff1
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop esi
test eax, eax
je 0x1008120d
cmp dword [ebp - 0x11c], 6
jae 0x100811dd
xor eax, eax
inc eax
jmp 0x10081206
jne 0x10081203
cmp dword [ebp - 0x118], 0
je 0x100811d8
cmp dword [ebp - 0x118], 1
jne 0x10081203
push 0x40
call fcn.10080f6c
neg eax
sbb eax, eax
neg eax
add eax, 2
jmp 0x10081206
push 4
pop eax
mov dword [0x106671dc], eax
jmp 0x10081212
mov eax, dword [0x106671dc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102790a9
mov esp, ebp
pop ebp
ret
Function at 0x100813aa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareMicrosoftOffice16.0CommonGraphics
push SysReAllocStringLen
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x100813fe
push 4
lea eax, [ebp + 0xc]
push eax
imul eax, esi, 0x14
push 4
push edi
push dword [eax + 0x103563c4]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi*4 + 0x10667068], eax
mov byte [esi + 0x10667190], 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10081ebd
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 0x811c9dc5
push esi
xor esi, esi
cmp dword [ecx + 0x10], esi
jbe 0x10081eee
cmp dword [ecx + 0x14], 8
jb 0x10081eda
mov eax, dword [ecx]
jmp 0x10081edc
mov eax, ecx
movzx eax, word [eax + esi*2]
xor eax, edx
imul edx, eax, 0x1000193
inc esi
cmp esi, dword [ecx + 0x10]
jb 0x10081ed0
mov eax, edx
pop esi
pop ebp
ret 4

Function at 0x100863f6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031a1e1
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1065e7ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi]
mov al, byte [esi + 0x30]
shl al, 5
push ecx
xor al, byte [edx + 0x84]
and al, 0x20
xor byte [edx + 0x84], al
movss xmm0, dword [esi + 0x24]
mov ecx, dword [esi]
movss dword [esp], xmm0
call fcn.1008e3ae
mov eax, dword [esi]
movsd xmm0, qword [esi + 4]
push ecx
movsd qword [eax + 0x60], xmm0
mov eax, dword [esi]
movsd xmm0, qword [esi + 0xc]
movsd qword [eax + 0x68], xmm0
mov eax, dword [esi]
movsd xmm0, qword [esi + 0x14]
movsd qword [eax + 0x70], xmm0
mov eax, dword [esi]
movsd xmm0, qword [esi + 0x1c]
movsd qword [eax + 0x78], xmm0
movss xmm0, dword [esi + 0x28]
mov ecx, dword [esi]
movss dword [esp], xmm0
call fcn.1008f7fd
movss xmm0, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi]
movss dword [esp], xmm0
call fcn.1008f902
mov ecx, dword [esi]
mov al, byte [esi + 0x30]
shl al, 5
xor al, byte [ecx + 0x84]
and al, 0x40
xor byte [ecx + 0x84], al
mov ecx, dword [esi]
and dword [esi], 0
test ecx, ecx
je 0x100864bc
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10098560
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x10319f03
call fcn.10279152
mov esi, ecx
mov dword [ebp - 0x1c], esi
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
inc dword [esi + 0x18]
cmp dword [esi + 0x18], 1
mov dword [ebp - 4], ebx
jbe 0x10098598
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.102790b8
ret 0xc
and byte [esi + 0xb8], 0xfe
push 1
push 0x4c
mov byte [ebp - 4], 1
call fcn.10025730
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100985c1
push ebx
mov ecx, eax
call fcn.1006c254
jmp 0x100985c3
mov eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
test eax, eax
jne 0x100985fc
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], str.bad_allocation
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
push 0x1060a5ac
push eax
call fcn.1027a8f4
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x24], eax
test eax, eax
jne 0x10098625
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], str.bad_allocation
mov dword [ebp - 0x3c], vtable.std::bad_alloc.0
push 0x1060a5ac
jmp 0x100985f6
push 1
push 0x20
call fcn.10025730
mov edi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x10098650
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.102c7e95
jmp 0x10098652
mov edi, ebx
push 1
push 0x20
mov byte [ebp - 4], 1
mov dword [esi + 0x68], edi
call fcn.10025730
mov edi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x10098684
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.102c7e95
jmp 0x10098686
mov edi, ebx
push dword [ebp + 0x10]
mov ecx, esi
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov dword [esi + 0x6c], edi
call fcn.100999ba
push 1
push 0x30
call fcn.10025730
mov edi, eax
mov dword [ebp + 0x10], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x100986c2
mov ecx, edi
call fcn.100655ed
mov dword [edi], 0x1035b4f4
mov byte [edi + 0x28], bl
jmp 0x100986c4
mov edi, ebx
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [esi + 0x78], edi
call fcn.10065634
test al, al
jne 0x100986f4
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], str.bad_allocation
mov dword [ebp - 0x48], vtable.std::bad_alloc.0
push 0x1060a5ac
jmp 0x100985f6
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x78]
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x14], eax
lea eax, [esi + 0x1c]
push eax
push ebx
push ebx
push 0x10099dca
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x10098589
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], str.bad_allocation
mov dword [ebp - 0x54], vtable.std::bad_alloc.0
push 0x1060a5ac
jmp 0x100985f6