joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474c40
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x474cfe
mov eax, dword [esi]
test eax, eax
je 0x474cfe
push edi
test al, 1
jne 0x474c6a
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x474c86
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x474c86
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x474ca1
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x474cdf
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x474cdf
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.0044e8b0
add esp, 4
test eax, eax
jne 0x474cdf
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x474cfe
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x475390
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.004940f0
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47543d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x475ac0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x49c820
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x47543d
mov ecx, dword [0x4be40c]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47543d
push 1
push eax
call fcn.004012b0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x475450
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x47546c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4be40c]
push eax
push esi
mov ecx, edi
call fcn.00475900
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x4754a3
test eax, eax
jne 0x4754a7
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00475560
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x475526
test esi, esi
je 0x475526
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.004012b0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x475505
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x475505
push 1
push 0x8000012f
call fcn.004012b0
add esp, 8
push esi
call edi
test eax, eax
jne 0x4754e0
mov edx, dword [0x4be40c]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47551e
push 1
push eax
call fcn.004012b0
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x475540
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00475560
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.004756d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4756d0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004940f0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x475850
xor cl, cl
mov eax, edi
call fcn.00475870
test eax, eax
jne 0x475705
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4be40c]
push eax
push ebp
mov ecx, edi
call fcn.00475900
test eax, eax
je 0x475728
xor eax, eax
mov dword [0x4c3f5c], eax
jmp 0x47572d
mov eax, dword [0x4c3f5c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x49c820
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x475773
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x47577b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4c3f58]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x4759d0
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x475828
lea ecx, [esp + 0x10]
push ecx
push 0x4745f0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4757e5
mov edx, dword [esp + 0x1848]
call fcn.00475110
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.004735f0
mov edx, dword [esp + 0x1848]
call fcn.00475110
mov edx, dword [0x4be40c]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x475850
push 1
push eax
call fcn.004012b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4c3f5c]
cmp eax, ebx
je 0x475850
cmp eax, 1
setg al
mov dword [0x4c3f5c], ebx
cmp al, bl
je 0x475850
mov edx, ebp
call fcn.00475110
push ebx
mov ecx, edi
call fcn.004756d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x48ef96
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bdd70]
jne 0x48efa0
repz ret
jmp fcn.00493b1f

