joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41523a
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x465d54
call fcn.00450d27
mov ecx, dword [ebp + 8]
call fcn.0041563f
test eax, eax
jne 0x41525c
mov eax, 0x80004005
jmp 0x415387
push 1
call fcn.0041bc3e
xor ebx, ebx
cmp eax, ebx
jl 0x415387
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
push 0x20006
push ebx
push str.SoftwareClassesAppID
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4152e7
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
push str.3815775B_F813_4F13_88ED_1895EF6E44CA
push edi
lea esi, [ebp - 0x10]
call fcn.0041430b
cmp eax, ebx
je 0x4152f5
call fcn.00414a7a
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4152d1
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4152df
push edi
call esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
jmp 0x415387
call fcn.00414a7a
or dword [ebp - 4], 0xffffffff
jmp 0x415387
mov edi, dword [ebp - 0x10]
mov esi, str.LocalService
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [ebp + 0xc], bl
je 0x415361
mov eax, dword [ebp + 8]
add eax, 0x40
push eax
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.0041478c
lea ecx, [ebp - 0x10]
call fcn.00415027
call fcn.004273ba
mov ecx, dword [ebp + 8]
call fcn.0041548a
test eax, eax
jne 0x415361
mov byte [ebp - 4], bl
cmp edi, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x415347
push edi
call esi
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x415252
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x18], ebx
jmp 0x415252
mov byte [ebp - 4], bl
cmp edi, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x415374
push edi
call esi
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x415385
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x18], ebx
xor eax, eax
call fcn.00450dff
ret 8
Function at 0x41538f
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x466ca4
call fcn.00450d27
call fcn.0041563f
test eax, eax
jne 0x4153ae
mov eax, 0x80004005
jmp 0x415459
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
mov edi, 0x20006
push edi
push ebx
push str.SoftwareClassesAppID
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
call esi
cmp eax, ebx
jne 0x41545f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
push ecx
push edi
push ebx
push str.3815775B_F813_4F13_88ED_1895EF6E44CA
push eax
mov dword [ebp - 0x18], ebx
call esi
cmp eax, ebx
jne 0x41546a
mov edi, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.AccessPermission
push edi
mov dword [ebp - 0x1c], edi
call esi
push str.LaunchPermission
push edi
call esi
push str.LocalService
push edi
call esi
call fcn.00414fce
push ebx
call fcn.0041bc3e
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], bl
cmp edi, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x415445
push edi
call esi
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x415456
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
call fcn.00450dff
ret
call fcn.00414a7a
or dword [ebp - 4], 0xffffffff
jmp 0x415459
call fcn.00414a7a
mov esi, eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x415486
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov eax, esi
jmp 0x415459
Function at 0x41548a
Capabilities:
Create service

Disassembly:
push ebp
lea ebp, [esp - 0x994]
sub esp, 0xa14
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp + 0x990], eax
push ebx
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp + 0x786]
push eax
xor esi, esi
push esi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, esi
je 0x41552c
cmp eax, edi
je 0x41552c
push 0xf003f
add eax, eax
push esi
mov word [ebp + 0x784], 0x22
push esi
mov word [ebp + eax + 0x786], 0x22
mov word [ebp + eax + 0x788], si
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0x80], eax
jne 0x415546
lea eax, [ebp - 0x7c]
push eax
push 0xd80a
call fcn.0041bbfa
test eax, eax
pop ecx
pop ecx
jne 0x41551c
push str.Could_not_open_Service_Manager
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
add ebx, 0x40
push ebx
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp + 0x990]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c8d7
add ebp, 0x994
leave
ret
push esi
push esi
push str.RPCSS
push esi
push esi
lea ecx, [ebp + 0x784]
push ecx
push 1
push 3
push 0x110
push 0xf01ff
lea edi, [ebx + 0x40]
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, esi
jne 0x4155a7
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [ebp - 0x7c]
push eax
push 0xd80b
call fcn.0041bbfa
test eax, eax
pop ecx
pop ecx
jne 0x4155a0
push str.Could_not_start_service
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push edi
jmp 0x415521
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push dword [ebp - 0x80]
call esi
xor eax, eax
inc eax
jmp 0x41552e
Function at 0x41563f
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
lea ebp, [esp - 0xfac]
mov eax, 0x102c
call fcn.004546f0
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp + 0xfa8], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push esi
push edi
xor edi, edi
push 0xf003f
push edi
push edi
mov esi, ecx
mov dword [ebp - 0x60], edi
call ebx
cmp eax, edi
mov dword [ebp - 0x64], eax
je 0x4156b0
mov edi, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 1
add esi, 0x40
push esi
push eax
mov dword [ebp - 0x5c], esi
call edi
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x4156a4
push eax
mov dword [ebp - 0x60], 1
call esi
push dword [ebp - 0x64]
call esi
xor eax, eax
cmp dword [ebp - 0x60], eax
jne 0x4156b8
xor eax, eax
inc eax
jmp 0x41581c
push 0xf003f
push eax
push eax
call ebx
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x64], ebx
jne 0x415719
lea eax, [ebp + 0x7a8]
push eax
push 0xd80a
call fcn.0041bbfa
test eax, eax
pop ecx
pop ecx
jne 0x415700
push str.Could_not_open_Service_Manager
lea eax, [ebp + 0x7a8]
push 0x400
push eax
call fcn.0044f907
push eax
call fcn.0040ad16
add esp, 0x10
push 0
push dword [ebp - 0x5c]
lea eax, [ebp + 0x7a8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x41581a
push 0x10020
push dword [ebp - 0x5c]
push ebx
call edi
mov edi, eax
test edi, edi
jne 0x41574b
push ebx
call esi
lea eax, [ebp + 0x7a8]
push eax
push 0xd80c
call fcn.0041bbfa
test eax, eax
pop ecx
pop ecx
jne 0x415700
push str.Could_not_open_service
jmp 0x4156e6
lea eax, [ebp - 0x80]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
jne 0x4157c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x4157c2
cmp eax, 0x425
jne 0x41577c
cmp dword [ebp - 0x7c], 3
je 0x4157c2
lea eax, [ebp + 0x7a8]
push eax
push 0xd80e
call fcn.0041bbfa
test eax, eax
pop ecx
pop ecx
jne 0x4157b2
push str.Could_not_stop_service
lea eax, [ebp + 0x7a8]
push 0x400
push eax
call fcn.0044f907
push eax
call fcn.0040ad16
add esp, 0x10
push 0
push dword [ebp - 0x5c]
lea eax, [ebp + 0x7a8]
push eax
push 0
call ebx
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
mov dword [ebp - 0x60], eax
call esi
push dword [ebp - 0x64]
call esi
xor esi, esi
cmp dword [ebp - 0x60], esi
jne 0x4156b0
lea eax, [ebp - 0x58]
push eax
push 0xd80d
call fcn.0041bbfa
test eax, eax
pop ecx
pop ecx
jne 0x41580f
push str.Could_not_delete_service
lea eax, [ebp - 0x58]
push 0x400
push eax
call fcn.0044f907
push eax
call fcn.0040ad16
add esp, 0x10
push esi
push dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
push esi
call ebx
xor eax, eax
mov ecx, dword [ebp + 0xfa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c8d7
add ebp, 0xfac
leave
ret
Function at 0x4177d3
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi + 0x30], eax
jne 0x4177ec
xor eax, eax
jmp 0x417813
push ebx
lea eax, [esp + 8]
push eax
push esi
push edi
push 0x418d82
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x417810
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
pop ecx
ret

Function at 0x418ced
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0xff
push 0x100
push eax
mov esi, ecx
call fcn.0044f255
xor edi, edi
add esp, 0x14
cmp dword [esi + 0x260], edi
lea eax, [ebp - 0x204]
mov word [ebp - 6], di
mov dword [ebp - 0x208], eax
jne 0x418d45
push eax
call fcn.0044fb66
pop ecx
add esi, 0x40
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, edi
je 0x418d74
push edi
lea eax, [ebp - 0x208]
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044c8d7
leave
ret
Function at 0x41badd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push 0
push str.LocalService
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41bb42
cmp dword [ebp + 8], 1
je 0x41bb1b
cmp dword [ebp + 8], 2
je 0x41bb1b
push 0xd
pop eax
jmp 0x41bb42
test edi, edi
mov eax, dword [ebp - 4]
je 0x41bb3c
test eax, eax
je 0x41bb38
test al, 1
jne 0x41bb16
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x41bb3c
jmp 0x41bb16
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 4
Function at 0x41f5e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
xor eax, eax
push edi
push 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], eax
pop esi
mov edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edi, [edx + eax]
mov edx, dword [ebp - 4]
movzx ebx, byte [edi]
lea edx, [ebp + edx*4 - 0x2c]
mov eax, dword [edx]
shl eax, 8
or eax, ebx
inc dword [ebp - 4]
add edi, esi
cmp dword [ebp - 4], esi
mov dword [edx], eax
jb 0x41f612
inc dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 8], esi
jb 0x41f606
mov edx, dword [ecx + 0x10]
xor edx, 0x6c8219e4
mov dword [ebp - 4], edx
mov edx, dword [ecx + 0xc]
xor edx, 0x6d843be
mov dword [ebp - 8], edx
mov edx, dword [ecx + 8]
xor edx, 0xc927bc41
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
xor edx, 0x37de61b
xor ecx, 0xcd50bec2
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x10
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x2c]
add edi, edx
shl edi, 4
add ebx, edx
shr ebx, 5
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
add dword [ebp - 0x2c], edi
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
add edi, esi
add ebx, esi
shl edi, 4
shr ebx, 5
xor edi, ebx
mov ebx, dword [ebp - 4]
add esi, eax
xor edi, esi
mov esi, dword [ebp - 0x24]
add edx, edi
mov edi, dword [ebp - 8]
add edi, ecx
add ebx, ecx
shl edi, 4
shr ebx, 5
xor edi, ebx
lea ebx, [eax + ecx]
xor edi, ebx
add dword [ebp - 0x24], edi
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
add edi, esi
add ebx, esi
shl edi, 4
shr ebx, 5
add esi, eax
add eax, dword [ebp - 0x1c]
xor edi, ebx
xor edi, esi
add ecx, edi
dec dword [ebp - 0x14]
jne 0x41f684
dec dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov edi, edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edi
mov ecx, esi
jne 0x41f67d
xor edi, dword [ebp - 0x24]
xor edx, esi
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [ebp - 0x2c]
push 3
pop ecx
sub ecx, esi
shl ecx, 3
shr eax, cl
mov byte [edi + esi], al
mov eax, edx
shr eax, cl
inc esi
cmp esi, 4
mov byte [edi + esi + 3], al
jb 0x41f71c
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov byte [eax], 8
pop ebx
leave
ret
Function at 0x4248bf
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x18
mov eax, 0x467c3d
call fcn.00450d5a
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [0x492290]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
je 0x4248f9
push eax
call ebx
test eax, eax
jne 0x4248f9
push dword [0x492290]
call fcn.00421e5c
mov eax, dword [0x49229c]
test eax, eax
je 0x424919
push eax
call ebx
test eax, eax
jne 0x424919
push eax
push 4
push 1
push dword [0x49229c]
call fcn.00425fed
mov eax, dword [0x492298]
test eax, eax
je 0x424936
push eax
call ebx
test eax, eax
jne 0x424936
push 1
mov ecx, dword [0x492298]
call fcn.0042042f
mov eax, dword [ebp + 8]
add eax, 0x8c
lea esi, [ebp - 0x20]
call fcn.00404438
mov byte [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 8]
add edi, 0x7c
mov eax, edi
call fcn.00403561
cmp esi, eax
jae 0x4249a1
call fcn.004034f5
cmp dword [eax], 0
je 0x42499e
call fcn.004034f5
push dword [eax]
call ebx
test eax, eax
jne 0x42499e
call fcn.004034f5
mov ecx, dword [eax]
call fcn.0040bcf2
test eax, eax
jl 0x42499e
call fcn.004034f5
push 0
mov eax, dword [eax]
add eax, 0xec
push eax
push dword [ebp + 8]
call fcn.004253c4
inc esi
jmp 0x42494c
lea esi, [ebp - 0x20]
call fcn.00404331
mov eax, dword [0x492290]
test eax, eax
je 0x4249e0
push eax
call ebx
test eax, eax
jne 0x4249e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
mov ecx, 0x4a38
cmp eax, ecx
jae 0x4249cf
sub ecx, eax
jmp 0x4249d4
mov ecx, 0x1388
push ecx
push dword [0x492290]
call fcn.00422d6d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004043f6
or dword [ebp - 4], 0xffffffff
call fcn.00450dff
ret 4

Function at 0x4270d6
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0x18
mov eax, 0x460107
call fcn.00450d5a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], 0x80100025
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x18], 0x200
jae 0x427155
cmp word [edi], bx
je 0x427155
cmp dword [ebp - 0x1c], 0x32
jae 0x427155
push edi
call fcn.0044efbb
mov esi, eax
inc esi
mov dword [esp], str.pccsmcfd
push edi
call fcn.00450035
pop ecx
pop ecx
test eax, eax
lea eax, [esi + esi]
jne 0x427148
mov dword [ebp - 0x14], ebx
sub dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x18]
push ecx
add eax, edi
push eax
push edi
call fcn.004500d0
add esp, 0xc
jmp 0x427150
add dword [ebp - 0x18], eax
add edi, eax
mov dword [ebp - 0x20], edi
inc dword [ebp - 0x1c]
jmp 0x4270fa
cmp dword [ebp - 0x14], ebx
jne 0x42718f
cmp dword [ebp + 0x10], 4
ja 0x427170
push str.LowerFilters
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x42718c
cmp dword [ebp + 0x10], ebx
je 0x42718f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 7
push ebx
push str.LowerFilters
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.00450dff
ret
Function at 0x4273ba
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x20
mov eax, 0x4600df
call fcn.00450d5a
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetServicespccsmcfd
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
cmp eax, ebx
jne 0x42752c
cmp dword [ebp - 0x18], ebx
je 0x42752c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetControlClass4F919108_4ADF_11D5_882D_00B0D02FE381
push edi
call esi
cmp eax, ebx
jne 0x42752c
cmp dword [ebp - 0x18], ebx
je 0x42752c
mov esi, str.pccsmcfd
lea edi, [ebp + 0x400]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x200
push esi
push ebx
lea eax, [ebp]
push eax
call fcn.0044c8f0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x11], bl
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.LowerFilters
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4274c1
cmp dword [ebp - 0x28], 7
jne 0x4274c1
mov eax, dword [ebp - 0x1c]
cmp eax, 4
jbe 0x4274c1
shr eax, 1
push eax
lea eax, [ebp + 0x400]
push eax
lea ecx, [ebp]
call fcn.004275bb
pop ecx
pop ecx
cmp eax, 0x80100025
jne 0x427520
mov byte [ebp - 0x11], 1
jmp 0x4274c8
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x1c], ebx
push 0x12
pop edi
mov dword [ebp - 0x24], edi
push esi
push ebx
lea eax, [ebp + 0x200]
push eax
call fcn.0044c8f0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp eax, 4
ja 0x427556
push edi
lea eax, [ebp + 0x400]
push eax
lea eax, [ebp + 0x200]
push eax
call fcn.0044e300
add esp, 0xc
mov dword [ebp - 0x24], 0x14
push dword [ebp - 0x24]
lea eax, [ebp + 0x200]
push eax
push 7
push ebx
push str.LowerFilters
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.0044c8d7
add ebp, 0x418
leave
ret
lea ecx, [eax + 0x12]
cmp ecx, esi
jae 0x427593
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x212]
push eax
call fcn.0044e300
push edi
lea eax, [ebp + 0x400]
push eax
lea eax, [ebp + 0x200]
push eax
call fcn.0044e300
add esp, 0x18
mov eax, dword [ebp - 0x1c]
add eax, 0x12
mov dword [ebp - 0x24], eax
jmp 0x427505
mov byte [ebp - 0x11], bl
jmp 0x427520
Function at 0x427656
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x214
lea ebp, [esp - 4]
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp + 0x214], eax
push 0x18
mov eax, 0x461db7
call fcn.00450d5a
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetServicespccsmcfd
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
cmp eax, ebx
jne 0x427774
cmp dword [ebp - 0x14], ebx
je 0x427774
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
call fcn.00426e89
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetControlClass4F919108_4ADF_11D5_882D_00B0D02FE381
push edi
call esi
cmp eax, ebx
jne 0x427774
cmp dword [ebp - 0x14], ebx
je 0x427774
mov esi, str.pccsmcfd
lea edi, [ebp + 0x200]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x200
push esi
push ebx
lea eax, [ebp]
push eax
call fcn.0044c8f0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push str.LowerFilters
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x427768
cmp dword [ebp - 0x20], 7
jne 0x427768
mov eax, dword [ebp - 0x1c]
cmp eax, 4
jbe 0x427768
shr eax, 1
push eax
lea eax, [ebp + 0x200]
push eax
lea ecx, [ebp]
call fcn.004275bb
pop ecx
pop ecx
test eax, eax
jne 0x427768
push dword [ebp - 0x1c]
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call fcn.004270d6
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x214]
xor ecx, ebp
call fcn.0044c8d7
add ebp, 0x218
leave
ret
Function at 0x4289b3
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x46124c
call fcn.00450d5a
mov eax, dword [ebp + 8]
mov esi, ecx
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
cmp dword [esi], 0xffffffff
je 0x428a95
test eax, eax
je 0x428a95
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
call ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edi, [esi + 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x428a86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x428a7f
push dword [ebp + 0x14]
push 0
lea eax, [ebp - 0x20]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x428a3c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [ebp - 0x14], 0x80100020
jmp 0x428a86
cmp eax, 1
jne 0x428a61
push 0
push dword [ebp + 0xc]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x428a5a
mov dword [ebp - 0x14], 0x80100026
push dword [esi + 0x14]
call ebx
jmp 0x428a86
push dword [esi]
cmp eax, 0x102
jne 0x428a79
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [ebp - 0x14], 0x80100022
jmp 0x428a86
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [ebp - 0x14], 0x80100026
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.00450dff
ret 0x10
mov eax, 0x80100014
call fcn.0040426a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
mov eax, 0x428aaf
ret