joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401be0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
push esi
push str.QuickTime.QuickTime
lea eax, [esp + 0x118]
push str._sCLSID
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.00404d10
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x20
test eax, eax
jne 0x401cb2
mov edx, dword [esp + 8]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push 0x41632e
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 0x401cbd
lea ecx, [esp + 0x10]
push ecx
push str.MIMEDatabaseContent_Type_video_quicktime
call fcn.00401430
add esp, 8
test eax, eax
jne 0x401cad
lea edx, [esp + 0x10]
push edx
push str.MIMEDatabaseContent_Typeimage_x_quicktime
call fcn.00401430
add esp, 8
test eax, eax
jne 0x401cad
lea eax, [esp + 0x10]
push eax
push str.MIMEDatabaseContent_Typeimage_x_macpaint
call fcn.00401430
add esp, 8
test eax, eax
je 0x401cb2
mov esi, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x401cbd
push eax
call ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x210
ret

Function at 0x401d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, eax
test edi, edi
je 0x401e98
mov ebx, edi
call fcn.00401680
cmp eax, 1
jne 0x401e98
mov eax, dword [0x419ee4]
xor ebx, ebx
test eax, eax
jne 0x401e3b
push str._atboottime
push edi
call fcn.0040c0e0
mov esi, eax
add esp, 8
test esi, esi
je 0x401e32
mov byte [esi], bl
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401dec
lea esp, [esp]
cmp al, 0x2d
je 0x401dec
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401de0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401df1
sub eax, edx
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e01
sub eax, ebx
lea eax, [eax + edx + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.0040c0a0
mov ebx, esp
test ebx, ebx
je 0x401e4c
push esi
push edi
push str._s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x401e4c
mov eax, dword [0x419ee4]
test eax, eax
je 0x401e4c
push edi
push 0x4165e0
push 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
mov ecx, 0x10
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x54]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push ebx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401e98
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esp, [ebp - 0x60]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401ff0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x628
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x14], 0
call fcn.00404d10
add esp, 0x14
test eax, eax
jne 0x40211e
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 0x402114
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 0x402113
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x4020d3
push 0x1b
lea ecx, [esp + 0x18]
push str.QuickTime_Update_Completion
push ecx
call fcn.004145d5
add esp, 0xc
test eax, eax
jne 0x4020d3
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4020d3
lea eax, [esp + 0x118]
call fcn.00401d90
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 0x402093
pop esi
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x628
ret
Function at 0x4023e0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
sub esp, 0x28
mov dword [esp], 0
call fcn.00401060
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 0x402519
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.004010d0
call fcn.00403070
cmp eax, 1
jne 0x40243f
call fcn.00402370
push esi
lea esi, [esp + 8]
call fcn.00401970
mov al, byte [esp + 8]
test al, 2
jne 0x40250c
test al, 1
je 0x402466
mov eax, dword [0x419ee4]
test eax, eax
je 0x40250c
push 0x490
call fcn.0040c27a
add esp, 4
test eax, eax
je 0x40250c
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00404ab0
mov esi, eax
test esi, esi
je 0x40250c
push ebx
push edi
lea edx, [esp + 0x3c]
push edx
push 0
push esi
push 0x402130
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 0x4024f7
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 0x4024d0
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 0x40250a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
test ebp, ebp
pop esi
je 0x402518
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov eax, dword [esp + 8]
test eax, eax
je 0x402528
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x28
ret 0x10

Function at 0x402530
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 0x4025cd
mov eax, dword [esp + 4]
test eax, eax
je 0x4025dc
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 0x4025cd
cmp byte [esi], 0
je 0x4025cd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402592
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x4025cd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4025a7
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x4025cd
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4025b8
mov ax, word [0x416674]
push edi
mov edi, esi
mov word [edi], ax
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x4025dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x4025e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
xor eax, eax
test esi, esi
je 0x402745
mov byte [esi], al
mov eax, dword [esp + 0x114]
test eax, eax
je 0x40260b
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 0x40266b
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x40266b
lea eax, [esp + 0xc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402640
sub eax, edx
lea edi, [eax - 0xd]
lea edx, [edi + 1]
cmp ebx, edx
jbe 0x40266b
push edi
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0040c2d0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4026f4
cmp byte [esi], 0
jne 0x4026f9
push ebx
push esi
push str.QTSysDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.00402530
mov al, byte [esi]
add esp, 0x10
test al, al
je 0x40269d
push 0
push esi
call fcn.0040c288
add esp, 8
test eax, eax
je 0x4026a0
mov byte [esi], 0
cmp byte [esi], 0
jne 0x4026f9
push ebx
push esi
push str.QuickTime.qts_folder
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.00402530
mov al, byte [esi]
add esp, 0x10
test al, al
je 0x4026ce
push 0
push esi
call fcn.0040c288
add esp, 8
test eax, eax
je 0x4026d1
mov byte [esi], 0
cmp byte [esi], 0
jne 0x4026f9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x4026f1
push 0
push esi
call fcn.0040c288
add esp, 8
test eax, eax
je 0x4026f4
mov byte [esi], 0
cmp byte [esi], 0
je 0x40273a
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402700
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x40273a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402715
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x40273a
mov edi, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402728
mov cx, word [0x416674]
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 0x402750
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.00402530
mov al, byte [ebp]
add esp, 0x10
test al, al
jne 0x40288c
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.004025e0
mov al, byte [esp + 0x118]
add esp, 0xc
test al, al
je 0x40288c
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4027c0
sub eax, edx
cmp byte [esp + eax + 7], 0x5c
push edi
je 0x402802
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4027d8
sub eax, edx
cmp byte [esp + eax + 0xb], 0x2f
je 0x402802
lea edi, [esp + 0xc]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4027f0
mov dx, word [0x416674]
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 0x402810
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 0x40284e
test cl, cl
je 0x40284a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40284e
add eax, 2
add esi, 2
test cl, cl
jne 0x402826
xor eax, eax
jmp 0x402853
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jne 0x40288b
mov edi, ebp
dec edi
jmp 0x402860
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402860
mov eax, dword [str.QuickTime_]
mov dword [edi], eax
mov ecx, dword [0x4166d8]
mov dword [edi + 4], ecx
mov dx, word [0x4166dc]
mov word [edi + 8], dx
mov al, byte [0x4166de]
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 0x402893
sub eax, edx
add esp, 0x208
ret

Function at 0x4029f0
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 0x402a2e
mov esi, 1
jne 0x402a3c
cmp dword [esp + 0x10], 1
mov eax, 1
jae 0x402a3e
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402ce0
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 0x402d15
lea edx, [esp]
push 0x41682c
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
Function at 0x402d40
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push str.QuickTime_Settings
push str.MacDialog
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x402da0
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 4]
test eax, eax
je 0x402da0
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 4]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x402da0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ecx
ret

Function at 0x402fd0
Capabilities:
Get file version info

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
push esi
push edi
je 0x402fe3
mov dword [ebp], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x402ff1
mov dword [eax], 0
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x40305c
push ebx
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x403054
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x416674
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403054
test ebp, ebp
mov eax, dword [esp + 0x1c]
je 0x403047
mov ecx, dword [eax + 8]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x403054
mov edx, dword [eax + 0xc]
mov dword [ecx], edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
Function at 0x403070
Capabilities:
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
lea eax, [esp + 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x18], ebx
call fcn.00404d10
add esp, 0x14
test eax, eax
jne 0x403152
mov edx, dword [esp + 4]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x403147
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
dec eax
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x403146
cmp dword [esp + 0x10], ebx
jbe 0x403114
push 0x1b
lea ecx, [esp + 0x18]
push str.QuickTime_Update_Completion
push ecx
call fcn.004145d5
add esp, 0xc
test eax, eax
je 0x403141
mov eax, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
dec eax
push ecx
push eax
push edx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], eax
call esi
test eax, eax
je 0x4030f6
jmp 0x403146
mov ebx, 1
pop esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
add esp, 0x110
ret