Function at 0x491eb0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bdd70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048c402
and dword [ebp - 0x14], 0
cmp dword [0x4c05bc], 0
mov dword [ebp - 0x18], eax
jne 0x491f63
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49200b
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x49bfb0
push ebx
call edi
test eax, eax
je 0x49200b
mov esi, dword [fcn.004887e0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c05bc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c05c0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c05c4], eax
call edi
push eax
call esi
mov dword [0x4c05cc], eax
test eax, eax
je 0x491f63
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c05c8], eax
mov eax, dword [0x4c05c8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.004887e4]
cmp eax, ecx
je 0x491fbc
cmp dword [0x4c05cc], ecx
je 0x491fbc
push eax
call esi
push dword [0x4c05cc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x491fbc
test ebx, ebx
je 0x491fbc
call edi
test eax, eax
je 0x491fb3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x491fb3
test byte [ebp - 8], 1
jne 0x491fbc
or dword [ebp + 0x10], 0x200000
jmp 0x491fef
mov eax, dword [0x4c05c0]
cmp eax, dword [ebp - 0x18]
je 0x491fef
push eax
call esi
test eax, eax
je 0x491fef
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x491fef
mov eax, dword [0x4c05c4]
cmp eax, dword [ebp - 0x18]
je 0x491fef
push eax
call esi
test eax, eax
je 0x491fef
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c05bc]
call esi
test eax, eax
je 0x49200b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49200d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ef96
leave
ret
Function at 0x405290
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x4052b4
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x405380
push 0
push 0
call fcn.00477e95
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret
Function at 0x4077c0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb753
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5062f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ecx + 8]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
test esi, esi
je 0x4078a1
test edi, edi
je 0x4078c7
mov edx, dword [ebp + 0x10]
test edx, 0xf
jne 0x4078ed
lea eax, [edx - 0x10]
cmp dword [ebp + 0xc], eax
jbe 0x407913
cmp byte [ecx + 0x10], 0
je 0x407939
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edx
push eax
push edi
push 0
push 1
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov ecx, eax
test ecx, ecx
je 0x40795f
jmp 0x407879
mov eax, dword [ebp - 0x34]
mov dword [ebx], eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004537ea
mov esp, ebp
pop ebp
ret 0x10
push 0x80090003
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Key_is_not_valid
lea ecx, [ebp - 0x40]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x40]
push eax
call fcn.0046d964
push 0x6f8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Buffer_is_NULL
lea ecx, [ebp - 0x4c]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x4c]
push eax
call fcn.0046d964
push 0x80090005
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Data_size_is_not_a_multple_of_block_size
lea ecx, [ebp - 0x58]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x58]
push eax
call fcn.0046d964
push 0x80090028
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Buffer_is_too_small
lea ecx, [ebp - 0x64]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x64]
push eax
call fcn.0046d964
push 0x80090027
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_IV_has_not_been_set
lea ecx, [ebp - 0x70]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x70]
push eax
call fcn.0046d964
push 1
push 2
lea ecx, [ebp - 0x114]
call fcn.00405b50
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 1
push str.Decrypt_1_:_CryptDecrypt_failed__
push eax
call fcn.004053c0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
call esi
push eax
call fcn.004082a0
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004053c0
add esp, 0xc
lea eax, [ebp - 0x114]
push str.__0x
push eax
call fcn.004053c0
add esp, 8
mov ecx, eax
push 0x40aaa0
call fcn.00407040
mov edi, eax
call esi
push eax
mov ecx, edi
call fcn.00406da0
push 0x4d6aa4
push eax
call fcn.004053c0
add esp, 8
mov dword [ebx], 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x114]
push eax
call fcn.0040b0e0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00409f70
push eax
lea ecx, [ebp - 0x7c]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x7c]
push eax
call fcn.0046d964
push 0
push 0
call fcn.0046d964
int3
Function at 0x407d40
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb7d3
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x5062f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ecx + 8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
test edx, edx
je 0x407e1d
test esi, esi
je 0x407e43
mov ebx, dword [ebp + 0x10]
mov eax, ebx
and eax, 0xfffffff0
add eax, 0x10
cmp dword [ebp + 0xc], eax
jb 0x407e69
cmp byte [ecx + 0x10], 0
je 0x407e8f
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
push eax
push esi
push 0
push 1
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov ecx, eax
test ecx, ecx
je 0x407eb5
jmp 0x407df5
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004537ea
mov esp, ebp
pop ebp
ret 0x10
push 0x80090003
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Key_is_not_valid
lea ecx, [ebp - 0x40]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x40]
push eax
call fcn.0046d964
push 0x6f8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Buffer_is_NULL
lea ecx, [ebp - 0x4c]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x4c]
push eax
call fcn.0046d964
push 0x80090028
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Buffer_is_too_small
lea ecx, [ebp - 0x58]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x58]
push eax
call fcn.0046d964
push 0x80090027
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_IV_has_not_been_set
lea ecx, [ebp - 0x64]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x64]
push eax
call fcn.0046d964
push 1
push 2
lea ecx, [ebp - 0x108]
call fcn.00405b50
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 1
push str.Encrypt_1_:_CryptEncrypt_failed__
push eax
call fcn.004053c0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
call esi
push eax
call fcn.004082a0
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004053c0
add esp, 0xc
lea eax, [ebp - 0x108]
push str.__0x
push eax
call fcn.004053c0
add esp, 8
mov ecx, eax
push 0x40aaa0
call fcn.00407040
mov ebx, eax
call esi
push eax
mov ecx, ebx
call fcn.00406da0
push 0x4d6aa4
push eax
call fcn.004053c0
add esp, 8
mov dword [edi], 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x108]
push eax
call fcn.0040b0e0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00409f70
push eax
lea ecx, [ebp - 0x70]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x70]
push eax
call fcn.0046d964
push 0
push 0
call fcn.0046d964
int3
Function at 0x4086b0
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb868
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5062f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x40870a
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0x48]
mov dword [ebx], 0
mov byte [edi + 0x10], 0
cmp dword [edi + 4], 0
mov dword [ebp - 4], 0
je 0x408839
test ecx, ecx
je 0x408854
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
je 0x408739
cmp esi, 0x18
je 0x408739
cmp esi, 0x20
jne 0x40886f
push 0x2c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0046ce10
add esp, 0xc
mov dword [ebp - 0x40], 0x208
mov byte [ebp - 4], 1
cmp esi, 0x10
je 0x408780
cmp esi, 0x18
je 0x408772
cmp esi, 0x20
jne 0x40888a
mov dword [ebp - 0x3c], 0x6610
mov eax, esi
jmp 0x40878c
mov dword [ebp - 0x3c], 0x660f
mov eax, 0x18
jmp 0x40878c
mov dword [ebp - 0x3c], 0x660e
mov eax, 0x10
push esi
push dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040b400
add esp, 0x10
test eax, eax
jne 0x4088a5
push ebx
push 0
push 0
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x4088c6
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 1
push eax
push 4
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x4088e7
jmp 0x408803
mov al, 1
lea ecx, [ebp - 0x40]
mov edx, 4
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x408810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004537ea
mov esp, ebp
pop ebp
ret 8
push str.SetKey:_Provider_is_not_valid
lea ecx, [ebp - 0x58]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x58]
push eax
call fcn.0046d964
push str.SetKey:_Key_buffer_is_NULL
lea ecx, [ebp - 0x64]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x64]
push eax
call fcn.0046d964
push str.SetKey:_Key_size_is_not_valid
lea ecx, [ebp - 0x70]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x70]
push eax
call fcn.0046d964
push str.SetKey:_Key_size_is_not_valid
lea ecx, [ebp - 0x7c]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x7c]
push eax
call fcn.0046d964
push str.SetKey:_Unable_to_copy_key
lea ecx, [ebp - 0x88]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x88]
push eax
call fcn.0046d964
push str.SetKey:_Import_key_failed
lea ecx, [ebp - 0x94]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0x94]
push eax
call fcn.0046d964
push str.SetKey:_Set_CBC_mode_failed
lea ecx, [ebp - 0xa0]
call fcn.00405fa0
push 0x4f98b0
lea eax, [ebp - 0xa0]
push eax
call fcn.0046d964
push 0
push 0
call fcn.0046d964
int3
Function at 0x40c9c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4f99b8
push 0x46d430
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x5062f0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x40cb34
cmp word [esi], 0
je 0x40cb34
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ca20
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x40cb34
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40cb34
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.0046ce10
push esi
push 0x4d84b0
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.0040cc90
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.0046ce10
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x4d84bc
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
cmp dword [ebp + 0x14], 0
je 0x40cad3
push esi
call fcn.00451270
add esp, 4
test eax, eax
je 0x40cb34
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x40cafb
cmp dword [ebp + 0x18], 0
je 0x40cafb
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x40cb10
test esi, esi
je 0x40cb20
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x40cb20
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40cb3d
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004537ea
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x40cfb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d009
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d009
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40cffa
cmp esi, edx
jae 0x40d009
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40cfe8
cmp esi, edx
jae 0x40d009
cmp word [esi], 0
je 0x40d009
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40d1f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5062f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.0046ce10
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ComputerZ_HardwareDll.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00451270
add esp, 4
test eax, eax
je 0x40d35a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x28], eax
test eax, eax
je 0x40d35a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PreInit
push eax
call esi
push str.Init
push dword [edi + 0x28]
mov dword [edi], eax
call esi
push str.Finit
push dword [edi + 0x28]
mov dword [edi + 4], eax
call esi
push str.GetInfo
push dword [edi + 0x28]
mov dword [edi + 8], eax
call esi
push str.GetInfo2
push dword [edi + 0x28]
mov dword [edi + 0xc], eax
call esi
push str.InitCpuUsage
push dword [edi + 0x28]
mov dword [edi + 0x10], eax
call esi
push str.GetHarddiskSMARTInfo
push dword [edi + 0x28]
mov dword [edi + 0x18], eax
call esi
push str.InitScanType
push dword [edi + 0x28]
mov dword [edi + 0x14], eax
call esi
push str.GetHardwareInfo
push dword [edi + 0x28]
mov dword [edi + 0x1c], eax
call esi
pop esi
test eax, eax
je 0x40d300
push 0
call eax
mov dword [edi + 0x20], eax
cmp dword [edi], 0
je 0x40d346
cmp dword [edi + 4], 0
je 0x40d346
cmp dword [edi + 8], 0
je 0x40d346
cmp dword [edi + 0xc], 0
je 0x40d346
cmp dword [edi + 0x10], 0
je 0x40d346
cmp dword [edi + 0x18], 0
je 0x40d346
cmp dword [edi + 0x14], 0
je 0x40d346
cmp dword [edi + 0x1c], 0
je 0x40d346
mov eax, 1
mov dword [edi + 0x24], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004537ea
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edi + 0x24], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004537ea
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.004537ea
mov esp, ebp
pop ebp
ret