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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404f10
xor eax, eax
push ebp
push 0x4c89f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.00404a60
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.00404f20
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c89d4
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x28], 0x400
mov eax, dword [ebp - 0x28]
call fcn.00402830
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4c89c3
mov dword [ebp - 0x28], 0x400
cmp byte [ebp + 8], 0
je 0x4c8941
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov dword [ebp - 0x18], eax
jmp 0x4c8961
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegEnumValueA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4c89b9
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
call fcn.004050ac
lea eax, [ebp - 0x1c]
call fcn.00404f78
mov edx, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.00402a2c
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4c899c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00404ab4
jmp 0x4c89b6
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x4c8a0c
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00404de0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0
je 0x4c8912
mov eax, dword [ebp - 0x24]
call fcn.00402850
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c89f9
lea eax, [ebp - 0x1c]
call fcn.00404a60
lea eax, [ebp - 8]
call fcn.00404a60
ret
Function at 0x48eb20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53000]
mov dword [edi + 0x73fb8], 0x1e88cd9c
push edi
jmp 0x48eb4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48eb51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48eb40
mov eax, 1
add ebx, ebx
jne 0x48eb63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48eb74
jne 0x48eb93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48eb93
dec eax
add ebx, ebx
jne 0x48eb80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48eb58
add ebx, ebx
jne 0x48eb8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48ebe5
xor ecx, ecx
sub eax, 3
jb 0x48ebab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48ec1a
sar eax, 1
mov ebp, eax
jmp 0x48ebb6
add ebx, ebx
jne 0x48ebb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48eb84
inc ecx
add ebx, ebx
jne 0x48ebc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48eb84
add ebx, ebx
jne 0x48ebd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48ebc6
jne 0x48ebe2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48ebc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48ec04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48ebf6
jmp 0x48eb46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48ec04
add edi, ecx
jmp 0x48eb46
pop esi
mov edi, esi
mov ecx, 0x329d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48ec22
cmp byte [edi], 0x1b
jne 0x48ec22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48ec27
lea edi, [esi + 0x8b000]
mov eax, dword [edi]
or eax, eax
je 0x48ec9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f4e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f584]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48ec54
mov ecx, edi
jns 0x48ec83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8f588]
or eax, eax
je 0x48ec99
mov dword [ebx], eax
add ebx, 4
jmp 0x48ec71
call dword [esi + 0x8f598]
mov ebp, dword [esi + 0x8f58c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48ecd3
sub esp, 0xffffff80
jmp 0x4012fc
Function at 0x1264e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x8c
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax + 0x28]
push edi
push eax
mov dword [ebp + 0x5c], eax
call fcn.00012e66
push 0xa3000
lea eax, [ebp + 0x38]
xor edi, edi
push eax
mov dword [ebp + 0x6c], edi
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp + 0x38]
mov dword [ebp + 0x48], eax
lea eax, [ebp + 0x40]
push eax
push 0x20019
lea eax, [ebp + 0x68]
push eax
mov dword [ebp + 0x40], 0x18
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x4c], 0x240
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x54], edi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x12827
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQueryKey]
lea eax, [ebp + 0x7c]
push eax
push edi
push edi
push 2
push dword [ebp + 0x68]
call esi
mov eax, 0x1000
cmp dword [ebp + 0x7c], eax
jb 0x126d7
mov dword [ebp + 0x7c], eax
mov ebx, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push 0x206b6444
push dword [ebp + 0x7c]
push 1
call ebx
lea ecx, [ebp + 0x7c]
push ecx
push dword [ebp + 0x7c]
mov dword [ebp + 0x64], eax
push eax
push 2
push dword [ebp + 0x68]
call esi
mov eax, dword [ebp + 0x64]
cmp dword [eax + 0x14], edi
mov dword [ebp + 0x70], edi
jbe 0x1280a
mov esi, dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
lea eax, [ebp + 0x7c]
push eax
push edi
push edi
push edi
push dword [ebp + 0x70]
push dword [ebp + 0x68]
call esi
mov eax, 0x1000
cmp dword [ebp + 0x7c], eax
jb 0x1272c
mov dword [ebp + 0x7c], eax
push 0x206b6444
push dword [ebp + 0x7c]
push 1
call ebx
lea ecx, [ebp + 0x7c]
push ecx
push dword [ebp + 0x7c]
mov dword [ebp + 0x58], eax
push eax
push edi
push dword [ebp + 0x70]
push dword [ebp + 0x68]
call esi
mov esi, dword [ebp + 0x58]
mov eax, dword [esi + 0xc]
xor ecx, ecx
shr eax, 1
mov dword [ebp + 0x60], edi
je 0x127b5
add esi, 0x10
mov dx, word [esi]
cmp dx, 0x30
jb 0x1277d
cmp dx, 0x39
ja 0x1277d
add ecx, 0xffffffd
movzx edx, dx
shl ecx, 4
add ecx, edx
jmp 0x127ab
cmp dx, 0x41
jb 0x12795
cmp dx, 0x46
ja 0x12795
movzx edx, dx
shl ecx, 4
lea ecx, [edx + ecx - 0x37]
jmp 0x127ab
cmp dx, 0x61
jb 0x127ee
cmp dx, 0x66
ja 0x127ee
movzx edx, dx
shl ecx, 4
lea ecx, [edx + ecx - 0x57]
inc dword [ebp + 0x60]
inc esi
inc esi
cmp dword [ebp + 0x60], eax
jb 0x1275e
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
push 0x10
mov dword [ebp - 0x10], ecx
pop ecx
push dword [ebp + 0x5c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0xc
mov esi, 0x1260c
lea edi, [ebp - 0xc]
rep movsd dword es:[edi], dword [esi]
push 0x4e
lea eax, [ebp - 0x18]
push eax
movsw word es:[edi], word [esi]
call fcn.000b3c1c
test eax, eax
jge 0x127ec
dec dword [ebp + 0x6c]
xor edi, edi
push edi
push dword [ebp + 0x58]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x70]
cmp ecx, dword [eax + 0x14]
jb 0x1270a
push edi
push dword [ebp + 0x64]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push dword [ebp + 0x68]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push dword [ebp + 0x5c]
call fcn.00012e88
pop esi
pop ebx
xor eax, eax
pop edi
add ebp, 0x74
leave
ret 4
Function at 0x12831
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
lea eax, [ebp + 0xc]
push eax
xor edi, edi
push edi
push edi
push 2
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp + 0xc], edi
call esi
cmp eax, 0xc0000034
mov eax, dword [ebp + 0xc]
jne 0x1287e
cmp eax, dword [ebp + 0x14]
jae 0x1287e
cmp eax, 0x1000
ja 0x1287e
mov eax, 0xc000000d
jmp 0x128db
push ebx
push 0x206b6444
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
cmp ebx, edi
jne 0x1289a
mov eax, 0xc000009a
jmp 0x128da
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push ebx
push 2
push eax
push dword [ebp + 8]
call esi
test eax, eax
jge 0x128b8
mov eax, 0xc000000d
jmp 0x128da
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov eax, ecx
shr ecx, 2
lea esi, [ebx + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0x10
Function at 0xb39a9
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 1]
cmp eax, 0x17
push esi
ja case.0xb3848.10
jmp dword [eax*4 + 0xb39c4]
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
xor ecx, ecx
inc ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 8], ecx
jmp 0xb3938
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 3
jmp 0xb3938
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 2
jmp 0xb3938
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 2
jmp 0xb38bf
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x34], 0
jne case.0xb3848.22
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 4
jmp 0xb3938
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 4
jne 0xb3938
mov ecx, dword [eax + 0xc]
jmp 0xb385e
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 5
jmp 0xb3938
mov esi, dword [ebp + 0x14]
cmp byte [esi + 0x31], 0
je 0xb3928
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x1c]
test eax, eax
mov dword [esi + 8], 6
je 0xb391d
push ebx
push edi
mov edi, dword [eax + 0x28]
lea ebx, [edi + 0x30]
mov ecx, ebx
call dword [sym.imp.HAL.dll_ExAcquireFastMutex]
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
mov dword [ecx], eax
mov dword [eax + 4], ecx
dec dword [edi + 0x2c]
mov ecx, ebx
call dword [sym.imp.HAL.dll_ExReleaseFastMutex]
pop edi
pop ebx
push esi
push dword [ebp + 8]
call fcn.000b3b6c
jmp 0xb39a5
cmp byte [esi + 0x30], 0
je 0xb3938
mov eax, dword [esi + 8]
and dword [esi + 8], 0
mov dword [esi + 0xc], eax
xor esi, esi
jmp 0xb39af
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.000b378c
jmp 0xb39a5
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.000b343a
jmp 0xb39a5
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.000b363e
jmp 0xb39a5
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.000b356e
jmp 0xb39a5
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.000b35ca
jmp 0xb39a5
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.000b3690
jmp 0xb39a5
mov esi, 0xc0000001
jmp 0xb39af
mov eax, dword [ebp + 0x14]
mov byte [eax + 0x30], 0
jmp 0xb3938
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.00010560
mov esi, eax
jmp 0xb39af
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [ebp + 0xc]
xor dl, dl
mov dword [ecx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
pop esi
pop ebp
ret 0x10
Function at 0xb3c1c
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push eax
push dword [edi + 8]
call fcn.0001290b
test eax, eax
jl 0xb3d46
push esi
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff4
shr esi, 1
cmp word [edi + esi*2 + 0xa], 0
jne 0xb3d40
cmp word [edi + esi*2 + 8], 0
jne 0xb3d40
mov byte [ebp + 0xf], 1
call dword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov ebx, dword [ebp + 0x10]
lea ecx, [ebx + 0x30]
call dword [sym.imp.HAL.dll_ExAcquireFastMutex]
lea ecx, [ebx + 0x24]
mov eax, dword [ecx]
cmp eax, ecx
je 0xb3c95
mov edx, dword [edi + 4]
cmp edx, dword [eax - 4]
je 0xb3c91
mov eax, dword [eax]
cmp eax, ecx
jne 0xb3c84
jmp 0xb3c95
mov byte [ebp + 0xf], 0
lea ecx, [ebx + 0x30]
call dword [sym.imp.HAL.dll_ExReleaseFastMutex]
call dword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
cmp byte [ebp + 0xf], 0
je 0xb3d40
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
push 0
push 0x180
push 0x2a
push 0
push 0x15c
push dword [eax + 8]
add esi, esi
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
mov dword [ebp + 0xc], eax
jl 0xb3d45
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
push 0x62735556
push esi
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test eax, eax
mov dword [ebx + 0x20], eax
jne 0xb3d01
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, 0xc000009a
jmp 0xb3d45
push dword [ebp + 0x10]
mov ecx, esi
lea esi, [edi + 0xc]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 4]
mov dword [ebx + 0x24], eax
push dword [ebp - 4]
call fcn.000b3b96
mov eax, dword [ebp + 0xc]
push 0x48
lea edi, [ebx + 0x38]
pop ecx
lea esi, [ebp - 0x128]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0xb3d45
mov eax, 0xc000000d
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x401200
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x2001f
push 0
push 0x435358
push 0x80000002
mov dword [esp + 0x18], 0
mov esi, 1
call fcn.004051f0
add esp, 0x14
test eax, eax
jne 0x40125e
lea ecx, [esp + 8]
push ecx
mov edx, ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x43534c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401253
xor esi, esi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x401270
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x114]
push str.QuickTime.QuickTime
lea eax, [esp + 0x10]
push str._sCLSID
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov byte [esi], 0
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x24]
push edx
push 0x80000000
call fcn.004051f0
add esp, 0x20
test eax, eax
jne 0x4012fc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x118]
lea ecx, [esp + 8]
push ecx
push esi
push 0
push 0
push 0x435392
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x401310
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
lea eax, [esp + 0xc]
push 0x104
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov edi, 0xffffffd5
call fcn.00401270
add esp, 8
test eax, eax
jne 0x4013c9
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x114]
push str.CLSID_sInprocServer32
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x128]
push ecx
push 0x80000000
call fcn.004051f0
add esp, 0x20
test eax, eax
jne 0x4013c9
mov eax, dword [esp + 0x218]
mov ecx, dword [esp + 4]
push esi
lea edx, [esp + 0xc]
push edx
push eax
push 0
push 0
push 0x435392
push ecx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4013c9
xor eax, eax
pop edi
add esp, 0x210
ret
mov ax, di
pop edi
add esp, 0x210
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 0x403350
Capabilities:
Get file version info

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
push esi
push edi
je 0x403363
mov dword [ebp], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x403371
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 0x4033dc
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 0x4033d4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x4356d4
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4033d4
test ebp, ebp
mov eax, dword [esp + 0x1c]
je 0x4033c7
mov ecx, dword [eax + 8]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4033d4
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 0x4033f0
Capabilities:
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 0x4352c8
push 0x80000002
mov dword [esp + 0x18], ebx
call fcn.004051f0
add esp, 0x14
test eax, eax
jne 0x4034d2
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 0x4034c7
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 0x4034c6
cmp dword [esp + 0x10], ebx
jbe 0x403494
push 0x1b
lea ecx, [esp + 0x18]
push str.QuickTime_Update_Completion
push ecx
call fcn.00431af2
add esp, 0xc
test eax, eax
je 0x4034c1
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 0x403476
jmp 0x4034c6
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 0x403560
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.SofP
push 0x80000002
mov dword [esp + 0x18], 0
mov byte [esi], 0
call fcn.004051f0
add esp, 0x14
test eax, eax
jne 0x4035d3
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x43575c
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4035c8
push eax
push esi
call fcn.004256b8
add esp, 8
test eax, eax
je 0x4035c8
mov byte [esi], 0
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], 0
je 0x403613
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4035e0
sub eax, edx
mov al, byte [eax + esi - 1]
cmp al, 0x5c
je 0x403613
cmp al, 0x2f
je 0x403613
push edi
mov edi, esi
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403600
mov dx, word [0x4356d4]
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 0x4038e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov esi, ecx
call fcn.00403560
add esp, 8
cmp eax, 1
jne 0x40393d
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 0x4357fc
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
add esp, 0x208
ret

Function at 0x403950
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov esi, ecx
call fcn.00403560
add esp, 8
cmp eax, 1
jne 0x4039ad
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 0x4357fc
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
add esp, 0x208
ret