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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x412bc0
cmp edx, dword [eax]
je 0x40c9cf
add eax, 8
inc ecx
cmp eax, 0x412c50
jl 0x40c9c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x412bc0]
jne 0x40cafd
mov eax, dword [0x416858]
cmp eax, 1
je 0x40cad7
test eax, eax
jne 0x40ca00
cmp dword [0x412624], 1
je 0x40cad7
cmp edx, 0xfc
je 0x40cafd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40ca37
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040ed00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040a900
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40ca7a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040a900
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x410e54
push edi
call fcn.00409330
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040ed00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040ed10
lea eax, [ebp - 0xa0]
push 0x410e34
push eax
call fcn.0040ed10
push dword [esi + 0x412bc4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040ed10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040f048
add esp, 0x2c
pop edi
jmp 0x40cafd
lea eax, [ebp + 8]
lea esi, [esi + 0x412bc4]
push 0
push eax
push dword [esi]
call fcn.0040a900
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 0x40b060
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x4e704c
call sym._EnterCriticalSection_4
mov ebx, dword [0x4e7044]
sub esp, 4
test ebx, ebx
je 0x40b0ab
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x40b0a4
test esi, esi
je 0x40b0a4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40b080
mov dword [esp], 0x4e704c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40b290
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x40b2e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40b3b8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40b31e
cmp eax, 4
jne 0x40b340
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40b32e
cmp edx, 4
je 0x40b32e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0040b290

Function at 0x40b930
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call sym._GetLastError_0
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sym._SetLastError_4
sub esp, 4
mov eax, ebx
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40b960
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
je 0x40b984
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp sym._GetLastError_0
Function at 0x41d330
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x4a2abc], 0
jne 0x41d404
mov byte [0x4a2abc], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x41d49e
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0xffffffff
sete al
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sym.___cxa_demangle
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov ebp, eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
lea edi, [esi + 0x40]
mov dword [esp + 0xc], edi
call sym._fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp + 4], edi
je 0x41d3fa
mov dword [esp], ebx
call sym._fputs
lea eax, [esi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x4a4189
mov dword [esp + 0xc], eax
call sym._fwrite
cmp dword [esp + 0x1c], 0
je 0x41d431
call sym.___cxa_rethrow
mov dword [esp], ebp
call sym._fputs
jmp 0x41d3cb
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
mov dword [esp], ebp
call sym._free
jmp 0x41d3f5
call sym._abort
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
jmp 0x41d499
Function at 0x1003588
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push esi
xor esi, esi
cmp dword [0x10248a0], esi
mov dword [ebp - 4], eax
je 0x10035f7
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
call fcn.01003503
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10035ef
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0100356c
mov eax, dword [ebp - 4]
pop esi
leave
ret 0xc

Function at 0x1003601
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x18]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor esi, esi
cmp dword [0x10248a0], esi
je 0x1003671
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
call fcn.01003503
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100366c
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 0x14], edi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0100356c
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x100367c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x10248a0], esi
je 0x10036d9
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
call fcn.01003503
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10036d4
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0100356c
pop esi
leave
ret 0xc

Function at 0x10036e3
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x10248a0], esi
je 0x1003748
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
call fcn.01003503
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1003743
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0100356c
pop esi
leave
ret 0xc
Function at 0x1004f99
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1024778]
push esi
mov esi, dword [ebp + 8]
cmp esi, 0xfffffc19
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
jne 0x1004fc3
mov byte [eax], 0
jmp 0x10050d0
push ebx
push edi
push 0x1001444
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push edi
push 0xf003f
push edi
push edi
push edi
push 0x1001428
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1005023
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x100141c
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0xa
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
cdq
mov ecx, 0x3b9aca00
idiv ecx
mov ecx, 0xf4240
mov ebx, ecx
mov edi, eax
mov eax, edx
cdq
idiv ebx
mov dword [ebp - 0x14], eax
mov eax, esi
cdq
idiv ecx
mov ecx, 0x3e8
mov ebx, ecx
mov eax, edx
cdq
idiv ebx
mov ebx, eax
mov eax, esi
cdq
idiv ecx
test edi, edi
jle 0x1005079
push edx
lea eax, [ebp - 0x10]
push eax
push ebx
push eax
push dword [ebp - 0x14]
push eax
push edi
push 0x1001400
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x24
jmp 0x10050cb
cmp dword [ebp - 0x14], 0
jle 0x100509c
push edx
lea eax, [ebp - 0x10]
push eax
push ebx
push eax
push dword [ebp - 0x14]
push 0x10013ec
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x1c
jmp 0x10050cb
test ebx, ebx
jle 0x10050b9
push edx
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x10013e0
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x14
jmp 0x10050cb
push esi
push 0x10013dc
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp - 0x18]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.0101cd9e
leave
ret 8
Function at 0x10067f3
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1024778]
or dword [0x10235f0], 0xffffffff
or dword [0x10235ec], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 4], eax
xor esi, esi
mov ebx, 0x100
push 1
push esi
call edi
cmp eax, 0x10
je 0x1006832
inc esi
cmp esi, ebx
jl 0x1006821
jmp 0x1006844
mov dword [0x10235ec], esi
jmp 0x1006844
push 1
push esi
call edi
cmp eax, 0x10
je 0x100684b
inc esi
cmp esi, ebx
jl 0x100683a
jmp 0x1006851
mov dword [0x10235f0], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyNameTextA]
push 0x13
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x10235ec]
shl eax, 0x10
push eax
call esi
test eax, eax
mov edi, dword [sym.imp.msvcrt.dll__strnicmp]
je 0x100689e
push 5
lea eax, [ebp - 0x18]
push 0x1001558
push eax
call edi
add esp, 0xc
test eax, eax
je 0x100689e
mov eax, dword [0x10235ec]
mov ecx, dword [0x10235f0]
mov dword [0x10235ec], ecx
mov dword [0x10235f0], eax
jmp 0x10068a3
mov eax, dword [0x10235f0]
push 0x13
lea ecx, [ebp - 0x18]
push ecx
shl eax, 0x10
push eax
call esi
test eax, eax
je 0x10068dd
push 4
lea eax, [ebp - 0x18]
push 0x1001550
push eax
call edi
add esp, 0xc
test eax, eax
je 0x10068dd
mov eax, dword [0x10235ec]
mov ecx, dword [0x10235f0]
mov dword [0x10235ec], ecx
mov dword [0x10235f0], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101cd9e
leave
ret
Function at 0x1006eb9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
push 2
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1006ee7
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1006eee
xor eax, eax
jmp 0x1006fc2
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x1006f06
mov cl, byte [esi + 0xe]
inc edi
shl edi, cl
cmp word [esi + 0xe], 4
lea eax, [esi + edi*4 + 0x28]
mov dword [ebp - 8], eax
jbe 0x1006fa1
lea eax, [ebp - 0x40c]
push eax
call fcn.01006d96
test eax, eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x10], eax
mov dword [ecx], eax
je 0x1006fa1
and dword [ebp + 8], 0
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x14]
jle 0x1006f73
lea ecx, [ebp + eax*4 - 0x407]
lea edx, [esi + 0x29]
push ebx
cmp dword [ebp + 8], edi
jge 0x1006f72
mov bl, byte [edx + 1]
inc dword [ebp + 8]
mov byte [ecx - 1], bl
mov bl, byte [edx]
mov byte [ecx], bl
mov bl, byte [edx - 1]
mov byte [ecx + 1], bl
mov ebx, dword [ebp + 0x18]
mov byte [ecx + 2], 4
add edx, 4
add ecx, 4
cmp dword [ebp + 8], ebx
jl 0x1006f48
pop ebx
lea ecx, [ebp + eax*4 - 0x408]
push ecx
push dword [ebp + 8]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetPaletteEntries]
mov eax, dword [ebp + 0x1c]
push 0
push dword [eax]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_RealizePalette]
push 0
push esi
push dword [ebp - 8]
push 4
push esi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
leave
ret 0x18
Function at 0x101ceb6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1002880
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101cf0e
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x10013da
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101cf01
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101cf10
xor eax, eax
pop esi
leave
ret 4

