joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbb8f20
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ecx
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 4], ebp
je 0xbb8fd7
mov eax, dword [esp + 0xc]
push esi
push 0xf01ff
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0xbb8fcf
push ebx
push edi
push 0xbdc770
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0xbb8fae
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0xbdc770
push esi
call ebx
test eax, eax
je 0xbb8fae
mov ebp, 3
cmp dword [0xbdc774], ebp
jne 0xbb8faa
push 0x3e8
call edi
push 0xbdc770
push esi
call ebx
test eax, eax
jne 0xbb8f8f
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
test eax, eax
jne 0xbb8fc6
push 0x64
call edi
push esi
call ebx
test eax, eax
je 0xbb8fbb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
pop ecx
ret
Function at 0xbbce00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0xbd28f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0xbbced2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00bb97a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0xbbce61
mov edx, dword [eax]
jmp 0xbbce63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00bbb050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0xbbcebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xbbcebf
cmp esi, edi
je 0xbbcebf
mov ecx, esi
call fcn.00bb4a00
push esi
call fcn.00bc21c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00bb9990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0xbbcef5
mov eax, dword [eax]
jmp 0xbbcef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00bb8640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0xbbcf25
mov eax, dword [eax]
jmp 0xbbcf27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0xbbcf76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0xbbcf76
cmp esi, edi
je 0xbbcf76
mov eax, dword [esi]
cmp eax, edi
je 0xbbcf5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0xbbcf6d
push eax
call fcn.00bc21c8
add esp, 4
push esi
call fcn.00bc21c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xbbcf90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xbbcffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xbbd035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00bbce00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xbbcfc5
mov edi, 0xbd78b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xbbd035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00bbce00
add edi, 4
add esp, 0xc
cmp edi, 0xbd78c0
jb 0xbbd000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xbbd070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00bc3082
mov esi, eax
add esp, 8
test esi, esi
je 0xbbd107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xbbd102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00bc2946
add esp, 8
test eax, eax
je 0xbbd0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xbbd0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00bc2946
add esp, 8
test eax, eax
jne 0xbbd0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xbbd102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xbbdf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xbd29fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xbbe002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00bc1dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xbbe002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00bb96e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00bc220b
push 0x10
call fcn.00bc21d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xbbdfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00bae1c0
jmp 0xbbdfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00bbdb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xbbdff0
mov ecx, edi
call fcn.00bae2c0
push edi
call fcn.00bc21c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xbbe021
inc ebx
cmp ebx, 0x20
jb 0xbbdf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xbbf250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xbd3808
push 0xbc3288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xbbf329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xbbf329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00bc21d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xbbf329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xbbf329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xbbf32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00bbf351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbbfd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xbbfd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xbbfd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xbbfd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xbbfd94
push eax
push esi
call fcn.00bc220b
add esp, 8
pop esi
ret 0x10

Function at 0xbbfda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xbbfe22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xbbfe15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xbd8320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00bc1dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xbbfdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xbbfe30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xbbfec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xbbfeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xbd8320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00bc1dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xbbfeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xbbfe6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xbc0000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xbc0131
push esi
call fcn.00bc3145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00bb2080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xbc0131
push 0
push ebp
call fcn.00bb23a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00bb2260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xbc008b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00bb22f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xbc0121
push 0xbd8918
push edi
call fcn.00bc13f0
push eax
push ebx
push esi
call fcn.00bbff60
push 0xbd88f8
push edi
call fcn.00bc13f0
push eax
push ebx
push esi
call fcn.00bbff60
push 0xbd88d8
push edi
call fcn.00bc13f0
push eax
push ebx
push esi
call fcn.00bbff60
push 0xbd88c0
push edi
call fcn.00bc13f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00bbff60
push 0xbd88a0
push edi
call fcn.00bc13f0
push eax
push ebx
push esi
call fcn.00bbff60
push 0xbd8888
push edi
call fcn.00bc13f0
push eax
push ebx
push esi
call fcn.00bbff60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xbc11b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00bc1140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00bc1140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00bc1140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00bc1140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xbc1bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xbc1c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xbd387c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xbc1c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xbc1c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x5293d2
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [esi - 0x77], ah
fdivr st(7)
xor al, 0x24
lea eax, [0x6117e1]
mov word [esp], ax
mov dword [esp + 0x28], 0x528b08
call fcn.00610075
pushfd
cmp eax, dword [ebp - 0x10]
pushfd
call fcn.006101ff
push ecx
dec edx
imul esi, esp, 0x3c
imul esi
sahf
js 0x529400
inc esi
and ch, byte [ebp + 0x623e0e52]
out 0xba, al
ret 0xfbca
daa
cmc
push es
or dword [esi - 0x471777e7], 0x4a6b84a8
and eax, 0xc7e3fbd2
call 0x61f7790b
inc eax
xor al, 0xe9
push ss
xchg ebx, ebp
je 0x529400
je 0x5293b2
jns 0x529495
xchg ecx, eax
sar byte [ebx + 0x31a12d85], cl
add dh, byte [edx + 0x4d]
pop ecx
popal
cmp dword [ebx], edi
inc ecx
pop edx
paddw mm6, qword [esi + 0x29]
std
jbe 0x529461
shr dword [ebx], 0x1e
cli
inc edi
pop eax
sbb esp, dword [eax + 0x1d]
xor al, 0x8c
cwde
test al, 0x28
mov ecx, 0x8af179a1
dec ebx
sbb dword [edx - 0x7f1bb245], esp
mov bh, 0x94
out 0x89, al
mov eax, 0x893d7b94
add dword [edi + 0x7119fa2c], edx
pop ds
jno 0x529482
or al, 0x7a
and eax, 0x1c07600a
jo 0x52947f
sti
jmp 0x529435
sal ah, cl
sub al, 0xe
push cs
mov ss, ecx
loop 0x529424
push edx
js 0x5294be
push es
mov dword [0xbd52a594], eax
inc ax
lodsb al, byte [esi]
mov byte [edi + 0x85560e5], cl
imul ebp, dword [esp + eax*2], 0xefcf1034
in al, 0xdd
jmp dword [sym.imp.KERNEL32.dll_GetVersion]
mov eax, dword [0x623e3e62]
out dx, al
popal
scasb al, byte es:[edi]
and esi, edx
fsubrp st(3)
jmp 0x5294a2
Function at 0x62b729
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
jnp 0x62b73f
xchg edi, ebx
adc dword [esi - 0x46], eax
pop edx
pop edi
jle 0x62b768
das
mov cl, 0x95
sbb ax, 0x625f
jle 0x62b749
push ss
bound edi, qword [esi]
dec edx
adc eax, 0xf5d9caea
mov dh, 0x96
inc edi
mov edi, 0xaac5e999
cmc
mov esi, 0xdde2c2e1
invalid
call 0x52846e
sub byte [edi - 0x15], 0x6f
add edi, ebx
push edx
add dword [ebp + edx*2 + 0x56], edx
mov ch, al
or byte [bp + si], 0xc6
inc esp
jg 0x62b6e1
add eax, dword [ecx - 0x21]
out 0x1b, eax
jecxz 0x62b796
add byte [esi], bl
mov byte [edx + eax], bh
lds eax, [ebx + 0x23]
adc ebx, ebp
adc byte [edx], cl
adc al, 0xe1
adc byte [0xf51610ac], dl
adc byte [edi], dl
xchg ecx, eax
daa
sbb byte [0x21cb1921], bl
sbb cl, byte [esi + 0x21]
sbb ebx, dword [edi + 0x21cf1c21]
sbb eax, 0x651e21ca
dec esi
and dword [ebx], ebx
lahf
and dword [edi + ecx*8], ebx
and dword [0x651e21ca], ebx
and dword [edi], ebx
pop esi
dec edi
and byte [edx], ah
and dword [ebx + 0x6a], eax
and al, byte [eax + ecx - 0x14]
adc byte cs:[eax + ebp*2], ah
adc byte [0x452610aa], ah
adc byte [edi], ah
mov esp, 0x10322810
sub dword [ebx], esi
adc byte [edx], ch
cmp byte [eax], dl
sub eax, dword [ecx + 0x104a2c10]
sub eax, 0x212e10f2
adc byte [edi], ch
sub bh, byte [eax]
adc byte [ebx], ch
adc dword [eax], 0x2d104a2c
adc byte [esi], ch
and dword [eax], edx
and dword cs:[eax], edx
das
mov word [eax], ss
xor byte [esi], dl
adc byte [ecx], dh
pop es
adc byte [edx], dh
mov ecx, 0x10823310
xor al, 0x37
adc byte [0xc73610de], dh
push ss
jecxz 0x62b7a2
inc ebx
cmp byte [ebx + 0x439b3943], bh
cmp ch, dh
inc ebx
cmp ecx, dword [esi + 0x43943c43]
cmp eax, 0x493e4388
inc ebx
aas
stc
inc ebx
inc eax
cmp al, byte [ebx + 0x41]
in al, dx
inc ebx
inc edx
outsd dx, dword [esi]
pop esi
adc dh, bh
adc byte [edi + esi*2 + 0x10], al
inc ebp
dec esp
daa
inc esi
push cs
and dword [edi - 0x7b], eax
and dword [eax - 0x79], ecx
and dword [ecx + 0x6b], ecx
and dword [edx - 0x10], ecx
and dword [ebx + 1], ecx
and dword [ecx + 0x21], ecx
dec ebp
invalid
Function at 0x10034ea
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [esi + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
inc dword [ebp - 4]
inc dword [ebp - 8]
mov ebx, eax
cmp ebx, edi
je 0x1003552
push ebx
push dword [esi + 0xc]
push 0x10016d8
push 1
call fcn.010053cc
add esp, 0x10
mov eax, ebx
jmp 0x10036a7
mov eax, dword [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
add eax, eax
push eax
push 0x40
call ebx
push dword [ebp - 8]
mov dword [ebp + 8], eax
push 0x40
call ebx
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], edi
je 0x1003683
cmp eax, edi
je 0x1003683
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x18], edi
jbe 0x100368a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
cmp ebx, edi
jne 0x1003665
mov dword [ebp - 0xc], edi
cmp dword [0x1001180], edi
je 0x100363d
mov eax, 0x1001180
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp + 8]
push esi
call dword [eax]
xor ecx, ecx
mov ebx, eax
inc ecx
cmp ebx, ecx
jne 0x10035fd
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
lea eax, [eax*4 + 0x1001180]
cmp dword [eax], edi
jne 0x10035d1
cmp ebx, edi
je 0x100363d
cmp ebx, ecx
jne 0x100361b
push dword [esi + 0xc]
push dword [ebp + 8]
push 0x1001650
push ecx
call fcn.010053cc
add esp, 0x10
jmp 0x1003633
push ebx
push dword [esi + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
push 0x10015a8
push ecx
call fcn.010053cc
add esp, 0x18
cmp dword [ebp - 0x14], edi
jne 0x1003654
mov dword [ebp - 0x14], ebx
jmp 0x1003654
push dword [esi + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
push 0x1001520
push edi
call fcn.010053cc
add esp, 0x14
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jb 0x100358c
jmp 0x100368a
push ebx
push dword [esi + 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push 0x1001470
push 1
call fcn.010053cc
add esp, 0x18
mov dword [ebp - 0x14], ebx
jmp 0x100368a
mov dword [ebp - 0x14], 0xe
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp + 8], edi
je 0x100369a
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x1c], edi
je 0x10036a4
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100395b
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
mov esi, dword [ebp + 8]
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push edi
push dword [esi + 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
inc dword [ebp - 0xc]
mov ebx, eax
cmp ebx, edi
je 0x10039b6
push dword [esi + 0xc]
push 0x1001bb8
push 1
call fcn.010053cc
add esp, 0xc
mov eax, ebx
jmp 0x1003ae3
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x10039d7
mov dword [ebp - 8], 0xe
jmp 0x1003ae0
mov dword [ebp + 8], edi
cmp dword [ebp - 0x14], edi
jbe 0x1003ad7
mov eax, dword [ebp - 0xc]
push edi
push edi
push edi
push edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x1003a9d
lea eax, [ebp - 0x10]
push eax
push 0x20019
push edi
push dword [ebp - 4]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x1003ab8
mov eax, dword [esi + 0x14]
cmp dword [eax + 8], edi
je 0x1003a5a
push 8
pop ecx
mov ebx, ecx
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [eax + ecx]
push esi
call fcn.0100389e
test eax, eax
jne 0x1003a7b
mov eax, dword [esi + 0x14]
add ebx, 4
mov ecx, ebx
cmp dword [ebx + eax], edi
jne 0x1003a37
push 0x57
pop ebx
push ebx
push dword [esi + 0xc]
push dword [ebp - 4]
push 0x1001b30
push 1
call fcn.010053cc
add esp, 0x14
cmp dword [ebp - 8], edi
jne 0x1003a7b
mov dword [ebp - 8], ebx
cmp dword [ebp - 0x10], edi
je 0x1003a8c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], edi
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jb 0x10039e3
jmp 0x1003ad7
push ebx
push dword [esi + 0xc]
push dword [ebp - 0x14]
push dword [ebp + 8]
push 0x1001a80
push 1
call fcn.010053cc
add esp, 0x18
jmp 0x1003ad4
push ebx
push dword [esi + 0xc]
push dword [ebp - 0x14]
push dword [ebp + 8]
push dword [ebp - 4]
push 0x10019c0
push 1
call fcn.010053cc
add esp, 0x1c
mov dword [ebp - 8], ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4