joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59e619
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x61a654]
jne 0x59e623
repz ret
jmp fcn.005aaabc

Function at 0x5bba7c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005a5f8e
and dword [ebp - 4], 0
cmp dword [0x6596ac], 0
mov ebx, eax
jne 0x5bbb2d
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5bbbde
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x5ffb04
push edi
call esi
test eax, eax
je 0x5bbbde
push eax
call fcn.005a5f1c
mov dword [esp], 0x5ffaf4
push edi
mov dword [0x6596ac], eax
call esi
push eax
call fcn.005a5f1c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6596b0], eax
call esi
push eax
call fcn.005a5f1c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6596b4], eax
call esi
push eax
call fcn.005a5f1c
pop ecx
mov dword [0x6596bc], eax
test eax, eax
je 0x5bbb2d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005a5f1c
pop ecx
mov dword [0x6596b8], eax
mov eax, dword [0x6596b8]
cmp eax, ebx
je 0x5bbb85
cmp dword [0x6596bc], ebx
je 0x5bbb85
push eax
call fcn.005a5f97
push dword [0x6596bc]
mov esi, eax
call fcn.005a5f97
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5bbb85
test edi, edi
je 0x5bbb85
call esi
test eax, eax
je 0x5bbb7c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5bbb7c
test byte [ebp - 0xc], 1
jne 0x5bbb85
or dword [ebp + 0x10], 0x200000
jmp 0x5bbbbe
mov eax, dword [0x6596b0]
cmp eax, ebx
je 0x5bbbbe
push eax
call fcn.005a5f97
pop ecx
test eax, eax
je 0x5bbbbe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5bbbbe
mov eax, dword [0x6596b4]
cmp eax, ebx
je 0x5bbbbe
push eax
call fcn.005a5f97
pop ecx
test eax, eax
je 0x5bbbbe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6596ac]
call fcn.005a5f97
pop ecx
test eax, eax
je 0x5bbbde
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5bbbe0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45bd63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x461ae8
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.0045b1a2
mov dword [ebx], 0x461ad4
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.0045b1a2
mov eax, 0x10
mov dword [ebx], 0x461a98
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
or eax, 0xffffffff
push 0x4e0fe0
push edi
mov dword [esi], 0x461aac
mov dword [esi + 0x40], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x4c], 0xc0c0c0
mov dword [esi + 0x50], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x403e60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45c130
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], 0x461b68
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
cmp ecx, eax
jne 0x403ec7
call fcn.00401570
test eax, eax
mov eax, 0x16
jne 0x403ecc
mov eax, 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
call fcn.00401570
test eax, eax
je 0x403f2d
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x403f51
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.004039a0
jmp 0x403f69
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00403880
mov dword [esp + 0x10], 0x461b18
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
Function at 0x406120
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push eax
push 0x101
mov esi, 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40614a
xor eax, eax
pop esi
add esp, 0x190
ret
mov ax, word [esp + 4]
cmp al, 1
jne 0x40615b
xor ecx, ecx
mov cl, ah
cmp cl, al
je 0x40616b
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
pop esi
add esp, 0x190
ret
mov eax, esi
pop esi
add esp, 0x190
ret
Function at 0x4082e0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x44
mov ecx, 0x10
mov edx, dword [esp + 0x4c]
push ebp
push esi
push edi
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [esp + 0xc]
xor ebp, ebp
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
test edx, edx
movsb byte es:[edi], byte [esi]
jbe 0x4083e3
mov esi, dword [esp + 0x54]
push ebx
xor eax, eax
xor edi, edi
cmp ebp, edx
jae 0x408323
mov ebx, dword [esp + 0x60]
xor edx, edx
mov dl, byte [ebx + ebp]
add eax, edx
mov edx, dword [esp + 0x5c]
cmp edi, 2
je 0x40832b
shl eax, 8
inc edi
inc ebp
cmp edi, 3
jb 0x408310
cmp ebp, edx
jbe 0x40839d
lea edi, [edx + 2]
cmp ebp, edi
jne 0x408362
mov edi, eax
shr edi, 0x12
shr eax, 0xc
and edi, 0x3f
and eax, 0x3f
mov bl, byte [esp + edi + 0x10]
mov al, byte [esp + eax + 0x10]
mov byte [ecx + esi], bl
mov byte [ecx + esi + 1], al
mov al, 0x3d
mov byte [ecx + esi + 2], al
jmp 0x4083d3
lea edi, [edx + 1]
cmp ebp, edi
jne 0x4083da
mov edi, eax
shr edi, 0x12
and edi, 0x3f
mov bl, byte [esp + edi + 0x10]
mov edi, eax
shr edi, 0xc
shr eax, 6
and edi, 0x3f
and eax, 0x3f
mov byte [ecx + esi], bl
mov bl, byte [esp + edi + 0x10]
mov al, byte [esp + eax + 0x10]
mov byte [ecx + esi + 1], bl
mov byte [ecx + esi + 2], al
mov byte [ecx + esi + 3], 0x3d
jmp 0x4083d7
mov edi, eax
shr edi, 0x12
and edi, 0x3f
mov bl, byte [esp + edi + 0x10]
mov edi, eax
shr edi, 0xc
and edi, 0x3f
mov byte [ecx + esi], bl
mov bl, byte [esp + edi + 0x10]
mov edi, eax
shr edi, 6
and edi, 0x3f
mov byte [ecx + esi + 1], bl
and eax, 0x3f
mov bl, byte [esp + edi + 0x10]
mov al, byte [esp + eax + 0x10]
mov byte [ecx + esi + 2], bl
mov byte [ecx + esi + 3], al
add ecx, 4
cmp ebp, edx
jb 0x40830c
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x44
ret
Function at 0x4193e6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CFileDialog::CFileDialog
lea edi, [esi + 0x1fc]
mov byte [esp + 0x14], 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x461e2c
lea edi, [esi + 0x23c]
mov byte [esp + 0x14], 2
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4621a8
lea edi, [esi + 0x27c]
mov byte [esp + 0x14], 3
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4621a8
lea edi, [esi + 0x2bc]
mov byte [esp + 0x14], 4
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
push 0xed
push 0xed
mov ecx, esi
mov byte [esp + 0x1c], 5
mov dword [esi], 0x4632a0
call sub.MFC42.DLL_CFileDialog::SetTemplate
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.0045b232
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c

Function at 0x41aa00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45d268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x41aaaa
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x41aa91
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x41aa91
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x68], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41aac0
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 0x41ab22
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 0x41ad30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41ae22
lea ecx, [esp + 0x10]
push ecx
push str..htm
push 0x80000000
mov ecx, edi
call fcn.0041aac0
test eax, eax
jne 0x41ae22
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 0x80000000
mov ecx, edi
call fcn.0041aac0
test eax, eax
jne 0x41ae22
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x10]
push str.__1_
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x41adf3
lea eax, [esp + 0x10]
push 0x46f920
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x41adf3
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x41adf6
mov byte [esi], 0
push 0x46e040
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, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4265e0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
push eax
push 0x2001f
push 0
push str.SoftWareYUANSOFTCUTERIP_
mov esi, ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x426632
mov ecx, dword [esp + 4]
add esi, 0xa8
push 0x30
push esi
push 3
push eax
push str.CustomColor
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftWareYUANSOFTCUTERIP_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x426684
mov edx, dword [esp + 4]
add esi, 0xa8
push 0x30
push esi
push 3
push eax
push str.CustomColor
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret
Function at 0x426690
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push 0x2001f
push 0
push str.SoftWareYUANSOFTCUTERIP_
mov esi, ecx
push 0x80000001
mov dword [esp + 0x20], 3
mov dword [esp + 0x1c], 0x30
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4266f7
lea ecx, [esp + 8]
add esi, 0xa8
push ecx
lea edx, [esp + 0x10]
push esi
push edx
push eax
mov eax, dword [esp + 0x14]
push str.CustomColor
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4266f7
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0xc
ret
Function at 0x42d3d0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push str.KERNEL32.DLL
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, eax
test esi, esi
je 0x42d435
push str.GetDiskFreeSpaceExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d42a
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
push ebp
call eax
test eax, eax
je 0x42d42a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jne 0x42d478
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x42d478
mov edx, dword [esp + 0x30]
pop edi
imul edx, dword [esp + 0x28]
imul edx, dword [esp + 0xc]
mov dword [ebx], edx
pop esi
mov dword [ebx + 4], 0
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x432a10
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x4f1e54]
test eax, eax
jge 0x432a20
xor eax, eax
mov dword [0x4f1e54], eax
cmp eax, dword [0x4f1e38]
jge 0x432a8c
mov ecx, dword [0x4f1e58]
push eax
mov eax, dword [0x4f1e3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [0x4f1e54]
mov ecx, dword [0x4f1e58]
mov edx, 0xea60
add ecx, eax
sub edx, eax
push edx
mov edx, dword [0x470b58]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__read]
lea ecx, [eax + 1]
add esp, 0x18
test ecx, ecx
jne 0x432a72
mov dword [0x4f1e38], ecx
xor eax, eax
ret
mov ecx, dword [0x4f1e54]
mov edx, dword [0x4f1e58]
add ecx, eax
mov dword [0x4f1e3c], edx
mov dword [0x4f1e54], ecx
mov eax, 1
ret

Function at 0x432aa0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x5a4
lea eax, [esp]
push ebx
push ebp
mov ebp, dword [esp + 0x5b0]
push esi
push edi
push 0x5a1
push eax
push ebp
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
cmp eax, 0x5a1
jne 0x432b5d
xor esi, esi
mov al, byte [esp + esi + 0x10]
lea edi, [esp + esi + 0x10]
cmp al, 0xff
jne 0x432b10
mov al, byte [esp + esi + 0x11]
and al, 0xf0
cmp al, 0xf0
je 0x432aec
cmp al, 0xe0
jne 0x432b10
push edi
call fcn.00432d60
add esp, 4
cmp esi, 0x578
mov ebx, eax
jge 0x432b10
push edi
call fcn.00432ce0
add esp, 4
test eax, eax
je 0x432b4a
lea esi, [esi + ebx - 1]
inc esi
cmp esi, 0x5a0
jl 0x432ad2
push 1
push 0xffffffffffffffff
push ebp
call dword [sym.imp.MSVCRT.dll__lseek]
lea ecx, [esp + 0x1c]
push 0x5a1
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0x18
cmp eax, 0x5a1
je 0x432ad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a4
ret
add esi, 0xfffffa5f
push 1
push esi
push ebp
call dword [sym.imp.MSVCRT.dll__lseek]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a4
ret
Function at 0x433c36
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45f466
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x433d06
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45f4e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x434d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45f83b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x466a60
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x434e20
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x434de7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x434e11
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x434e26
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x434e26
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x461b18
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x461b04
mov dword [esp + 0x1c], 0xffffffff
call fcn.0045b244
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43d5e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.AudioCDShell
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d669
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push str.Play
push edx
push eax
mov eax, dword [esp + 0x10]
push 0x4e100c
push eax
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43d653
mov eax, dword [0x4f1fbc]
test eax, eax
je 0x43d653
mov ecx, dword [esp]
push 1
push 0x4e100c
push 1
push 0
push 0x4e100c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret

Function at 0x43d670
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.AudioCDShell
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d6cd
push str.Play
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp]
inc eax
push eax
push str.Play
push 1
push 0
push 0x4e100c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x43d6d0
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.AudioCDShell
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d721
mov ecx, dword [esp]
push 1
push 0x4e100c
push 1
push eax
push 0x4e100c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret