joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c6d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44c703
push esi
call fcn.0044f7e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44c6fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44c789
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44c772
mov eax, dword [esi + 8]
test eax, eax
je 0x44c727
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44c76e
cmp eax, 2
je 0x44c772
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44c71a
cmp eax, 3
je 0x44c74d
cmp eax, 1
jne 0x44c71a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44c71a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44c71a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044c7b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44c798
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044c7b0
add esp, 4
pop esi
ret

Function at 0x459730
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4597d3
test eax, eax
jbe 0x4597d3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4597d3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45977e
xor esi, esi
jmp 0x459784
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4597af
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00465cb0
add esi, eax
push esi
mov ebx, esi
call fcn.00465cb0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x459790
pop ebp
test edi, edi
pop edi
jne 0x4597d3
test ebx, ebx
je 0x4597d3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00491cd0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x459915
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x459a2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459a2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a4b2c
mov esi, eax
test esi, esi
je 0x459a2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x459a2d
mov ecx, esi
call fcn.00459880
cmp edi, eax
jge 0x459a2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4599b3
mov dword [esp + 0x34], 1
jmp 0x459a0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x459a2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004580f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x467dc0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0046e240
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x467eb9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.00467ed0
test eax, eax
jne 0x467eb9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.00467ed0
test eax, eax
jne 0x467eb9
lea edx, [esp + 0x10]
push 0x5a6c70
push edx
call fcn.00492620
mov esi, eax
add esp, 8
test esi, esi
jne 0x467e8a
lea eax, [esp + 0x10]
push 0x5a6c6c
push eax
call fcn.00492620
mov esi, eax
add esp, 8
test esi, esi
jne 0x467e8a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x467e8d
mov byte [esi], 0
push 0x5a6434
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x467ed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x467f32
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x46e180
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b2b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x46e230
mov eax, dword [0x5a98b0]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004a34b0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004a34ff
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004a345c
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x46e217
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x46e217
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a30cc
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x471330
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2fd0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4714d7
mov ecx, dword [0x5a98b0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x47142c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00470050
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004a31b9
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004a30cc
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5a6434
call fcn.004a313a
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00470410
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004a31b9
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004a30cc
lea ecx, [esp + 0xc]
call fcn.004a35a6
mov ecx, dword [esp + 0xc]
push 0x5a6e74
push ecx
call fcn.00491394
add esp, 8
test eax, eax
je 0x471454
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x47138d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004a30cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a30cc
jmp 0x4714db
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004710d0
test eax, eax
push 0
je 0x4714bf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.0046f770
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4714a5
cmp eax, 0x64
jg 0x471493
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x471430
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x471430
cmp eax, 0x64
jge 0x47142c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x471430
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0046f770
mov esi, eax
jmp 0x471430
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4714e5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4a54cf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a5507
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a3527
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a34ff
jmp 0x4a5513
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a6bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a6c02
call fcn.004ac990
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a6c02
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a6bf9
xor eax, eax
jmp 0x4a6c0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a6c10
pop edi
pop esi
pop ebx
ret 4

Function at 0x4acea5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4aced3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4acef1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ace0b
jmp 0x4acef1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4acef1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ace0b
test edi, edi
mov eax, edi
jne 0x4acedb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [0x403cdc], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 4]
mov dword [0x403b2d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401031
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403b2d]
mov dword [ebp - 0x48], eax
mov eax, 0x40168b
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403b2d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.klavesn
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d28], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403d28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010ce
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010c0
mov esp, ebp
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x408b8e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x408b9d
pop dword [ebp - 0x40]
mov eax, 0x426911a7
add eax, 0xbdd779f6
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3b4a8
push 0
mov eax, 0xdd9064ae
add eax, 0x22b07c2a
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x200b0592
add ecx, 0xdff54ac5
xor esi, esi
add esi, eax
mov edi, 0x6a69670e
sub edi, 0x6a282b4a
add edi, dword [ebp - 0x40]
mov ebx, 0xe4c9f0ff
sub dword [ebp - 8], 0x9dbcacef
mov edx, dword [edi]
xor dword [ebp - 0x2c], 0x3ef7c689
add edx, ebx
add dword [ebp - 0x2c], esi
mov dword [esi], edx
add dword [ebp - 0x20], edi
add esi, 0xcc611254
sub esi, 0xcc611250
add edi, 4
loop 0x408bf8
add eax, 0x1342f
mov ebx, eax
add eax, 5
mov ecx, 0x57a0b7c0
sub ecx, 0x5760b7c0
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10002e16
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x10032720
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000305a
lea ecx, [ebp - 0x68]
push ecx
push 5
fld dword [0x10035db4]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea edx, [ebp - 0x68]
push edx
call fcn.10002b6d
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x68]
push ecx
push 1
push 0
push 0x1003273c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x68]
push eax
push 5
fld dword [0x10035db8]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea ecx, [ebp - 0x68]
push ecx
call fcn.10002b6d
add esp, 4
lea edx, [ebp - 0x68]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x68]
push eax
push 1
push 0
push 0x10032744
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [ebp - 0x68]
push edx
push 5
fld dword [0x10035da0]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
call fcn.10002b6d
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x68]
push edx
push 1
push 0
push 0x1003274c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x68]
push ecx
push 5
fld dword [0x10035da8]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea edx, [ebp - 0x68]
push edx
call fcn.10002b6d
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x68]
push ecx
push 1
push 0
push 0x10032754
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x68]
push eax
push 5
fld dword [0x10035db0]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea ecx, [ebp - 0x68]
push ecx
call fcn.10002b6d
add esp, 4
lea edx, [ebp - 0x68]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x68]
push eax
push 1
push 0
push 0x10032760
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [ebp - 0x68]
push edx
push 5
fld dword [0x10035da4]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
call fcn.10002b6d
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x68]
push edx
push 1
push 0
push 0x1003276c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x68]
push ecx
push 5
fld dword [0x10035dac]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea edx, [ebp - 0x68]
push edx
call fcn.10002b6d
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x68]
push ecx
push 1
push 0
push 0x10032778
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret
Function at 0x10003189
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x10032784
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000320b
mov dword [ebp - 0x14], 4
mov dword [ebp - 4], 4
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0x100327a0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], 4
mov dword [ebp - 4], 4
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x100327ac
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x10003241
cmp dword [ebp - 0xc], 0
je 0x10003241
push 0
call fcn.10007f83
add esp, 4
push 1
call fcn.10008a87
add esp, 4
push 0
call fcn.10007ec7
add esp, 4
jmp 0x1000325f
push 1
call fcn.10007f83
add esp, 4
push 0
call fcn.10008a87
add esp, 4
push 1
call fcn.10007ec7
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10003263
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x100327c4
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003467
cmp dword [ebp + 0x10], 0
je 0x100032a2
mov dword [ebp - 8], 8
jmp 0x100032a9
mov dword [ebp - 8], 1
mov dword [ebp - 0x70], 0
jmp 0x100032bb
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp - 8]
jge 0x10003467
cmp dword [ebp + 0x10], 0
je 0x100032d3
mov eax, dword [ebp - 0x70]
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x6c]
push ecx
push 5
fild dword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
call fcn.1001c94b
add esp, 0x10
lea edx, [ebp - 0x6c]
push edx
call fcn.10002b6d
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 7
ja case.default.0x10003309
mov ecx, dword [ebp - 0x74]
jmp dword [ecx*4 + 0x10003475]
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x100327e0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x100327e8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x100327f0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x100327f8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x10032800
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x10032808
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x10032810
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.default.0x10003309
lea edx, [ebp - 0x6c]
push edx
call fcn.1001c8d0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
push 0x10032818
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x100032b2
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret