joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e86e8
Capabilities:
Write file on windows

Disassembly:
push esi
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x6e86f7
xor eax, eax
pop ecx
ret 8
lea eax, [esp]
push 0
push eax
push edx
push dword [esp + 0x14]
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x6e8716
mov dword [esp], 0
mov eax, dword [esp]
pop ecx
ret 8

Function at 0x6e87bc
Capabilities:
Get disk information

Disassembly:
sub esp, 8
movsx eax, byte [esp + 0xc]
lea edx, [esp]
push eax
push 0x88e7c0
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
je 0x6e8816
cmp eax, 2
je 0x6e880d
cmp eax, 4
jne 0x6e87f9
mov eax, 4
add esp, 8
ret
cmp eax, 3
jne 0x6e8807
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
mov eax, 2
add esp, 8
ret
mov eax, 3
add esp, 8
ret
Function at 0x703ef0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push dword [esp + 4]
push 0x8928c4
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
push 2
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 0x10
ret
Function at 0x72f284
Capabilities:
Get disk information

Disassembly:
push edi
push esi
push ebx
sub esp, 0x19c
lea edi, [esp]
xor eax, eax
mov ecx, 0x32
rep stosd dword es:[edi], eax
lea edi, [esp]
mov esi, 0xc8
lea ebx, [esp + 0x198]
lea ecx, [esp + 0x194]
lea edx, [esp + 0x190]
lea eax, [esp + 0xc8]
push esi
push eax
push edx
push ecx
push ebx
push esi
push edi
push 0x89c290
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp + 0x198]
movzx ebx, al
mov edx, eax
and edx, 0xff00
shr edx, 8
add ebx, ebx
xor ebx, edx
mov ecx, eax
and ecx, 0xff0000
shr ecx, 0x10
add ebx, ebx
xor ebx, ecx
movzx edx, bx
test dh, 2
je 0x72f305
xor edx, 1
movzx edx, dx
and eax, 0xff000000
shr eax, 0x18
add edx, edx
xor edx, eax
movzx eax, dx
test ah, 2
je 0x72f31f
xor eax, 1
movzx eax, ax
and eax, 0x1ff
add esp, 0x19c
pop ebx
pop esi
pop edi
ret
Function at 0x731098
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ecx
push 0
call fcn.0074f600
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
push 0
add ecx, 0x10
call fcn.0074f600
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push 0
add ecx, 0x20
call fcn.0074f600
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
push 0
add ecx, 0x30
call fcn.0074f600
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
push 0
add ecx, 0x40
call fcn.0074f600
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x7364e4
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
push esi
mov edi, ecx
push edi
push 4
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x28]
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esp], eax
mov dword [edi + 4], eax
test eax, eax
jne 0x736513
xor eax, eax
pop ecx
pop edi
ret 0x10
mov ecx, edi
call fcn.007364b4
test eax, eax
je 0x736529
push dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop ecx
pop edi
ret 0x10

Function at 0x738a50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x844a50
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jl 0x738ac2
mov eax, dword [0x84ee6c]
test eax, eax
je 0x738a70
call eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x89d13c
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x64]
push 7
push 0
push eax
call fcn.00730a34
add esp, 0xc
mov eax, dword [0x84ee68]
test eax, eax
je 0x738aa3
call eax
call dword [sym.imp.MSVCRT.dll__fcloseall]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x844a50
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
int3

Function at 0x738ad0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x200
lea eax, [esp + 0x208]
lea edx, [esp]
push eax
push dword [esp + 0x208]
push 0x200
push edx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x200
ret

Function at 0x75b634
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ecx], 0x8a06b8
mov dword [ebp - 0x20], ecx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0xc
call fcn.00777d84
mov eax, dword [ebp - 0x20]
mov dword [eax], 0x8a06c8
mov dword [eax + 0xc], 0x8a06d8
mov byte [eax + 0x30], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x769e44
Capabilities:
Rebuild import table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7abdc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ebp - 0x20], ecx
mov dword [ecx], 0x8a17f4
mov dword [ecx + 0x74], 0x8a17f8
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
xor eax, eax
mov edi, 0x8a18cc
mov byte [esi + 0x14], al
mov byte [esi + 5], 1
mov dword [esi + 0x80], eax
add esi, 0x15
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x769ea7
lea edi, [ebp - 0xb4]
xor eax, eax
mov ecx, 0x25
rep stosd dword es:[edi], eax
mov dword [ebp - 0xb4], 0x94
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0xa4]
cmp edx, 2
jne 0x769ef6
mov byte [ecx + 4], 1
jmp 0x769f59
xor eax, eax
mov byte [ecx + 4], al
mov dword [ecx + 0x70], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
push 0x8a18d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x20]
test eax, eax
mov dword [edx + 0x10], eax
jne 0x769f20
mov byte [edx + 5], 0
push 0x8a18e8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], eax
push 0x8a1900
push dword [edx + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
test edx, edx
mov dword [ecx + 0xc], eax
je 0x769f51
test eax, eax
jne 0x769f55
mov byte [ecx + 5], 0
mov byte [ecx + 0x64], 0
mov dword [ecx + 0x68], 1
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x76ad24
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7abe64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
mov dword [ebp - 4], 3
mov dword [ebp - 4], 2
mov eax, ecx
lea ecx, [eax + 0x30]
call fcn.0076ac64
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x14]
call fcn.0076ac64
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
call fcn.0076ac64
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 4]
call fcn.0076ac64
mov eax, dword [ebp + 8]
test al, 1
je 0x76adc5
mov eax, dword [ebp - 0x14]
push eax
call fcn.007703b0
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x7703dc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7abeb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ecx
call fcn.0077498c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0x8a1b28
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0x866c6c
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov byte [ecx + 0x1c], al
mov dword [ecx + 0x10], 0x28
mov byte [ecx + 0x1d], al
mov byte [ecx + 0x1e], al
add ecx, 0x20
call fcn.00772864
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x30], 0
lea ecx, [eax + 0x28]
call fcn.00770c2c
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x24]
xor eax, eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x38], eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x2c], 0
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x7704d5
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 4
push dword [ebp - 0x24]
mov ecx, eax
call fcn.007780c4
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov dword [ebp - 4], 3
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x7704ae
Function at 0x771da4
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push 0x8a1c88
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor edx, edx
cmp eax, 0x20
seta dl
mov eax, edx
ret 4

Function at 0x777f54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push 0x10
xor ebp, ebp
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x777f6b
mov ebp, 0x10000000
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x777f80
or ebp, 0x20000000
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x777f95
or ebp, 0x40000000
mov eax, ebp
pop ebp
ret

Function at 0x777fa4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push 1
xor ebp, ebp
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x777fbb
mov ebp, 1
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x777fcd
or ebp, 2
push 4
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x777fdf
or ebp, 4
mov eax, ebp
pop ebp
ret
Function at 0x785584
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ace9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov dword [ecx], 0x8a45c0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], eax
push 0x10
add ecx, 0x4ac
call fcn.007990f8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
push 0x10
add ecx, 0x4b8
call fcn.007990f8
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebx + 0x4c4]
call fcn.00736414
mov dword [ebx + 0x4c8], 0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x4c4
call fcn.007361c4
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x14]
fld qword [0x8a4450]
fst qword [ecx + 0x50]
fstp qword [ecx + 0x58]
mov edi, 0xac44
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
xor edx, edx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], edx
mov byte [ecx + 0x30], dl
mov dword [ecx + 0x2c], edx
mov byte [ecx + 0x4a0], dl
mov byte [ecx + 0x4a1], dl
mov dword [ecx + 0x4a4], edx
mov eax, 1
mov byte [ecx + 0x14], al
mov byte [ecx + 0x31], al
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x48], edx
mov dword [ecx + 0x70], edx
mov dword [ecx + 0x74], edx
mov dword [ecx + 0x78], edx
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x4a8], edx
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x40], eax
mov byte [ecx + 0x3c], dl
mov byte [ecx + 0x20], dl
mov dword [ecx + 0x46c], edx
mov byte [ecx + 0x479], dl
mov dword [ecx + 0x47c], edx
mov byte [ecx + 0x478], dl
mov dword [ecx + 0x80], edx
mov dword [ecx + 0x488], edx
mov dword [ecx + 0x480], edx
mov dword [ecx + 0x484], edx
mov dword [ecx + 0x494], edx
mov dword [ecx + 0x48c], edx
mov dword [ecx + 0x490], edx
mov dword [ecx + 0x498], edx
call fcn.007a1834
mov ecx, dword [ebp - 0x2c]
fld qword [0x8a4448]
mov dword [ecx + 0x110], 0
xor edx, edx
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
shr eax, 0x1f
fadd dword [eax*4 + 0x8a4460]
fdivp st(1)
fstp dword [ecx + 0x470]
xor eax, eax
mov dword [ecx + 0x108], eax
mov dword [ecx + 0x10c], eax
mov dword [ecx + 0x474], eax
mov dword [ecx + 0x8c], eax
mov dword [ecx + 0x49c], eax
mov al, 0
mov byte [ecx + edx + 0xa0], al
mov byte [ecx + edx + 0x90], al
add edx, 1
cmp edx, 0x10
jl 0x785724
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x78f70c
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x3e4
mov ecx, dword [esp + 0x3f8]
mov ebp, dword [esp + 0x3fc]
mov esi, dword [esp + 0x400]
mov ebx, dword [esp + 0x404]
test ebx, ebx
je 0x78f75d
push dword [ebx + 0x298]
lea edx, [esi + 1]
push edx
push ebp
push ecx
call fcn.0078f70c
add esp, 0x10
mov dword [ebx + 0x298], eax
mov eax, ebx
add esp, 0x3e4
pop ebx
pop ebp
pop esi
pop edi
ret
lea edx, [esp]
push edx
push 0x20019
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x78f750
mov dword [esp + 4], 1
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0x100
lea edx, [esp + 8]
push edx
push ecx
push eax
push 0
push 0x8a5a54
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x78f8ab
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10c]
push 0x200
push edx
push ecx
call fcn.0078f48c
add esp, 0xc
test eax, eax
jne 0x78f8ab
push 0x29c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x78f8ab
mov edi, ebx
xor eax, eax
mov ecx, 0xa7
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x30c]
push 0x64
mov dword [ebx], esi
xor esi, esi
push edx
push 0xffffffffffffffff
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x30c]
lea edx, [esp + 0x3d4]
push edx
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x78f847
lea eax, [esp + 0x3d4]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
lea edx, [ebx + 4]
mov dword [edx], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 4], esi
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov dword [esp + 4], 1
lea esi, [esp + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0x100
lea edx, [esp + 8]
push edx
push ecx
push esi
push 0
push 0x8a5a5c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x78f895
lea edi, [esp + 0xc]
lea esi, [ebx + 0x214]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x78f885
jmp 0x78f8ab
lea esi, [ebx + 0x214]
mov edi, ebp
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x78f89d
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x78f750
Function at 0x78f91c
Capabilities:
Query or enumerate registry key

Disassembly:
push esi
push ebx
sub esp, 0x88
mov esi, ecx
lea edx, [esp]
xor eax, eax
mov dword [esp], eax
push edx
xor ebx, ebx
push 0x8a5a68
push reloc.DSOUND.dll_DirectSoundEnumerateA
mov dword [esi + 4], eax
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x78f993
mov dword [esp + 0x84], edi
lea edx, [esp + 4]
push 0x80
push edx
mov edi, ebx
push edi
push dword [esp + 0xc]
add ebx, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, eax
test edi, edi
jne 0x78f988
lea edx, [esp + 4]
push dword [esi]
push 0
push edx
push dword [esp + 0xc]
call fcn.0078f70c
add esp, 0x10
mov dword [esi], eax
test edi, edi
je 0x78f951
mov edi, dword [esp + 0x84]
mov eax, dword [esp]
test eax, eax
je 0x78f9a1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esi]
test ebx, ebx
je 0x78f9d3
mov edx, dword [esi + 4]
mov esi, esi
add edx, 1
mov dword [esi + 4], edx
mov ebx, dword [ebx + 0x298]
test ebx, ebx
jne 0x78f9ac
test edx, edx
je 0x78f9c8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, esi
add esp, 0x88
pop ebx
pop esi
ret
mov edx, dword [esi + 4]
jmp 0x78f9bc
Function at 0x796ca4
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x20
mov edx, ecx
mov eax, dword [edx + 0x10c]
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [edx + 0x198], 0
je 0x796d56
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov esi, edx
mov ecx, 1
mov ebx, ecx
mov dword [esp + 0x14], edi
jmp 0x796ce1
mov eax, dword [esi + 0x10c]
mov dword [esp + 4], 0xac44
mov edx, 1
mov edi, 0x10
movzx ecx, bx
mov word [esp], dx
mov word [esp + 0xe], di
mov word [esp + 2], cx
mov edi, 0x12
mov word [esp + 0x10], di
add ecx, ecx
imul edi, ecx, 0xac44
mov word [esp + 0xc], cx
mov dword [esp + 8], edi
lea edi, [esp]
push edx
xor ecx, ecx
push ecx
push ecx
push edi
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x796d3a
mov dword [esi + 0x198], ebx
add ebx, 1
cmp ebx, 0x10
jle 0x796cdb
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, dword [edx + 0x198]
cmp ecx, 0x10
jne 0x796d65
mov dword [edx + 0x198], 2
add esp, 0x20
ret
Function at 0x79f310
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov eax, dword [ebp + 0xc]
shr eax, 2
add eax, dword [ebp + 8]
mov edx, dword [0x846654]
test edx, edx
mov dword [ebp - 0x1c], eax
je 0x79f1a6
call fcn.0079f100
mov dword [0x84efb0], eax
mov dword [0x846654], 0
rdtsc
mov esi, dword [ebp - 0x1c]
mov ecx, eax
rdtsc
mov esi, dword [esi]
mov edi, eax
rdtsc
sub eax, edi
sub edi, ecx
mov edx, eax
lea esi, [edi*2]
shr edi, 2
lea eax, [edi + esi*2]
add edi, esi
test dword [0x84efb0], 0xffffffff
cmovne edi, eax
xor eax, eax
sub edi, edx
setge al
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x79f23e
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
pxor xmm0, xmm0
lea esi, [esi]
lea edi, [edi]
movntdq xmmword [edi], xmm0
movntdq xmmword [edi + 0x10], xmm0
movntdq xmmword [edi + 0x20], xmm0
movntdq xmmword [edi + 0x30], xmm0
movntdq xmmword [edi + 0x40], xmm0
movntdq xmmword [edi + 0x50], xmm0
movntdq xmmword [edi + 0x60], xmm0
movntdq xmmword [edi + 0x70], xmm0
lea edi, [edi + 0x80]
dec ecx
jne 0x79f200
sfence
emms
jmp 0x79f306
mov eax, dword [ebp + 0xc]
mov edx, eax
shr edx, 1
add edx, dword [ebp + 8]
shr eax, 2
add edx, eax
mov dword [ebp - 0x14], edx
mov ecx, dword [0x846654]
test ecx, ecx
je 0x79f26e
call fcn.0079f100
mov dword [0x84efb0], eax
mov dword [0x846654], 0
rdtsc
mov esi, dword [ebp - 0x14]
mov ecx, eax
rdtsc
mov esi, dword [esi]
mov edi, eax
rdtsc
sub eax, edi
sub edi, ecx
mov edx, eax
lea esi, [edi*2]
shr edi, 2
lea eax, [edi + esi*2]
add edi, esi
test dword [0x84efb0], 0xffffffff
cmovne edi, eax
xor eax, eax
sub edi, edx
setge al
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x79f1e8
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
pxor xmm0, xmm0
nop
lea esi, [esi]
lea edi, [edi]
movdqa xmmword [edi], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x60], xmm0
movdqa xmmword [edi + 0x70], xmm0
lea edi, [edi + 0x80]
dec ecx
jne 0x79f2d0
emms
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
test dword [0x84efac], 0xffffff00
jne 0x79f170
test dword [0x84efac], 0xffffffff
jne 0x79f3f0
call fcn.0079f000
jmp fcn.0079f310
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], edi
xor eax, eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
rep stosb byte es:[edi], al
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x7a18e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7adfd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ecx
push dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x7a1a3b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x7a1a3b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x7a1a3b
mov dword [ebp - 0x34], 0
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x7a1a31
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.007a1b98
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push eax
push edx
push 1
call fcn.007a1c18
movzx eax, al
test eax, eax
jne 0x7a19f2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x7a19cd
push 1
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
xor eax, eax
mov dword [edx + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov dword [edx + 4], 1
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
cmp eax, 1
je 0x7a1a2a
cmp eax, 2
je 0x7a1a2a
xor eax, eax
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
jmp 0x7a1a11
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x7a1994
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc