joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c26e
Capabilities:
Parse pe header

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

Function at 0x42dc3e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x449e30
push 0x449e28
push str.FlsAlloc
push 0x1e
call fcn.0042daff
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42dc72
push dword [ebp + 8]
mov ecx, esi
call dword [0x442248]
call esi
jmp 0x42dc78
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42dcbc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x449e40
push 0x449e38
push str.FlsGetValue
push 0x20
call fcn.0042daff
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42dcf3
push dword [ebp + 8]
mov ecx, esi
call dword [0x442248]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x42f00c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x45016c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x42f057
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0042f1ab
test al, al
jne 0x42f051
sub edx, 2
cmp edx, edi
jne 0x42f037
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x42f079
lea eax, [edi + 2]
cmp edx, eax
je 0x42f079
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0042ef58
add esp, 0x10
jmp 0x42f173
push esi
lea ecx, [ebp - 0x255]
call fcn.0042f1ab
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42f0bc
push dword [ebp - 0x25c]
jmp 0x42f069
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x42f0f9
cmp word [ebp - 0x226], 0
je 0x42f11a
cmp word [ebp - 0x226], ax
jne 0x42f0f9
cmp word [ebp - 0x224], 0
je 0x42f11a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0042ef58
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42f166
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x42f0d3
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42f14e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x42f173
push 0x42ed88
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00433d60
add esp, 0x10
jmp 0x42f143
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b559
leave
ret

Function at 0x42fbca
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x42fbdb
pop esi
ret
push ebx
push edi
push esi
call fcn.0042fb93
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042bf7d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42fc03
push ebx
push esi
push edi
call fcn.0041cb70
add esp, 0xc
push 0
call fcn.0042bf43
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x42ffc7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042fc18
Function at 0x437340
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x43737d
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop word [eax + eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x451408]
mov dword [eax + 0x260], edx
sub esi, 1
jne 0x437360
pop edi
mov ecx, dword [eax + 0x34]
mov byte [ecx + eax + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x43742c
sub ecx, 1
je 0x437410
sub ecx, 1
je 0x4373e8
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
inc edx
mov dword [eax + 0x44], edx
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov esi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
inc dword [eax + 0x44]
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
Function at 0x441360
Capabilities:
Parse pe header

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

Disassembly:
sub esp, 0x410
mov eax, dword [0x41b0a4]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x418]
push esi
push edi
mov dword [esp + 0x418], eax
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0x118]
push ecx
push 0
push 0
push ebx
mov dword [esp + 0x20], 0
call fcn.0040ed82
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x12c]
push eax
push 0
lea ecx, [esp + 0x334]
push 0
push ecx
call fcn.0040ecf2
mov ecx, 0xd
mov esi, str.Softwarh
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x33c]
add esp, 0x28
movsb byte es:[edi], byte [esi]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404ba0
lea edi, [esp + 0x10]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404bb0
push 0
mov ecx, eax
mov esi, edx
shr ecx, 2
lea edx, [esp + 0x10]
push edx
push 0
rep movsd dword es:[edi], dword [esi]
push 0x2001f
push 0
push 0
mov ecx, eax
push 0
lea eax, [esp + 0x2c]
push eax
and ecx, 3
push 0x80000002
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404c12
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404bf5
mov ecx, dword [esp + 0xc]
sub eax, edx
inc eax
push eax
push ebx
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x418]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040e6ab
add esp, 0x410
ret

Function at 0x404c30
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x40c
mov eax, dword [0x41b0a4]
xor eax, esp
push esi
push edi
lea ecx, [esp + 0x20c]
push ecx
lea edx, [esp + 0x110]
push edx
push 0
mov dword [esp + 0x41c], eax
mov eax, dword [esp + 0x424]
push 0
push eax
call fcn.0040ed82
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x124]
push ecx
push 0
lea edx, [esp + 0x32c]
push 0
push edx
call fcn.0040ecf2
mov ecx, 0xd
mov esi, str.Softwarh
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x334]
add esp, 0x28
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404ca5
lea edi, [esp + 8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404cb3
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 8]
push eax
and ecx, 3
push 0x80000002
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x410]
pop edi
pop esi
xor ecx, esp
call fcn.0040e6ab
add esp, 0x40c
ret
Function at 0x404d90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x41b0a4]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push edi
mov edi, dword [esp + 0x12c]
push 0x41830c
push edi
mov dword [esp + 0x124], eax
xor esi, esi
call ebp
mov ecx, dword [esp + 0x128]
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x404e27
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x404dff
lea ecx, [esp + 0x18]
push ecx
push edi
call ebp
mov esi, 1
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x404e27
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e6ab
add esp, 0x110
ret

Function at 0x404f00
Capabilities:
Delete file

Disassembly:
sub esp, 0x108
mov eax, dword [0x41b0a4]
xor eax, esp
mov dword [esp + 0x104], eax
call fcn.00404d00
test eax, eax
je 0x404f25
lea eax, [esp]
push eax
push 0x17
jmp 0x404f2b
lea ecx, [esp]
push ecx
push 2
push 0
call fcn.00404d90
add esp, 0xc
test eax, eax
je 0x404f8e
push esi
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 3], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x404f5e
push 0x418370
lea eax, [esp + 8]
push eax
call esi
push 0x418364
lea ecx, [esp + 8]
push ecx
call esi
push 0x418370
lea edx, [esp + 8]
push edx
call esi
push 0x418350
lea eax, [esp + 8]
push eax
call esi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0040e6ab
add esp, 0x108
ret

Function at 0x408d70
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x408d83
mov dword [ebx], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x408d91
mov dword [eax], 0
lea eax, [esp + 0xc]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x408df7
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x408def
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x418370
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x408def
test ebx, ebx
mov ecx, dword [esp + 0xc]
je 0x408de2
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x408def
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x409ba0
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x41bff0]
push esi
xor esi, esi
test eax, eax
jne 0x409bc1
push 0x41bff0
mov dword [0x41bff0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x41c000], 2
jne 0x409be7
mov eax, dword [0x41bff4]
cmp eax, 5
jne 0x409beb
mov eax, dword [0x41bff8]
test eax, eax
jbe 0x409be7
cmp word [0x41c084], 1
ja 0x409bed
mov eax, esi
pop esi
ret
jbe 0x409be7
mov eax, 1
pop esi
ret

Function at 0x40a0e0
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 0x40a17d
mov eax, dword [esp + 4]
test eax, eax
je 0x40a18c
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 0x40a17d
cmp byte [esi], 0
je 0x40a17d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a142
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x40a17d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a157
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x40a17d
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40a168
mov ax, word [0x418370]
push edi
mov edi, esi
mov word [edi], ax
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x40a18c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x40a190
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
xor eax, eax
test esi, esi
je 0x40a2fd
mov byte [esi], al
mov eax, dword [esp + 0x114]
test eax, eax
je 0x40a1bb
mov dword [eax], 0
push ebx
push edi
push str.QuickTime.qts
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov ebx, dword [esp + 0x118]
je 0x40a21f
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x40a21f
lea eax, [esp + 0xc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a1f0
sub eax, edx
lea edi, [eax - 0xd]
test edi, edi
jbe 0x40a21f
lea edx, [edi + 1]
cmp ebx, edx
jbe 0x40a21f
push edi
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0040ef50
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x40a2a8
cmp byte [esi], 0
jne 0x40a2ad
push ebx
push esi
push str.QTSysDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.0040a0e0
mov al, byte [esi]
add esp, 0x10
test al, al
je 0x40a251
push 0
push esi
call fcn.0040f34b
add esp, 8
test eax, eax
je 0x40a254
mov byte [esi], 0
cmp byte [esi], 0
jne 0x40a2ad
push ebx
push esi
push str.QuickTime.qts_folder
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.0040a0e0
mov al, byte [esi]
add esp, 0x10
test al, al
je 0x40a282
push 0
push esi
call fcn.0040f34b
add esp, 8
test eax, eax
je 0x40a285
mov byte [esi], 0
cmp byte [esi], 0
jne 0x40a2ad
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x40a2a5
push 0
push esi
call fcn.0040f34b
add esp, 8
test eax, eax
je 0x40a2a8
mov byte [esi], 0
cmp byte [esi], 0
je 0x40a2f2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a2b2
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x40a2f2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a2c7
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x40a2f2
mov edi, esi
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a2e0
mov cx, word [0x418370]
mov word [edi], cx
mov cl, byte [esi]
xor eax, eax
test cl, cl
pop edi
setne al
pop ebx
pop esi
add esp, 0x104
ret
Function at 0x40a310
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.0040a0e0
mov al, byte [ebp]
add esp, 0x10
test al, al
jne 0x40a44c
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.0040a190
mov al, byte [esp + 0x118]
add esp, 0xc
test al, al
je 0x40a44c
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a380
sub eax, edx
cmp byte [esp + eax + 7], 0x5c
push edi
je 0x40a3c2
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a398
sub eax, edx
cmp byte [esp + eax + 0xb], 0x2f
je 0x40a3c2
lea edi, [esp + 0xc]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a3b0
mov dx, word [0x418370]
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 0x40a3d0
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 0x40a40e
test cl, cl
je 0x40a40a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40a40e
add eax, 2
add esi, 2
test cl, cl
jne 0x40a3e6
xor eax, eax
jmp 0x40a413
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jne 0x40a44b
mov edi, ebp
dec edi
jmp 0x40a420
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a420
mov eax, dword [str.QuickTime_]
mov dword [edi], eax
mov ecx, dword [0x4184f0]
mov dword [edi + 4], ecx
mov dx, word [0x4184f4]
mov word [edi + 8], dx
mov al, byte [0x4184f6]
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 0x40a453
sub eax, edx
add esp, 0x208
ret
Function at 0x40bd60
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x41c098]
push esi
xor esi, esi
test eax, eax
jne 0x40bd81
push 0x41c098
mov dword [0x41c098], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x41c0a8], 2
jne 0x40bd98
cmp dword [0x41c09c], 6
mov eax, 1
jae 0x40bd9a
mov eax, esi
pop esi
ret

Function at 0x40bda0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
push esi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SOFTWAREApple_Computer__Inc.QuickTimeInstalled_File_Types_
push 0x80000002
mov edi, ecx
mov dword [ebp - 8], esi
call fcn.0040e100
add esp, 0x24
test eax, eax
jne 0x40be8f
movzx eax, byte [ebx]
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 4], esi
call fcn.0040f3d0
mov esi, esp
push ebx
push esi
call fcn.00408080
mov edx, dword [ebp - 8]
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push esi
push edx
call fcn.0040e100
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x2c
test eax, eax
jne 0x40be89
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
xor eax, eax
push edi
cmp ecx, 1
mov ecx, dword [ebp - 4]
push 4
sete al
push 0
push str.componentType
push ecx
mov dword [ebp - 0xc], eax
call esi
mov eax, dword [ebp - 4]
push 4
lea edx, [edi + 4]
push edx
push 4
push 0
push str.componentSubType
push eax
call esi
mov ecx, dword [ebp - 4]
push 4
add edi, 8
push edi
push 4
push 0
push str.componentManufacturer
push ecx
call esi
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push str.doNotOverrideExistingApp
push eax
call esi
mov ecx, dword [ebp - 4]
push ecx
call ebx
mov edx, dword [ebp - 8]
push edx
call ebx
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c560
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 0xc]
push eax
xor esi, esi
push 0x20019
push esi
push str.SOFTWAREApple_Computer__Inc.QuickTime
push 0x80000002
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
call fcn.0040e1e0
add esp, 0x14
test eax, eax
jne 0x40c601
mov eax, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push esi
push str.Version
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c601
push 0x2001f
lea ecx, [esp + 0xc]
push ecx
push str.SOFTWAREApple_Computer__Inc.QuickTime
push 0x80000001
call fcn.0040e2b0
add esp, 0x10
test eax, eax
je 0x40c601
mov eax, dword [esp + 8]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push esi
push str.LastFileAssociationCheck
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call fcn.0040e2e0
mov edx, dword [esp + 0x10]
push edx
call fcn.0040e2e0
add esp, 8
pop esi
add esp, 0x10
ret
Function at 0x40cb10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x22c
mov ecx, dword [str.QuickTime.]
mov edx, dword [0x41877c]
mov eax, dword [0x41b0a4]
mov dword [esp + 0xc], ecx
mov cx, word [0x418780]
mov dword [esp + 0x10], edx
mov dl, byte [0x418782]
xor eax, esp
mov word [esp + 0x14], cx
mov ecx, dword [str.iTunes.]
mov byte [esp + 0x16], dl
mov edx, dword [0x418774]
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x230]
mov dword [esp + 0x18], ecx
push ebx
lea ecx, [esp + 0x128]
mov dword [esp + 0x20], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x104
xor bl, bl
call fcn.0040bea0
lea eax, [esp + 4]
push eax
push 0x2001f
push 0
lea ecx, [esp + 0x134]
push ecx
push 0x80000002
call fcn.0040e1e0
add esp, 0x14
test eax, eax
jne 0x40cc15
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x41830c
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40cc15
cmp dword [esp + 0xc], 1
jne 0x40cc15
push 0xa
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040f410
add esp, 0xc
test eax, eax
je 0x40cc13
test byte [esp + 0x238], 2
je 0x40cc15
push 7
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0040f410
add esp, 0xc
test eax, eax
jne 0x40cc15
mov bl, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x40cc24
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0040e6ab
add esp, 0x22c
ret

Function at 0x40da60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x41b0a4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, ebp
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SOFTWAREApple_Computer__Inc.QuickTimeInstalled_File_Types_
push 0x80000002
mov dword [ebp - 8], esi
call fcn.0040e1e0
add esp, 0x14
test eax, eax
jne 0x40db2d
mov eax, dword [ebp - 8]
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
push esi
push esi
push esi
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x40db23
mov eax, dword [ebp - 0x10]
add eax, 4
and eax, 0xfffffffc
call fcn.0040f3d0
mov edi, dword [ebp - 0xc]
dec edi
mov esi, esp
js 0x40db23
lea ebx, [ebx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
inc eax
push eax
push esi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40db20
push esi
call fcn.00408020
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0040d7c0
mov eax, dword [ebp - 0x14]
add esp, 0x10
test ebx, ebx
je 0x40db1b
cmp eax, 1
sete cl
mov byte [ebx], cl
cmp eax, 1
jne 0x40db23
dec edi
jns 0x40dae0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e6ab
mov esp, ebp
pop ebp
ret