joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e688
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46cd70]
cmp dword [eax + 0x30], 0
je 0x45e732
cmp dword [ebx + 0x94], 0
jne 0x45e72c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e618
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e72c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e6f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e72c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417e20
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e701
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f294
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45f2c9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047f0
jmp 0x45f2d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404754
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46035c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46039d
mov eax, esi
call fcn.004469ec
test al, al
je 0x46039d
mov eax, dword [ebx + 0x84]
call fcn.004466e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46039d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004466e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x461d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x461d81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x469578]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x461d6b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00461d00
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x461b0c]
call fcn.00461da8
mov dword [0x4695dc], eax
mov eax, dword [ebp - 4]
call fcn.00461cb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461d88
lea eax, [ebp - 8]
call fcn.00405fc0
ret

Function at 0x462b64
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x462b84
mov eax, dword [0x4698a4]
mov eax, dword [eax]
call fcn.0045f550
push 1
call sub.kernel32.dll_Sleep_2
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp esi, eax
ja 0x462b71
pop esi
pop ebx
ret
Function at 0x462fe0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.00404700
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x46303c
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x463030
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebp
call fcn.004048f8
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x46301f
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x463354
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffffe8
mov ebx, eax
mov esi, 1
cmp bl, 1
jne 0x463389
push 0x124
push 0x46340c
push 0x463414
mov eax, dword [0x4698a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
je 0x463404
cmp bl, 1
jne 0x4633b2
push 0x124
push 0x463434
push 0x463440
mov eax, dword [0x4698a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
je 0x463404
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 0xc]
push eax
push 0x46346c
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 6
call sub.user32.dll_ExitWindowsEx
mov eax, esi
add esp, 0x18
pop esi
pop ebx
ret

Function at 0x463480
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffffe8
mov ebx, eax
mov esi, 1
cmp bl, 1
jne 0x4634b5
push 0x124
push 0x463538
push 0x463540
mov eax, dword [0x4698a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
je 0x463530
cmp bl, 1
jne 0x4634de
push 0x124
push 0x463560
push 0x46356c
mov eax, dword [0x4698a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
je 0x463530
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 0xc]
push eax
push 0x46358c
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push 4
call sub.user32.dll_ExitWindowsEx
mov eax, esi
add esp, 0x18
pop esi
pop ebx
ret
Function at 0x4635a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7d0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bb0
xor eax, eax
push ebp
push 0x46375c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
mov edx, 0x200
call fcn.00404d4c
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x420]
mov edx, 0x400
call fcn.004624d8
test eax, eax
je 0x463720
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x82c], eax
xor eax, eax
mov dword [ebp - 0x828], eax
fild qword [ebp - 0x82c]
fdiv dword [0x463770]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x824]
call fcn.0040a264
mov eax, dword [ebp - 0x824]
call fcn.00408a94
mov edi, eax
dec edi
test edi, edi
jl 0x463720
inc edi
lea ebx, [ebp - 0x420]
mov eax, dword [ebx]
push eax
push 0
push 0x411
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x463716
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x820]
mov ecx, 0x400
mov eax, esi
call fcn.004624fc
test eax, eax
je 0x463716
push 0x200
mov eax, dword [ebp - 0x18]
call fcn.00404bc0
mov ecx, eax
mov edx, dword [ebp - 0x820]
mov eax, esi
call fcn.0046252c
test eax, eax
je 0x463716
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.00404798
mov eax, dword [0x4698a4]
mov eax, dword [eax]
call fcn.0045f550
lea eax, [ebp - 0x830]
push eax
mov eax, dword [ebp - 4]
call fcn.004049c0
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404c20
mov eax, dword [ebp - 0x830]
mov edx, dword [ebp - 4]
call fcn.00408624
cmp al, 1
jne 0x463716
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp byte [ebp - 5], 1
jne 0x46370d
push 0x32
push 0xbb8
call sub.kernel32.dll_Beep
mov dword [ebp - 0xc], 1
jmp 0x463720
add ebx, 4
dec edi
jne 0x463655
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463763
lea eax, [ebp - 0x830]
call fcn.00404700
lea eax, [ebp - 0x824]
call fcn.00404700
lea eax, [ebp - 0x20]
call fcn.00404700
lea eax, [ebp - 0x18]
call fcn.00404700
lea eax, [ebp - 4]
call fcn.00404700
ret

Function at 0x463858
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffff4
cmp byte [0x46ce84], 0
jne 0x4638cb
cmp byte [0x46ce85], 0
je 0x4638cb
mov byte [0x46ce85], 0
mov eax, dword [0x46ce8c]
push eax
call sub.advapi32.dll_RegCloseKey_1
push esp
push 0xf003f
push 0
push 0x4638d0
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4638cb
mov dword [esp + 4], 4
lea eax, [esp + 4]
push eax
push 0x46ce88
lea eax, [esp + 0x10]
push eax
push 0
push 0x4638e4
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0xc
ret
Function at 0x463f1c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret
Function at 0x4670b8
Capabilities:
Get graphical window text
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x10c], ecx
xor eax, eax
push ebp
push 0x46722c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, 0x467240
mov edx, 0x467250
mov eax, 0x80000002
call fcn.004626c8
mov ebx, eax
test ebx, ebx
jbe 0x46720e
push 6
push ebx
call sub.user32.dll_ShowWindow
mov eax, 0xaf0
call fcn.00462b64
push 9
push ebx
call sub.user32.dll_ShowWindow
mov eax, 0xaf0
call fcn.00462b64
push ebx
call sub.user32.dll_SetForegroundWindow
mov eax, 0xaf0
call fcn.00462b64
push 0
mov eax, dword [0x469a04]
mov eax, dword [eax]
call fcn.0045d17c
sub eax, 0x40
push eax
mov eax, dword [0x469a04]
mov eax, dword [eax]
call fcn.0045d188
push eax
push 0
push 0
push 0xfffffffffffffffe
push ebx
call sub.user32.dll_SetWindowPos
mov eax, 0xed8
call fcn.00462b64
push ebx
call sub.user32.dll_SetForegroundWindow
mov eax, 0xed8
call fcn.00462b64
push 0
push 0
push 0
push 0x73
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x73
call sub.user32.dll_keybd_event
push 0xfe
lea eax, [ebp - 0xff]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
call fcn.0040a7c4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x108]
call fcn.00462b94
push dword [ebp - 0x108]
push 0x467274
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0xff]
mov ecx, 0xff
call fcn.00404970
push dword [ebp - 0x10c]
lea eax, [ebp - 0x104]
mov edx, 3
call fcn.00404a80
mov edx, dword [ebp - 0x104]
mov eax, dword [0x46cf34]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467233
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.00404724
ret
Function at 0x1003e9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1003ef9
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1003ec6
xor eax, eax
jmp 0x1003ef8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1003eea
cmp esi, eax
jae 0x1003ec2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1003edc
cmp esi, eax
jae 0x1003ec2
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x1004c00
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x101e60a
call fcn.0101d748
push ecx
push esi
push edi
push 0x10686a8
lea ecx, [ebp - 0x10]
call fcn.010045ba
xor esi, esi
push 0x6c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0100485d
test eax, eax
mov edi, dword [ebp - 0x10]
je 0x1004c3d
push 5
push esi
push esi
push edi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [edi - 0x10]
call fcn.01003fb7
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x1004d68
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x101e64f
call fcn.0101d748
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x10686a8
lea ecx, [ebp - 0x14]
call fcn.010045ba
push dword [0x1024d24]
xor esi, esi
mov dword [ebp - 4], esi
mov ecx, 0x1024da4
mov byte [ebp - 4], 1
call fcn.0100ff74
push dword [eax]
lea eax, [ebp - 0x14]
push 0x69
push eax
call fcn.01004cf2
add esp, 0xc
push 5
push esi
push esi
push dword [ebp - 0x14]
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.01003fb7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10

Function at 0x100527f
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x100528e
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x100593e
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1023da8]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], eax
jne 0x1005961
push 0x57
pop eax
jmp 0x10059bd
push edi
push 0x45
pop ecx
xor eax, eax
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x118]
push eax
mov dword [esi], ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x10059b3
cmp dword [ebp - 0x108], 2
jne 0x10059bb
cmp dword [ebp - 0x114], 5
jb 0x10059bb
push 0x57
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x10059b3
mov dword [esi], 1
jmp 0x10059bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0101d23a
leave
ret 4

Function at 0x1005b5a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1023da8]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], esi
call fcn.010051ae
cmp eax, esi
jne 0x1005bfb
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1005bb2
lea eax, [ebp - 0x204]
push eax
call fcn.01005b5a
cmp eax, esi
jne 0x1005bfa
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x208]
je 0x1005ba2
call fcn.0100513b
push dword [ebp - 0x210]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
lea ecx, [ebp - 0x208]
mov esi, eax
call fcn.0100513b
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.0101d23a
leave
ret 4
Function at 0x1006b63
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi + 0x30], eax
jne 0x1006b84
xor eax, eax
jmp 0x1006b97
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x1005f3a
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
leave
ret
Function at 0x1007cdf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x101e72c
call fcn.0101d748
sub esp, 0x424
mov eax, dword [0x1023da8]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x420], eax
call dword [0x1023050]
xor esi, esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x424], ebx
jne 0x1007d5d
call fcn.01004e70
mov esi, eax
jmp 0x1007e25
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x1007df2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x420], eax
je 0x1007df2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + edi + 2]
push eax
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x41c], edi
mov byte [ebp - 4], 2
call fcn.01005fba
jmp 0x1007dbc
cmp dword [ebp - 0x418], esi
mov dword [ebp - 4], 1
jne 0x1007dd2
mov esi, 0x8007000e
jmp 0x1007e19
call dword [0x1023050]
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1007df9
call fcn.01004e70
jmp 0x1007e17
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
mov word [eax + edi*2], si
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.010079f6
mov esi, eax
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1007e3e
lea ecx, [ebp - 0x418]
call fcn.0101b38e
lea ecx, [ebp - 0x428]
call fcn.010059d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0101d23a
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1008768
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002240
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x10087a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10087a4
push dword [ebp + 0x14]
mov ecx, 0x1024cb0
call fcn.0100871d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x1008ac6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x1023da8]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.0100890a
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x428]
mov edi, ecx
sub edi, eax
sub ebx, edx
cmp ebx, edi
jge 0x1008b16
mov ebx, dword [esi + 0x74]
mov dword [ebp - 0x414], edx
add ebx, edx
jmp 0x1008b45
mov edi, dword [ebp - 0x420]
mov edx, dword [esi + 0x50]
sub edi, dword [ebp + 8]
sub edx, ecx
cmp edi, edx
jge 0x1008b35
mov eax, dword [ebp - 0x420]
mov ebx, eax
sub eax, dword [esi + 0x74]
jmp 0x1008b3f
mov ebx, dword [esi + 0x74]
sub eax, ecx
add eax, dword [ebp + 8]
add ebx, eax
mov dword [ebp - 0x414], eax
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
mov edi, dword [ebp + 0xc]
mov edx, ecx
mov ecx, dword [ebp - 0x424]
sub edx, eax
sub edi, ecx
cmp edi, edx
mov dword [ebp - 0x40c], ebx
jge 0x1008b71
mov edi, dword [esi + 0x78]
mov dword [ebp - 0x410], ecx
add edi, ecx
jmp 0x1008ba2
mov ecx, dword [esi + 0x54]
mov edx, dword [ebp - 0x41c]
sub ecx, dword [esi + 0x44]
sub edx, dword [ebp + 0xc]
cmp edx, ecx
jge 0x1008b91
mov eax, dword [ebp - 0x41c]
mov edi, eax
sub eax, dword [esi + 0x78]
jmp 0x1008b9c
sub eax, dword [esi + 0x44]
mov edi, dword [esi + 0x78]
add eax, dword [ebp + 0xc]
add edi, eax
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
mov dword [ebp - 0x408], edi
call fcn.0100884b
push edi
push dword [ebp - 0x410]
lea eax, [ebp - 0x404]
push ebx
push dword [ebp - 0x414]
push 0x100227c
push 0x200
push eax
call fcn.01008a52
add esp, 0x1c
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101d23a
leave
ret 8
Function at 0x100a11a
Capabilities:
Capture microphone audio

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 0x30004
mov esi, ecx
push esi
push 0x100a0f2
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 8]
lea eax, [esi + 0x14]
xor edi, edi
push eax
mov word [ebp - 4], di
mov word [ebp - 0x12], 1
mov word [ebp - 0x14], 1
mov dword [ebp - 0x10], 0xac44
mov word [ebp - 6], 0x10
mov word [ebp - 8], 2
mov dword [ebp - 0xc], 0x15888
call dword [sym.imp.WINMM.dll_waveInOpen]
cmp eax, edi
jne 0x100a1fb
push 0x60
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
mov dword [esi + 0x18], eax
je 0x100a201
xor eax, eax
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx], edi
add eax, 0x20
cmp eax, 0x60
jl 0x100a187
push 0x2000
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, dword [esi + 0x18]
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x18]
add eax, edi
cmp dword [eax], 0
je 0x100a201
mov dword [eax + 4], 0x2000
mov eax, dword [esi + 0x18]
and dword [edi + eax + 0x10], 0
add edi, 0x20
cmp edi, 0x60
jl 0x100a195
xor edi, edi
mov eax, dword [esi + 0x18]
push 0x20
add eax, edi
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
test eax, eax
jne 0x100a1fb
mov eax, dword [esi + 0x18]
push 0x20
add eax, edi
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
test eax, eax
jne 0x100a1fb
add edi, 0x20
cmp edi, 0x60
jl 0x100a1c9
pop edi
pop esi
leave
ret 4
push 7
pop eax
jmp 0x100a1fb

Function at 0x100afdd
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push 5
xor eax, eax
push eax
push eax
add ecx, 0x7c
push ecx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop ebp
ret 0xc