joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499210
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ae5a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4d1664]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.00498f30
lea ecx, [esi + 0x34]
mov dword [esi], 0x4b7c4c
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x4d640c
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x4c0761
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00498710
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x401300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401319
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40132d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40134e
cmp esi, eax
jae 0x401327
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401340
cmp esi, eax
jae 0x401327
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401670
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x401690
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x4016c0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4016d2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x401e60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4120e0]
mov edx, dword [esp + 0x120]
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x12c], eax
mov eax, dword [edi]
push edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 8]
mov esi, eax
test esi, esi
jne 0x401eca
test ecx, ecx
je 0x401ebc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 8], ecx
je 0x401ed8
test ecx, ecx
je 0x401f7b
push ecx
jmp 0x401f75
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push ecx
mov dword [esp + 0x2c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x401f42
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
call fcn.00401e60
mov edi, eax
test edi, edi
jne 0x401f94
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push edx
mov dword [esp + 0x2c], pe_nt_image_headers32
call esi
test eax, eax
je 0x401f04
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x401f59
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
mov eax, dword [esp + 0x128]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x401f7b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x118]
call fcn.0040738e
add esp, 0x11c
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x401fa3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
call fcn.0040738e
add esp, 0x11c
ret 4
Function at 0x4026b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x40e888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x4120e0]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x3c], eax
mov esi, ecx
je 0x40284d
mov ebx, dword [esp + 0x54]
cmp ebx, ebp
je 0x40284d
push edi
mov dword [ebx], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
shl eax, 1
cmp eax, 0x64
jge 0x402706
mov eax, 0x3e8
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x402720
mov byte [eax], 0
cmp eax, ebp
mov dword [esp + 0x48], ebp
jne 0x402739
push ebp
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 0x8007000e
jmp 0x402852
mov dword [esi], edi
cmp byte [edi], 0
mov dword [esp + 0x50], ebp
je 0x402793
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edi, dword [esi]
cmp byte [edi], 0x25
push edi
jne 0x402764
call ebp
mov edi, eax
mov dword [esi], edi
cmp byte [edi], 0x25
jne 0x4027ab
push edi
call ebp
sub eax, edi
push eax
lea ecx, [esp + 0x14]
push edi
call fcn.00401710
test eax, eax
je 0x402834
mov eax, dword [esi]
push eax
call ebp
mov ecx, eax
mov dword [esi], eax
cmp byte [ecx], 0
jne 0x402750
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov edx, ebp
push edx
mov dword [esp + 0x1c], ebp
mov dword [ebx], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x50]
jmp 0x402852
push 0x25
push edi
call fcn.004018b0
mov edi, eax
add esp, 8
test edi, edi
je 0x40281b
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 0x1f
jg 0x402802
inc eax
push eax
push ecx
lea eax, [esp + 0x24]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 4]
call fcn.00402620
test eax, eax
je 0x40281b
push eax
lea ecx, [esp + 0x14]
call fcn.004023a0
test eax, eax
je 0x402834
cmp dword [esi], edi
je 0x40277b
mov edx, dword [esi]
push edx
call ebp
cmp eax, edi
mov dword [esi], eax
jne 0x4027f2
jmp 0x40277b
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x54], 0x80004005
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x50]
jmp 0x402852
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x54], 0x80020009
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x50]
jmp 0x402852
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x54], 0x8007000e
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x50]
jmp 0x402852
mov eax, 0x80004003
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
pop ebx
call fcn.0040738e
add esp, 0x3c
ret 8
Function at 0x4033a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0
push 4
push 0x412e04
mov esi, ecx
call fcn.00401c90
mov edi, eax
test edi, edi
jne 0x4033f4
mov al, byte [esi + 0x3c]
test al, al
je 0x4033f8
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x30], eax
je 0x4033e9
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x402130
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x4033f8
pop edi
mov eax, 0x80004005
pop esi
pop ecx
ret 4
mov byte [esi + 0x3c], 0
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
Function at 0x404b80
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
push esi
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.00404ad0
mov ecx, dword [esp + 0x1c]
push str._REGSERVER
push ecx
call fcn.00407438
add esp, 8
test eax, eax
je 0x404c55
mov edx, dword [esp + 0x1c]
push str._UNREGSERVER
push edx
call fcn.00407438
add esp, 8
test eax, eax
je 0x404c55
push 0
mov edi, 1
call fcn.00406360
add esp, 4
call fcn.00406580
mov eax, str.AAC_Encode_License_Verification
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404bf3
lea ecx, [esp + 8]
push ecx
sub eax, edx
push eax
push str.AAC_Encode_License_Verification
push str.com.apple.aacencoder
push str.com.apple.quicktimeplayer
call fcn.004065c0
mov eax, str.AMR_Encode_License_Verification
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c21
sub eax, edx
lea edx, [esp + 0xc]
push edx
push eax
push str.AMR_Encode_License_Verification
push str.1D07EB75_3D5E_4DA6_B749_D497C92B06D8
push str.com.apple.quicktimeplayer
call fcn.004065c0
add esp, 0x14
mov al, byte [0x412d1c]
test al, al
je 0x404c59
or esi, 0xffffffff
jmp 0x404c92
xor edi, edi
jmp 0x404c47
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [esp + 8]
push ecx
push eax
mov ecx, 0x412d48
call fcn.004049a0
cmp al, 1
jne 0x404c8c
mov edx, dword [esp + 0x20]
push edx
mov ecx, 0x412d48
call fcn.00403f70
jmp 0x404c90
mov eax, dword [esp + 8]
mov esi, eax
test edi, edi
je 0x404ca0
call fcn.004065a0
call fcn.00406460
lea ecx, [esp + 0x1c]
call fcn.00402510
pop edi
mov eax, esi
pop esi
add esp, 8
ret 0x10

Function at 0x406180
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x406193
mov dword [ebx], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4061a1
mov dword [eax], 0
lea eax, [esp + 0xc]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x406207
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 0x4061ff
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x40f884
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4061ff
test ebx, ebx
mov ecx, dword [esp + 0xc]
je 0x4061f2
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4061ff
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 0x406360
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 0x4063a0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x412d90]
test eax, eax
jle 0x4063b1
inc eax
mov dword [0x412d90], eax
jmp 0x40640a
push str.QuickTime.qts
call fcn.00406ad0
add esp, 4
test eax, eax
mov dword [0x412d94], eax
jne 0x406428
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffff7d3
mov eax, dword [0x412d94]
test eax, eax
je 0x4063ec
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x412d94], 0
mov eax, 0x406170
mov dword [0x4120b4], 0x406300
mov dword [0x4120c4], eax
mov dword [0x4120c8], eax
mov dword [0x4120c0], eax
test edi, edi
je 0x40641c
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.00406300
mov esi, eax
test si, si
jne 0x4063d2
mov edx, dword [esp + 0x10c]
push edx
call fcn.00406140
add esp, 4
mov esi, eax
test si, si
jne 0x4063d2
inc dword [0x412d90]
jmp 0x40640a

Function at 0x406460
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 0x40649f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x412d90]
test eax, eax
jg 0x4064b4
mov dword [0x412d90], 0
jmp 0x4064ee
dec eax
test eax, eax
mov dword [0x412d90], eax
jg 0x4064ee
call fcn.00406150
mov edx, dword [0x412d94]
mov eax, 0x406170
push edx
mov dword [0x4120b4], 0x406300
mov dword [0x4120c4], eax
mov dword [0x4120c8], eax
mov dword [0x4120c0], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x406500
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 0x406740
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 reloc.OLEAUT32.dll_SysReAllocString
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 0x4067dd
mov eax, dword [esp + 4]
test eax, eax
je 0x4067ec
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 0x4067dd
cmp byte [esi], 0
je 0x4067dd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4067a2
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x4067dd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4067b7
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x4067dd
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4067c8
mov ax, word [0x40f884]
push edi
mov edi, esi
mov word [edi], ax
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x4067ec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x4067f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
xor eax, eax
test esi, esi
je 0x40695d
mov byte [esi], al
mov eax, dword [esp + 0x114]
test eax, eax
je 0x40681b
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 0x40687f
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x40687f
lea eax, [esp + 0xc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406850
sub eax, edx
lea edi, [eax - 0xd]
test edi, edi
jbe 0x40687f
lea edx, [edi + 1]
cmp ebx, edx
jbe 0x40687f
push edi
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00408390
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x406908
cmp byte [esi], 0
jne 0x40690d
push ebx
push esi
push str.QTSysDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.00406740
mov al, byte [esi]
add esp, 0x10
test al, al
je 0x4068b1
push 0
push esi
call fcn.0040834a
add esp, 8
test eax, eax
je 0x4068b4
mov byte [esi], 0
cmp byte [esi], 0
jne 0x40690d
push ebx
push esi
push str.QuickTime.qts_folder
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.00406740
mov al, byte [esi]
add esp, 0x10
test al, al
je 0x4068e2
push 0
push esi
call fcn.0040834a
add esp, 8
test eax, eax
je 0x4068e5
mov byte [esi], 0
cmp byte [esi], 0
jne 0x40690d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x406905
push 0
push esi
call fcn.0040834a
add esp, 8
test eax, eax
je 0x406908
mov byte [esi], 0
cmp byte [esi], 0
je 0x406952
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406912
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x406952
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406927
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x406952
mov edi, esi
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406940
mov cx, word [0x40f884]
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
Function at 0x406970
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebp
mov ebp, dword [esp + 0x210]
push esi
mov esi, dword [esp + 0x218]
push esi
push ebp
push str.QTExtDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.00406740
mov al, byte [ebp]
add esp, 0x10
test al, al
jne 0x406aac
add esi, 0xfffffff6
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea ecx, [esp + 0x110]
push esi
push ecx
call fcn.004067f0
mov al, byte [esp + 0x118]
add esp, 0xc
test al, al
je 0x406aac
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4069e0
sub eax, edx
cmp byte [esp + eax + 7], 0x5c
push edi
je 0x406a22
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4069f8
sub eax, edx
cmp byte [esp + eax + 0xb], 0x2f
je 0x406a22
lea edi, [esp + 0xc]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406a10
mov dx, word [0x40f884]
mov word [edi], dx
lea eax, [esp + 0x110]
mov edx, ebp
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406a30
lea esi, [esp + 0x110]
lea eax, [esp + 0xc]
push ebx
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x406a6e
test cl, cl
je 0x406a6a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x406a6e
add eax, 2
add esi, 2
test cl, cl
jne 0x406a46
xor eax, eax
jmp 0x406a73
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jne 0x406aab
mov edi, ebp
dec edi
jmp 0x406a80
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406a80
mov eax, dword [str.QuickTime_]
mov dword [edi], eax
mov ecx, dword [0x40f94c]
mov dword [edi + 4], ecx
mov dx, word [0x40f950]
mov word [edi + 8], dx
mov al, byte [0x40f952]
mov byte [edi + 0xa], al
pop edi
mov eax, ebp
pop esi
lea edx, [eax + 1]
pop ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406ab3
sub eax, edx
add esp, 0x208
ret
Function at 0x40703e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00407320
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4070d9
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x412fa4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4070d9
cmp eax, 1
je 0x4070fa
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4070d9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4070a6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4070d5
xor eax, eax
inc eax
jmp 0x407119
cmp edi, eax
jae 0x4070dd
xor eax, eax
jmp 0x407119
cmp eax, esi
jae 0x4070e4
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x412fa4]
jmp 0x4070fd
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40811e
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x40fa88
call fcn.00408520
mov edi, 0x94
mov eax, edi
call fcn.00407320
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x412fa4], ecx
mov eax, dword [esi + 4]
mov dword [0x412fb0], eax
mov edx, dword [esi + 8]
mov dword [0x412fb4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x412fa8], esi
cmp ecx, 2
je 0x40817e
or esi, 0x8000
mov dword [0x412fa8], esi
shl eax, 8
add eax, edx
mov dword [0x412fac], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4081b9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4081b9
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4081d1
cmp eax, 0x20b
je 0x4081be
mov dword [ebp - 0x1c], esi
jmp 0x4081e5
cmp dword [ecx + 0x84], 0xe
jbe 0x4081b9
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4081df
cmp dword [ecx + 0x74], 0xe
jbe 0x4081b9
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0040870a
pop ecx
test eax, eax
jne 0x4081f9
push 0x1c
call fcn.004080fa
pop ecx
call fcn.0040a48a
test eax, eax
jne 0x40820a
push 0x10
call fcn.004080fa
pop ecx
call fcn.0040bbf9
mov dword [ebp - 4], esi
call fcn.0040b9fb
test eax, eax
jge 0x408223
push 0x1b
call fcn.004080d5
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x413674], eax
call fcn.0040b8d9
mov dword [0x412e30], eax
call fcn.0040b837
test eax, eax
jge 0x408249
push 8
call fcn.004080d5
pop ecx
call fcn.0040b604
test eax, eax
jge 0x40825a
push 9
call fcn.004080d5
pop ecx
push 1
call fcn.004092f3
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x408270
push eax
call fcn.004080d5
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040b5a7
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x408291
movzx eax, word [ebp - 0x40]
jmp 0x408294
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00404b80
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4082b2
push edi
call fcn.00409420
call fcn.00409442
jmp 0x4082e4
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0040855b
ret

Function at 0x40834a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40836a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040c10d
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40838d
test byte [esp + 8], 2
je 0x40838d
call fcn.0040c0fb
mov dword [eax], 0xd
call fcn.0040c104
mov dword [eax], 5
jmp 0x408366
xor eax, eax
ret
Function at 0x40935d
Capabilities:
Terminate process

Disassembly:
push 8
push 0x40fac0
call fcn.00408520
push 8
call fcn.004086bf
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x412fe4], esi
jne 0x409391
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x412fe0], esi
mov al, byte [ebp + 0x10]
mov byte [0x412fdc], al
cmp dword [ebp + 0xc], edi
jne 0x4093db
cmp dword [0x413648], edi
je 0x4093cb
mov eax, dword [0x413644]
sub eax, 4
mov dword [0x413644], eax
cmp eax, dword [0x413648]
jb 0x4093cb
mov eax, dword [eax]
cmp eax, edi
je 0x4093ac
call eax
jmp 0x4093ac
push 0x412038
mov eax, 0x412034
call fcn.004092db
pop ecx
push 0x412044
mov eax, 0x41203c
call fcn.004092db
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x40940c
cmp dword [ebp + 0x10], edi
jne 0x40941a
mov dword [0x412fe4], esi
push dword [ebp + 8]
call fcn.00409299
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x409419
push 8
call fcn.0040860a
pop ecx
ret
call fcn.0040855b
ret