joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4592c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4725e0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48d034]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x50], 0
cmp dword [eax + 0x18], 8
jb 0x4592fe
mov eax, dword [eax + 4]
jmp 0x459301
add eax, 4
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x24], ebx
je 0x4593b0
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x459346
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4593a9
mov ecx, dword [esp + 0x14]
push 1
push 0
push 0
push ecx
call fcn.00464de0
mov edi, eax
xor eax, eax
add edi, esi
adc edx, eax
lea esi, [esp + 0x14]
mov dword [esp + 0x18], edx
call fcn.0040acc0
mov byte [esp + 0x50], 1
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4593a9
push 0
lea ecx, [esp + 0x5c]
push ecx
push edi
push ebp
push ebx
mov dword [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4593a0
cmp dword [esp + 0x58], 0
seta al
test al, al
jne 0x4593c6
push ebp
call fcn.0045cf4a
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov esi, dword [esp + 0x5c]
call fcn.00414310
lea eax, [esp + 0x28]
call fcn.0040b130
mov edx, esi
mov eax, dword [edx + 8]
push 0
push eax
push ebp
lea eax, [esp + 0x34]
push eax
mov eax, edi
call fcn.0040b1b0
test al, al
lea ecx, [esp + 0x14]
jne 0x459419
call fcn.00408fa0
lea esi, [esp + 0x24]
call fcn.00408800
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
call fcn.00408fa0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x45b990
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x48d034]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [esp + 0x6c]
push esi
push edi
mov esi, ecx
test esi, esi
mov edi, edx
mov dword [edi], 0
je 0x45ba20
cmp ebx, 1
jl 0x45ba20
push 0x58
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0045e940
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
jle 0x45ba17
push 0
push ebx
lea ecx, [esp + 0x18]
push ebx
push ecx
lea eax, [ebx*8]
mov ecx, esi
call fcn.0045c860
add esp, 0x10
lea esi, [esp + 0x10]
call fcn.0045c910
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045ca6b
add esp, 0x64
ret
Function at 0x45bc50
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x473f40
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x48d034]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], 0
cmp dword [eax + 0x1c], 8
jb 0x45bc96
mov eax, dword [eax + 8]
jmp 0x45bc99
add eax, 8
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x45bd83
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45bce2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45bd7c
mov ecx, dword [esp + 0x1c]
push 1
push 0
push 0
push ecx
call fcn.00464de0
mov ebx, eax
xor eax, eax
add ebx, edi
adc edx, eax
mov edi, ebx
lea esi, [esp + 0x1c]
mov dword [esp + 0x20], edx
call fcn.0045b830
push ebx
mov byte [esp + 0x5c], 1
mov esi, dword [esp + 0x28]
push 0
push esi
call fcn.0045e940
add esp, 0xc
test esi, esi
je 0x45bd57
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45bd4e
cmp dword [esp + 0x18], 0
seta al
test al, al
jne 0x45bd9d
push esi
call fcn.0045cf4a
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x2c]
call fcn.0040b130
mov esi, dword [esp + 0x14]
lea edi, [ebx + 1]
add esi, 0x5c
call fcn.00414310
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x64]
push edi
push 0
push ecx
call fcn.0045e940
mov eax, dword [esi + 0x64]
mov edx, dword [esp + 0x30]
add esp, 0xc
push 0
push eax
push edx
lea eax, [esp + 0x38]
push eax
mov eax, ebx
call fcn.0040b1b0
test al, al
je 0x45be4b
cmp ebx, 0x2b
mov esi, dword [esi + 0x64]
jb 0x45bdf6
push ebx
push esi
call fcn.0045be80
test al, al
jne 0x45be22
lea ecx, [esp + 0x1c]
call fcn.0045b8a0
lea esi, [esp + 0x10]
call fcn.00408800
mov eax, 3
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x1c]
call fcn.0045b8a0
lea esi, [esp + 0x10]
call fcn.00408800
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x1c]
call fcn.0045b8a0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 2
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45ca6b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d034]
jne 0x45ca75
repz ret
jmp fcn.0045da25
Function at 0x4646cb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045dd58
xor ebx, ebx
cmp dword [0x4902a4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4647a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x46470b
xor eax, eax
jmp 0x464864
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x464704
push eax
call fcn.0045dcf5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4902a4], eax
call esi
push eax
call fcn.0045dcf5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4902a8], eax
call esi
push eax
call fcn.0045dcf5
mov dword [0x4902ac], eax
lea eax, [ebp - 8]
push eax
call fcn.0045e4e4
test eax, eax
pop ecx
pop ecx
je 0x46476e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045ce1a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4647a0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045dcf5
cmp eax, ebx
pop ecx
mov dword [0x4902b4], eax
je 0x4647a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045dcf5
pop ecx
mov dword [0x4902b0], eax
mov eax, dword [0x4902b0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x464819
cmp dword [0x4902b4], esi
je 0x464819
push eax
call fcn.0045dd61
pop ecx
call eax
cmp eax, ebx
je 0x4647e6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4902b4]
call fcn.0045dd61
pop ecx
call eax
test eax, eax
je 0x4647e6
test byte [ebp - 0x18], 1
jne 0x464819
lea eax, [ebp - 0xc]
push eax
call fcn.0045e51b
test eax, eax
pop ecx
je 0x464801
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045ce1a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x464810
or dword [ebp + 0x10], 0x200000
jmp 0x46484a
or dword [ebp + 0x10], 0x40000
jmp 0x46484a
mov eax, dword [0x4902a8]
cmp eax, esi
je 0x46484a
push eax
call fcn.0045dd61
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x46484a
mov eax, dword [0x4902ac]
cmp eax, esi
je 0x46484a
push dword [ebp - 4]
push eax
call fcn.0045dd61
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4902a4]
call fcn.0045dd61
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401110
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x220], eax
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 0x4011c2
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.00405320
add esp, 0x24
test eax, eax
jne 0x4011c2
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]
add eax, 1
test cl, cl
jne 0x401191
sub eax, edx
mov edx, dword [esp]
add eax, 1
push eax
lea ecx, [esp + 8]
push ecx
push 1
push 0
push 0x44a2f4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0042610f
add esp, 0x224
ret

Function at 0x401250
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.00405400
add esp, 0x14
test eax, eax
jne 0x4012ae
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 0x4012a3
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 0x4012c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
mov esi, dword [esp + 0x118]
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.00405400
add esp, 0x20
test eax, eax
jne 0x40135a
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 8]
push ecx
push esi
push 0
push 0
push 0x44a3e2
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
mov ecx, dword [esp + 0x110]
pop esi
xor ecx, esp
call fcn.0042610f
add esp, 0x110
ret
Function at 0x401370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x21c]
push edi
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov edi, 0xffffffd5
call fcn.004012c0
add esp, 8
test eax, eax
jne 0x401443
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push str.CLSID_sInprocServer32
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x12c]
push ecx
push 0x80000000
call fcn.00405400
add esp, 0x20
test eax, eax
jne 0x401443
lea edx, [esp + 0xc]
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x18]
push 0x44a3e2
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401443
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0042610f
add esp, 0x214
ret
mov ecx, dword [esp + 0x218]
mov ax, di
pop edi
pop esi
xor ecx, esp
call fcn.0042610f
add esp, 0x214
ret

Function at 0x4014e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
push esi
lea eax, [esp + 0xc]
push eax
push 0x20019
xor esi, esi
push esi
push str.MIMEDatabaseContent_Type_video_quicktime
push 0x80000000
mov dword [esp + 0x20], esi
call fcn.00405400
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
test eax, eax
jne 0x40158f
mov eax, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push str.CLSID
push eax
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
mov edi, eax
call ebp
test edi, edi
mov dword [esp + 0x10], esi
pop edi
je 0x40157d
lea eax, [esi + 1]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042610f
add esp, 0x110
ret
lea edx, [esp + 0x14]
push ebx
push edx
call fcn.00426226
add esp, 8
test eax, eax
je 0x401594
mov esi, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40159f
push eax
call ebp
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042610f
add esp, 0x110
ret

Function at 0x401ac0
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.00405400
add esp, 0x14
test eax, eax
jne 0x401b1b
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 0x401b20
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.00405320
add esp, 0x24
test eax, eax
jne 0x401b76
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 0x401b80
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x20c
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
mov esi, dword [esp + 0x218]
push 0
push esi
push 0
push 0x20019
push 0
push 0x44a3e2
push 0
push str.SoftwareApple_Computer__Inc.QuickTimeInstalled_MIME_Types
push 0x80000002
mov ebx, 1
call fcn.00405320
add esp, 0x24
cmp dword [esi], 0
jne 0x401bce
xor ebx, ebx
push edi
push 0
lea edi, [esi + 4]
push edi
push 0
push 0x20019
push 0
push 0x44a3e2
push 0
push str.MIMEDatabaseContent_Type_video_quicktime
push 0x80000000
call fcn.00405320
add esp, 0x24
cmp dword [edi], 0
jne 0x401bfe
xor ebx, ebx
push 0
lea edi, [esi + 8]
push edi
push 0
push 0x20019
push 0
push 0x44a3e2
push 0
push str.MIMEDatabaseContent_Typeimage_x_quicktime
push 0x80000000
call fcn.00405320
add esp, 0x24
cmp dword [edi], 0
jne 0x401c2d
xor ebx, ebx
push 0
lea edi, [esi + 0xc]
push edi
push 0
push 0x20019
push 0
push 0x44a3e2
push 0
push str.MIMEDatabaseContent_Typeimage_x_macpaint
push 0x80000000
call fcn.00405320
add esp, 0x24
cmp dword [edi], 0
jne 0x401c5c
xor ebx, ebx
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.004012c0
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 0x44a3e2
push 0
lea eax, [esp + 0x140]
push eax
push 0x80000000
call fcn.00405320
add esp, 0x38
cmp dword [edi], 0
jne 0x401cb5
xor ebx, ebx
push 0
lea edi, [esi + 0x10]
push edi
push 0
push 0x20019
push 0
push 0x44a3e2
push 0
push str.SoftwareApple_Computer__Inc.QuickTimeQuickTimeUpdateInProgress
push 0x80000002
call fcn.00405320
add esp, 0x24
cmp dword [edi], 0
pop edi
jne 0x401ce5
xor ebx, ebx
push 0
add esi, 0x14
push esi
push 0
push 0x20019
push 0
push 0x44a3e2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00405320
add esp, 0x24
cmp dword [esi], 0
jne 0x401d2b
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0042610f
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0042610f
add esp, 0x20c
ret
Function at 0x401d50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x210], eax
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.00405400
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x20
test eax, eax
jne 0x401e30
mov edx, dword [esp + 8]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push 0x44a3e2
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 0x401e3b
lea ecx, [esp + 0x10]
push ecx
push str.MIMEDatabaseContent_Type_video_quicktime
call fcn.004014e0
add esp, 8
test eax, eax
jne 0x401e2b
lea edx, [esp + 0x10]
push edx
push str.MIMEDatabaseContent_Typeimage_x_quicktime
call fcn.004014e0
add esp, 8
test eax, eax
jne 0x401e2b
lea eax, [esp + 0x10]
push eax
push str.MIMEDatabaseContent_Typeimage_x_macpaint
call fcn.004014e0
add esp, 8
test eax, eax
je 0x401e30
mov esi, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x401e3b
push eax
call ebx
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0042610f
add esp, 0x214
ret
Function at 0x401f30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x44f2b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x402051
call fcn.004017b0
cmp eax, 1
jne 0x402051
xor ebx, ebx
cmp dword [0x450524], ebx
jne 0x401fea
push str._atboottime
push edi
call fcn.00425130
mov esi, eax
add esp, 8
test esi, esi
je 0x401fe2
mov byte [esi], bl
mov al, byte [esi + 1]
add esi, 1
test al, al
je 0x401f9e
lea esp, [esp]
cmp al, 0x2d
je 0x401f9e
mov al, byte [esi + 1]
add esi, 1
test al, al
jne 0x401f90
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401fa3
sub eax, edx
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401fb5
sub eax, ebx
lea eax, [eax + edx + 1]
call fcn.004265a0
mov ebx, esp
test ebx, ebx
je 0x401ffb
push esi
push edi
push str._s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x401ffb
cmp dword [0x450524], ebx
je 0x401ffb
push edi
push 0x44a690
push 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004262b0
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push ebx
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402051
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042610f
mov esp, ebp
pop ebp
ret
Function at 0x402190
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x62c
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x628], eax
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x14], 0
call fcn.00405400
add esp, 0x14
test eax, eax
jne 0x4022d3
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 0x4022c9
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
sub eax, 1
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 0x4022c8
cmp dword [esp + 0xc], 0
jbe 0x402282
push 0x1b
lea ecx, [esp + 0x18]
push str.QuickTime_Update_Completion
push ecx
call fcn.004266bc
add esp, 0xc
test eax, eax
jne 0x402282
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x402282
lea ecx, [esp + 0x118]
call fcn.00401f30
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
sub eax, 1
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 0x402243
pop esi
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.0042610f
add esp, 0x62c
ret

Function at 0x402570
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0
push ecx
push 0x4022f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret