joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a790
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x210
mov eax, 0x100
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x1000a7b1
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
lea ecx, [esp + 0x114]
push edx
push ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
push ecx
push eax
push 0
call dword [0x100190a8]
test eax, eax
jne 0x1000a7e1
add esp, 0x210
ret
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
jne 0x1000a7f7
add esp, 0x210
ret
push esi
push 0x10020098
call dword [0x1001911c]
mov esi, eax
push str.GjhqmXeiZ_Ce_zzrEX
push esi
call dword [0x100192fc]
test eax, eax
je 0x1000a821
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push edx
call eax
push esi
call dword [0x100192bc]
mov eax, dword [esp + 4]
pop esi
add esp, 0x210
ret

Function at 0x1000ac40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
mov eax, dword [0x10021648]
push ebx
push ebp
mov ebp, ecx
add eax, 0x10
push esi
lea ecx, [esp + 0x10]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x14], esi
call dword [0x100192e8]
lea edx, [esp + 0x10]
push 0x10020164
push edx
call fcn.10010960
add esp, 8
lea eax, [esp + 0x10]
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push eax
call dword [0x100192a4]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000acfd
push edi
push esi
push ebx
call dword [0x100192a8]
mov edi, eax
push edi
call dword [0x10019344]
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebx
call dword [0x10019270]
xor eax, eax
test edi, edi
jbe 0x1000acd4
mov cl, byte [eax + esi]
xor cl, 0x44
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x1000acc6
push edi
push esi
mov ecx, ebp
call fcn.1000b610
push esi
mov edi, eax
call dword [0x10019340]
add esp, 4
push ebx
call dword [0x100192d8]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x1000ad80
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10018bd0
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [esp + 0x34]
xor ebx, ebx
cmp edi, ebx
jge 0x1000adb9
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 8], ebx
lea eax, [esp + 8]
mov dword [esp + 0x2c], ebx
push eax
push 0x1001d1ec
push 1
push ebx
push 0x1001d27c
call dword [0x10022168]
cmp eax, ebx
je 0x1000ae08
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x1000ae52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 0x34]
push ebx
push ecx
mov edx, dword [eax]
push 0x1001d26c
push eax
mov byte [esp + 0x3c], 1
call dword [edx + 0xc]
cmp eax, ebx
je 0x1000ae67
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2c], bl
cmp eax, ebx
je 0x1000ae3c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x1000ae52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x34]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
xor esi, esi
call dword [ecx + 0xc]
cmp edi, ebx
jl 0x1000af26
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0x10019c80
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x1000aefc
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push ebx
mov word [esp + 0x20], 8
mov ecx, dword [eax]
push edx
push 0x10020184
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x1000aef2
cmp esi, edi
jne 0x1000aee7
mov eax, dword [esp + 0x14]
push ebp
push 0x1001d1dc
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov edx, dword [esp + 0x24]
push edx
call dword [0x10022100]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc esi
call dword [ecx + 0xc]
cmp esi, edi
jle 0x1000ae97
pop ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
cmp eax, ebx
pop esi
je 0x1000af39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x1000af4f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x1000af90
Capabilities:
Access the windows event log
Enumerate services

Disassembly:
sub esp, 0x40
push ebx
push esi
xor esi, esi
push 0xf003f
push esi
mov dword [esp + 0x24], ecx
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov ebx, eax
cmp ebx, esi
je 0x1000b0f6
push ebp
lea eax, [esp + 0x10]
push edi
mov edi, dword [esp + 0x54]
lea ecx, [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x38]
push 0x24
push eax
push 3
push edi
push ebx
call esi
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x10019344]
add esp, 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], eax
push edx
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
push 3
push edi
push ebx
call esi
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 7
add edx, eax
lea edi, [edx*8 + 1]
push edi
call fcn.1001855c
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea esi, [ebp + 1]
and ecx, 3
mov dword [esp + 0x1c], 1
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0
test eax, eax
jbe 0x1000b0c6
mov eax, dword [esp + 0x28]
lea edi, [eax + 0xc]
mov ecx, dword [esp + 0x54]
mov eax, dword [edi - 4]
test ecx, eax
je 0x1000b0b2
mov edx, dword [edi - 0xc]
push 0x63
push edx
push esi
call dword [0x10019348]
mov eax, dword [edi]
add esp, 0xc
mov dword [esi + 0x2bc], eax
mov ecx, dword [edi + 4]
push 0
mov dword [esi + 0x2c8], ecx
mov ecx, dword [esp + 0x28]
push esi
push ebx
call fcn.100067a0
mov eax, dword [esp + 0x1c]
add esi, 0x408
add eax, 0x408
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc eax
add edi, 0x24
cmp eax, ecx
mov dword [esp + 0x20], eax
jb 0x1000b066
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push edx
push ebp
mov byte [ebp], 0x8b
call fcn.1000bf20
mov eax, dword [esp + 0x28]
push eax
call dword [0x10019340]
push ebp
call fcn.10018556
add esp, 8
push ebx
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x40
ret 4
Function at 0x1000c7d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10018eb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.10014a90
xor ebx, ebx
push 0x134
mov dword [esp + 0x18], ebx
mov dword [esi], 0x10019c38
mov byte [esi + 0x1c], 1
mov dword [esi + 0x28], 8
call fcn.1001855c
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x14], 1
je 0x1000c837
push 0x64
push ebx
push 8
mov ecx, eax
call sym.dbghelp.dll_SymEnumerateSymbols64
jmp 0x1000c839
xor eax, eax
push 1
push ebx
push ebx
push esi
push 0x10011110
push ebx
push ebx
mov byte [esp + 0x30], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], ebx
mov byte [esi + 0x14], bl
mov byte [esi + 0x24], bl
call fcn.1000db20
push 1
push ebx
push ebx
push esi
push 0x100032d0
push ebx
push ebx
mov dword [esi + 0x2c], eax
call fcn.1000db20
mov ecx, dword [esp + 0x44]
add esp, 0x38
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x1000e620
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019bf0
push 0x10018550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xbe037055
xor esi, esi
push esi
call sym.dbghelp.dll_MakeSureDirectoryPathExists
add esp, 8
cmp eax, esi
jne 0x1000e670
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], esi
push eax
push esi
push 0x400
call dword [0x10019224]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, esi
je 0x1000e750
lea eax, [ebp - 0x30]
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x1000e750
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x38]
push ecx
push esi
push esi
push 1
mov edx, dword [ebp - 0x30]
push edx
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
call edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
test eax, eax
jbe 0x1000e750
push eax
call fcn.1001855c
add esp, 4
mov esi, eax
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x30]
push edx
call edi
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1000e750
mov dword [ebp - 0x140], 0x104
mov dword [ebp - 0x144], 0x100
push 0x100
call fcn.1001855c
add esp, 4
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x144]
push edx
push eax
mov eax, dword [esi]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
call 0x1000e762
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
test ebx, ebx
je 0x1000e76d
push ebx
call dword [0x100192d8]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1000e77b
push eax
call dword [0x100192d8]
test esi, esi
je 0x1000e788
push esi
call fcn.10018556
add esp, 4
mov esp, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fcd0
Capabilities:
Get file attributes
Modify service

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push esi
xor esi, esi
push esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push ecx
push edx
call dword [sym.imp.IMM32.dll_ImmGetContext]
test eax, eax
je 0x1000fd00
xor eax, eax
pop esi
add esp, 0x14
ret
push ebp
mov ebp, dword [esp + 0x30]
cmp ebp, esi
push edi
jne 0x1000fdc2
xor eax, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xd], eax
push 0xa
mov dword [esp + 0x15], eax
push ecx
mov dword [esp + 0x1d], eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
call fcn.1000e870
add esp, 8
push 1
push 0x10020370
call fcn.10007e50
push 1
push 0x1002035c
call fcn.10007e50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 0xf003f
push esi
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.MSVCRT.dll__initterm]
push ecx
call edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
lea ecx, [esp + 0xc]
neg esi
sbb esi, esi
push ecx
inc esi
call dword [0x10019304]
mov eax, dword [esp + 0x2c]
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push ebx
push edx
push 0x20019
push esi
push eax
push ecx
mov dword [esp + 0x48], esi
call dword [sym.imp.MSVCRT.dll_strrchr]
mov eax, dword [esp + 0x28]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [esp + 0x34]
push edx
push esi
push esi
push esi
push ebp
push eax
call ebx
test eax, eax
jne 0x1000fe50
mov ecx, dword [esp + 0x34]
add ecx, 2
push ecx
call fcn.1001855c
mov ecx, dword [esp + 0x2c]
add esp, 4
lea edx, [esp + 0x34]
mov edi, eax
push edx
lea eax, [esp + 0x30]
push edi
push eax
push 0
push ebp
push ecx
call ebx
test eax, eax
jne 0x1000fe47
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
push edi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call fcn.10018556
add esp, 4
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCRT.dll__initterm]
push edx
call edi
mov eax, dword [esp + 0x30]
pop ebx
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
add esp, 0x14
ret
Function at 0x10010600
Capabilities:
Get disk size

Disassembly:
sub esp, 0x30
push esi
lea eax, [esp + 0x14]
mov esi, ecx
push edi
mov dword [esp + 8], eax
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x20]
push ecx
push 4
push edx
push eax
call fcn.100184fc
test eax, eax
je 0x1001063c
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call sym.dbghelp.dll_FindDebugInfoFileEx
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
mov word [edx], 0x500
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
mov word [eax + 2], 0x500
mov eax, dword [esp + 0x10]
push edx
push eax
call sub.KERNEL32.dll_SetFilePointer
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10018556
mov edx, dword [esp + 0x10]
add esp, 4
push edx
call sub.KERNEL32.dll_GetDiskFreeSpaceExA
mov ecx, dword [esp + 8]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x30
ret 4

Function at 0x100106a0
Capabilities:
Access the windows event log
Modify service
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019b40
push 0x10018550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x530
push ebx
push esi
push edi
mov byte [ebp - 0x53c], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x53b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], eax
push 0xf003f
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov edi, eax
mov dword [ebp - 0x13c], edi
push 0xf01ff
mov ebx, dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov esi, eax
mov dword [ebp - 0x540], esi
test edi, edi
jne 0x10010725
test esi, esi
je 0x10010790
lea eax, [ebp - 0x138]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_LsaClose]
test eax, eax
je 0x10010790
cmp dword [ebp - 0x134], 1
je 0x1001075f
lea ecx, [ebp - 0x138]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x10010790
push 0x320
call dword [0x1001930c]
push ebx
mov edx, dword [0x10020730]
push edx
lea eax, [ebp - 0x53c]
push eax
call dword [0x10019480]
add esp, 0xc
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
lea ecx, [ebp - 0x53c]
push ecx
push 0x80000002
call dword [0x100193d8]
mov dword [ebp - 4], 0xffffffff
call fcn.100107b9
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100109e0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x100223b8
mov eax, edx
mov esi, 8
test al, 1
je 0x100109fc
shr eax, 1
xor eax, 0xedb88320
jmp 0x100109fe
shr eax, 1
dec esi
jne 0x100109ef
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x100227b8
jl 0x100109e8
pop esi
ret
Function at 0x10013320
Capabilities:
Capture microphone audio

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov dword [esp + 0x18], 0
push 0
mov ebx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [esi + 0x11c]
mov ebp, dword [edi + 0xc]
mov ecx, dword [edi + 4]
sub ebx, edx
sub ebp, ecx
mov dword [eax + 4], ebx
mov ecx, dword [esi + 0x11c]
push 0
mov dword [ecx + 8], ebp
mov edx, dword [esi + 0x120]
imul edx, ebx
add edx, 0x1f
mov eax, dword [esi + 0x11c]
sar edx, 3
and edx, 0xfffffffc
lea ecx, [esp + 0x20]
imul edx, ebp
mov dword [eax + 0x14], edx
mov edx, dword [esi + 0x11c]
mov eax, dword [esi + 0xf4]
push ecx
push 0
push edx
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov ecx, dword [esi + 0x100]
push eax
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.WINMM.dll_mixerGetNumDevs]
mov edx, dword [esi + 0xc0]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push edx
mov edx, dword [esi + 0xf4]
push eax
push ecx
push edx
push ebp
push ebx
push eax
mov eax, dword [esi + 0xfc]
push ecx
push eax
call dword [0x100190d8]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [esi + 0xfc]
push 0xcc0020
push ecx
mov ecx, dword [esi + 0x100]
push edx
push eax
push ebp
push ebx
push 0
push 0
push ecx
call dword [0x100190d8]
push 0x10
push edi
mov ecx, esi
call fcn.10001fe0
mov edx, dword [esi + 0x11c]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.10001fe0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x10014360
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [0x100205bc]
sub esp, 0x20c
cmp eax, 0xffffffff
je 0x10014377
push eax
call dword [0x100192d8]
push esi
mov esi, dword [0x10019304]
push 0x100228d0
call esi
mov eax, dword [0x10022d30]
mov byte [0x10022c11], 1
test eax, eax
je 0x1001439e
push 0xffffffffffffffff
push eax
call dword [0x100192d4]
mov eax, 0x100229e8
test eax, eax
je 0x100143aa
push eax
call esi
push edi
mov edi, dword [0x100192e8]
lea ecx, [esp + 0xc]
push 0x10022b08
push ecx
call edi
mov edx, dword [0x10020730]
push 0x10022b08
lea eax, [esp + 0x114]
push edx
push eax
call dword [0x10019480]
lea ecx, [esp + 0x18]
push 0x100208c8
push ecx
call fcn.10010960
lea edx, [esp + 0x20]
push edx
call fcn.10005770
add esp, 0x18
test al, al
je 0x10014450
push 1
push 0x10020370
call fcn.10007e50
push 1
push 0x1002035c
call fcn.10007e50
lea eax, [esp + 8]
lea ecx, [esp + 0x110]
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
call dword [sym.imp.MSVCRT.dll_strrchr]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0xc]
push ecx
call esi
mov byte [0x10022d34], 0
jmp 0x10014457
mov byte [0x10022d34], 1
push 4
push 0
push 0x100228d0
call dword [0x10019308]
mov edx, dword [0x10021648]
lea eax, [esp + 0xc]
add edx, 0x10
push edx
push eax
call edi
lea ecx, [esp + 0xc]
push 0x10020164
push ecx
call fcn.100033b0
add esp, 8
lea edx, [esp + 0xc]
push edx
call esi
call fcn.10007910
mov esi, eax
mov al, byte [0x10022d34]
test al, al
pop edi
je 0x100144ee
push 0
push esi
call fcn.1000c620
add esp, 8
cmp eax, 0xbca43352
je 0x100144c9
mov eax, dword [0x100202d0]
push 0
push 0x10022b08
push esi
push eax
call fcn.10009450
add esp, 0x10
mov al, byte [0x10022d34]
test al, al
je 0x100144ee
test byte [0x100229d4], 0x10
je 0x100144ee
lea ecx, [esp + 0x10c]
push ecx
push 0x80000002
call dword [0x100193d8]
push 0
push 5
push 7
call fcn.10005790
mov al, byte [0x10022d34]
add esp, 0xc
test al, al
pop esi
je 0x10014513
push 0x10022b08
call fcn.100106a0
add esp, 4
push 0
push 0
push 1
call fcn.10005790
mov edx, dword [0x10022b00]
add esp, 0xc
push edx
call dword [0x100192cc]
add esp, 0x20c
ret
Function at 0x10014580
Capabilities:
Delete registry value
Query service status

Disassembly:
sub esp, 0x24c
push esi
mov dword [esp + 4], 0
call fcn.1000d910
mov esi, eax
test esi, esi
jne 0x100145a2
pop esi
add esp, 0x24c
ret
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x128]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x194]
push eax
push ecx
push esi
push 0
mov dword [esp + 0x30], 0x64
mov dword [esp + 0x2c], 0xc8
call dword [0x100190a8]
test eax, eax
je 0x1001462c
push 0x10020098
call dword [0x100192f8]
push str.GjhqmXeiZ_Ce_zzrEX
push eax
call dword [0x100192fc]
test eax, eax
je 0x1001462c
lea edx, [esp + 0xc]
lea ecx, [esp + 0x188]
push edx
push ecx
call eax
test eax, eax
je 0x1001462c
mov eax, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x10019300]
push esi
call fcn.10018556
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
jne 0x10014762
push ebx
push ebp
lea edx, [esp + 0x20]
push edi
xor ebp, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push edx
push ebp
push ebp
lea eax, [esp + 0x20]
push ebp
lea ecx, [esp + 0x40]
push eax
push ecx
push ebp
push 0x80000003
mov dword [esp + 0x34], 0xff
call ebx
cmp eax, 0x103
je 0x1001475f
test eax, eax
jne 0x1001472e
lea edx, [esp + 0x30]
push 0x2d
push edx
call dword [0x10019334]
mov edi, eax
push 9
lea eax, [esp + 0x3c]
push 0x10020074
push eax
call dword [0x10019380]
add esp, 0x14
test eax, eax
jne 0x1001472e
mov esi, 0x10020070
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100146d8
test cl, cl
je 0x100146d4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100146d8
add eax, 2
add esi, 2
test cl, cl
jne 0x100146b4
xor eax, eax
jmp 0x100146dd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10014715
mov esi, 0x10020068
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1001470c
test cl, cl
je 0x10014708
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1001470c
add eax, 2
add esi, 2
test cl, cl
jne 0x100146e8
xor eax, eax
jmp 0x10014711
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001472e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x1001475f
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
push edx
push 0
push 0
push 0
lea ecx, [esp + 0x40]
inc ebp
push eax
push ecx
push ebp
push 0x80000003
mov dword [esp + 0x34], 0xff
call ebx
cmp eax, 0x103
jne 0x10014679
pop edi
pop ebp
pop ebx
mov eax, dword [esp + 4]
pop esi
add esp, 0x24c
ret