Function at 0x403160
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SoftwareApple_Computer__Inc.QuickTime
push 0x80000002
mov dword [esp + 0x18], 0
mov byte [esi], 0
call fcn.00404d10
add esp, 0x14
test eax, eax
jne 0x4031d3
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x14]
push str.InstallDir
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4031c8
push eax
push esi
call fcn.0040c288
add esp, 8
test eax, eax
je 0x4031c8
mov byte [esi], 0
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], 0
je 0x403213
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4031e0
sub eax, edx
mov al, byte [eax + esi - 1]
cmp al, 0x5c
je 0x403213
cmp al, 0x2f
je 0x403213
push edi
mov edi, esi
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403200
mov dx, word [0x416674]
mov word [edi], dx
pop edi
mov cl, byte [esi]
xor eax, eax
test cl, cl
setne al
pop esi
pop ecx
ret
Function at 0x4034a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov esi, ecx
call fcn.00403160
add esp, 8
cmp eax, 1
jne 0x4034fd
push str.PictureViewer.exe
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x110]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esp, 0x10
push 1
push 0
push 0
lea eax, [esp + 0x114]
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
add esp, 0x208
ret

Function at 0x403510
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov esi, ecx
call fcn.00403160
add esp, 8
cmp eax, 1
jne 0x40356d
push str.QTInfo.exe
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x110]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esp, 0x10
push 1
push 0
push 0
lea eax, [esp + 0x114]
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
add esp, 0x208
ret
Function at 0x4038c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x454
push ebp
push esi
push edi
mov esi, ecx
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov ecx, 0x10
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], eax
push 0x400
push ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], eax
xor edi, edi
call fcn.00403160
add esp, 8
cmp eax, 1
jne 0x403ac4
cmp dword [esi + 8], 0x4000000
jge 0x40394e
cmp dword [esi + 0x478], 1
je 0x40394e
lea edi, [esp + 0x60]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403922
mov edx, dword [str.MoviePlayer.exe]
mov eax, dword [0x4168f8]
mov ecx, dword [0x4168fc]
mov dword [edi], edx
mov edx, dword [0x416900]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
jmp 0x403985
lea edi, [esp + 0x60]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403953
mov eax, dword [str.QuickTimePlayer.exe]
mov ecx, dword [0x4168e4]
mov edx, dword [0x4168e8]
mov dword [edi], eax
mov eax, dword [0x4168ec]
mov dword [edi + 4], ecx
mov ecx, dword [0x4168f0]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
push ebx
mov ebx, dword [esp + 0x468]
cmp ebx, ebp
je 0x403a83
mov ebp, dword [esp + 0x46c]
test ebp, ebp
mov eax, 0x4168dc
jne 0x4039aa
mov eax, 0x4168d8
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4039b0
lea edi, [esp + 0x64]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4039c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x64]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4039e0
sub eax, edx
mov edx, eax
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4039f0
sub eax, esi
mov ecx, ebp
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, eax
lea edx, [ecx + edx + 1]
cmp edx, 0x400
jbe 0x403a1f
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x454
ret 8
test ebp, ebp
mov bp, word [0x4168d4]
je 0x403a3b
lea edi, [esp + 0x64]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403a30
mov word [edi], bp
mov eax, ebx
mov edx, ebx
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403a40
lea edi, [esp + 0x64]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403a50
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x46c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x403a83
lea edi, [esp + 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403a78
mov word [edi], bp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x84]
push edx
push 0
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop ebx
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebp
add esp, 0x454
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x454
ret 8
Function at 0x403da0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
lea eax, [esp + 8]
push eax
push 0x20019
xor ebp, ebp
push ebp
push str.SoftwareApple_Computer__Inc.QuickTimeQuickTimeUpdateInProgress
push 0x80000002
mov dword [esp + 0x1c], ebp
call fcn.00404d10
add esp, 0x14
test eax, eax
jne 0x403e3b
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push ebp
push ebp
push ebp
push eax
mov dword [esp + 0x28], 2
call esi
test eax, eax
jne 0x403df9
cmp byte [esp + 8], 0x31
je 0x403e26
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0
push str.QuickTimeUpdateCompletion
push eax
mov dword [esp + 0x28], 2
call esi
test eax, eax
jne 0x403e2b
cmp byte [esp + 8], 0x31
jne 0x403e2b
mov ebp, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
pop esi
jne 0x403e45
call fcn.00403070
pop ebp
add esp, 0xc
ret
mov eax, ebp
pop ebp
add esp, 0xc
ret