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

Disassembly:
sub esp, 0x21c
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x218], eax
mov ecx, dword [0x596010]
push ebx
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push SysReAllocStringLen
xor bl, bl
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49d52f
push 0x104
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49d52f
cmp dword [esp + 8], eax
je 0x49d52f
cmp dword [esp + 0xc], eax
jbe 0x49d52f
mov bl, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x49d53e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0051674d
add esp, 0x21c
ret

Function at 0x49e0a0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x540edf
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
call fcn.004888c0
push eax
lea ecx, [esp + 0xc]
call fcn.004886b0
xor ebx, ebx
mov eax, 1
test byte [0x5ac7dc], al
mov dword [esp + 0x26c], ebx
jne 0x49e12d
or dword [0x5ac7dc], eax
push str.QTPlayerSession.xml
mov ecx, 0x5ac7d8
mov byte [esp + 0x270], al
call fcn.00488980
push 0x54db00
call fcn.00517bf0
add esp, 4
mov byte [esp + 0x26c], bl
lea eax, [esp + 0xc]
push eax
call fcn.0049c6b0
add esp, 4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x270], 2
call fcn.00488590
lea ecx, [esp + 0xc]
mov byte [esp + 0x26c], bl
call fcn.004884e0
lea ecx, [esp + 8]
call fcn.00488680
test eax, eax
jbe 0x49e22f
push 0x24c
lea ecx, [esp + 0x18]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.00516810
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xc]
call fcn.00488510
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x49e1cf
push ebx
lea ecx, [esp + 0xc]
call fcn.00488510
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x49e1cf
lea ecx, [esp + 8]
mov dword [esp + 0x26c], 0xffffffff
call fcn.004884e0
mov eax, 0x18
jmp 0x49e248
push 0x5ac7d8
lea eax, [esp + 0x10]
push 0x551334
push eax
call fcn.004383c0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x270], 3
call fcn.00488d00
lea ecx, [esp + 0xc]
mov byte [esp + 0x26c], bl
call fcn.004884e0
lea ecx, [esp + 8]
push ecx
mov ecx, 0x5ac3a8
call fcn.00488590
lea ecx, [esp + 8]
mov dword [esp + 0x26c], 0xffffffff
call fcn.004884e0
xor eax, eax
jmp 0x49e248
lea ecx, [esp + 8]
mov dword [esp + 0x26c], 0xffffffff
call fcn.004884e0
mov eax, 0x10
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0051674d
add esp, 0x268
ret
Function at 0x49e270
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x540f67
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.00488940
mov ebx, 1
test byte [0x5ac7e4], bl
mov dword [esp + 0x28], ebx
jne 0x49e2e3
or dword [0x5ac7e4], ebx
push str.GradientCorrect.xml
mov ecx, 0x5ac7e0
mov byte [esp + 0x2c], 2
call fcn.00488980
push 0x54db10
call fcn.00517bf0
add esp, 4
mov byte [esp + 0x28], bl
push 0x100
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.0040d490
push 0x100
mov ecx, eax
mov byte [esp + 0x2c], 3
call fcn.00489670
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push eax
push str.USERPROFILE
call edi
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x28], bl
call fcn.00489940
test esi, esi
jle 0x49e38d
push 0x5ac7e0
lea ecx, [esp + 0x1c]
push 0x551334
push ecx
call fcn.004383c0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.00488d00
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004884e0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004886b0
call fcn.004988d0
add esp, 4
cmp eax, ebx
jne 0x49e38d
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004886b0
jmp 0x49e49a
push 0x100
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040d490
push 0x100
mov ecx, eax
mov byte [esp + 0x2c], 5
call fcn.00489670
push eax
push str.ALLUSERSPROFILE
call edi
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x28], bl
call fcn.00489940
test esi, esi
jle 0x49e423
push 0x5ac7e0
lea edx, [esp + 0x1c]
push 0x551334
push edx
call fcn.004383c0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 6
call fcn.00488d00
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004884e0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004886b0
call fcn.004988d0
add esp, 4
cmp eax, ebx
jne 0x49e423
lea ecx, [esp + 0x10]
push ecx
jmp 0x49e48f
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5ac7e0
call fcn.004886b0
call fcn.004988d0
add esp, 4
cmp eax, ebx
jne 0x49e489
push 0x100
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.0040d490
push 0x100
mov ecx, eax
mov byte [esp + 0x2c], 7
call fcn.00489670
push eax
mov ecx, 0x5ac7e0
call fcn.00488510
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00489940
lea eax, [esp + 0x10]
jmp 0x49e48e
call fcn.004888c0
push eax
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.004886b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x28], 0
call fcn.004884e0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x49ec90
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x540fe9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x2c]
mov esi, 1
mov ecx, ebp
mov dword [esp + 0x24], esi
call fcn.00488940
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
call fcn.00488510
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x10], 2
mov edi, eax
jl 0x49ed4e
mov eax, dword [edi + 4]
test eax, eax
jne 0x49ed21
xor esi, esi
mov dword [esp + 0x18], esi
cmp word [esi], 0x2d
mov byte [esp + 0x24], 2
jne 0x49ed3c
cmp word [esi + 2], 0x75
jne 0x49ed3c
lea ecx, [esi + 4]
push ecx
jmp 0x49ed40
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
jne 0x49ed09
push 0x8007000e
call fcn.00401490
mov edx, dword [edi + 4]
push edx
mov ecx, ebp
call fcn.004020d0
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x49ed59
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.004884e0
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x49eeb0
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x54107e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
test byte [0x5ac7f4], 1
jne 0x49ef11
or dword [0x5ac7f4], 1
push 0x1ed
push 0x5ac7f0
mov dword [esp + 0x38], 0
call fcn.00488dc0
push 0x54db30
call fcn.00517bf0
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00488940
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call fcn.00488940
push 0x600
push 0x400
lea eax, [esp + 0x24]
mov bl, 2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], bl
call fcn.004382e0
push 0x400
mov ecx, eax
mov byte [esp + 0x34], 3
call fcn.00489670
push eax
call fcn.004cf510
add esp, 8
lea ecx, [esp + 0x1c]
movzx esi, ax
mov byte [esp + 0x30], bl
call fcn.00489920
test si, si
jne 0x49f0ad
mov esi, dword [esp + 0x3c]
test esi, esi
mov ecx, dword [esp + 0x38]
je 0x49efa1
xor eax, eax
lea ebx, [ebx]
cmp ecx, dword [eax*8 + 0x596148]
je 0x49efb9
add eax, 1
cmp eax, 3
jl 0x49ef90
xor eax, eax
cmp ecx, dword [eax*8 + 0x596058]
je 0x49eff1
add eax, 1
cmp eax, 0x1e
jl 0x49efa3
jmp 0x49f03e
mov ecx, dword [eax*8 + 0x59614c]
push ecx
mov ecx, 0x5ac7f0
call fcn.00488530
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.cid___i
call fcn.00488980
lea edx, [esp + 0x20]
push edx
call fcn.00489080
add esp, 0x10
mov byte [esp + 0x30], 4
jmp 0x49f027
mov eax, dword [eax*8 + 0x59605c]
push eax
mov ecx, 0x5ac7f0
call fcn.00488530
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.cid___i
call fcn.00488980
lea ecx, [esp + 0x20]
push ecx
call fcn.00489080
add esp, 0x10
mov byte [esp + 0x30], 5
push eax
lea ecx, [esp + 0x10]
call fcn.00488590
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.004884e0
lea ecx, [esp + 0xc]
call fcn.00488680
test eax, eax
jbe 0x49f08b
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.00488d00
test esi, esi
je 0x49f08b
push str.learnMoreYes
lea ecx, [esp + 0x18]
call fcn.00488980
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.00488d00
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.004884e0
push 1
push 0
push 0
push 0x600
lea ecx, [esp + 0x20]
call fcn.004894d0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.004884e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x49f0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5410d7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.00488940
mov ebx, 1
test byte [0x5ac7fc], bl
mov dword [esp + 0x1c], ebx
jne 0x49f152
or dword [0x5ac7fc], ebx
push 0x131
push 0x5ac7f8
mov byte [esp + 0x24], 2
call fcn.00488dc0
push 0x54db40
call fcn.00517bf0
add esp, 0xc
mov byte [esp + 0x1c], bl
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x28]
push esi
push eax
call fcn.0049bbc0
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.00488590
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.004884e0
mov ecx, esi
and ecx, 0x1fff0000
cmp ecx, 0x40000
jne 0x49f19c
mov edx, esi
sar edx, 0x1f
test bl, dl
je 0x49f19c
movsx esi, si
lea ecx, [esp + 0xc]
call fcn.00488510
push eax
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x5ac7f8
call fcn.004886b0
mov esi, dword [esp + 0x30]
push esi
call fcn.00489080
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x1c], 0
call fcn.004884e0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x49f1f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54112e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x49f221
mov eax, 0x12e
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00488dc0
add esp, 8
test byte [0x5ac804], 1
mov dword [esp + 0x1c], 0
jne 0x49f26d
or dword [0x5ac804], 1
push 0x131
push 0x5ac800
mov byte [esp + 0x24], 1
call fcn.00488dc0
push 0x54db50
call fcn.00517bf0
add esp, 0xc
mov byte [esp + 0x1c], 0
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
push esi
push ecx
call fcn.0049bbc0
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 2
call fcn.00488940
mov edx, esi
and edx, 0x1fff0000
cmp edx, 0x40000
mov byte [esp + 0x1c], 3
jne 0x49f2ae
mov eax, esi
sar eax, 0x1f
test al, 1
je 0x49f2ae
movsx esi, si
lea ecx, [esp + 8]
call fcn.00488510
push eax
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5ac800
call fcn.004886b0
lea ecx, [esp + 0x30]
push ecx
call fcn.00489080
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 4
call fcn.00488590
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 3
call fcn.004884e0
push 0
lea ecx, [esp + 0x10]
call fcn.00488510
push eax
lea ecx, [esp + 0x30]
call fcn.00488510
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 2
call fcn.004884e0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.004884e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x49f350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x541186
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x20], 0
jne 0x49f38a
mov eax, 0x12e
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00488dc0
add esp, 8
mov ebx, 1
test byte [0x5ac80c], bl
mov byte [esp + 0x20], bl
jne 0x49f3d4
or dword [0x5ac80c], ebx
push 0x131
push 0x5ac808
mov byte [esp + 0x28], 2
call fcn.00488dc0
push 0x54db60
call fcn.00517bf0
add esp, 0xc
mov byte [esp + 0x20], bl
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004886b0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0049bc50
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], 3
call fcn.00488940
mov ecx, esi
and ecx, 0x1fff0000
cmp ecx, 0x40000
mov byte [esp + 0x20], 4
jne 0x49f426
mov edx, esi
sar edx, 0x1f
test bl, dl
je 0x49f426
movsx esi, si
lea ecx, [esp + 0xc]
call fcn.00488510
push eax
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5ac808
call fcn.004886b0
lea eax, [esp + 0x38]
push eax
call fcn.00489080
add esp, 0x10
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x24], 5
call fcn.00488590
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 4
call fcn.004884e0
push 0x10000
lea ecx, [esp + 0x14]
call fcn.00488510
push eax
lea ecx, [esp + 0x3c]
call fcn.00488510
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], 3
call fcn.004884e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.004884e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.004884e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x49f590
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5411e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], edi
call fcn.00488510
test eax, eax
jne 0x49f701
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 2
call fcn.00488680
test eax, eax
jbe 0x49f75e
lea ecx, [esp + 0x40]
call fcn.00488680
test eax, eax
jbe 0x49f75e
lea ecx, [esp + 0x40]
call fcn.00488680
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
add esi, edi
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x38], esi
call fcn.00488510
mov ebp, dword [esp + 0x54]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push ebp
call ebx
test eax, eax
jne 0x49f72e
cmp dword [esp + 0x1c], eax
je 0x49f72e
lea ecx, [esp + 0x24]
push edi
push ecx
call fcn.00488fd0
mov esi, eax
push 0x557400
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x48], 3
call fcn.004237a0
add esp, 0x14
push esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x3c], 4
call fcn.00488b90
add edi, 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 6
call fcn.004884e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 7
call fcn.004884e0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea ecx, [esp + 0x24]
call fcn.00488510
push eax
push ebp
call ebx
test eax, eax
jne 0x49f6bd
cmp dword [esp + 0x1c], eax
jne 0x49f6e8
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax]
push ecx
lea ecx, [esp + 0x44]
call fcn.00488510
push eax
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.00488510
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x49f71e
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.004884e0
cmp edi, 0x10
jl 0x49f641
jmp 0x49f75e
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x49f5d5
push 0x8007000e
call fcn.00401490
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.004884e0
jmp 0x49f75e
lea ecx, [esp + 0x40]
call fcn.00488510
push eax
lea ecx, [esp + 0x1c]
call fcn.00407da0
mov eax, dword [esp + 0x18]
lea edx, [esi + esi]
push edx
push eax
push edi
push 0
lea ecx, [esp + 0x4c]
call fcn.00488510
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0
call fcn.004884e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x4a08a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x541396
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.QTPlayerExportSessionFiles
mov dword [esp + 0x24], 0
call fcn.00488980
call fcn.004a02d0
add esp, 4
test eax, eax
je 0x4a0a29
test byte [0x5ac814], 1
jne 0x4a0923
or dword [0x5ac814], 1
push str..exportSession
mov ecx, 0x5ac810
mov byte [esp + 0x20], 1
call fcn.00488980
push 0x54daf0
call fcn.00517bf0
add esp, 4
mov byte [esp + 0x1c], 0
mov ecx, 0x5ac810
call fcn.00488680
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00488680
cmp eax, esi
jb 0x4a0a29
mov ecx, 0x5ac810
call fcn.00488530
push eax
lea ecx, [esp + 0x28]
call fcn.00488530
push eax
call fcn.004d0010
add esp, 8
test al, al
je 0x4a0a29
push 0x55f140
lea ecx, [esp + 0x28]
call fcn.00488510
push eax
call fcn.0051972c
push 2
mov esi, eax
push 0
push esi
call fcn.0051a5d0
push esi
call fcn.0051a4db
push 0
push 0
push esi
mov edi, eax
call fcn.0051a5d0
push edi
call fcn.0051775a
push esi
push edi
mov ebp, eax
push 1
push ebp
call fcn.0051a328
push edi
push ebp
push 0
call fcn.004cf950
add esp, 0x44
push ebp
mov esi, eax
call fcn.00517292
add esp, 4
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0
call fcn.00485fd0
mov ecx, eax
call fcn.00486e20
test eax, eax
jl 0x4a0a00
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a0a00
call fcn.004879f0
test eax, eax
jge 0x4a0a00
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00485fd0
mov ecx, eax
call fcn.00486250
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004884e0
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004884e0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4a2220
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x541448
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [0x5ac43c]
mov ecx, dword [0x5ac440]
mov edx, dword [0x5ac444]
xor eax, eax
cmp edi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], edi
mov dword [0x5ac43c], eax
mov dword [esp + 0x28], ecx
mov dword [0x5ac440], eax
mov dword [esp + 0x2c], edx
mov dword [0x5ac444], eax
jbe 0x4a2283
call fcn.0051820b
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [esp + 0x20]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x24], esi
mov dword [esp + 0x1c], edi
jbe 0x4a22a6
call fcn.0051820b
test ebx, ebx
je 0x4a22b2
lea eax, [esp + 0x20]
cmp ebx, eax
je 0x4a22b7
call fcn.0051820b
cmp edi, esi
je 0x4a23d8
test ebx, ebx
jne 0x4a22c8
call fcn.0051820b
cmp edi, dword [ebx + 8]
jb 0x4a22d2
call fcn.0051820b
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.004886b0
call fcn.004982d0
add esp, 4
test eax, eax
jl 0x4a231c
mov ecx, dword [0x5ac2e0]
test ecx, ecx
je 0x4a23bf
push eax
call fcn.0045dd50
test eax, eax
je 0x4a23bf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4a23bf
cmp dword [0x5aa924], 0
jne 0x4a23a0
mov ecx, dword [0x5ac2e0]
push 1
call fcn.0045e4a0
test eax, eax
je 0x4a23a0
mov ecx, dword [0x5ac2e0]
push 0
push 0x59480c
push 0x594650
push 0
push 1
call fcn.0045dfd0
push eax
call fcn.0051851b
add esp, 0x14
mov esi, eax
call ebp
sub eax, dword [0x5ac308]
test esi, esi
je 0x4a23a0
cmp eax, 0x2ee
jle 0x4a23a0
mov edx, dword [esi]
mov eax, dword [edx + 0x1a4]
mov ecx, esi
call eax
cmp eax, 1
jne 0x4a23bf
push eax
lea ecx, [esp + 0x1c]
call fcn.0049f990
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004886b0
mov ecx, esi
call fcn.00417830
jmp 0x4a23bf
cmp edi, dword [ebx + 8]
jb 0x4a23aa
call fcn.0051820b
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.004886b0
call fcn.004a0a50
add esp, 4
call ebp
cmp edi, dword [ebx + 8]
mov dword [0x5ac308], eax
jb 0x4a23d0
call fcn.0051820b
add edi, 4
jmp 0x4a2293
mov esi, dword [esp + 0x24]
test esi, esi
mov dword [esp + 0x38], 0xffffffff
je 0x4a240b
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x4a23fe
mov ecx, esi
call fcn.004884e0
add esi, 4
cmp esi, edi
jne 0x4a23f0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0051688a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4a4050
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.com.apple.QuickTimePlayer.StartUpMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x4a413f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4a413f
cmp eax, 0x102
je 0x4a413f
push 0
push 0
push 0x4a3f10
push 0x5ac32c
call sub.USER32.dll_DdeInitializeW
cmp dword [0x5ac330], 0
jne 0x4a40bd
mov eax, dword [0x5ac32c]
push 0x4b0
push 0x551314
push eax
call sub.USER32.dll_DdeCreateStringHandleW
mov dword [0x5ac330], eax
mov eax, dword [0x5ac334]
test eax, eax
jne 0x4a40e1
mov ecx, dword [0x5ac32c]
push 0x4b0
push str.System
push ecx
call sub.USER32.dll_DdeCreateStringHandleW
mov dword [0x5ac334], eax
mov edx, dword [0x5ac330]
push 0
push eax
mov eax, dword [0x5ac32c]
push edx
push eax
call sub.USER32.dll_DdeConnect
test eax, eax
mov dword [0x5ac340], eax
jne 0x4a412b
mov ecx, dword [0x5ac330]
mov edx, dword [0x5ac32c]
push 1
push eax
push ecx
push edx
call sub.USER32.dll_DdeNameService
mov eax, dword [0x5ac338]
mov ecx, dword [0x5ac32c]
push 1
push 0
push eax
push ecx
call sub.USER32.dll_DdeNameService
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
cmp dword [0x5ac340], eax
pop esi
sete al
ret
xor al, al
pop esi
ret