joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b040
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, dword [ebp + 8]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x20]
mov dword [edi], 0xffffffff
mov ecx, edi
call fcn.0042a1c0
mov edi, dword [edi]
test edi, edi
je 0x42b0db
xor eax, eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
mov word [ecx + 4], 0x500
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
movsd xmm0, qword [0x564ab0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
sub esp, 0x2c
mov ebx, dword [ebx]
test eax, eax
je 0x42b0e2
test ebx, ebx
je 0x42b0f2
mov eax, dword [edi]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
sub esp, 8
cmp eax, 1
sete byte [esi]
mov byte [esi + 1], 1
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
sub esp, 4
jmp 0x42b0f7
mov word [esi], 0
jmp 0x42b103
test ebx, ebx
je 0x42b0f2
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
sub esp, 4
mov word [esi], 0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42b120
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x10]
mov dword [edi], 0xffffffff
mov ecx, edi
call fcn.0042a1c0
cmp dword [edi], 0
je 0x42b1bb
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
cmp byte [ecx + 0xb], 0
jns 0x42b15f
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea edx, [ebp - 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 1
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
sub esp, 0x20
test eax, eax
je 0x42b1c2
mov edi, dword [ebp - 0x10]
xor eax, eax
xor ecx, ecx
mov byte [esi], al
mov byte [esi + 1], cl
test edi, edi
je 0x42b1a6
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebp
ret 0xc
mov word [esi], 0
jmp 0x42b1a6
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
sub esp, 8
cmp eax, 1
sete al
mov cl, 1
jmp 0x42b191
Function at 0x42ed50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], 0
push ebx
push 0x42ba00
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x42ee77
push 0x564c98
push 0x86
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x1c], 0
push ebx
push 0x42ba00
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x42ee7a
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov dword [ebp - 0x1c], 0
push ebx
push 0x42ba00
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x42ee7d
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
js 0x42ee68
test edi, edi
jne 0x42edfd
test eax, eax
jne 0x42ee61
push eax
push edi
push ebx
call fcn.00462d60
add esp, 0xc
movsx eax, byte [ebp - 0x11]
test eax, eax
jns 0x42ee16
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test eax, eax
js 0x42ee68
je 0x42ee20
test ebx, ebx
je 0x42ee61
mov esi, dword [ebp + 8]
xor ecx, ecx
inc ecx
push 0
push ecx
push ecx
push 0x55f628
push eax
push ebx
push esi
call fcn.00459c50
add esp, 0x1c
cmp byte [ebp - 0x11], 0
jns 0x42ee4b
push dword [ebp - 0x1c]
call fcn.004e6c3e
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x42ee6d
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x55eb93
call fcn.00516c70
int3
int3
int3
Function at 0x42f100
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esi + 0xa8], eax
pxor xmm0, xmm0
movdqu xmmword [esi + 0x74], xmm0
movdqu xmmword [esi + 0x94], xmm0
movdqu xmmword [esi + 0x84], xmm0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x6c], 0x3c
mov dword [esi + 0x70], 0x40
mov dword [esi + 0x78], str.runas
xor ebx, ebx
dec ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea edi, [esi + 0x20]
push edi
call fcn.0046cbd0
cmp byte [edi + 0xb], 0
js 0x42f19a
mov eax, dword [esi + 0x28]
mov dword [esi + 0x68], eax
movq xmm0, qword [esi + 0x20]
movq qword [esi + 0x60], xmm0
lea ecx, [esi + 0x20]
call fcn.004b73c0
cmp byte [esi + 0x6b], 0
js 0x42f1aa
lea eax, [esi + 0x60]
jmp 0x42f1ad
lea ecx, [esi + 0x60]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.004a3060
jmp 0x42f187
mov eax, dword [esi + 0x60]
mov dword [esi + 0x7c], eax
lea edi, [esi + 0x54]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0046d930
cmp byte [edi + 0xb], 0
jns 0x42f1cd
mov edi, dword [esi + 0x54]
lea eax, [esi + 0x6c]
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 5
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x20]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esi + 0x10]
push 0x17d
push str.....operadesktopwindowsos_operationsos_operations_impl.cc
push str.RunElevatedProcess
push edi
call fcn.004b6790
add esp, 0x10
mov ecx, ebx
push 0
push edi
call fcn.004aabe0
lea eax, [esi + 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esi + 8], esp
sub esp, 0xc
mov ebx, esp
lea ecx, [ebx + 4]
test eax, eax
je 0x42f298
push dword [esi + 0xa4]
call fcn.0045a3f0
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov edi, dword [esi + 0xc]
mov eax, dword [edi]
mov ebx, dword [eax + 0x60]
mov ecx, ebx
call dword [0x5798d8]
mov ecx, edi
call ebx
mov esp, dword [esi + 8]
lea ecx, [esi + 0x20]
call fcn.004aac50
cmp byte [esi + 0x5f], 0
jns 0x42f26d
push dword [esi + 0x54]
call fcn.004e6c3e
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x42f27e
push dword [esi + 0x60]
call fcn.004e6c3e
add esp, 4
mov ecx, dword [esi + 0xa8]
xor ecx, ebp
call fcn.004e71b0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0
jmp 0x42f233
Function at 0x42f2f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 0xc]
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov ebx, 0xc
push ebx
call fcn.004e6c0e
add esp, 4
mov edi, eax
mov dword [eax], fcn.004303c0
mov byte [eax + 8], 0
mov dword [esp + 0x5c], ebx
xor eax, eax
mov dword [esp + 0x60], eax
movzx ecx, byte [ebp + 0x10]
mov dword [esp + 0x64], ecx
cmp byte [esi + 0xb], 0
jns 0x42f34c
mov esi, dword [esi]
lea ecx, [esp + 0x5c]
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
test eax, eax
je 0x42f45c
mov esi, eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
xor ebx, ebx
dec ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
xor eax, eax
mov byte [esp + 0x20], al
mov byte [esp + 0x50], al
mov ecx, dword [esp + 8]
mov eax, ecx
mov edx, dword [esp + 0xc]
or eax, edx
je 0x42f42b
lea eax, [esp + 0x10]
push 0xd7
push str.....operadesktopwindowsos_operationsos_operations_impl.cc
push str.NamedMutexImpl
push eax
call fcn.004b6790
add esp, 0x10
cmp byte [esp + 0x50], 0
je 0x42f3d7
lea ecx, [esp + 0x20]
call fcn.004aac50
lea eax, [esp + 0x20]
mov byte [eax + 0x30], 0
lea ecx, [esp + 0x20]
push 0
lea eax, [esp + 0x14]
push eax
call fcn.004aabe0
lea eax, [esp + 0x20]
mov byte [eax + 0x30], 1
mov eax, dword [esp + 8]
not eax
mov edx, dword [esp + 0xc]
mov ecx, edx
xor ecx, 0x7fffffff
or ecx, eax
je 0x42f43b
mov ecx, dword [esp + 8]
add ebx, ecx
mov eax, edx
adc eax, 0x7fffffff
add ebx, 2
adc eax, 0
cmp ebx, 2
sbb eax, 0
jae 0x42f42b
xor ebx, ebx
test edx, edx
setns bl
neg ebx
jmp 0x42f43b
push 0
push 0x3e8
push edx
push ecx
call fcn.0050b1a0
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
sete byte [edi + 8]
cmp byte [esp + 0x50], 0
je 0x42f45c
lea ecx, [esp + 0x20]
call fcn.004aac50
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x438850
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [esp + 0x88], eax
mov dword [esp + 4], ecx
lea edi, [ecx + 4]
push edi
push 0x565728
push 1
push 0
push 0x550080
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x438a03
mov eax, dword [edi]
mov dword [esp + 8], eax
lea edi, [esp + 0x60]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
push edi
call ebx
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x70], xmm0
lea edi, [esp + 0x40]
push edi
call ebx
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x50], xmm0
lea esi, [esp + 0x20]
push esi
call ebx
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x30], xmm0
lea esi, [esp + 0x10]
push esi
call ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x28]
call dword [0x5798d8]
sub esp, 0x44
movaps xmm0, xmmword [esp + 0xb4]
movups xmmword [esp + 0x34], xmm0
movaps xmm0, xmmword [esp + 0x94]
movups xmmword [esp + 0x24], xmm0
movaps xmm0, xmmword [esp + 0x74]
movups xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [esi]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
call ecx
test eax, eax
js 0x438993
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
push 0xc
call fcn.004e6c0e
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
push 0x564eba
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x438a07
mov dword [esp + 8], eax
test edi, edi
je 0x438a07
mov esi, dword [esp + 4]
add esi, 8
lea ecx, [edi + 8]
mov dword [esp + 0xc], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
call dword [0x5798d8]
push esi
push dword [esp + 0xc]
push ebx
call ecx
test eax, eax
setns al
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
lock dec dword [eax]
je 0x43899f
lea ebx, [esp + 0x10]
jmp 0x4389c9
mov ebx, esi
mov dword [esp + 4], 0
jmp 0x4389cd
mov eax, dword [edi]
test eax, eax
lea ebx, [esp + 0x10]
je 0x4389b0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x4389c0
push eax
call fcn.004e6c7c
add esp, 4
push edi
call fcn.004e6c3e
add esp, 4
lea edi, [esp + 0x40]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ebx
call esi
lea eax, [esp + 0x20]
push eax
call esi
push edi
call esi
lea eax, [esp + 0x60]
push eax
call esi
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x4389eb
push 0x8007000e
call fcn.004e6bf0
int3
Function at 0x442f20
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov ebx, ecx
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x55d0a4
cmp byte [ecx + 0x1c], 0
je 0x44301d
push 0x4c
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.004b60a0
add esp, 8
test eax, eax
jle 0x442f9b
lea edi, [ebp - 0xb4]
mov ecx, edi
push 0xffffffffffffffff
push 0x25
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.004682f0
lea eax, [ebp - 0xac]
push 0x12
push str.Actual_removal_of
push eax
call fcn.00494ed0
add esp, 0xc
lea ecx, [ebx + 0x10]
push ecx
push eax
call fcn.00462de0
add esp, 8
mov ecx, edi
call fcn.004687c0
lea esi, [ebx + 0x10]
push esi
call fcn.0045cc00
add esp, 4
test al, al
jne 0x442fb4
push esi
call fcn.005339e0
add esp, 4
cmp byte [ebx + 0x1e], 0
je 0x443055
xor eax, eax
dec eax
lea edi, [ebp - 0xb4]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 0xc4], ebx
lea ecx, [ebx + 4]
push edi
call fcn.004b73e0
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0xc0]
jmp 0x443010
mov eax, dword [ebp - 0xb4]
push eax
call esi
test eax, eax
je 0x443044
mov ecx, edi
push ebx
call fcn.004b73e0
mov ecx, edi
push ebx
call fcn.0046a1e0
mov ecx, ebx
call fcn.004b73c0
cmp byte [ebp - 0xa9], 0
mov eax, edi
jns 0x442ff2
jmp 0x442fec
cmp dword [ebx + 0x20], 0
je 0x443055
lea esi, [ebx + 0x20]
mov ecx, dword [0x584f50]
test ecx, ecx
jne 0x44303c
call fcn.00429b50
mov ecx, eax
mov dword [0x584f50], eax
push esi
call fcn.0042a850
jmp 0x443055
lea ecx, [ebp - 0xb4]
call fcn.004b73c0
mov ebx, dword [ebp - 0xc4]
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0x20], 0
test edi, edi
je 0x443073
mov ecx, edi
call fcn.0042b440
push edi
call fcn.004e6c3e
add esp, 4
lea ecx, [ebx + 0x10]
call fcn.004b73c0
add ebx, 4
mov ecx, ebx
call fcn.004b73c0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x444e70
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x55d0bc
cmp byte [ecx + 0x20], 0
je 0x444eec
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x2c], esi
lea ecx, [esi + 8]
push edi
call fcn.004b73e0
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0x28]
jmp 0x444ed7
mov eax, dword [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x444ee1
mov ecx, edi
push ebx
call fcn.004b73e0
mov ecx, edi
push ebx
call fcn.0046a1e0
mov ecx, ebx
call fcn.004b73c0
cmp byte [ebp - 0x11], 0
mov eax, edi
jns 0x444eb9
jmp 0x444eb6
lea ecx, [ebp - 0x1c]
call fcn.004b73c0
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + 0x14]
call fcn.004b73c0
lea ecx, [esi + 8]
call fcn.004b73c0
mov eax, dword [esi + 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x588150]
bt edx, ecx
jae 0x444f1e
push eax
call fcn.004ba0f0
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x446cc0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [0x57f040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea esi, [ebp - 0x1c]
mov ecx, esi
push dword [eax]
call fcn.00412a10
movsx ecx, byte [esi + 0xb]
mov eax, dword [esi]
mov edx, ecx
test ecx, ecx
jns 0x446cf4
mov edx, dword [ebp - 0x18]
mov esi, eax
mov dword [ebp - 0x20], eax
add edx, edx
mov edi, edx
cmp edx, 4
jb 0x446d26
imul eax, dword [esi], 0x5bd1e995
mov ebx, eax
shr ebx, 0x18
xor ebx, eax
imul eax, ebx, 0x5bd1e995
imul edi, edi, 0x5bd1e995
xor edi, eax
add esi, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x446d00
cmp edx, 2
je 0x446d77
cmp edx, 3
je 0x446d6e
cmp edx, 1
je 0x446d80
test cl, cl
jns 0x446d44
push dword [ebp - 0x20]
call fcn.004e6c3e
add esp, 4
mov eax, edi
shr eax, 0xd
xor eax, edi
imul eax, eax, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
movzx eax, byte [esi + 2]
shl eax, 0x10
xor edi, eax
movzx eax, byte [esi + 1]
shl eax, 8
xor edi, eax
movzx eax, byte [esi]
xor eax, edi
imul edi, eax, 0x5bd1e995
jmp 0x446d35
Function at 0x455610
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x585eec]
mov ecx, dword [0x5822ec]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x455641
movzx eax, word [0x585ec8]
cmp eax, 9
jne 0x45568c
xor eax, eax
inc eax
pop ebp
ret
push 0x585eec
call fcn.004e6c81
add esp, 4
cmp dword [0x585eec], 0xffffffff
jne 0x455630
xorps xmm0, xmm0
movups xmmword [0x585ed8], xmm0
movups xmmword [0x585ec8], xmm0
mov dword [0x585ee8], 0
push 0x585ec8
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x585eec
call fcn.004e6cfb
add esp, 4
jmp 0x455630
test eax, eax
je 0x45563f
cmp eax, 6
jne 0x45569c
mov eax, 2
jmp 0x45563f
cmp eax, 0xc
jne 0x4556a8
mov eax, 3
jmp 0x45563f
mov eax, 4
jmp 0x45563f
Function at 0x456a90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ecx + 4]
mov ebx, dword [ecx + 4]
lea eax, [ebx + 1]
cmp eax, 1
ja 0x456afd
sub esp, 0x10
movsd xmm0, qword [0x56f1c0]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp dword [edi], eax
je 0x456afd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
inc eax
cmp eax, 2
jae 0x456b78
mov eax, ebx
inc eax
cmp eax, 2
jb 0x456af2
mov dword [edi], ebx
call fcn.004b67c0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [edi]
lea eax, [ebx + 1]
cmp eax, 2
jb 0x456b99
xor eax, eax
inc eax
push eax
push ebx
push 0x1000000f
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x456b92
lea ecx, [esi + 0x34]
lea ebx, [ebp + 0xc]
push ebx
call fcn.004b7100
lea edi, [esi + 8]
lea eax, [ebp - 0x20]
push 0x66
push str....._basewin_registry.cc
push str.StartWatching
push eax
call fcn.004b6790
add esp, 0x10
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
push esi
push dword [esi + 4]
call fcn.00457440
mov dword [ebp - 0x24], eax
mov ecx, ebx
call fcn.004b7170
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, dword [ebp - 0x24]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004b67c0
push dword [edi]
call fcn.004a4410
add esp, 4
mov dword [edi], 0
jmp 0x456ae3
mov ecx, edi
call fcn.0049fdd0
mov dword [ebp - 0x24], 0
lea ebx, [ebp + 0xc]
jmp 0x456b5a

