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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x101148b8
cmp edx, dword [eax]
je 0x1009fc99
add eax, 8
inc ecx
cmp eax, 0x10114948
jl 0x1009fc8a
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x101148b8]
jne 0x1009fdc7
mov eax, dword [0x10133300]
cmp eax, 1
je 0x1009fda1
test eax, eax
jne 0x1009fcca
cmp dword [0x10133304], 1
je 0x1009fda1
cmp edx, 0xfc
je 0x1009fdc7
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1009fd01
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100a41f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10099480
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1009fd44
lea eax, [ebp - 0x1a4]
push eax
call fcn.10099480
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10101a04
push edi
call fcn.100a6300
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100a41f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100a4200
lea eax, [ebp - 0xa0]
push 0x101019e4
push eax
call fcn.100a4200
push dword [esi + 0x101148bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.100a4200
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100a7c40
add esp, 0x2c
pop edi
jmp 0x1009fdc7
lea eax, [ebp + 8]
lea esi, [esi + 0x101148bc]
push 0
push eax
push dword [esi]
call fcn.10099480
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x100b7cbd
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x100b7cea
push esi
call fcn.100bc2fe
cmp byte [esi + 0x40], 0
pop ecx
je 0x100b7ce3
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 0x100b7d59
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x100b7d4e
mov eax, dword [esi + 8]
test eax, eax
je 0x100b7d0b
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x100b7d4a
cmp eax, 2
je 0x100b7d4e
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100b7d00
cmp eax, 3
je 0x100b7d2f
cmp eax, 1
jne 0x100b7d00
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x100b7d00
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100b7d00
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x100b7d77
cmp eax, 0xcc
je 0x100b7d77
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.100b7d80
pop ecx
pop esi
ret
Function at 0x100b7d80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xcc
je 0x100b7da3
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 0x100b7dc0
mov eax, dword [esi]
mov dword [eax + 0x14], 0x30
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
jmp 0x100b7da3
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 0x100bb05e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100bb06c
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 0x100bb14e
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 + 0x10102c10]
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 + 0x10102c10]
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 + 0x10102c10]
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 + 0x10102c10]
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 + 0x10102c10]
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 + 0x10102c10]
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 + 0x10102c10]
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 + 0x10102c10]
shr eax, 8
xor eax, esi
inc edx
dec edi
jne 0x100bb089
pop ebx
cmp dword [ebp + 0x10], 0
je 0x100bb16f
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
mov esi, dword [esi*4 + 0x10102c10]
shr eax, 8
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x100bb154
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x100cbf92
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
xor ebx, ebx
cmp dword [0x10138b88], ebx
push esi
push edi
jne 0x100cc0ca
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.dsound.dll
call edi
mov dword [0x10138b88], eax
mov eax, dword [0x1011b8c4]
test byte [eax + 9], 0x30
je 0x100cbfd5
push str.dsound3d.dll
call edi
mov dword [0x10138b8c], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate8
push dword [0x10138b88]
call esi
cmp eax, ebx
mov dword [0x10138bac], eax
jne 0x100cc003
push str.DirectSoundCreate
push dword [0x10138b88]
call esi
mov dword [0x10138ba4], eax
push str.DirectSoundEnumerateA
push dword [0x10138b88]
call esi
cmp dword [0x10138bac], ebx
mov dword [0x10138ba8], eax
setne al
push eax
push dword [0x10138b88]
call fcn.100e709a
cmp dword [0x10138bac], ebx
pop ecx
pop ecx
je 0x100cc0a0
push 0x104
lea eax, [ebp - 0x400]
push eax
mov dword [0x1011d6cc], 8
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x100cc0ca
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.100d1c44
lea eax, [ebp - 0x200]
push str.d3d9.dll
push eax
call fcn.100d1c86
push ebx
lea eax, [ebp - 0x200]
push ebx
push eax
call fcn.100d2a2c
add esp, 0x1c
cmp eax, ebx
je 0x100cc0ca
push eax
call fcn.100d2bbd
pop ecx
mov dword [0x1011d6cc], 9
jmp 0x100cc0ca
push str.ddraw.dll
call edi
mov edi, eax
cmp edi, ebx
je 0x100cc0ca
push str.DirectDrawCreateEx
push edi
call esi
test eax, eax
je 0x100cc0c3
mov dword [0x1011d6cc], 7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100ce91f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1011b8c4]
cmp dword [eax + 4], 0xc
jne 0x100ce932
push 1
pop eax
pop ebp
ret
push edi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x100ce96d
test eax, eax
je 0x100ce969
cmp eax, 1
je 0x100ce965
cmp eax, 2
jne 0x100ce976
push 0xf
jmp 0x100ce96f
push 2
jmp 0x100ce96f
push 1
jmp 0x100ce96f
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, edi
pop edi
pop ebp
ret

Function at 0x100ce996
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x1011b8c4]
cmp dword [eax + 4], 0xc
je 0x100ce9ad
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret
Function at 0x100d32b9
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 0x100d33f9
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 0x100d332d
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 0x100d33f9
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.1009a010
mov eax, dword [0x1013a9cc]
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 0x100d33bf
cmp dword [ebp - 0x128], 1
jne 0x100d33bf
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.100d1c30
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.100d1d07
add esp, 0x10
test eax, eax
je 0x100d33cc
inc dword [ebp - 8]
cmp ebx, 1
je 0x100d33eb
jmp 0x100d333e
push 0x10
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 8]
call fcn.10099c40
mov eax, dword [0x1011b8c4]
add esp, 0xc
test byte [eax + 8], 1
je 0x100d33f9
mov eax, dword [0x1013a9cc]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100d3e0e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
cmp byte [0x1013aa20], 0
push ebx
push esi
push edi
jne 0x100d3fc1
push 8
mov esi, 0x1013aa00
pop ecx
xor eax, eax
mov edi, esi
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [0x1013aa38], ebx
call fcn.100d405a
test al, al
je 0x100d3e5f
mov dword [0x1013aa28], 0x100d43b9
mov dword [0x1013aa2c], 0x100d43d1
jmp 0x100d3f65
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 [0x1013aa38], ebx
call fcn.100d1c44
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 [0x1013aa24], eax
jne 0x100d3f32
push 0x7ff
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebx, 0x1011ea44
lea eax, [ebp - 0x800]
push ebx
push eax
call fcn.100d1c86
lea eax, [ebp - 0x800]
push edi
push eax
call fcn.100d1c86
add esp, 0x10
lea eax, [ebp - 0x800]
push eax
call esi
test eax, eax
mov dword [0x1013aa24], eax
jne 0x100d3f32
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.100d1c86
lea eax, [ebp - 0x800]
push edi
push eax
call fcn.100d1c86
add esp, 0x10
lea eax, [ebp - 0x800]
push eax
call esi
test eax, eax
mov dword [0x1013aa24], eax
jne 0x100d3f32
call fcn.100d3fe3
push 1
pop eax
jmp 0x100d3fde
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetASPI32SupportInfo
push eax
call esi
push str.SendASPI32Command
push dword [0x1013aa24]
mov dword [0x1013aa28], eax
call esi
xor ebx, ebx
cmp dword [0x1013aa28], ebx
mov dword [0x1013aa2c], eax
je 0x100d3fd4
cmp eax, ebx
je 0x100d3fd4
call dword [0x1013aa28]
xor ecx, ecx
mov cl, ah
movzx esi, cl
cmp esi, 1
jne 0x100d3fc5
xor edi, edi
xor esi, esi
push esi
push edi
push ebx
call fcn.100d46a8
add esp, 0xc
cmp eax, 5
je 0x100d3f90
cmp eax, 4
jne 0x100d3f9b
push esi
push edi
push ebx
call fcn.100d4891
add esp, 0xc
inc esi
cmp esi, 8
jl 0x100d3f7b
inc edi
cmp edi, 0xc
jl 0x100d3f79
inc ebx
cmp ebx, 0x10
jl 0x100d3f77
cmp dword [0x1013aa38], 1
jge 0x100d3fba
push 4
jmp 0x100d3fd6
mov byte [0x1013aa20], 1
xor eax, eax
jmp 0x100d3fde
call fcn.100d3fe3
mov eax, esi
shl eax, 8
or eax, 3
jmp 0x100d3fde
push 5
pop esi
call fcn.100d3fe3
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100d405a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp byte [0x1013aa30], 0
mov dword [ebp - 4], edi
je 0x100d4075
xor al, al
jmp 0x100d411a
push ebx
push esi
push 0x6f4
push str.F:dev_fmodsrc372win_src_fsound_cdda.c
mov esi, 0x618
push esi
push edi
call fcn.100d25e1
add esp, 0x10
mov dword [0x1013aa34], eax
mov dword [0x1013a9fc], edi
xor eax, eax
mov ecx, dword [0x1013aa34]
or dword [eax + ecx + 0x14], 0xffffffff
add eax, 0x3c
cmp eax, esi
jl 0x100d409d
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.1009dd2f
add esp, 0xc
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x100d40fc
mov eax, dword [0x1013aa34]
add eax, edi
push eax
push ebx
call fcn.100d4292
mov eax, dword [0x1013aa34]
cmp byte [edi + eax + 0x10], 0
pop ecx
pop ecx
je 0x100d40fc
inc dword [ebp - 4]
add edi, 0x3c
inc ebx
cmp edi, esi
jl 0x100d40b5
call fcn.100d4221
pop esi
mov dword [0x1013a9fc], eax
mov al, byte [ebp - 4]
mov byte [0x1013aa30], 1
pop ebx
pop edi
leave
ret

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

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
movzx edi, byte [esi + 1]
call ebx
cmp byte [esi + 1], 0
mov ebp, eax
jne 0x100d4764
call ebx
sub eax, ebp
cmp eax, dword [0x1010393c]
jae 0x100d4764
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esi + 1]
test al, al
movzx edi, al
je 0x100d4746
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100d4891
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push 0x24
xor ebx, ebx
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.1009a010
push dword [ebp + 0x10]
mov al, byte [ebp + 0x10]
push dword [ebp + 0xc]
shl al, 5
push dword [ebp + 8]
mov byte [ebp - 0xb], al
push 0x24
lea eax, [ebp - 0x38]
push eax
push 6
lea eax, [ebp - 0xc]
push eax
push 8
push ebx
mov byte [ebp - 0xc], 0x12
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], 0x24
mov byte [ebp - 7], bl
call fcn.100d476b
add esp, 0x30
push 1
pop edi
cmp eax, edi
jne 0x100d4941
cmp dword [0x1013aa28], 0x100d43b9
jne 0x100d4908
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100d4670
add esp, 0xc
jmp 0x100d494b
mov dword [ebp - 4], 2
mov al, byte [ebp - 4]
add al, 0x41
movsx eax, al
push eax
lea eax, [ebp - 0x14]
push str._c:_
push eax
call fcn.1009dd2f
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
je 0x100d4948
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jl 0x100d490f
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100d4941
cmp dword [0x1013aa38], 8
jge 0x100d4941
push 0xa6a
push str.F:dev_fmodsrc372win_src_fsound_cdda.c
push 0x474
push ebx
call fcn.100d25e1
mov esi, eax
mov eax, dword [0x1013aa38]
add esp, 0x10
cmp esi, ebx
mov dword [eax*4 + 0x1013aa00], esi
je 0x100d4941
mov eax, dword [ebp - 4]
push 3
mov dword [esi], eax
lea eax, [esi + 0x61]
push ebx
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 0x20
mov dword [esi + 0x34], edi
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], 1
mov dword [esi + 0x3c], 0x1a
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], 7
mov byte [esi + 0x60], 1
call fcn.1009a010
mov edi, 0x190
push edi
lea eax, [esi + 0x130]
push ebx
push eax
mov dword [esi + 0x64], ebx
call fcn.1009a010
push edi
lea eax, [esi + 0x2c0]
push ebx
push eax
call fcn.1009a010
push 0x64
lea eax, [esi + 0x68]
push ebx
push eax
call fcn.1009a010
push 0x64
lea eax, [esi + 0xcc]
push ebx
push eax
call fcn.1009a010
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push 0x24
lea eax, [ebp - 0x38]
push eax
add esi, 0x450
push esi
call fcn.10099c40
add esp, 0x48
inc dword [0x1013aa38]
mov al, 1
jmp 0x100d4943
Function at 0x100d5279
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x100d5313
cmp dword [esi + 0x40], ebx
mov eax, dword [esp + 0x18]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x10], 1
mov dword [esi + 0x54], eax
mov ebp, str.F:dev_fmodsrc372win_src_fsound_cdda.c
jne 0x100d52ca
mov eax, dword [esi + 0x3c]
imul eax, eax, 0x930
push 0xeea
push ebp
push eax
push ebx
call fcn.100d244c
add esp, 0x10
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x100d530c
mov eax, dword [esi + 0x3c]
imul eax, eax, 0x930
push eax
push ebx
push dword [esi + 0x40]
call fcn.1009a010
add esp, 0xc
cmp byte [esi + 0x39], bl
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
je 0x100d5328
cmp dword [esi + 0x58], ebx
mov edi, 0x930
jne 0x100d5317
push 0xefa
push ebp
push edi
push ebx
call fcn.100d244c
add esp, 0x10
cmp eax, ebx
mov dword [esi + 0x58], eax
jne 0x100d5317
push esi
call fcn.100d536f
pop ecx
xor al, al
jmp 0x100d536a
push edi
push ebx
push dword [esi + 0x58]
call fcn.1009a010
add esp, 0xc
mov byte [esi + 0x60], 1
push 4
push esi
call fcn.100d50f2
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
pop ecx
call edi
mov ebx, eax
call edi
mov ecx, dword [esi + 0x34]
imul ecx, ecx, 0x3e8
sub eax, ebx
cmp eax, ecx
jae 0x100d5368
push 1
push dword [esi + 0x4c]
push dword [esi + 0x40]
push esi
call fcn.100d4f74
add esp, 0x10
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100d533c
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100e8465
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 0x100e84cd
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 0x100e84cd
push dword [esi]
lea eax, [ebp - 0x84]
push edi
push eax
push dword [ebp - 4]
call fcn.100e84ff
add esp, 0x10
mov dword [esi], eax
jmp 0x100e8497
cmp dword [ebp - 4], edi
je 0x100e84db
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
cmp eax, edi
je 0x100e84ec
inc dword [esi + 4]
mov eax, dword [eax + 0x298]
jmp 0x100e84dd
cmp dword [esi + 4], edi
je 0x100e84f8
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x100e84ff
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 0x100e8649
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 0x100e866a
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 0x100e863d
push 0x200
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.100e8670
add esp, 0xc
test eax, eax
jne 0x100e863d
mov ebx, 0x29c
push ebx
call fcn.10099f75
mov esi, eax
test esi, esi
pop ecx
je 0x100e863d
push ebx
push 0
push esi
call fcn.1009a010
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 0x100e85f7
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 4]
push eax
call fcn.10099c40
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 0x100e862c
lea eax, [ebp - 0x114]
push eax
jmp 0x100e862f
push dword [ebp + 0xc]
lea eax, [esi + 0x214]
push eax
call fcn.100a41f0
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
jmp 0x100e866a
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.100e84ff
add esp, 0x10
mov dword [edi], eax
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x100e8670
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.10099480
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 connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, edi
jne 0x100e87e1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
mov dword [ebp - 4], edi
cmp dword [ebp - 0xc], edi
jne 0x100e87d6
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 0x100e87d6
lea eax, [ebp - 0x2a8]
push eax
call fcn.10099480
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.1009fdd0
test eax, eax
pop ecx
pop ecx
jne 0x100e86bd
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 0x100e87c7
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 0x100e87be
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 0x100e87b5
push 0x88
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.1009a010
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 0x100e87b5
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 0x100e86bd
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, dword [ebp - 0x18]
pop edi
leave
ret