joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417ced
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x4e5214
call fcn.004e1580
sub esp, 0x5c
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x68]
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x68], 0x44
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x14]
push 6
push eax
call fcn.0041aab4
add esp, 0x20
push 0x4fa2ac
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x417d7e
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41804c
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4e52b4
call fcn.004e1580
sub esp, 0x11c
push esi
push edi
lea eax, [ebp - 0x18]
push 6
push eax
xor esi, esi
call fcn.0041aab4
pop ecx
pop ecx
and dword [ebp - 4], esi
push 0x4fa2ac
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_operator_2
push 0x52b030
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
and byte [ebp - 0x128], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x127]
mov dword [ebp - 0x1c], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.BugReport.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418134
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0x4fa2a4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41812b
push 1
pop esi
cmp dword [ebp - 0x20], esi
jne 0x418124
push dword [ebp - 0x14]
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41812b
push esi
call fcn.00418150
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x418150
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov eax, 0x4e52d8
call fcn.004e1580
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp + 8]
mov dword [0x530280], esi
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x18]
xor ebx, ebx
push 6
push eax
mov dword [ebp - 4], ebx
call fcn.0041aab4
pop ecx
pop ecx
push 0x4fa2ac
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push str.__s___s
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.BugReport.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x418229
cmp esi, ebx
jne 0x4181f5
push 0x4fa2a4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x418220
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push dword [eax - 8]
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 1
push ebx
push 0x4fa2a4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x418220
mov dword [0x530280], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41992e
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4e5544
call fcn.004e1580
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::MakeLower
push str._openfile
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push eax
call fcn.00419721
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp dword [eax - 8], esi
je 0x4199b8
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004d166f
mov eax, dword [eax]
push 0x52c488
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ebx, eax
add esp, 0x10
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call sub.MFC42.DLL_CString::CString
test bl, bl
pop ebx
je 0x4199b8
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
call fcn.00414c4b
add esp, 0x14
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41a52f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x4e564c
call fcn.004e1580
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00404a48
mov edi, eax
cmp edi, esi
je 0x41a579
cmp dword [ebp - 0x10], esi
je 0x41a572
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x41a616
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x41a5ea
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041a52f
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x41a5d7
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x41a59c
cmp dword [ebp - 0x10], esi
je 0x41a5e5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x41a616
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41a5fd
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x41a614
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41bf88
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4e5a4b
call fcn.004e1580
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x30]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
call sub.MFC42.DLL_CString::CString_1
and dword [ebp - 4], 0
add edi, 0x34
push edi
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41e5d1
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.004e15c0
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
mov esi, ecx
push ebx
push 3
push ebx
mov eax, dword [esi + 0xe4]
push 2
push Ordinal_1
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x41e620
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x42f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41e691
mov eax, dword [esi + 0xe8]
push ebx
push ebx
push 2
push ebx
push 2
push 0x40000000
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x41e65e
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x42f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41e691
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esi + 0xec], ebx
mov dword [esi + 0xf8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x100], ebx
mov dword [esi + 0xfc], eax
mov dword [esi + 0x104], ebx
je 0x41e696
or eax, 0xffffffff
jmp 0x41e704
lea eax, [ebp - 8]
push ebx
push eax
mov edi, 0x2000
lea eax, [ebp - 0x2014]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x2014]
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
add dword [esi + 0x100], eax
adc dword [esi + 0x104], ebx
cmp eax, edi
sbb edi, edi
neg edi
push edi
push ebx
push 0x42f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp edi, ebx
je 0x41e696
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4268e0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x53047c]
test eax, eax
jne 0x426917
push 0x20
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x18]
mov dword [0x53047c], eax
leave
ret

Function at 0x428039
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4e67ed
call fcn.004e1580
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [edi + 4]
push eax
call sub.MFC42.DLL_CString::CString_1
and dword [ebp - 4], 0
lea eax, [edi + 8]
push eax
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_1
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x10]
lea ecx, [esi + 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
lea eax, [edi + 0x38]
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42c58e
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
jne 0x42c5e7
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x42c5ea
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
push dword [ebp - 4]
mov dword [esi + 0x2c], eax
push str.LoadDllProc
push str.CDllLoaderThread
push str.ComThunder
call fcn.004d4ea3
mov eax, dword [esi + 0x2c]
add esp, 0x28
test eax, eax
je 0x42c5e7
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
leave
ret

Function at 0x42c682
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
je 0x42c6be
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42c6b1
push 1
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x2c], 0
pop esi
ret
Function at 0x42c927
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ebp, dword [esi + 0x4c]
mov ebx, dword [esi + 0x48]
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 0xc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x42c963
push 5
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push 5
mov edi, eax
push dword [esi + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42c970
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x42c97c
or eax, 0xffffffff
jmp 0x42ca3b
mov ecx, esi
call sub.MFC42.DLL_CDialog::PreModal
mov ebx, eax
call sub.MFC42.DLL_AfxUnhookWindowCreate
and dword [esp + 0x10], 0
test ebx, ebx
je 0x42c9af
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42c9af
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x10], 1
push esi
call sub.MFC42.DLL_AfxHookWindowCreate
push edi
push ebx
call sub.MFC42.DLL_CWnd::FromHandle
push eax
push ebp
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateDlgIndirect
test eax, eax
je 0x42ca03
test byte [esi + 0x28], 0x10
je 0x42c9e9
push 4
mov ecx, esi
pop edi
call sub.MFC42.DLL_CWnd::GetStyle
test ah, 1
je 0x42c9e1
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042c789
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x42ca05
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
jmp 0x42ca05
xor edi, edi
cmp dword [esp + 0x10], edi
je 0x42ca14
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, edi
je 0x42ca2a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x42ca2a
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call sub.MFC42.DLL_CDialog::PostModal
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x42d6c3
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e723c
call fcn.004e1580
sub esp, 0x14
push ebx
push edi
call fcn.004cbba4
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x20], edi
je 0x42d6e8
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push edi
mov byte [ebp - 4], 1
call dword [eax + 0x34]
cmp dword [ebp - 0x10], ebx
je 0x42d7c6
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
call fcn.0040294f
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 1
call esi
cmp dword [ebp - 0x1c], ebx
je 0x42d768
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040294f
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call esi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x14]
push 0x52b770
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call sub.MFC42.DLL_operator_2
push dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
push str..td.cfg
push eax
lea eax, [ebp + 8]
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
call esi
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42d7d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x42d7e4
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42f7c1
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x4e7486
call fcn.004e1580
sub esp, 0x170
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
je 0x42f841
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.0042fb02
test eax, eax
je 0x42f7f8
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x42f8a5
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ebx, 0x160
push 0x4511
lea eax, [ebp - 0x17c]
push ebx
mov edi, 0x80
push eax
push edi
push dword [ebp + 8]
call esi
test eax, eax
je 0x42f841
mov eax, dword [ebp - 0x17c]
push 0x4510
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x17c]
push ebx
push eax
push edi
push dword [ebp + 8]
call esi
xor esi, esi
cmp eax, esi
jne 0x42f845
xor eax, eax
jmp 0x42f8a5
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0042fb02
cmp eax, esi
je 0x42f85d
mov esi, dword [eax + 0xc]
jmp 0x42f8a3
push 0xc
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x42f878
mov ecx, eax
call fcn.0042f4f9
mov esi, eax
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
mov eax, dword [ebp - 0x17c]
mov dword [esi + 4], eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
call fcn.0042faa0
mov dword [eax], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x431542
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push edi
mov edi, str.Other
mov ebx, ecx
push edi
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x431571
push str.ShowInMediaDlg
push dword [ebp + 0xc]
call esi
pop ecx
test eax, eax
pop ecx
je 0x4315ad
push edi
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x43158d
push str.EnableVideoPicture
push dword [ebp + 0xc]
call esi
pop ecx
test eax, eax
pop ecx
je 0x4315ad
push str.PlugInIEFloatBar
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x4315c7
push str.Show
push dword [ebp + 0xc]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x4315c7
push dword [ebx + 0x38]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
neg eax
jmp 0x4315ea
cmp dword [ebp + 0x10], 0
lea ecx, [ebx + 0x40]
setne al
movzx eax, al
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004da287
dec eax
neg eax
sbb al, al
inc al
movzx eax, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x43633b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push 0x9c
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x98], 6
sbb eax, eax
inc eax
leave
ret
Function at 0x4424ed
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4424fe
xor eax, eax
jmp 0x442558
lea eax, [esi + 8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xbb8
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44252f
lea eax, [ebp - 4]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x442541
jmp 0x44253a
push 0xa
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], 0xa
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x14], 0
mov ecx, esi
call fcn.00442493
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x44255b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push 6
call fcn.00442cbf
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x4425ae
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
push dword [ebp - 4]
mov dword [esi + 0x14], eax
push str.MoveProc
push str.CMoveFileList
push str.ComThunder
call fcn.004d4ea3
mov eax, dword [esi + 0x14]
add esp, 0x28
neg eax
sbb eax, eax
pop edi
and al, 0xf7
pop esi
add eax, 9
leave
ret