joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446eaf
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1048
push 0x68aca0
push edi
call fcn.006269d0
mov ebx, dword [ebp + 0x10]
add esp, 0xc
push 0x48
pop edx
cmp dword [ebp + 0xc], edx
cmovle edx, dword [ebp + 0xc]
add edx, ebx
xor esi, esi
movzx ecx, byte [ebx]
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
xor dword [edi + esi*4], ecx
inc esi
cmp esi, 0x12
jl 0x446ede
xor esi, esi
mov dword [ebp - 8], esi
mov ebx, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 8]
push edi
push eax
call fcn.00446afa
mov eax, dword [ebp - 8]
mov dword [edi + ebx*4], eax
mov eax, dword [ebp - 4]
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
pop ecx
pop ecx
cmp ebx, 0x12
jl 0x446f28
lea eax, [ebp - 8]
push edi
push eax
call fcn.00446afa
mov eax, dword [ebp - 8]
mov dword [edi + esi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [edi + esi*4 + 0x4c], eax
add esi, 2
pop ecx
pop ecx
cmp esi, 0x400
jl 0x446f49
pop edi
pop esi
pop ebx
leave
ret

Function at 0x447970
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xc
mov eax, 0x659ffe
call fcn.005fe995
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push 0x6c5e84
push 1
push edi
push 0x6c5e94
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jne 0x447a10
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00403c39
mov eax, dword [eax]
mov dword [ebp - 4], edi
test eax, eax
je 0x4479b9
mov edx, dword [eax]
jmp 0x4479bb
mov edx, edi
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x10]
push esi
push edi
push edi
mov ecx, dword [eax]
push edi
push edi
push edi
push edi
push edx
push eax
call dword [ecx + 0xc]
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4479e4
call fcn.00442b7f
mov dword [ebp - 0x18], edi
test esi, esi
jne 0x447a10
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jne 0x447a10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, edi
mov dword [ebp - 0x10], ecx
jmp 0x447a13
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x447a26
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
test ecx, ecx
je 0x447a30
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
call fcn.005fe963
ret
Function at 0x447b1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ecx, dword [ecx]
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], 0x10
lea ebx, [edi + 0x1044]
xor eax, dword [ebx]
push eax
push edi
mov esi, eax
call fcn.00447bde
xor eax, dword [ebp - 4]
lea ebx, [ebx - 4]
sub dword [ebp + 8], 1
mov edx, esi
pop ecx
pop ecx
mov dword [ebp - 4], edx
jne 0x447b40
mov ecx, dword [edi + 0x1004]
xor ecx, eax
mov eax, dword [edi + 0x1000]
xor eax, edx
mov edx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
leave
ret

Function at 0x447b7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ecx, dword [ecx]
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], 0x10
lea ebx, [edi + 0x1000]
xor eax, dword [ebx]
push eax
push edi
mov esi, eax
call fcn.00447bde
xor eax, dword [ebp - 4]
lea ebx, [ebx + 4]
sub dword [ebp + 8], 1
mov edx, esi
pop ecx
pop ecx
mov dword [ebp - 4], edx
jne 0x447ba1
mov ecx, dword [edi + 0x1040]
xor ecx, eax
mov eax, dword [edi + 0x1044]
xor eax, edx
mov edx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
leave
ret
Function at 0x44851c
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test al, al
jne 0x448542
or eax, 0xffffffff
jmp 0x44861f
cmp al, 0x38
jbe 0x44854e
push 0xfffffffffffffffe
pop eax
jmp 0x44861f
push ebx
push edi
push 0x48
push 0x68c070
push esi
call fcn.006269d0
push 0x1000
lea ebx, [esi + 0x48]
push 0x68c0b8
push ebx
call fcn.006269d0
movzx ebx, byte [ebp + 0xc]
add esp, 0x18
push 2
pop edi
lea eax, [edi - 2]
mov esi, dword [ebp + 8]
cdq
idiv ebx
mov eax, dword [ebp + 8]
movzx ecx, byte [edx + eax]
lea eax, [edi - 1]
cdq
idiv ebx
shl ecx, 8
movzx eax, byte [edx + esi]
or ecx, eax
mov eax, edi
cdq
idiv ebx
shl ecx, 8
movzx eax, byte [edx + esi]
or ecx, eax
lea eax, [edi + 1]
cdq
idiv ebx
shl ecx, 8
movzx eax, byte [edx + esi]
mov esi, dword [ebp - 8]
or ecx, eax
xor dword [esi + edi - 2], ecx
add edi, 4
cmp edi, 0x4a
jl 0x44857a
xorps xmm0, xmm0
lea ebx, [esi + 0x48]
movlpd qword [ebp - 0xc], xmm0
xor edi, edi
push 0
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00448146
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [esi + edi*8], eax
mov dword [esi + edi*8 + 4], ecx
inc edi
cmp edi, 9
jl 0x4485d2
mov edi, 0x200
push 0
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00448146
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ebx], eax
lea ebx, [ebx + 8]
mov dword [ebx - 4], ecx
sub edi, 1
jne 0x4485f9
pop edi
pop ebx
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005fe955
leave
ret

Function at 0x44862c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.EnableSeDebugPrivilege_:_Enabling_the_SeDebug_privileges_for_current_process
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call fcn.00449974
pop ecx
lea eax, [ebp - 0x18]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4486b4
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4486bf
push str.EnableSeDebugPrivilege_:_Adjustin_the_privilege..
call fcn.00449974
pop ecx
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x4486ad
push str.EnableSeDebugPrivilege_:_Failed_to_enable_the_privilege
jmp 0x4486b9
push str.EnableSeDebugPrivilege_:_Successfully_enabled_the_privilege
jmp 0x4486b9
push str.EnableSeDebugPrivilege_:_Failed_to_get_process_token
call fcn.00449974
pop ecx
cmp dword [ebp - 0x18], 0
pop esi
je 0x4486cf
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005fe955
leave
ret
Function at 0x448adf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, str.GetDefaultDomainAndUserName
mov byte [ebp - 0x3ec], al
push ebx
push 0x66c4b8
mov byte [esi], al
mov byte [ebp - 0x7d4], al
call fcn.00449974
pop ecx
pop ecx
call fcn.00449725
lea ecx, [ebp - 0x7dc]
test eax, eax
push ecx
mov edx, 0x20019
mov ecx, 0x20119
cmove ecx, edx
push ecx
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x448b5f
push eax
push str._n_n_Error:_Failed_to_open_WinLogon_Registry_key._Error0x_.8x_n_n
call fcn.00449974
pop ecx
pop ecx
xor eax, eax
jmp 0x448c7b
lea eax, [ebp - 0x7d8]
mov dword [ebp - 0x7d8], 0x3e8
push eax
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x7e0]
push eax
push 0
push str.DefaultUserName
push dword [ebp - 0x7dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x448baa
push eax
push ebx
push str._s_:_Failed_to_find__DefaultUserName_registry_key__Error0x_.8x
call fcn.00449974
mov byte [ebp - 0x7d4], 0
jmp 0x448bbc
lea eax, [ebp - 0x7d4]
push eax
push ebx
push str._s_:_DefaultUserName_value_is_s
call fcn.00449974
add esp, 0xc
mov dword [ebp - 0x7d8], 0x3e8
lea eax, [ebp - 0x7d8]
push eax
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x7e0]
push eax
push 0
push str.DefaultDomainName
push dword [ebp - 0x7dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x448c0a
push eax
push ebx
push str._s_:_Failed_to_find__DefaultDomainName_registry_key__Error0x_.8x
call fcn.00449974
mov byte [ebp - 0x3ec], 0
jmp 0x448c1c
lea eax, [ebp - 0x3ec]
push eax
push ebx
push str._s_:_DefaultDomainName_value_is_s
call fcn.00449974
add esp, 0xc
push dword [ebp - 0x7dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x3ec]
push eax
call fcn.00631510
test eax, eax
lea eax, [ebp - 0x7d4]
pop ecx
push eax
je 0x448c5d
lea eax, [ebp - 0x3ec]
push eax
push 0x686214
push dword [ebp + 0xc]
push esi
call fcn.00445d6d
add esp, 0x14
jmp 0x448c69
push dword [ebp + 0xc]
push esi
call fcn.006311ec
add esp, 0xc
push esi
push ebx
push str._s_:_Final_Default_Domain_Username_value_is_s
call fcn.00449974
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
Function at 0x448c89
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push str.GetDriveVolumeName
push 0x66c4b8
call fcn.00449974
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
pop ecx
pop ecx
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, eax
test ebx, ebx
je 0x448d89
cmp ebx, 1
je 0x448d89
mov ecx, 0x3e8
cmp ebx, 4
je 0x448d17
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x448cfe
mov byte [esi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetDriveVolumeName
push str._s_:_GetVolumeInformation_failed_with_return_code__0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x448d12
push esi
push edi
push str.GetDriveVolumeName
push str._s_:_GetVolumeInformation_Drive__s_::_Name____s
call fcn.00449974
add esp, 0x10
mov ecx, 0x3e8
cmp byte [esi], 0
jne 0x448d6f
mov eax, ebx
sub eax, 0
je 0x448d60
dec eax
sub eax, 1
je 0x448d59
sub eax, 1
je 0x448d52
sub eax, 1
je 0x448d4b
sub eax, 1
je 0x448d44
sub eax, 1
jne 0x448d60
push str.RAM_Disk
jmp 0x448d65
push str.CD_DVD_Drive
jmp 0x448d65
push str.Network_Drive
jmp 0x448d65
push str.Local_Disk
jmp 0x448d65
push str.External_Disk
jmp 0x448d65
push 0x66ae5d
push ecx
push esi
call fcn.006311ec
add esp, 0xc
push esi
push ebx
push edi
push str.GetDriveVolumeName
push str._s_GetDriveType_result_for_drive__s___type:__d__drivename:__s
call fcn.00449974
xor eax, eax
add esp, 0x14
inc eax
jmp 0x448d9e
push edi
push str.GetDriveVolumeName
push str._s__Error_____s_Unknown_or_Invalid_Drive
call fcn.00449974
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x448da3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ax, word [0x6733c8]
push ebx
push esi
mov word [ebp - 4], ax
mov al, byte [0x6733ca]
push edi
mov byte [ebp - 2], al
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, str.GetFixedDrives
push esi
push edi
push str._s_dwDriveMask0x_.8x
call fcn.00449974
add esp, 0xc
xor ebx, ebx
xor eax, eax
mov ecx, ebx
inc eax
shl eax, cl
test esi, eax
je 0x448e11
lea eax, [ebx + 0x41]
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x448e0e
lea eax, [ebx + 0x41]
push eax
push edi
push str._s_Found_Fixed_drive___c
call fcn.00449974
add esp, 0xc
jmp 0x448e11
btr esi, ebx
inc ebx
cmp ebx, 0x1a
jl 0x448dda
push esi
push edi
push str._s_Final_dwDriveMask0x_.8x
call fcn.00449974
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448eb5
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push str._n_Computing_checksum_for_length__d
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00449974
pop ecx
pop ecx
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x448f1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMD5Hash
push str._n_s_CryptAcquireContext_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x448fe5
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x448f50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMD5Hash
push str._n_s_CryptCreateHash_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x448fdb
push str._n_Hashing_the_buffer
call fcn.00449974
pop ecx
push ebx
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x448f80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMD5Hash
push str._n_s_CryptHashData_failed___Error0x_.8x
jmp 0x448fca
push str._n_Computing_final_hash_...
call fcn.00449974
pop ecx
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x448fb9
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.006269d0
jmp 0x448fcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMD5Hash
push str._n_s_CryptGetHashParam_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
Function at 0x448ff6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x449073
test esi, esi
je 0x449073
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
jmp 0x44905c
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x449062
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x44903d
jmp 0x449068
mov edi, dword [ebp - 0x124]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x44908f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.GetProcessID
push str._n_n_s_:__CreateToolhelp32Snapshot_Failed__s_Error0x_.8x
call fcn.00449974
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret

Function at 0x44909e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ebx, ebx
push edi
push dword [ebp + 0x14]
mov edi, str.GetRegStringValue
push dword [ebp + 0xc]
mov byte [esi], bl
push edi
push str._s_:_Opening_key_location__s_s
call fcn.00449974
add esp, 0x10
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4490e2
xor eax, eax
jmp 0x449122
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x449117
push esi
push dword [ebp + 0x14]
push edi
push str._s_:_Success__value_of__s___s
call fcn.00449974
xor ebx, ebx
add esp, 0x10
inc ebx
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x449127
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push str._Computing_checksum_for_length__d
call fcn.00449974
pop ecx
pop ecx
push 0xf0000000
xor esi, esi
lea eax, [ebp - 0x20]
inc esi
push esi
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x449192
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSHA1Hash
push str._s_CryptAcquireContext_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
xor eax, eax
jmp 0x449293
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4491d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSHA1Hash
push str._s_CryptCreateHash_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x44918b
push 0
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x449209
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSHA1Hash
push str._n_s_CryptHashData_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x4491c5
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x14
push eax
lea eax, [ebp - 0x18]
push eax
push 2
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x449262
mov ecx, dword [ebp - 0x24]
xor eax, eax
test ecx, ecx
je 0x449240
inc eax
cmp eax, ecx
jb 0x449232
add eax, eax
cmp eax, 0x100
jae 0x4492a2
push ecx
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.006269d0
push dword [ebp - 0x24]
push str.GetSHA1Hash
push str.__s_Computed_SHA1_hash__length_d__successfully
call fcn.00449974
add esp, 0x18
jmp 0x44927d
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSHA1Hash
push str._s_CryptGetHashParam_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
call fcn.005fe87a
int3
Function at 0x4492a8
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 0xf0000000
xor ebx, ebx
lea eax, [ebp - 8]
push 1
push ebx
push ebx
push eax
mov esi, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4492f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSHA1HashBytes
push str._n_s_CryptAcquireContext_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
xor eax, eax
jmp 0x4493fc
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x8004
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x44932a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSHA1HashBytes
push str._n_s_CryptCreateHash_failed___Error0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x4493dd
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x449351
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSHA1HashBytes
push str._n_s_CryptHashData_failed___Error0x_.8x
jmp 0x44931d
push 4
pop ecx
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x449381
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetSHA1HashBytes
push str._n_s_CryptGetHashParam_failed_to_get_Hash_size__Error0x_.8x
jmp 0x44931d
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
cmp dword [ecx], eax
jae 0x4493a2
push eax
push dword [ecx]
push str.GetSHA1HashBytes
push str._n_s_Output_buffer_size___d__is_not_sufficient__Required_Size___d
call fcn.00449974
add esp, 0x10
jmp 0x4493dd
push ebx
push ecx
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4493ca
push str.GetSHA1HashBytes
push str._n__s___Hash_Computed_successfully
call fcn.00449974
xor esi, esi
inc esi
jmp 0x4493db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nCryptGetHashParam_failed___Error0x_.8x
call fcn.00449974
pop ecx
pop ecx
cmp dword [ebp - 4], ebx
je 0x4493eb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 8], ebx
je 0x4493fa
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x449400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f8
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str.GetServiceUserName
push edi
mov edi, dword [ebp + 0xc]
push ebx
push str._s_Entered
call fcn.00449974
push esi
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x3ec]
mov byte [edi], 0
push 0x3e8
push eax
call fcn.00445d6d
add esp, 0x18
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x3ec]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x449487
push eax
lea eax, [ebp - 0x3ec]
push eax
push ebx
push str._s_:_Failed_to_open_service__s__Error0x_.8x
call fcn.00449974
add esp, 0x10
xor eax, eax
jmp 0x4494fe
push ebx
push str._s_Successfully_opened_service_key...Now_reading_value
call fcn.00449974
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x3f4]
push eax
push edi
lea eax, [ebp - 0x3f8]
push eax
push 0
push str.ObjectName
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f0]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4494e2
push esi
push ebx
push str._s_:_Failed_to_read_value_of_ObjectName__Error0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x449483
mov eax, dword [ebp - 0x3f4]
push edi
push ebx
push str._s_Successfully_read_ObjectName_value__s
mov byte [edi + eax], 0
call fcn.00449974
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret