joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be420
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f68a3
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
cmp dword [0x103a97c], 0
je 0x4be470
push str.GetStartMenu_start
push 8
call fcn.0043d500
add esp, 8
lea ecx, [esp + 0xc]
call sub.mfc90.dll_Ordinal_580
mov dword [esp + 0x22c], 0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
push 0xb
lea eax, [esp + 0x28]
push eax
push 0
call esi
lea ecx, [esp + 0xc]
push ecx
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x234], 1
mov byte [esp + 0x234], 0
call fcn.0049ab40
add esp, 8
cmp dword [0x103a97c], 0
je 0x4be4de
push str.GetStartMenu_GetLnk1
push 8
call fcn.0043d500
add esp, 8
push 0
push 0x16
lea eax, [esp + 0x28]
push eax
push 0
call esi
lea ecx, [esp + 0xc]
push ecx
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x234], 2
mov byte [esp + 0x234], 0
call fcn.0049ab40
add esp, 8
cmp dword [0x103a97c], 0
je 0x4be532
push str.GetStartMenu_GetLnk2
push 8
call fcn.0043d500
add esp, 8
lea eax, [esp + 0xc]
push eax
call fcn.004bd110
add esp, 4
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [esp + 0xc]
call sub.mfc90.dll_Ordinal_781
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004e0148
add esp, 0x228
ret
Function at 0x4c5800
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f756e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov ebx, 1
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x30]
cmp dword [eax - 0xc], 0x64
jle 0x4c595d
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x24], 2
push 0x1089f20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, 0x53ee30
call fcn.0042f2a0
test eax, eax
je 0x4c588b
add eax, 4
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, ebx
test eax, eax
setne al
test al, al
jne 0x4c592d
lea ecx, [esp + 0x14]
push ecx
call fcn.004b2660
add esp, 4
mov byte [esp + 0x24], 3
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x24], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x103a97c]
cmp eax, 0x55
je 0x4c58d3
cmp eax, 0x51
jne 0x4c58f5
mov edx, dword [0x53ee58]
mov eax, dword [0x53ee3c]
mov ecx, dword [0x53f320]
push edx
push eax
push ecx
push str.Get_BK_Filename:___d__d__d_
push ebx
call fcn.0043d500
add esp, 0x14
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
push eax
mov ecx, 0x53ee30
call fcn.0042f720
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push ecx
push edx
mov ecx, 0x53ee4c
call fcn.0042f720
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_817]
push 0x1089f20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], bl
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x4c5989
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x28], 4
mov esi, dword [esp + 0x30]
push esi
mov byte [esp + 0x2c], bl
call fcn.0048ecd0
add esp, 8
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4c9380
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4f7c28
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
test dword [0x10430dc], 0x8000
jne 0x4c93d5
cmp dword [0x10d7c4c], 0xff75
jne 0x4c94f4
lea eax, [esp + 0xc]
push eax
call fcn.00465390
mov dword [esp + 0x224], 0
mov ecx, dword [eax]
mov esi, dword [sym.imp.MSVCR90.dll_sprintf]
push str.ScannedReal
push ecx
lea edx, [esp + 0x20]
push str._sLog_s.log
push edx
call esi
add esp, 0x14
mov dword [esp + 0x220], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [0x103a97c], 0x76
jne 0x4c9439
lea eax, [esp + 0x14]
push eax
push str.Scan__s___Scanned
push 1
call fcn.0043d500
add esp, 0xc
cmp dword [0x10d7c58], 0
jne 0x4c944d
push 0x10bc1b8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.MSVCR90.dll__beginthreadex]
lea ecx, [esp + 0x10]
push ecx
push 0
push 1
push 0x4c83e0
push 0
push 0
call edi
add esp, 0x18
push 0x3e8
mov dword [0x10d7c58], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0xc]
push edx
call fcn.00465390
mov dword [esp + 0x224], 1
mov eax, dword [eax]
push str.Scan
push eax
lea ecx, [esp + 0x20]
push str._sLog_s.log
push ecx
call esi
add esp, 0x14
mov dword [esp + 0x220], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [0x103a97c], 0x76
jne 0x4c94d8
lea edx, [esp + 0x14]
push edx
push str.Scan__s___Scanned
push 1
call fcn.0043d500
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x4c83e0
push 0
push 0
call edi
add esp, 0x18
mov dword [0x10d7c54], eax
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004e0148
add esp, 0x218
ret
Function at 0x4cfd90
Capabilities:
Create thread

Disassembly:
push ecx
test byte [0x104311c], 1
je 0x4cfe25
mov ecx, 0x53f2c8
call fcn.0042f390
test byte [0x104311c], 4
je 0x4cfdbd
push 1
call fcn.004c7fa0
add esp, 4
jmp 0x4cfdc9
push 0
push 1
call fcn.004c4a60
add esp, 8
cmp byte [esp + 8], 0
jne 0x4cfe25
test byte [0x104311c], 4
je 0x4cfe25
cmp eax, 0x64
jge 0x4cfe1e
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004a6ef0
push str.iScanCount___100__RANSOMinit__BackUp1stThread_Restart
push 8
call fcn.0043d500
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x4d0cf0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x20
mov dword [0x10da0b4], eax
xor al, al
pop ecx
ret
mov byte [0x10d7c6d], 1
mov al, 1
pop ecx
ret
Function at 0x4d5f90
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4f917b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
push 0x478
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x4d5fe7
mov ecx, dword [0x10d5bd4]
push 0
push 0
push ecx
mov ecx, eax
call fcn.004602a0
jmp 0x4d5fe9
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
push 0
mov ecx, eax
mov dword [0x10dca5c], eax
call fcn.00460ae0
mov eax, dword [0x10dca68]
test eax, eax
je 0x4d6011
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x4d5ec0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
mov dword [0x10dca68], eax
add esp, 0x18
cmp dword [esi + 0x32454], 0
mov byte [esi + 0x3244c], 1
mov dword [esi + 0x324e8], 0
je 0x4d6054
cmp dword [0x1042d74], 0
je 0x4d6079
cmp dword [0x10dca60], 0
sete al
movzx ecx, al
push ecx
push 0
mov ecx, esi
call fcn.004b8e60
mov ecx, esi
mov byte [esi + 0x324dd], 1
call fcn.004a9ae0
inc dword [0x10dca60]
mov byte [esi + 0x3244e], 0
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4d9500
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x538a58
push 0x4e02e2
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0x7530
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 1
mov edi, dword [ebp + 0xc]
push edi
mov ebx, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesA]
call ebx
test eax, eax
jne 0x4d96ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4d9646
mov edx, dword [ebp - 0x1c]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x4d9646
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push esi
push 1
push edi
call ebx
test eax, eax
je 0x4d963f
xor ebx, ebx
mov dword [ebp - 0x24], ebx
cmp ebx, dword [ebp - 0x20]
jae 0x4d969e
lea eax, [ebx + ebx*8]
lea esi, [esi + eax*4]
mov ecx, 9
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
push 0x24
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x4d963f
mov edi, 1
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4d963f
cmp dword [ebp - 0x54], edi
je 0x4d965a
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x1c]
push edx
push 0x24
lea eax, [ebp - 0x58]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4d963f
cmp dword [ebp - 0x54], edi
je 0x4d965a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jbe 0x4d9606
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add ebx, edi
mov esi, dword [ebp - 0x28]
jmp 0x4d95b9
mov dword [ebp - 4], 0xfffffffe
jmp 0x4d96ba
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d96f0
Capabilities:
Query service status

Disassembly:
push 0xffffffffffffffff
push 0x4f969b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c]
push esi
push str.isRunningService_1__s_
push 8
call fcn.0043d500
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x4d9788
lea eax, [esp + 0x10]
push eax
call fcn.00491540
mov dword [esp + 0x48], edi
mov ecx, dword [eax]
push ecx
push esi
push str.OpenSCManager_1_failed___s____s_
push 8
call fcn.0043d500
add esp, 0x14
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
or eax, 0xffffffff
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret
push 0xf003f
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x4d97b8
lea edx, [esp + 0x10]
push edx
call fcn.00491540
mov dword [esp + 0x48], 1
mov eax, dword [eax]
push eax
push esi
push str.OpenService_1_failed___s____s_
jmp 0x4d9756
lea ecx, [esp + 0x14]
push ecx
push 0x24
lea edx, [esp + 0x20]
push edx
push 0
push ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x4d9828
lea eax, [esp + 0x10]
push eax
call fcn.00491540
mov dword [esp + 0x48], 2
mov ecx, dword [eax]
push ecx
push esi
push str.QueryServiceStatusEx_1_failed___s____s_
push 8
call fcn.0043d500
add esp, 0x14
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
push edi
call ebx
xor edx, edx
mov edi, 4
cmp dword [esp + 0x1c], edi
sete dl
push edx
push esi
push str.isRunningService___s___d_
push 8
call fcn.0043d500
xor eax, eax
add esp, 0x10
cmp dword [esp + 0x1c], edi
sete al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x4dadc0
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x4f9a59
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
push 0x5116d8
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4daf78
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push str.VarFileInfoTranslation
lea edi, [esi + 0x7c]
push eax
mov dword [edi], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4daeab
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call ebx
mov ecx, dword [esp + 0x18]
movzx edx, ax
mov eax, dword [esp + 0x14]
add ecx, eax
cmp eax, ecx
jae 0x4dae52
cmp word [eax], dx
je 0x4daf8e
add eax, 4
cmp eax, ecx
jb 0x4dae42
push 1
push edi
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
movzx eax, ax
push eax
push ecx
push edx
mov ecx, esi
call fcn.004da320
test eax, eax
jne 0x4daeab
mov ecx, dword [esp + 0x14]
push 1
push edi
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.004da320
test eax, eax
jne 0x4daeab
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
push edi
push 9
push edx
push eax
mov ecx, esi
call fcn.004da320
test eax, eax
jne 0x4daeab
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov dword [edi], edx
movzx eax, word [esi + 0x7e]
movzx ecx, word [edi]
mov ebp, dword [sym.imp.mfc90.dll_Ordinal_2539]
push eax
push ecx
lea ebx, [esi + 0x94]
push str._04X_04X
push ebx
call ebp
mov ecx, dword [esp + 0x40]
add esp, 0x10
push ebx
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x28], 0
lea edx, [esp + 0x1c]
push edx
push 0x5219d8
mov ecx, esi
call fcn.004da3a0
test eax, eax
je 0x4daf12
lea eax, [esp + 0x1c]
push eax
push 0x50aa74
mov ecx, esi
call fcn.004da3a0
test eax, eax
jne 0x4daf61
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push 1
push ecx
mov ecx, esi
call fcn.004da600
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
push 0x10
push 0
push eax
call dword [sym.imp.MSVCR90.dll_strtoul]
mov dword [edi], eax
movzx ecx, word [esi + 0x7e]
movzx eax, ax
movzx eax, ax
movzx ecx, cx
shl eax, 0x10
add eax, ecx
mov dword [edi], eax
movzx edx, word [esi + 0x7e]
push edx
movzx eax, ax
push eax
push str._04X_04X
push ebx
call ebp
add esp, 0x1c
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov edx, dword [eax]
jmp 0x4daea9
Function at 0x4df290
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4df2e4
push edi
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x4df2ea
push esi
push ebx
push ebx
push 3
push ebx
push ebx
push 0x20000
push eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4df2dc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
ret 8
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
mov eax, ebx
pop ebx
ret 8
pop edi
mov eax, ebx
pop ebx
ret 8
Function at 0x4e0148
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x53fa2c]
jne 0x4e0152
repz ret
jmp fcn.004e0a6c
Function at 0x4013c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x4013d3
mov dword [ebx], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4013e1
mov dword [eax], 0
lea eax, [esp + 0xc]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x401447
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40143f
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x4369d0
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40143f
test ebx, ebx
mov ecx, dword [esp + 0xc]
je 0x401432
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40143f
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x4015a0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x100
push esi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0xc]
push str.QTMLInitTermMutex_lx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x4015e0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x444128]
test eax, eax
jle 0x4015f1
inc eax
mov dword [0x444128], eax
jmp 0x40164a
push str.QuickTime.qts
call fcn.00403650
add esp, 4
test eax, eax
mov dword [0x44412c], eax
jne 0x401668
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffff7d3
mov eax, dword [0x44412c]
test eax, eax
je 0x40162c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44412c], 0
mov eax, 0x4013b0
mov dword [0x44206c], 0x401540
mov dword [0x44207c], eax
mov dword [0x442080], eax
mov dword [0x442078], eax
test edi, edi
je 0x40165c
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ax, si
pop esi
add esp, 0x100
ret
call fcn.00401540
mov esi, eax
test si, si
jne 0x401612
mov edx, dword [esp + 0x10c]
push edx
call fcn.00401380
add esp, 4
mov esi, eax
test si, si
jne 0x401612
inc dword [0x444128]
jmp 0x40164a
Function at 0x4016a0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x100
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 8]
push str.QTMLInitTermMutex_lx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x4016df
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x444128]
test eax, eax
jg 0x4016f4
mov dword [0x444128], 0
jmp 0x40172e
dec eax
test eax, eax
mov dword [0x444128], eax
jg 0x40172e
call fcn.00401390
mov edx, dword [0x44412c]
mov eax, 0x4013b0
push edx
mov dword [0x44206c], 0x401540
mov dword [0x44207c], eax
mov dword [0x442080], eax
mov dword [0x442078], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x401740
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x100
ret

Function at 0x4032c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push edx
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], eax
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40335d
mov eax, dword [esp + 4]
test eax, eax
je 0x40336c
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40335d
cmp byte [esi], 0
je 0x40335d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403322
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x40335d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403337
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x40335d
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403348
mov ax, word [0x4369d0]
push edi
mov edi, esi
mov word [edi], ax
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x40336c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x403370
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
xor eax, eax
test esi, esi
je 0x4034dd
mov byte [esi], al
mov eax, dword [esp + 0x114]
test eax, eax
je 0x40339b
mov dword [eax], 0
push ebx
push edi
push str.QuickTime.qts
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov ebx, dword [esp + 0x118]
je 0x4033ff
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x4033ff
lea eax, [esp + 0xc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4033d0
sub eax, edx
lea edi, [eax - 0xd]
test edi, edi
jbe 0x4033ff
lea edx, [edi + 1]
cmp ebx, edx
jbe 0x4033ff
push edi
lea eax, [esp + 0x10]
push eax
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x403488
cmp byte [esi], 0
jne 0x40348d
push ebx
push esi
push str.QTSysDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.004032c0
mov al, byte [esi]
add esp, 0x10
test al, al
je 0x403431
push 0
push esi
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__access
add esp, 8
test eax, eax
je 0x403434
mov byte [esi], 0
cmp byte [esi], 0
jne 0x40348d
push ebx
push esi
push str.QuickTime.qts_folder
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.004032c0
mov al, byte [esi]
add esp, 0x10
test al, al
je 0x403462
push 0
push esi
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__access
add esp, 8
test eax, eax
je 0x403465
mov byte [esi], 0
cmp byte [esi], 0
jne 0x40348d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x403485
push 0
push esi
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__access
add esp, 8
test eax, eax
je 0x403488
mov byte [esi], 0
cmp byte [esi], 0
je 0x4034d2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403492
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x4034d2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4034a7
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x4034d2
mov edi, esi
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4034c0
mov cx, word [0x4369d0]
mov word [edi], cx
mov cl, byte [esi]
xor eax, eax
test cl, cl
pop edi
setne al
pop ebx
pop esi
add esp, 0x104
ret