Function at 0x456d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x18
pop ebp
ret 4
Function at 0x456d60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
test eax, eax
je 0x456dec
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, dword [esi + 4]
lea edx, [ebp - 0x24]
mov dword [edx], ecx
mov ecx, ebx
or ecx, 0x10001
push edx
push ecx
push 8
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456dd4
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
and ebx, 0x300
mov dword [ebp - 0x18], ebx
cmp byte [eax], 0
je 0x456df3
test ecx, ecx
je 0x456dc4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi + 4]
push dword [ebp + 8]
push dword [esi]
call fcn.00456e50
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, 6
jmp 0x456dd6
mov ebx, ecx
xor eax, eax
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.00456fc0
cmp byte [ebp - 0x20], 0
je 0x456e19
mov edi, dword [ebp - 0x24]
test ebx, ebx
je 0x456dd6
jmp 0x456e2e
push 0
push dword [esi + 4]
push 0x563e0c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov edi, eax
jmp 0x456e13
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x456dd6
push 1
call fcn.00457370
jmp 0x456dd6
Function at 0x456e50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [0x57f040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, ebx
or ecx, 0x10009
lea edi, [ebp - 0x24]
mov dword [edi], esi
mov edx, dword [ebp + 0xc]
push edi
push ecx
push 8
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456efb
mov edx, edi
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov dword [ecx], edi
mov eax, ebx
and eax, 0x300
mov dword [ecx + 4], eax
xor eax, eax
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
push edx
call fcn.00456fc0
cmp byte [ebp - 0x20], 0
jne 0x456fa6
push 0
push ebx
push 0x563e0c
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
xor esi, esi
test eax, eax
jne 0x456f03
test edi, edi
je 0x456edc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x456fae
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
cmovne esi, eax
jmp 0x456edc
mov esi, 0x200
push esi
call fcn.004e6c73
add esp, 4
push esi
push 0
mov ebx, eax
push eax
call fcn.004eac00
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x24], 0x100
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 4], 0
call esi
test eax, eax
jne 0x456f7a
mov eax, dword [ebp - 0x24]
cmp eax, 0x100
jae 0x456fba
cmp word [ebx + eax*2], 0
jne 0x456fbd
mov edi, dword [ebp - 0x1c]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.00456e50
add esp, 0xc
test eax, eax
je 0x456f25
jmp 0x456f7d
mov edi, dword [ebp - 0x1c]
push 0
push dword [ebp + 0x10]
push 0x563e0c
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov esi, eax
test ebx, ebx
je 0x456ed1
push ebx
call fcn.004e6c7c
add esp, 4
jmp 0x456ed1
mov esi, dword [ebp - 0x24]
jmp 0x456ed1
push 1
call fcn.00457370
jmp 0x456ee7
int3
int3