joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1779058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.017791a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x177907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x177906a
add dl, dl
jne 0x1779089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17790dc
xor eax, eax
add dl, dl
jne 0x1779096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x177917d
add dl, dl
jne 0x17790a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17790b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17790bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17790c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x17790d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1779075
mov eax, 1
add dl, dl
jne 0x17790ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17790f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17790e1
sub eax, ebx
mov ebx, 1
jne 0x1779128
mov ecx, 1
add dl, dl
jne 0x177910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1779119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1779105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1779075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x177913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x177914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1779136
cmp eax, 0x7d00
jae 0x177916d
cmp eax, 0x500
jb 0x1779168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1779075
cmp eax, 0x7f
ja 0x1779170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1779075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x177919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1779075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x61776eb2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor edi, edi
push edi
mov esi, 0x61771c90
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
je 0x61776f0d
cmp dword [0x6177d38c], edi
mov dword [ebp - 4], esi
jbe 0x61776fea
push ebx
lea eax, [ebp - 4]
push eax
push 1
push 0x4e84
push 1
push dword [0x6177d3a0]
call sub.rtutils.dll_RouterLogEventW
jmp 0x61776fea
cmp dword [0x6177d0d8], edi
mov dword [ebp - 8], edi
je 0x61776fe1
mov edi, 0x6177d0d8
mov esi, 0x6177d0dc
lea eax, [ebp - 0x10]
push eax
push dword [esi]
lea eax, [ebp - 0x14]
push eax
push 0
push dword [edi]
mov dword [ebp - 0x10], 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x61776f4f
cmp ebx, 2
jne 0x61776faf
cmp ebx, 2
jne 0x61776f58
xor ebx, ebx
jmp 0x61776f94
cmp dword [ebp - 0x14], 4
jne 0x61776f6c
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, dword [esi + 0xc]
ja 0x61776f6c
cmp eax, dword [esi + 8]
jae 0x61776f9b
cmp dword [0x6177d38c], 1
mov eax, dword [edi]
mov dword [ebp - 4], eax
jbe 0x61776f94
push 0
lea eax, [ebp - 4]
push eax
push 1
push 0x4e85
push 2
push dword [0x6177d3a0]
call sub.rtutils.dll_RouterLogEventW
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [eax], ecx
inc dword [ebp - 8]
add esi, 0x14
lea edi, [esi - 4]
cmp dword [edi], 0
jne 0x61776f26
jmp 0x61776fe1
cmp dword [0x6177d38c], 0
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
mov eax, dword [eax*4 + 0x6177d0d8]
mov dword [ebp - 4], eax
jbe 0x61776fe1
push ebx
lea eax, [ebp - 4]
push eax
push 1
push 0x4e83
push 1
push dword [0x6177d3a0]
call sub.rtutils.dll_RouterLogEventW
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x617785eb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x6177d2e0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd8]
push eax
push 0x20019
xor edi, edi
push edi
push 0x61771d08
push 0x80000002
mov dword [ebp - 0xd8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
je 0x61778664
cmp dword [0x6177d38c], edi
mov dword [ebp - 0xd0], 0x61771d08
jbe 0x6177865d
push ebx
lea eax, [ebp - 0xd0]
push eax
push 1
push 0x4e84
push 1
push dword [0x6177d3a0]
call sub.rtutils.dll_RouterLogEventW
mov eax, ebx
jmp 0x617787f2
cmp dword [0x6177d364], edi
mov dword [ebp - 0xd4], edi
jbe 0x617787bc
lea eax, [ebp - 0xf0]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd4]
mov dword [ebp - 0xe0], 0x64
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
cmp ebx, edi
je 0x617786bc
cmp ebx, 0xea
jne 0x61778746
push esi
push 0x2001f
push edi
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x61778769
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xe8]
push eax
push edi
push 0x61771bc0
push dword [esi]
mov dword [ebp - 0xdc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, edi
jne 0x6177878e
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp + 8]
je 0x617787bc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
mov dword [esi], edi
cmp eax, dword [0x6177d364]
jb 0x61778676
jmp 0x617787bc
cmp dword [0x6177d38c], edi
mov dword [ebp - 0xd0], 0x61771d08
jbe 0x617787bc
push ebx
lea eax, [ebp - 0xd0]
push eax
push 1
push 0x4e86
jmp 0x617787af
cmp dword [0x6177d38c], edi
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
jbe 0x617787bc
push ebx
lea eax, [ebp - 0xd0]
push eax
push 1
push 0x4e84
jmp 0x617787af
cmp dword [0x6177d38c], edi
mov dword [ebp - 0xd0], 0x61771bc0
jbe 0x617787bc
push ebx
lea eax, [ebp - 0xd0]
push eax
push 1
push 0x4e83
push 1
push dword [0x6177d3a0]
call sub.rtutils.dll_RouterLogEventW
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
je 0x617787e2
mov esi, dword [esi]
cmp esi, edi
je 0x6177865d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6177865d
mov eax, dword [esi]
neg eax
sbb eax, eax
and eax, 0xfffffc7a
add eax, 0x386
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.6177afa9
leave
ret 8
Function at 0x61779f60
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6177d2e0]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x210], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x61779f9a
push 8
pop eax
jmp 0x61779fdd
push esi
push 0
lea eax, [ebx + ebx + 0x22]
push eax
call fcn.61779eec
mov esi, eax
test esi, esi
jne 0x61779fb2
push 8
pop eax
jmp 0x61779fdc
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x20c]
push eax
push esi
call edi
lea eax, [esi + ebx*2]
push 0x61772130
push eax
call edi
mov eax, dword [ebp - 0x210]
add esp, 0x10
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.6177afa9
leave
ret 4
Function at 0x40715b
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret

Function at 0x407184
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x425510], 0
push esi
mov esi, edx
jne 0x4071bc
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.004071cc
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.0040715b
mov bl, al
push dword [ebp - 0xc]
call fcn.00405691
pop ecx
mov al, bl
pop ebx
jmp 0x4071c9
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop esi
leave
ret

Function at 0x40721b
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x425510], 0
jne 0x40724c
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.004071cc
mov ecx, dword [eax]
call fcn.00407169
mov bl, al
push dword [ebp - 0xc]
call fcn.00405691
pop ecx
mov al, bl
pop ebx
leave
ret
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
leave
ret

Function at 0x4072db
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x425510], 0
jne 0x40730c
mov edx, ecx
push ebx
lea ecx, [ebp - 0xc]
call fcn.004071cc
mov ecx, dword [eax]
call fcn.004072cc
mov bl, al
push dword [ebp - 0xc]
call fcn.00405691
pop ecx
mov al, bl
pop ebx
leave
ret
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
leave
ret

Function at 0x407539
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x425510], 0
push esi
mov esi, ecx
jne 0x40756d
push ebx
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.004071cc
mov ecx, dword [eax]
call fcn.0040751b
mov bl, al
push dword [ebp - 0xc]
call fcn.00405691
pop ecx
mov al, bl
pop ebx
jmp 0x407586
xor edx, edx
mov ecx, esi
call fcn.00407184
test al, al
je 0x407586
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
leave
ret

Function at 0x407d4d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407d73
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x407d73
xor al, al
jmp 0x407d93
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0041bf50
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x411aef
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41e2e8
call fcn.0041bc40
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41f6b4
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41f8a0
push 4
mov ebx, 0x41f72c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00401a78
mov dword [esi + 0x3c], 0x41f940
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00401a78
mov dword [edi], 0x41f948
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004105e3
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.00411114
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004105e3
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.00411114
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004105e3
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.00411114
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004105e3
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.00411114
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.00411114
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41a260
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x41aa90
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x41aab8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41aac7
mov eax, 1
ret 4
Function at 0x41bfe2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fd10
push 0x41bfdc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x429890], 0xffffffff
or dword [0x429894], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x427868]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x427864]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x42988c], eax
call fcn.0041c125
cmp dword [0x425500], 0
jne 0x41c065
push 0x41c122
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0041c110
push 0x424050
push 0x42404c
call sub.MSVCRT.dll__initterm
mov eax, dword [0x427860]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x42785c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x424048
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.004043e2
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x4010d0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x220
push 0x104
lea eax, [esp + 0x120]
push eax
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401170
push 0
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00404c30
add esp, 0x24
test eax, eax
jne 0x401170
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 8]
push str.__s___atboottime
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x10]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401143
sub eax, edx
mov edx, dword [esp]
inc eax
push eax
lea ecx, [esp + 8]
push ecx
push 1
push 0
push 0x416240
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x220
ret

Function at 0x4011f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x2001f
push 0
push str.SoftwareApple_Computer__Inc.QuickTimeInstalled_Plugins
push 0x80000002
mov dword [esp + 0x18], 0
mov esi, 1
call fcn.00404d10
add esp, 0x14
test eax, eax
jne 0x40124e
lea ecx, [esp + 8]
push ecx
mov edx, ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.In_Process
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401243
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 0x401260
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.00404d10
add esp, 0x20
test eax, eax
jne 0x4012ec
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x118]
lea ecx, [esp + 8]
push ecx
push esi
push 0
push 0
push 0x41632e
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 0x401300
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.00401260
add esp, 8
test eax, eax
jne 0x4013b9
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.00404d10
add esp, 0x20
test eax, eax
jne 0x4013b9
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 0x41632e
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 0x4013b9
xor eax, eax
pop edi
add esp, 0x210
ret
mov ax, di
pop edi
add esp, 0x210
ret

Function at 0x401430
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.00404d10
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
test eax, eax
jne 0x4014c3
mov eax, dword [esp + 8]
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push esi
push str.CLSID
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 0x4014aa
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.0040c029
add esp, 8
test eax, eax
je 0x4014c8
mov esi, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x4014d3
push eax
call ebx
mov eax, esi
pop esi
pop ebx
add esp, 0x10c
ret
Function at 0x401790
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x419f48]
push esi
push edi
xor edi, edi
test eax, eax
jne 0x4017b2
push 0x419f48
mov dword [0x419f48], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x419f58], 2
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x4017d3
cmp dword [0x419f4c], 4
jne 0x4017d3
mov eax, dword [0x419f50]
test eax, eax
je 0x4017ea
mov eax, dword [0x419ee8]
test eax, eax
jne 0x4017f3
push str.kernel32.dll
call esi
mov dword [0x419ee8], eax
jmp 0x4017ef
mov eax, dword [0x419ee8]
test eax, eax
je 0x40185d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call esi
mov dword [0x419f08], eax
mov eax, dword [0x419ee8]
push str.Process32First
push eax
call esi
mov ecx, dword [0x419ee8]
push str.Process32Next
push ecx
mov dword [0x419f0c], eax
call esi
mov edx, dword [0x419ee8]
push str.Module32First
push edx
mov dword [0x419f10], eax
call esi
mov dword [0x419f14], eax
mov eax, dword [0x419ee8]
push str.Module32Next
push eax
call esi
mov dword [0x419f18], eax
mov eax, 1
pop edi
mov dword [0x419f04], eax
pop esi
ret
push str.psapi.dll
call esi
test eax, eax
mov dword [0x419ee8], eax
je 0x4018c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call esi
mov ecx, dword [0x419ee8]
push str.EnumProcessModules
push ecx
mov dword [0x419f34], eax
call esi
mov edx, dword [0x419ee8]
push str.GetModuleBaseNameA
push edx
mov dword [0x419f38], eax
call esi
mov dword [0x419f3c], eax
mov eax, dword [0x419ee8]
push str.GetModuleBaseNameW
push eax
call esi
mov dword [0x419f40], eax
mov eax, 1
pop edi
mov dword [0x419f30], eax
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x401970
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.00404d10
add esp, 0x14
test eax, eax
jne 0x4019cb
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 0x4019d0
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.00404c30
add esp, 0x24
test eax, eax
jne 0x401a26
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 0x401a30
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x214]
push 0
push esi
push 0
push 0x20019
push 0
push 0x41632e
push 0
push str.SoftwareApple_Computer__Inc.QuickTimeInstalled_MIME_Types
push 0x80000002
mov ebx, 1
call fcn.00404c30
mov eax, dword [esi]
add esp, 0x24
test eax, eax
jne 0x401a71
xor ebx, ebx
push edi
push 0
lea edi, [esi + 4]
push edi
push 0
push 0x20019
push 0
push 0x41632e
push 0
push str.MIMEDatabaseContent_Type_video_quicktime
push 0x80000000
call fcn.00404c30
mov eax, dword [edi]
add esp, 0x24
test eax, eax
jne 0x401aa2
xor ebx, ebx
push 0
lea edi, [esi + 8]
push edi
push 0
push 0x20019
push 0
push 0x41632e
push 0
push str.MIMEDatabaseContent_Typeimage_x_quicktime
push 0x80000000
call fcn.00404c30
mov eax, dword [edi]
add esp, 0x24
test eax, eax
jne 0x401ad2
xor ebx, ebx
push 0
lea edi, [esi + 0xc]
push edi
push 0
push 0x20019
push 0
push 0x41632e
push 0
push str.MIMEDatabaseContent_Typeimage_x_macpaint
push 0x80000000
call fcn.00404c30
mov eax, dword [edi]
add esp, 0x24
test eax, eax
jne 0x401b02
xor ebx, ebx
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00401260
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x11c]
push str.CLSID_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
lea edi, [esi + 0x18]
push edi
push 0
push 0x20019
push 0
push 0x41632e
push 0
lea eax, [esp + 0x140]
push eax
push 0x80000000
call fcn.00404c30
mov eax, dword [edi]
add esp, 0x38
test eax, eax
jne 0x401b5c
xor ebx, ebx
push 0
lea edi, [esi + 0x10]
push edi
push 0
push 0x20019
push 0
push 0x41632e
push 0
push str.SoftwareApple_Computer__Inc.QuickTimeQuickTimeUpdateInProgress
push 0x80000002
call fcn.00404c30
mov eax, dword [edi]
add esp, 0x24
test eax, eax
pop edi
jne 0x401b8d
xor ebx, ebx
push 0
add esi, 0x14
push esi
push 0
push 0x20019
push 0
push 0x41632e
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00404c30
mov eax, dword [esi]
add esp, 0x24
test eax, eax
jne 0x401bc6
pop esi
xor eax, eax
pop ebx
add esp, 0x208
ret
pop esi
mov eax, ebx
pop ebx
add esp, 0x208
ret