joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006a800
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1010209b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov al, 1
push edi
xor edi, edi
mov byte [esi + 0x18], al
mov byte [esi + 0x19], al
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x1c]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push edi
mov dword [esp + 0x18], esi
mov byte [ecx], al
call fcn.10002047
mov dword [esi + 0x2c], edi
mov ebp, 0x3f800000
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
push edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
push edi
lea ebx, [esi + 0x58]
push ebp
mov ecx, ebx
mov dword [esp + 0x2c], edi
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
call fcn.1000d3e0
push edi
push ebp
push edi
lea ecx, [ebx + 0xc]
call fcn.1000d3e0
push ebp
push edi
push edi
lea ecx, [ebx + 0x18]
call fcn.1000d3e0
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
push edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
push ebp
push edi
lea ecx, [esi + 0xbc]
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
call fcn.1000d3e0
push ebp
push edi
push edi
lea ecx, [esi + 0xc8]
call fcn.1000d3e0
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi], 0x101056dc
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x1006a94c
mov ecx, dword [eax + 0x14]
cmp ecx, edi
mov dword [esi + 8], ecx
je 0x1006a941
mov dword [ecx + 4], esi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x14], esi
jmp 0x1006a970
mov dword [eax + 0x10], esi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x14], esi
jmp 0x1006a970
mov edx, dword [0x101368b4]
mov dword [esi + 8], edx
cmp dword [0x101368b4], edi
je 0x1006a964
mov eax, edx
mov dword [eax + 4], esi
jmp 0x1006a96a
mov dword [0x101368a8], esi
mov dword [0x101368b4], esi
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100700a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101023a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebp, ecx
sub eax, edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x30], ebp
call fcn.1008a4c0
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x1007029a
mov edx, dword [ebp + 0x28]
sub edx, eax
mov eax, dword [esp + 0x10]
sar edx, 2
cmp eax, edx
jae 0x1007029a
mov eax, dword [ebp + 0x14]
mov eax, dword [esi + eax + 4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
push edx
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.10079990
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + eax + 0xc]
add esi, eax
mov eax, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp edx, 1
mov dword [esp + 0x34], 0
mov edi, eax
jae 0x10070209
mov edx, dword [esi + 4]
test edx, edx
je 0x10070166
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x1007016b
mov ecx, 1
test edx, edx
jne 0x10070173
xor eax, eax
jmp 0x10070178
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x20], eax
jge 0x10070184
xor eax, eax
shl eax, 2
push eax
call fcn.1009e195
mov ecx, dword [esi + 4]
add esp, 4
push eax
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.10070e30
push ebx
mov ebp, eax
push 1
push ebp
mov ecx, esi
call fcn.10071570
mov edx, dword [esi + 8]
add ebp, 4
push ebp
push edx
push edi
mov ecx, esi
call fcn.10070e30
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x100701d8
push 0
mov ecx, edi
call fcn.10071a40
add edi, 4
cmp edi, ebx
jne 0x100701c8
mov eax, dword [esi + 4]
push eax
call fcn.10090902
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
lea ecx, [edi + eax*4]
mov dword [esi + 0xc], ecx
add esp, 4
mov ecx, esi
call fcn.1003ac70
mov ebp, dword [esp + 0x24]
lea edx, [edi + eax*4 + 4]
mov dword [esi + 8], edx
mov dword [esi + 4], edi
jmp 0x1007026e
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x10070244
lea edx, [edi + 4]
push edx
push eax
push edi
mov ecx, esi
call fcn.10070e30
mov eax, dword [esi + 8]
mov ecx, eax
sub ecx, edi
sar ecx, 2
push ebx
mov edx, 1
sub edx, ecx
push edx
push eax
mov ecx, esi
call fcn.10071570
mov eax, dword [esi + 8]
push ebx
push eax
jmp 0x10070264
push eax
push eax
add eax, 0xfffffffc
push eax
mov ecx, esi
call fcn.10070e30
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.100715d0
push ebx
lea ecx, [edi + 4]
push ecx
push edi
call fcn.100715a0
add dword [esi + 8], 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
call fcn.10079c40
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x64
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x100700ec
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x10080680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10102b09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov edi, dword [esi + 0x20]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], edi
je 0x100806f6
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
mov byte [esp + 0x1c], 3
je 0x100806c9
push 1
call fcn.10080750
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x100806d7
push 1
call fcn.10080750
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + 0x14], eax
call fcn.10090902
push edi
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.10090902
add esp, 8
mov eax, dword [esi + 0x28]
push eax
mov dword [esp + 0x14], eax
call fcn.10090902
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x14]
push eax
mov dword [esp + 0x18], eax
call fcn.10090902
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x1c], eax
call fcn.10090902
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100bb9f6
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x100bba23
push esi
call fcn.100c0037
cmp byte [esi + 0x40], 0
pop ecx
je 0x100bba1c
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x100bba92
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x100bba87
mov eax, dword [esi + 8]
test eax, eax
je 0x100bba44
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x100bba83
cmp eax, 2
je 0x100bba87
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100bba39
cmp eax, 3
je 0x100bba68
cmp eax, 1
jne 0x100bba39
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x100bba39
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100bba39
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x100bbab0
cmp eax, 0xcc
je 0x100bbab0
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
push esi
call fcn.100bbab9
pop ecx
pop esi
ret

Function at 0x100bbab9
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xcc
je 0x100bbadc
mov eax, dword [esi + 0x180]
push esi
call dword [eax]
and dword [esi + 0x78], 0
pop ecx
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x180]
cmp byte [eax + 8], 0
je 0x100bbaf9
mov eax, dword [esi]
mov dword [eax + 0x14], 0x30
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
jmp 0x100bbadc
xor eax, eax
cmp byte [esi + 0x41], al
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
ret
Function at 0x100bed97
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100beda5
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
mov eax, dword [ebp + 8]
push esi
push edi
not eax
mov ecx, 0xff
jb 0x100bee87
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
and esi, ecx
xor esi, ebx
mov ebx, eax
mov eax, dword [esi*4 + 0x10107c20]
shr ebx, 8
xor eax, ebx
movzx ebx, byte [edx + 1]
mov esi, eax
and esi, ecx
xor esi, ebx
mov esi, dword [esi*4 + 0x10107c20]
shr eax, 8
xor esi, eax
inc edx
movzx ebx, byte [edx + 1]
mov eax, esi
and eax, ecx
xor eax, ebx
mov eax, dword [eax*4 + 0x10107c20]
shr esi, 8
xor eax, esi
inc edx
movzx ebx, byte [edx + 1]
mov esi, eax
and esi, ecx
xor esi, ebx
mov esi, dword [esi*4 + 0x10107c20]
shr eax, 8
xor esi, eax
inc edx
movzx ebx, byte [edx + 1]
mov eax, esi
and eax, ecx
xor eax, ebx
mov eax, dword [eax*4 + 0x10107c20]
shr esi, 8
xor eax, esi
inc edx
movzx ebx, byte [edx + 1]
mov esi, eax
and esi, ecx
xor esi, ebx
mov esi, dword [esi*4 + 0x10107c20]
inc edx
movzx ebx, byte [edx + 1]
shr eax, 8
xor esi, eax
sub dword [ebp + 0x10], 8
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
mov eax, dword [eax*4 + 0x10107c20]
movzx ebx, byte [edx + 1]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
mov esi, dword [esi*4 + 0x10107c20]
shr eax, 8
xor eax, esi
inc edx
dec edi
jne 0x100bedc2
pop ebx
cmp dword [ebp + 0x10], 0
je 0x100beea8
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
mov esi, dword [esi*4 + 0x10107c20]
shr eax, 8
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x100bee8d
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x100d005f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
xor ebx, ebx
cmp dword [0x1013f6d0], ebx
push esi
push edi
jne 0x100d0197
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.dsound.dll
call edi
mov dword [0x1013f6d0], eax
mov eax, dword [0x10120bb4]
test byte [eax + 9], 0x30
je 0x100d00a2
push str.dsound3d.dll
call edi
mov dword [0x1013f6d4], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate8
push dword [0x1013f6d0]
call esi
cmp eax, ebx
mov dword [0x1013f6f4], eax
jne 0x100d00d0
push str.DirectSoundCreate
push dword [0x1013f6d0]
call esi
mov dword [0x1013f6ec], eax
push str.DirectSoundEnumerateA
push dword [0x1013f6d0]
call esi
cmp dword [0x1013f6f4], ebx
mov dword [0x1013f6f0], eax
setne al
push eax
push dword [0x1013f6d0]
call fcn.100ebd34
cmp dword [0x1013f6f4], ebx
pop ecx
pop ecx
je 0x100d016d
push 0x104
lea eax, [ebp - 0x400]
push eax
mov dword [0x10123e14], 8
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x100d0197
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.100d5d64
lea eax, [ebp - 0x200]
push str.d3d9.dll
push eax
call fcn.100d5da6
push ebx
lea eax, [ebp - 0x200]
push ebx
push eax
call fcn.100d6bde
add esp, 0x1c
cmp eax, ebx
je 0x100d0197
push eax
call fcn.100d6d88
pop ecx
mov dword [0x10123e14], 9
jmp 0x100d0197
push str.ddraw.dll
call edi
mov edi, eax
cmp edi, ebx
je 0x100d0197
push str.DirectDrawCreateEx
push edi
call esi
test eax, eax
je 0x100d0190
mov dword [0x10123e14], 7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100d2a53
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
je 0x100d2a91
test eax, eax
je 0x100d2a8d
cmp eax, 2
je 0x100d2a89
cmp eax, 3
jne 0x100d2a9a
push 0xf
jmp 0x100d2a93
push 2
jmp 0x100d2a93
push 1
jmp 0x100d2a93
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, edi
pop edi
pop ebp
ret

