joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4751a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x47521e
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 8]
push ecx
call ebx
mov edi, dword [ebp - 8]
add edi, dword [ebp - 0x18]
mov esi, dword [ebp - 4]
adc esi, dword [ebp - 0x14]
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
push ecx
call ebx
cmp dword [ebp - 4], esi
jl 0x4751e3
jg 0x4751f5
cmp dword [ebp - 8], edi
jbe 0x4751e3
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
sbb edx, dword [ebp - 0x1c]
push 0
push 0xf4240
push edx
push ecx
call fcn.004ab410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4752d0
Capabilities:
Get file size

Disassembly:
push edi
xor edi, edi
test eax, eax
je 0x475311
cmp byte [eax], 0
je 0x475311
push esi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x475301
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test esi, esi
je 0x47530c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x475370
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 4], eax
test eax, eax
je 0x475416
push edi
push eax
call fcn.0042dbdc
mov ecx, dword [ebp - 4]
add esp, 4
mov edi, eax
push edi
push ecx
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0x4b9bf8
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
test eax, eax
je 0x4753db
movzx edx, word [ecx + 0xa]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4753e8
movzx edx, word [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4753f5
movzx edx, word [ecx + 0xe]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x475402
movzx ecx, word [ecx + 0x30]
mov dword [eax], ecx
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x475420
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push eax
push 0x4b9bf0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x475980
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jne 0x475987
xor eax, eax
ret
mov eax, 0xdc379acf
test ecx, ecx
je 0x4759a5
push esi
movzx esi, byte [edx]
movzx esi, byte [esi + 0x4b9ae8]
xor eax, esi
rol eax, 5
inc edx
dec ecx
jne 0x475991
pop esi
ret
Function at 0x4785b0
Capabilities:
Delete registry key

Disassembly:
push ebx
mov bl, byte [esp + 8]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
test bl, 0x20
je 0x4785cd
push str.TunerPro.xdf.1
push 0x80000000
call esi
test bl, 2
je 0x4785de
push str.TunerPro.ecu.1
push 0x80000000
call esi
test bl, 1
je 0x4785ef
push str.TunerPro.bin.1
push 0x80000000
call esi
test bl, 4
je 0x478600
push str.TunerPro.bsl.1
push 0x80000000
call esi
test bl, 8
je 0x478611
push str.TunerPro.ads.1
push 0x80000000
call esi
test bl, 0x10
je 0x478622
push str.TunerPro.adl.1
push 0x80000000
call esi
test bl, 0x40
je 0x478633
push str.TunerPro.adx.1
push 0x80000000
call esi
test bl, bl
jns 0x478643
push str.TunerPro.xdl.1
push 0x80000000
call esi
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop esi
pop ebx
ret

Function at 0x478660
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x318
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x314], eax
push edi
xor edi, edi
mov dword [esp + 4], edi
mov dword [esp + 8], 0x104
cmp esi, edi
je 0x478717
push 0x104
lea eax, [esp + 0x114]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push str.TunerPro._s.1_shellopencommand
lea ecx, [esp + 0x14]
push 0x104
push ecx
call fcn.004010b0
add esp, 0x10
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [esp + 4]
cmp eax, edi
je 0x478717
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x218]
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
js 0x47870c
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x47870c
mov edi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x318]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0042dbe7
add esp, 0x318
ret
Function at 0x478730
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0x314
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x310], eax
mov eax, 1
mov dword [esp], 0
test esi, esi
je 0x478951
push ebx
push 0x104
lea eax, [esp + 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x210]
push ecx
push str.__s___file____1_
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.004010b0
push esi
push str.TunerPro._s.1_shellopencommand_
lea eax, [esp + 0x124]
push 0x104
push eax
call fcn.004010b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
add esp, 0x20
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
push 0x80000000
call ebx
test eax, eax
je 0x4787db
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x314
ret
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4787e2
mov ecx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, edx
push eax
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0
push ecx
call edi
test eax, eax
je 0x478822
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x314
ret
mov edx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
mov eax, dword [esp + 0x324]
push eax
lea ecx, [esp + 0x21c]
push ecx
push str._s__u
lea edx, [esp + 0x1c]
push 0x104
push edx
call fcn.004010b0
push esi
push str.TunerPro._s.1DefaultIcon_
lea eax, [esp + 0x130]
push 0x104
push eax
call fcn.004010b0
add esp, 0x24
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x118]
push edx
push 0x80000000
call ebx
test eax, eax
jne 0x478928
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x478892
mov ecx, dword [esp + 0xc]
sub eax, edx
push eax
lea eax, [esp + 0x14]
push eax
push 1
push 0
push 0
push ecx
call edi
test eax, eax
jne 0x478928
mov edx, dword [esp + 0xc]
push edx
call ebp
push esi
push str.TunerPro._s.1
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004010b0
push esi
push 0x4bec48
lea ecx, [esp + 0x12c]
push 0x104
push ecx
call fcn.004010b0
add esp, 0x20
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x118]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x478928
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x478908
sub eax, edx
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push 0
push edx
call edi
test eax, eax
je 0x478942
pop ebp
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x314
ret
mov eax, dword [esp + 0xc]
push eax
call ebp
pop ebp
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x314
ret
Function at 0x47c890
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, ecx
push ebp
push esi
test ebx, ebx
jne 0x47c8ca
mov eax, 0x80070057
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x110
ret
add ebx, 0x7e0
call fcn.0046ea50
mov eax, edi
xor ebp, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c8e0
sub eax, edx
je 0x47c923
mov esi, eax
test eax, eax
jle 0x47c906
mov al, byte [edi + esi]
cmp al, 0x5c
je 0x47c8fc
cmp al, 0x2f
jne 0x47c901
test ebp, ebp
je 0x47c906
inc ebp
dec esi
test esi, esi
jg 0x47c8f1
lea eax, [esp + 0xc]
test eax, eax
je 0x47c923
lea ecx, [esi + 1]
push ecx
mov edx, eax
push edi
push edx
call fcn.0042e036
add esp, 0xc
mov byte [esp + esi + 0xd], 0
push ebx
lea ecx, [esp + 0x10]
call fcn.0046eb90
push ebx
xor ecx, ecx
call fcn.0046eb90
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.TunerPro_Files_
lea ecx, [esp + 0x10]
push ecx
call esi
push 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.Plugins_
lea eax, [esp + 0x10]
push eax
call esi
push ebx
lea ecx, [esp + 0x10]
call fcn.0046eb90
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
sar eax, 2
xor esi, esi
test eax, eax
je 0x47c9c2
cmp esi, eax
jae 0x47c9b3
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x47c9b3
mov ecx, dword [ecx + 0x3dc]
test ecx, ecx
je 0x47c9b3
push 0
push 0x4edd50
push 0x1388
call ecx
add esp, 0xc
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x47c991
mov ecx, dword [esp + 0x118]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0042dbe7
add esp, 0x110
ret
Function at 0x47d800
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
xor edi, edi
or ebx, 0xffffffff
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x47d8a2
cmp dword [esp + 0x18], edi
je 0x47d8a2
cmp ebp, edi
je 0x47d8a2
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47d851
mov dword [esp + 0xc], 0x80004005
jmp 0x47d8a2
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x47d8a1
push esi
call fcn.0042dbdc
push esi
mov edi, eax
push 0
push edi
call fcn.0042e03c
add esp, 0x10
push 0
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov dword [ebp], esi
call fcn.0042dbdc
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov edx, dword [ebp]
push edx
push edi
push eax
call fcn.0042e036
add esp, 0x10
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x47d8b7
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x47fdc0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push edi
xor edi, edi
or esi, 0xffffffff
cmp dword [esp + 0x10], edi
jne 0x47fde0
push esi
mov edi, 0x800700a1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret
mov ecx, dword [0x4ee0bc]
push ebp
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
cmp ecx, edi
je 0x47fe36
push edi
call fcn.00411400
test eax, eax
jne 0x47fe11
mov eax, dword [0x4ee004]
push 0x30
push str.Error
push str.Error___One_or_more_checksums_could_not_be_updated._Check_checksum_addressing__etc__for_validity.
push eax
call ebp
jmp 0x47fe36
mov ecx, dword [0x4edd58]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, edi
je 0x47fe36
push ebx
push 0xfafa
mov ebx, str.Checksum_Updated
mov esi, eax
call fcn.00462ac0
pop ebx
mov edx, dword [esp + 0x14]
push edi
push 0x80
push 4
push edi
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47fe7f
mov eax, dword [0x4ee004]
push 0x30
push str.Error
push str.Could_not_save_Bin
push eax
call ebp
pop ebp
push esi
mov edi, 0x80004005
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret
mov edx, dword [0x4edfb4]
mov eax, dword [0x4ee080]
push edi
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [0x4edfa0], edi
call fcn.0047f120
mov ecx, dword [0x4edfb4]
push ecx
mov ecx, dword [0x4ee080]
call fcn.0047d7b0
add esp, 4
pop ebp
push esi
mov dword [0x4edfb0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4841a0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x68
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [0x4edd38]
push eax
push 0x2716
push edx
push ebx
push ebx
push ebx
push ebx
push 0x40000944
push ebx
push str.ToolbarWindow32
push ebx
mov dword [esp + 0x3c], 0xd
mov dword [esp + 0x40], 0x8040
mov dword [esp + 0x44], 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x54], 0x8037
mov dword [esp + 0x58], 4
mov dword [esp + 0x64], 0x10
mov dword [esp + 0x68], 0x8049
mov dword [esp + 0x6c], 4
mov dword [esp + 0x78], 0x22
mov dword [esp + 0x7c], 0x8009
mov dword [esp + 0x80], 4
mov dword [esp + 0x8c], 0x11
mov dword [esp + 0x90], 0x8093
mov dword [esp + 0x94], 4
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [0x4ed540]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push ebx
mov esi, eax
push 0x430
push esi
call edi
lea edx, [esp + 0xc]
push edx
push 5
push 0x414
push esi
call edi
mov ecx, dword [esp + 0x70]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0042dbe7
add esp, 0x68
ret
Function at 0x485920
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push str.calc
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x4859a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x13c], eax
mov ecx, dword [0x4edd38]
push edi
push 0x32
lea eax, [esp + 0xc]
push eax
push 0x75
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, 0x4edd60
mov eax, 0x104
lea ecx, [esp + 0x3c]
call fcn.004a0810
lea edi, [esp + 4]
mov ecx, 0x104
lea edx, [esp + 0x3c]
call fcn.0049ee50
pop edi
test eax, eax
js 0x485a0c
mov ecx, dword [esp]
mov eax, 0x104
sub eax, ecx
lea ecx, [esp + ecx + 0x38]
lea edx, [esp + 4]
call fcn.0049ec80
mov eax, dword [0x4ee004]
push 1
push 0
push 0
lea edx, [esp + 0x44]
push edx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x485a46
mov ecx, dword [0x4ee004]
push 0x30
push str.No_Help_File
push str.Could_not_find_the_help_file._Make_sure_its_in_the_applications_launch_directory.
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x140
ret
Function at 0x485a60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4acf37
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
xor ebp, ebp
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x12c], eax
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], ebp
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x144], ebp
mov dword [esp + 0x170], ebp
call fcn.00487a00
push ebp
mov edi, eax
call fcn.0047c550
add esp, 4
test eax, eax
je 0x485ba7
cmp edi, ebp
je 0x485ba7
push 0xc800
call fcn.0042dbdc
add esp, 4
lea esi, [esp + 0x1c]
mov ebx, eax
call fcn.00470010
mov edx, dword [edi]
mov edx, dword [edx + 4]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0x18], ebp
cmp ebx, ebp
je 0x485b41
lea edi, [esp + 0x18]
mov ecx, 0xc800
mov edx, ebx
call fcn.0049ed30
cmp eax, ebp
jl 0x485b41
mov esi, dword [esp + 0x18]
jmp 0x485b43
xor esi, esi
mov eax, dword [0x4ee004]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x485b99
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edi, [esi + 1]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
je 0x485b93
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
je 0x485b99
push ebx
push edi
push eax
call fcn.00401080
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [0x4ee3d4]
push esi
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp ebx, ebp
je 0x485ba7
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.0046f990
mov eax, dword [esp + 0x134]
cmp eax, ebp
je 0x485bc5
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x160
ret
Function at 0x485c90
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push 0xffffffffffffffff
push 0x4ad351
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 0x103
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0x28c], ebx
push eax
mov byte [esp + 0x38], bl
call fcn.0042e03c
push 0xc1
lea ecx, [esp + 0x140]
push ebx
push ecx
call fcn.0042e03c
push 1
call fcn.0047c550
add esp, 0x1c
lea esi, [esp + 0x18]
test eax, eax
je 0x485e70
call fcn.004742b0
test eax, eax
js 0x485d77
push ebx
push 1
push 0x4b99f8
mov edx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0x4b99bc
push edx
call esi
test eax, eax
jne 0x485d77
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x485d77
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0x4b99bc
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x485e6c
push 0x11
push 0x4ba770
lea ecx, [esp + 0x1fc]
push 0x80
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy_s]
add esp, 0x10
mov ecx, 0x80
lea esi, [esp + 0x1f4]
call fcn.004741e0
mov edx, esi
mov eax, 0x41
lea ecx, [esp + 0x130]
call fcn.004a0810
mov edx, 0x4edd60
mov eax, 0x104
lea ecx, [esp + 0x2c]
call fcn.004a0810
lea edi, [esp + 0x28]
mov ecx, 0x104
lea edx, [esp + 0x2c]
call fcn.0049ee50
test eax, eax
js 0x485dfa
mov ecx, dword [esp + 0x28]
mov eax, 0x104
sub eax, ecx
lea ecx, [esp + ecx + 0x2c]
mov edx, str.TunerProPu.dat
call fcn.0049ec80
push 0x4bcbf4
push ebx
push 2
push str.Save_XDF_as...
push 1
push ebp
mov edx, 0x4de89c
mov ecx, 0x4de798
call fcn.0047dda0
add esp, 0x18
test eax, eax
je 0x485e6c
mov ecx, dword [0x4ee0bc]
push ebx
lea edx, [esp + 0x30]
push edx
push 0x4de798
call fcn.00410ec0
test eax, eax
js 0x485e59
call fcn.0047f120
push 0x4de798
call fcn.0047f780
add esp, 4
mov dword [0x4ed548], ebx
call fcn.0047f120
jmp 0x485e6c
push 0x30
push str.Please_Contact_Support
push str.Save_Failed_
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esi, [esp + 0x18]
call fcn.004742b0
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x274
ret
Function at 0x485ea0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push 0xffffffffffffffff
push 0x4ad38a
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 0x103
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0x28c], ebx
push eax
mov byte [esp + 0x38], bl
call fcn.0042e03c
push 0xc1
lea ecx, [esp + 0x140]
push ebx
push ecx
call fcn.0042e03c
push 1
call fcn.0047c550
add esp, 0x1c
lea esi, [esp + 0x18]
test eax, eax
je 0x486093
call fcn.004742b0
test eax, eax
js 0x485f87
push ebx
push 1
push 0x4b99f8
mov edx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0x4b99bc
push edx
call esi
test eax, eax
jne 0x485f87
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x485f87
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0x4b99bc
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x48608f
push 0x11
push 0x4ba770
lea ecx, [esp + 0x1fc]
push 0x80
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy_s]
add esp, 0x10
mov ecx, 0x80
lea esi, [esp + 0x1f4]
call fcn.004741e0
mov edx, esi
mov eax, 0x41
lea ecx, [esp + 0x130]
call fcn.004a0810
mov edx, 0x4edd60
mov eax, 0x104
lea ecx, [esp + 0x2c]
call fcn.004a0810
lea edi, [esp + 0x28]
mov ecx, 0x104
lea edx, [esp + 0x2c]
call fcn.0049ee50
test eax, eax
js 0x48600a
mov ecx, dword [esp + 0x28]
mov eax, 0x104
sub eax, ecx
lea ecx, [esp + ecx + 0x2c]
mov edx, str.TunerProPu.dat
call fcn.0049ec80
cmp byte [0x4de798], bl
jne 0x486026
push ebx
push 0x8014
push 0x111
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x48608f
fld dword [0x4bf108]
mov edx, dword [0x4ee0bc]
fcomp dword [edx + 0x7cc]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
fnstsw ax
test ah, 5
jp 0x486059
push 0x44
push str.XDF_Version_Mismatch
push str.This_XDF_was_created_with_a_newer_version_of_TunerPro._Saving_with_this_version_may_cause_loss_of_data._Continue_
push ebp
call esi
cmp eax, 6
jne 0x48608f
mov ecx, dword [0x4ee0bc]
push ebx
lea eax, [esp + 0x30]
push eax
push 0x4de798
call fcn.00410ec0
test eax, eax
jns 0x486084
push 0x30
push str.Please_Contact_Support
push str.Save_Failed_
push ebp
call esi
jmp 0x48608f
mov dword [0x4ed548], ebx
call fcn.0047f120
lea esi, [esp + 0x18]
call fcn.004742b0
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x274
ret