joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423099
Capabilities:
Hide graphical window

Disassembly:
and dword [0x45286c], 0
push 1
push dword [esp + 8]
mov byte [0x452861], 1
mov byte [0x452862], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401cc4
cmp dword [0x4486a8], 0
jne 0x4230d9
cmp byte [0x45286b], 0
je 0x4230e2
cmp dword [0x452864], 0
jne 0x4230f5
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x4231e4
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x43925d
call fcn.00424c58
cmp byte [0x45236c], 0
mov esi, dword [ebp + 8]
je 0x4232cb
cmp dword [0x452380], 0
je 0x4232cb
xor edi, edi
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push eax
push 0x452370
call fcn.0042117b
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x423290
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x423262
mov ecx, dword [esi]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
jb 0x42326e
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push edi
push edx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4232cb
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, 0x1000
jb 0x4232c2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004019a9
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.00424ba6
pop ecx
pop ecx
call fcn.00424c07
ret 4
Function at 0x425e49
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x425e88
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425e88
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425e88
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x425e88
cmp dword [ecx + 0x74], 0xe
jbe 0x425e88
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438270
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43829d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43829d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402c20
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x406358
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp + 0xc]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
xor edi, edi
push eax
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallCMBPB40
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402c6a
mov edi, 1
add esi, 0x2bc
lea ecx, [esp + 8]
push esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x20], 0
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push 0
push str.DisplayName
push edx
call esi
test eax, eax
je 0x402caa
mov edi, 1
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esp + 0x28]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push str.CMBPBUninstall.exe
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x28], 1
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 1
call fcn.00405c42
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.00405c42
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.UninstallString
push ecx
call esi
test eax, eax
je 0x402d29
mov edi, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea ecx, [esp + 8]
test edi, edi
sete al
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
call fcn.00405c42
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x402db0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
push 0x105
lea eax, [esi + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
add esi, 0x1b5
push esi
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
pop esi
ret

Function at 0x402e40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
push edi
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0x80
push eax
push 0x20019
push 0
push str.SoftwareCMB
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402e86
xor eax, eax
pop edi
add esp, 0x8c
ret
lea ecx, [esp + 8]
push esi
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.WAPBLOGINTYPE
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
mov esi, eax
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
neg eax
sbb eax, eax
not eax
and eax, edi
pop edi
add esp, 0x8c
ret
Function at 0x4042c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40656b
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], 0x407ba0
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x404350
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 0x404317
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 0x404341
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x404356
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x404356
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x407b74
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x407b60
mov dword [esp + 0x1c], 0xffffffff
call fcn.00405dec
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401190
Capabilities:
Access peb ldr_data

Disassembly:
add byte [ebp - 0x77], dl
in eax, 0x57
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x4b0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov edi, dword [eax + 0x30]
mov esi, dword [ebx + 0x352a0]
mov eax, dword [ebx + 0x3529c]
mov dword [esp + 0x1c], esi
lea esi, [ebx + 0x352a4]
mov dword [esp + 0x18], esi
lea esi, [esp + 0x40]
test eax, eax
je 0x401293
lea edx, [ebx + 0x352b4]
cmp esi, edx
lea edx, [esp + 0x50]
setae cl
cmp dword [esp + 0x18], edx
setae dl
or cl, dl
je 0x401341
lea edx, [eax - 1]
cmp edx, 3
jbe 0x401341
add byte [eax], al
mov ecx, eax
movd xmm2, dword [esp + 0x1c]
xor edx, edx
shr ecx, 2
shl ecx, 4
pshufd xmm1, xmm2, 0
lea esi, [esi]
lea edi, [edi]
movdqu xmm0, xmmword [ebx + edx + 0x352a4]
paddd xmm0, xmm1
movaps xmmword [esi + edx], xmm0
add edx, 0x10
cmp edx, ecx
jne 0x401221
mov edx, eax
and edx, 0xfffffffc
cmp eax, edx
je 0x401293
lea ecx, [edx*4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
add edx, dword [ebx + ecx + 0x352a4]
mov dword [esp + ecx + 0x40], edx
mov edx, dword [esp + 0x14]
lea ecx, [edx + 1]
cmp eax, ecx
jbe 0x401293
shl ecx, 2
mov edx, dword [esp + 0x1c]
add edx, dword [ebx + ecx + 0x352a4]
or esp, dword [edx + edx*2 + 0x54890003]
or al, 0x40
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
xor edx, edx
lea esi, [esi]
mov ecx, dword [ebx + edx*4 + 0x352a4]
add ecx, edi
mov dword [esi + edx*4], ecx
add edx, 1
cmp eax, edx
jne 0x401351
mov edi, dword [esp + 0x18]
jmp 0x401293

Function at 0x401191
Capabilities:
Access peb ldr_data

Disassembly:
add byte [ebp - 0x77], dl
in eax, 0x57
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x4b0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov edi, dword [eax + 0x30]
mov esi, dword [ebx + 0x352a0]
mov eax, dword [ebx + 0x3529c]
mov dword [esp + 0x1c], esi
lea esi, [ebx + 0x352a4]
mov dword [esp + 0x18], esi
lea esi, [esp + 0x40]
test eax, eax
je 0x401293
lea edx, [ebx + 0x352b4]
cmp esi, edx
lea edx, [esp + 0x50]
setae cl
cmp dword [esp + 0x18], edx
setae dl
or cl, dl
je 0x401341
lea edx, [eax - 1]
cmp edx, 3
jbe 0x401341
add byte [eax], al
mov ecx, eax
movd xmm2, dword [esp + 0x1c]
xor edx, edx
shr ecx, 2
shl ecx, 4
pshufd xmm1, xmm2, 0
lea esi, [esi]
lea edi, [edi]
movdqu xmm0, xmmword [ebx + edx + 0x352a4]
paddd xmm0, xmm1
movaps xmmword [esi + edx], xmm0
add edx, 0x10
cmp edx, ecx
jne 0x401221
mov edx, eax
and edx, 0xfffffffc
cmp eax, edx
je 0x401293
lea ecx, [edx*4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
add edx, dword [ebx + ecx + 0x352a4]
mov dword [esp + ecx + 0x40], edx
mov edx, dword [esp + 0x14]
lea ecx, [edx + 1]
cmp eax, ecx
jbe 0x401293
shl ecx, 2
mov edx, dword [esp + 0x1c]
add edx, dword [ebx + ecx + 0x352a4]
or esp, dword [edx + edx*2 + 0x54890003]
or al, 0x40
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
xor edx, edx
lea esi, [esi]
mov ecx, dword [ebx + edx*4 + 0x352a4]
add ecx, edi
mov dword [esi + edx*4], ecx
add edx, 1
cmp eax, edx
jne 0x401351
mov edi, dword [esp + 0x18]
jmp 0x401293
Function at 0x401440
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push esi
lea eax, [esp + 8]
push eax
push 0x20019
xor esi, esi
push esi
push str.MIMEDatabaseContent_Type_video_quicktime
push 0x80000000
mov dword [esp + 0x1c], esi
call fcn.004051f0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
test eax, eax
jne 0x4014d3
mov eax, dword [esp + 8]
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push esi
push 0x4353e4
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
push ecx
mov edi, eax
call ebx
test edi, edi
mov dword [esp + 0xc], esi
pop edi
je 0x4014ba
pop esi
mov eax, 1
pop ebx
add esp, 0x10c
ret
mov edx, dword [esp + 0x11c]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0042545a
add esp, 8
test eax, eax
je 0x4014d8
mov esi, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x4014e3
push eax
call ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x10c
ret

Function at 0x4017a0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x439f88]
push esi
push edi
xor edi, edi
test eax, eax
jne 0x4017c2
push 0x439f88
mov dword [0x439f88], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x439f98], 2
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4017e3
cmp dword [0x439f8c], 4
jne 0x4017e3
mov eax, dword [0x439f90]
test eax, eax
je 0x4017fa
mov eax, dword [0x439f28]
test eax, eax
jne 0x401803
push str.kernel32.dll
call esi
mov dword [0x439f28], eax
jmp 0x4017ff
mov eax, dword [0x439f28]
test eax, eax
je 0x40186d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call esi
mov dword [0x439f48], eax
mov eax, dword [0x439f28]
push str.Process32First
push eax
call esi
mov ecx, dword [0x439f28]
push str.Process32Next
push ecx
mov dword [0x439f4c], eax
call esi
mov edx, dword [0x439f28]
push str.Module32First
push edx
mov dword [0x439f50], eax
call esi
mov dword [0x439f54], eax
mov eax, dword [0x439f28]
push str.Module32Next
push eax
call esi
mov dword [0x439f58], eax
mov eax, 1
pop edi
mov dword [0x439f44], eax
pop esi
ret
push str.psapi.dll
call esi
test eax, eax
mov dword [0x439f28], eax
je 0x4018d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call esi
mov ecx, dword [0x439f28]
push str.EnumProcessModules
push ecx
mov dword [0x439f74], eax
call esi
mov edx, dword [0x439f28]
push 0x435458
push edx
mov dword [0x439f78], eax
call esi
mov dword [0x439f7c], eax
mov eax, dword [0x439f28]
push 0x435444
push eax
call esi
mov dword [0x439f80], eax
mov eax, 1
pop edi
mov dword [0x439f70], eax
pop esi
ret
mov eax, edi
pop edi
pop esi
ret
Function at 0x401980
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareApple_Computer__Inc.QuickTimeActiveX
push 0x80000002
mov dword [esp + 0x14], 0
mov dword [esi], 0
call fcn.004051f0
add esp, 0x14
test eax, eax
jne 0x4019db
mov edx, dword [esp]
lea ecx, [esp + 4]
push ecx
push esi
push eax
push eax
push str.QTTaskRunFlags
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret

Function at 0x4019e0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareApple_Computer__Inc.QuickTimeActiveX
push 0x80000002
mov dword [esp + 0x24], 0
call fcn.00405110
add esp, 0x24
test eax, eax
jne 0x401a36
mov edx, dword [esp]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push eax
push str.QTTaskRunFlags
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x401bf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
push esi
push 0x4353a0
lea eax, [esp + 0x118]
push 0x435394
push eax
mov dword [esp + 0x14], 0
xor esi, esi
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
lea edx, [esp + 0x12c]
push edx
push 0x80000000
call fcn.004051f0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x20
test eax, eax
jne 0x401cc2
mov edx, dword [esp + 8]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push 0x435392
push edx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov eax, dword [esp + 0xc]
push eax
call ebx
test edi, edi
mov dword [esp + 0xc], esi
pop edi
jne 0x401ccd
lea ecx, [esp + 0x10]
push ecx
push str.MIMEDatabaseContent_Type_video_quicktime
call fcn.00401440
add esp, 8
test eax, eax
jne 0x401cbd
lea edx, [esp + 0x10]
push edx
push str.MIMEDatabaseContent_Typeimage_x_quicktime
call fcn.00401440
add esp, 8
test eax, eax
jne 0x401cbd
lea eax, [esp + 0x10]
push eax
push str.MIMEDatabaseContent_Typeimage_x_macpaint
call fcn.00401440
add esp, 8
test eax, eax
je 0x401cc2
mov esi, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x401ccd
push eax
call ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x210
ret
Function at 0x402030
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x628
lea eax, [esp]
push eax
push 0x2001f
push 0
push 0x4352c8
push 0x80000002
mov dword [esp + 0x14], 0
call fcn.004051f0
add esp, 0x14
test eax, eax
jne 0x40215e
mov edx, dword [esp]
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x14]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x3c], 0x514
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x402154
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x11c]
push edx
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
dec eax
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x402153
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x402113
push 0x1b
lea ecx, [esp + 0x18]
push str.QuickTime_Update_Completion
push ecx
call fcn.00431af2
add esp, 0xc
test eax, eax
jne 0x402113
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x402113
lea eax, [esp + 0x118]
call fcn.00401da0
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x11c]
push edx
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
dec eax
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x30], 0x514
call esi
test eax, eax
je 0x4020d3
pop esi
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x628
ret
Function at 0x402440
Capabilities:
Check mutex on windows
Create thread

Disassembly:
sub esp, 0x28
mov dword [esp], 0
call 0x401070
push str.__QTTaskMutex__
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402579
push ebp
push str._QTActiveXRegistryWatcherThreadEnded_
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebp, eax
mov dword [esp + 8], ebp
call fcn.004010e0
call fcn.004033f0
cmp eax, 1
jne 0x40249f
call fcn.004023b0
push esi
lea esi, [esp + 8]
call fcn.00401980
mov al, byte [esp + 8]
test al, 2
jne 0x40256c
test al, 1
je 0x4024c6
mov eax, dword [0x439f24]
test eax, eax
je 0x40256c
push 0x490
call fcn.004256aa
add esp, 4
test eax, eax
je 0x40256c
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00404f90
mov esi, eax
test esi, esi
je 0x40256c
push ebx
push edi
lea edx, [esp + 0x3c]
push edx
push 0
push esi
push 0x402170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov ebx, eax
push 0
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x4c], ebx
call edi
test eax, eax
je 0x402557
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
lea ecx, [esp + 0x1c]
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
call ebp
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call edi
test eax, eax
jne 0x402530
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test ebx, ebx
je 0x40256a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
test ebp, ebp
pop esi
je 0x402578
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov eax, dword [esp + 8]
test eax, eax
je 0x402588
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x28
ret 0x10

Function at 0x402590
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push edx
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], eax
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40262d
mov eax, dword [esp + 4]
test eax, eax
je 0x40263c
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40262d
cmp byte [esi], 0
je 0x40262d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4025f2
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x40262d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402607
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x40262d
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x402618
mov ax, word [0x4356d4]
push edi
mov edi, esi
mov word [edi], ax
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x40263c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x4027f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebp
mov ebp, dword [esp + 0x210]
push esi
mov esi, dword [esp + 0x218]
push esi
push ebp
push str.QTExtDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.00402590
mov al, byte [ebp]
add esp, 0x10
test al, al
jne 0x40292c
add esi, 0xfffffff6
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea ecx, [esp + 0x110]
push esi
push ecx
call fcn.00402640
mov al, byte [esp + 0x118]
add esp, 0xc
test al, al
je 0x40292c
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402860
sub eax, edx
cmp byte [esp + eax + 7], 0x5c
push edi
je 0x4028a2
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402878
sub eax, edx
cmp byte [esp + eax + 0xb], 0x2f
je 0x4028a2
lea edi, [esp + 0xc]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402890
mov dx, word [0x4356d4]
mov word [edi], dx
lea eax, [esp + 0x110]
mov edx, ebp
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4028b0
lea esi, [esp + 0x110]
lea eax, [esp + 0xc]
push ebx
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4028ee
test cl, cl
je 0x4028ea
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4028ee
add eax, 2
add esi, 2
test cl, cl
jne 0x4028c6
xor eax, eax
jmp 0x4028f3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jne 0x40292b
mov edi, ebp
dec edi
jmp 0x402900
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402900
mov eax, dword [str.QuickTime_]
mov dword [edi], eax
mov ecx, dword [0x435738]
mov dword [edi + 4], ecx
mov dx, word [0x43573c]
mov word [edi + 8], dx
mov al, byte [0x43573e]
mov byte [edi + 0xa], al
pop edi
mov eax, ebp
pop esi
lea edx, [eax + 1]
pop ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402933
sub eax, edx
add esp, 0x208
ret

Function at 0x402b80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
push esi
push edi
xor eax, eax
mov ecx, 0x24
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
xor esi, esi
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0xc]
cmp eax, 5
jbe 0x402bbe
mov esi, 1
jne 0x402bcc
cmp dword [esp + 0x10], 1
mov eax, 1
jae 0x402bce
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402f50
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [ecx + 0xc]
sub esp, 0x200
push 0x200
lea eax, [esp + 4]
push eax
push 0x9c4e
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x402f85
lea edx, [esp]
push 0x43589c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push 0
push 0
push 0
lea eax, [esp + 0xc]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x200
ret