Function at 0x100d2abd
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x10120bb4]
cmp dword [eax + 4], 0xd
je 0x100d2ad4
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret
Function at 0x100d7484
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionMultimediaMIDIMap
push reloc.WSOCK32.dll_accept
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100d75c4
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x240]
push eax
push edi
push edi
push str.CurrentInstrument
push dword [ebp - 4]
call esi
cmp eax, edi
je 0x100d74f8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x240]
push eax
push edi
push edi
push str.szPname
push dword [ebp - 4]
call esi
cmp eax, edi
jne 0x100d75c4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], edi
mov esi, 0x134
push esi
lea eax, [ebp - 0x140]
push edi
push eax
call fcn.1009dca0
mov eax, dword [0x10141514]
add esp, 0xc
lea edx, [ebp - 0x140]
push edx
push dword [ebp - 8]
mov dword [ebp - 0x140], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
cmp ebx, edi
jne 0x100d758a
cmp dword [ebp - 0x128], 1
jne 0x100d758a
push edi
push edi
push 0x100
lea eax, [ebp - 0x340]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x240]
push eax
call fcn.100d5d50
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.100d5e27
add esp, 0x10
test eax, eax
je 0x100d7597
inc dword [ebp - 8]
cmp ebx, 1
je 0x100d75b6
jmp 0x100d7509
push 0x10
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 8]
call fcn.1009d8e0
mov eax, dword [0x10120bb4]
add esp, 0xc
test byte [eax + 8], 1
je 0x100d75c4
mov eax, dword [0x10141514]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100d7fd9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
cmp byte [0x10141568], 0
push ebx
push esi
push edi
jne 0x100d81a8
push 8
mov esi, 0x10141548
xor ebx, ebx
xor eax, eax
cmp byte [ebp + 8], bl
pop ecx
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [0x10141580], ebx
jne 0x100d8096
call fcn.100d823c
test al, al
je 0x100d8096
mov dword [0x10141570], 0x100d85bc
mov dword [0x10141574], 0x100d85d4
call dword [0x10141570]
xor ecx, ecx
mov cl, ah
movzx esi, cl
cmp esi, 1
jne 0x100d81ac
xor edi, edi
xor esi, esi
push esi
push edi
push ebx
call fcn.100d88c6
add esp, 0xc
cmp eax, 5
je 0x100d805d
cmp eax, 4
jne 0x100d8068
push esi
push edi
push ebx
call fcn.100d8aad
add esp, 0xc
inc esi
cmp esi, 8
jl 0x100d8048
inc edi
cmp edi, 0xc
jl 0x100d8046
inc ebx
cmp ebx, 0x10
jl 0x100d8044
cmp dword [0x10141580], 1
jge 0x100d81a1
push 4
pop esi
call fcn.100d81c5
mov eax, esi
jmp 0x100d81c0
push 8
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, str.wnaspi32.dll
lea eax, [ebp - 0x800]
push edi
push eax
mov dword [0x10141580], ebx
call fcn.100d5d64
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
pop ecx
lea eax, [ebp - 0x800]
push eax
call esi
cmp eax, ebx
mov dword [0x1014156c], eax
jne 0x100d8163
push 0x7ff
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebx, 0x101251d4
lea eax, [ebp - 0x800]
push ebx
push eax
call fcn.100d5da6
lea eax, [ebp - 0x800]
push edi
push eax
call fcn.100d5da6
add esp, 0x10
lea eax, [ebp - 0x800]
push eax
call esi
test eax, eax
mov dword [0x1014156c], eax
jne 0x100d8163
push 0x7ff
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x800]
push ebx
push eax
call fcn.100d5da6
lea eax, [ebp - 0x800]
push edi
push eax
call fcn.100d5da6
add esp, 0x10
lea eax, [ebp - 0x800]
push eax
call esi
test eax, eax
mov dword [0x1014156c], eax
jne 0x100d8163
push 1
jmp 0x100d8089
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetASPI32SupportInfo
push eax
call esi
push str.SendASPI32Command
push dword [0x1014156c]
mov dword [0x10141570], eax
call esi
xor ebx, ebx
cmp dword [0x10141570], ebx
mov dword [0x10141574], eax
je 0x100d819a
cmp eax, ebx
jne 0x100d802e
push 5
jmp 0x100d8089
mov byte [0x10141568], 1
xor eax, eax
jmp 0x100d81c0
push esi
call fcn.100d88b5
pop ecx
call fcn.100d81c5
mov eax, esi
shl eax, 8
or eax, 3
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100d823c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp byte [0x10141578], 0
mov dword [ebp - 4], edi
je 0x100d8257
xor al, al
jmp 0x100d8302
push ebx
push esi
push 0x79c
push str.F:dev_fmodsrc375winwin_src_fsound_cdda.c
mov esi, 0x618
push esi
push edi
call fcn.100d679b
add esp, 0x10
mov dword [0x1014157c], eax
mov dword [0x10141544], edi
mov dword [0x10141588], edi
xor eax, eax
mov ecx, dword [0x1014157c]
or dword [eax + ecx + 0x14], 0xffffffff
add eax, 0x3c
cmp eax, esi
jl 0x100d8285
push 2
pop ebx
push 0x78
pop edi
mov al, bl
add al, 0x41
movsx eax, al
push eax
lea eax, [ebp - 8]
push str._c:_
push eax
call fcn.100a1a68
add esp, 0xc
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x100d82e4
mov eax, dword [0x1014157c]
add eax, edi
push eax
push ebx
call fcn.100d8486
mov eax, dword [0x1014157c]
cmp byte [edi + eax + 0x10], 0
pop ecx
pop ecx
je 0x100d82e4
inc dword [ebp - 4]
add edi, 0x3c
inc ebx
cmp edi, esi
jl 0x100d829d
call fcn.100d8415
pop esi
mov dword [0x10141544], eax
mov al, byte [ebp - 4]
mov byte [0x10141578], 1
pop ebx
pop edi
leave
ret
Function at 0x100ed104
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov esi, ecx
xor edi, edi
push str.software_asio
push reloc.WSOCK32.dll_bind
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [esi + 4], edi
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100ed16c
push 0x80
lea ecx, [ebp - 0x84]
mov eax, ebx
push ecx
push eax
push dword [ebp - 4]
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, edi
jne 0x100ed16c
push dword [esi]
lea eax, [ebp - 0x84]
push edi
push eax
push dword [ebp - 4]
call fcn.100ed19e
add esp, 0x10
mov dword [esi], eax
jmp 0x100ed136
cmp dword [ebp - 4], edi
je 0x100ed17a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
cmp eax, edi
je 0x100ed18b
inc dword [esi + 4]
mov eax, dword [eax + 0x298]
jmp 0x100ed17c
cmp dword [esi + 4], edi
je 0x100ed197
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x100ed19e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
push edi
jne 0x100ed2e8
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100ed309
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp + 0x14]
push eax
push esi
push str.clsid
push dword [ebp - 4]
mov dword [ebp + 0x14], 1
mov dword [ebp + 8], 0x100
call edi
test eax, eax
jne 0x100ed2dc
push 0x200
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.100ed30f
add esp, 0xc
test eax, eax
jne 0x100ed2dc
mov ebx, 0x29c
push ebx
call fcn.1009e195
mov esi, eax
test esi, esi
pop ecx
je 0x100ed2dc
push ebx
push 0
push esi
call fcn.1009dca0
mov eax, dword [ebp + 0x10]
add esp, 0xc
push 0x64
mov dword [esi], eax
lea eax, [ebp - 0x1dc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1dc]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x100ed296
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 4]
push eax
call fcn.1009d8e0
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push str.description
push dword [ebp - 4]
mov dword [ebp + 0x14], 1
mov dword [ebp + 8], 0x100
call edi
test eax, eax
jne 0x100ed2cb
lea eax, [ebp - 0x114]
push eax
jmp 0x100ed2ce
push dword [ebp + 0xc]
lea eax, [esi + 0x214]
push eax
call fcn.100a7f10
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
jmp 0x100ed309
push dword [esi + 0x298]
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x298]
inc eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ed19e
add esp, 0x10
mov dword [edi], eax
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x100ed30f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
or dword [ebp - 0x18], 0xffffffff
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
call fcn.1009d120
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 8]
push eax
push str.clsid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, edi
jne 0x100ed480
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
mov dword [ebp - 4], edi
cmp dword [ebp - 0xc], edi
jne 0x100ed475
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push 0x200
lea ecx, [ebp - 0x2a8]
push ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, edi
jne 0x100ed475
lea eax, [ebp - 0x2a8]
push eax
call fcn.1009d120
pop ecx
push eax
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
push dword [ebp + 8]
lea eax, [ebp - 0x2a8]
push eax
call fcn.100a3af0
test eax, eax
pop ecx
pop ecx
jne 0x100ed35c
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 8]
call ebx
mov esi, eax
cmp esi, edi
jne 0x100ed466
lea eax, [ebp - 0x10]
push eax
push 0x20019
push edi
push str.InprocServer32
push dword [ebp - 0x14]
call ebx
mov esi, eax
cmp esi, edi
jne 0x100ed45d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, edi
jne 0x100ed454
push 0x88
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.1009dca0
add esp, 0xc
push 0x4000
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 0xa8], 0x88
call dword [sym.imp.KERNEL32.dll_OpenFile]
test eax, eax
je 0x100ed454
mov dword [ebp - 0x18], edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
mov dword [ebp - 0xc], 1
je 0x100ed35c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, dword [ebp - 0x18]
pop edi
leave
ret