Function at 0x101e579
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ax, word [ebp + 0xc]
mov cx, word [ebp + 0x10]
cmp ax, cx
jne 0x101e593
mov eax, dword [ebp + 8]
jmp 0x101e67d
cmp ax, 8
push esi
push edi
je 0x101e5a1
cmp ax, 0x10
jne 0x101e5ad
cmp cx, 8
je 0x101e5b4
cmp cx, 0x10
je 0x101e5b4
xor edi, edi
jmp 0x101e65b
shr ax, 3
shr cx, 3
push ebx
xor edx, edx
mov edi, eax
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
movzx esi, di
div esi
mov esi, eax
movzx eax, bx
imul eax, esi
push eax
push 0x2002
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
jne 0x101e60f
cmp dword [0x1027be4], eax
je 0x101e60b
push 0x40
push 0x10028d0
push 0x10028e8
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor edi, edi
jmp 0x101e65a
cmp di, bx
jbe 0x101e639
test esi, esi
mov ebx, dword [ebp + 8]
mov edi, ecx
je 0x101e658
mov dword [ebp + 0xc], esi
movsx eax, word [ebx]
cdq
mov esi, 0x100
idiv esi
add al, 0x80
mov byte [edi], al
inc edi
inc ebx
inc ebx
dec dword [ebp + 0xc]
jne 0x101e620
jmp 0x101e658
test esi, esi
mov edx, dword [ebp + 8]
mov eax, ecx
je 0x101e658
movsx di, byte [edx]
sub edi, 0x80
shl edi, 8
mov word [eax], di
inc eax
inc eax
inc edx
dec esi
jne 0x101e642
mov edi, ecx
pop ebx
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x101f25c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1024778]
and dword [ebp - 0x40], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], eax
call fcn.0101f20f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [ebp + 0x10]
mov esi, eax
lea eax, [esi + 0xa]
cmp edi, eax
jl 0x101f2bb
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push 0x1002ea0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push 0x1002e84
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x101f2bf
xor eax, eax
jmp 0x101f301
call fcn.0101f20f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
push eax
add ebx, esi
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x3c]
sub edi, esi
mov dword [ebp - 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x101f2f5
cmp dword [ebp - 0x44], eax
jle 0x101f2f5
mov dword [ebp - 0x40], 1
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101cd9e
leave
ret 0xc
Function at 0x101fa63
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
mov eax, dword [ebp + 0xc]
dec eax
je 0x101fa96
dec eax
je 0x101fa86
xor eax, eax
jmp 0x101fc1a
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x101fc17
test ebx, ebx
je 0x101fc17
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
push 0
push 0xf0
push 0x3e8
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
xor ecx, ecx
test eax, eax
push 0
setne cl
push 0
push 0xf0
push 0x3e9
push dword [ebp + 8]
inc ecx
mov word [ebx + 6], cx
call esi
push eax
call edi
push 0
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x3ec
push dword [ebp + 8]
neg eax
mov word [ebx + 0x10], ax
call esi
push eax
call edi
push 0
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x3f2
push dword [ebp + 8]
neg eax
mov word [ebx + 0x12], ax
call esi
push eax
call edi
push 0
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x3ed
push dword [ebp + 8]
neg eax
mov word [ebx + 0x18], ax
call esi
push eax
call edi
push 0xa
neg eax
mov edi, str.WaveMix_V_2.3_by_Angel_M._Diaz__Jr.__c__Microsoft_1993_1995
push edi
sbb eax, eax
push 0x3eb
push dword [ebp + 8]
neg eax
mov word [ebx + 0xe], ax
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
push 0xa
push edi
push 0x3ef
push dword [ebp + 8]
mov word [ebx + 0xa], ax
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
push 0xa
push edi
push 0x3f0
push dword [ebp + 8]
mov word [ebx + 0xc], ax
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
push 0xa
push edi
push 0x3f3
push dword [ebp + 8]
mov word [ebx + 8], ax
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
push 0xa
push edi
push 0x3f1
push dword [ebp + 8]
mov word [ebx + 0x16], ax
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
movsx eax, byte [str.WaveMix_V_2.3_by_Angel_M._Diaz__Jr.__c__Microsoft_1993_1995]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
pop ecx
je 0x101fc04
push edi
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
jmp 0x101fc06
xor eax, eax
push 1
push dword [ebp + 8]
mov word [ebx + 0x14], ax
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
inc eax
pop ebx
pop ebp
ret 0x10
Function at 0x102046f
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
cmp dword [0x1027bf4], esi
je 0x102048a
xor eax, eax
inc eax
jmp 0x1020531
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.010203cd
test eax, eax
jne 0x102049f
xor eax, eax
jmp 0x1020530
call fcn.01020412
push 0x1025850
push esi
push 0x1003294
push 0x100326c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x7f00
push esi
mov dword [0x1027be8], eax
mov dword [0x1025968], 0x101d285
mov dword [0x10257e0], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
xor edi, edi
inc edi
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0x10028d0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10257e0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x101ddad
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x1020498
call fcn.0101d491
mov dword [0x1027bf4], edi
mov eax, edi
pop edi
pop esi
leave
ret 4