joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402590
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x28
mov dword [esp], 0
call fcn.004010a0
push str.__QTTaskMutex__
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4026bc
push ebp
push str._QTActiveXRegistryWatcherThreadEnded_
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebp, eax
mov dword [esp + 8], ebp
call fcn.00401110
call fcn.00403630
cmp eax, 1
jne 0x4025ef
call fcn.00402520
push esi
lea esi, [esp + 8]
call fcn.00401ac0
mov al, byte [esp + 8]
test al, 2
jne 0x4026af
test al, 1
je 0x402616
cmp dword [0x450524], 0
je 0x4026af
push 0x490
call fcn.00426776
add esp, 4
test eax, eax
je 0x4026af
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
call fcn.004051a0
mov esi, eax
test esi, esi
je 0x4026af
push ebx
push edi
push esi
call fcn.00402570
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
add esp, 4
push 0
push 0
push 0
lea edx, [esp + 0x28]
mov ebx, eax
push edx
mov dword [esp + 0x4c], ebx
call edi
test eax, eax
je 0x402698
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x1c]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
call ebp
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
call edi
test eax, eax
jne 0x402671
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
test ebx, ebx
je 0x4026ad
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
test ebp, ebp
pop esi
je 0x4026bb
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov eax, dword [esp + 8]
test eax, eax
je 0x4026cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x28
ret 0x10

Function at 0x4026e0
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 0x402787
mov eax, dword [esp + 4]
test eax, eax
je 0x402796
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 0x402787
cmp byte [esi], al
je 0x402787
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402741
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x402787
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402758
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x402787
add esi, 0xffffffff
lea ecx, [ecx]
mov al, byte [esi + 1]
add esi, 1
test al, al
jne 0x402770
mov ax, word [0x44a724]
push edi
mov edi, esi
mov word [edi], ax
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x402796
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x4027a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x104], eax
mov ecx, dword [esp + 0x114]
push esi
mov esi, dword [esp + 0x110]
xor eax, eax
test esi, esi
je 0x402924
test ecx, ecx
mov byte [esi], al
je 0x4027d5
mov dword [ecx], eax
push ebx
push edi
push str.QuickTime.qts
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov ebx, dword [esp + 0x11c]
je 0x402841
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x402841
lea eax, [esp + 0xc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402810
sub eax, edx
lea edi, [eax - 0xd]
test edi, edi
jbe 0x402841
lea edx, [edi + 1]
cmp ebx, edx
jbe 0x402841
push edi
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00426880
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4028c8
cmp byte [esi], 0
jne 0x4028cd
push ebx
push esi
push str.QTSysDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.004026e0
add esp, 0x10
cmp byte [esi], 0
je 0x402872
push 0
push esi
call fcn.00426867
add esp, 8
test eax, eax
je 0x402875
mov byte [esi], 0
cmp byte [esi], 0
jne 0x4028cd
push ebx
push esi
push str.QuickTime.qts_folder
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.004026e0
add esp, 0x10
cmp byte [esi], 0
je 0x4028a2
push 0
push esi
call fcn.00426867
add esp, 8
test eax, eax
je 0x4028a5
mov byte [esi], 0
cmp byte [esi], 0
jne 0x4028cd
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x4028c5
push 0
push esi
call fcn.00426867
add esp, 8
test eax, eax
je 0x4028c8
mov byte [esi], 0
cmp byte [esi], 0
je 0x40291b
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4028d2
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x40291b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4028f0
sub eax, edx
cmp byte [eax + esi - 1], 0x2f
je 0x40291b
mov edi, esi
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x402907
mov cx, word [0x44a724]
mov word [edi], cx
xor eax, eax
cmp byte [esi], al
pop edi
setne al
pop ebx
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.0042610f
add esp, 0x108
ret
Function at 0x402970
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push esi
mov esi, dword [esp + 0x21c]
push esi
push ebx
push str.QTExtDir
push str.SoftwareApple_Computer__Inc.QuickTime
call fcn.004026e0
add esp, 0x10
cmp byte [ebx], 0
jne 0x402abf
add esi, 0xfffffff6
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10c]
push esi
push ecx
call fcn.00402940
add esp, 8
cmp byte [esp + 0x10c], 0
je 0x402abf
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4029e6
sub eax, edx
cmp byte [esp + eax + 7], 0x5c
je 0x402a35
lea eax, [esp + 8]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402a00
sub eax, edx
cmp byte [esp + eax + 7], 0x2f
je 0x402a35
push edi
lea edi, [esp + 0xc]
add edi, 0xffffffff
lea ebx, [ebx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x402a20
mov dx, word [0x44a724]
mov word [edi], dx
pop edi
lea eax, [esp + 0x10c]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x402a42
lea edx, [esp + 0x10c]
lea ecx, [esp + 8]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402a80
test al, al
je 0x402a7c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402a80
add ecx, 2
add edx, 2
test al, al
jne 0x402a60
xor eax, eax
jmp 0x402a85
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402abf
mov eax, ebx
add eax, 0xffffffff
mov edi, edi
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402a90
mov edx, dword [str.QuickTime_]
mov dword [eax], edx
mov ecx, dword [0x44a788]
mov dword [eax + 4], ecx
mov dx, word [0x44a78c]
mov word [eax + 8], dx
mov cl, byte [0x44a78e]
mov byte [eax + 0xa], cl
mov eax, ebx
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402ac6
mov ecx, dword [esp + 0x208]
xor ecx, esp
sub eax, edx
call fcn.0042610f
add esp, 0x20c
ret

Function at 0x402d70
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push 0x90
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004262b0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
cmp eax, 5
jbe 0x402dbb
mov esi, 1
jne 0x402dc9
cmp dword [esp + 0xc], 1
mov eax, 1
jae 0x402dcb
mov eax, esi
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
call fcn.0042610f
add esp, 0x98
ret
Function at 0x4031a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x204
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x200], eax
mov ecx, dword [ecx + 0xc]
push 0x200
lea eax, [esp + 4]
push eax
push 0x9c4e
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x4031e3
lea edx, [esp]
push 0x44a8ec
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push 0
push 0
push 0
lea eax, [esp + 0xc]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.0042610f
add esp, 0x204
ret

Function at 0x403210
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push str.QuickTime_Settings
push str.MacDialog
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x40326f
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [esp + 4], 0
je 0x40326f
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 4]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40326f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ecx
ret

Function at 0x403590
Capabilities:
Get file version info

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
push esi
push edi
je 0x4035a3
mov dword [ebp], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4035b1
mov dword [eax], 0
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x40361c
push ebx
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x403614
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x44a724
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403614
test ebp, ebp
mov eax, dword [esp + 0x1c]
je 0x403607
mov ecx, dword [eax + 8]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x403614
mov edx, dword [eax + 0xc]
mov dword [ecx], edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
Function at 0x403630
Capabilities:
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
lea eax, [esp + 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x18], ebx
call fcn.00405400
add esp, 0x14
test eax, eax
jne 0x403724
mov edx, dword [esp + 4]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x403719
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
sub eax, 1
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x403718
cmp dword [esp + 0x10], ebx
jbe 0x4036e4
push 0x1b
lea ecx, [esp + 0x18]
push str.QuickTime_Update_Completion
push ecx
call fcn.004266bc
add esp, 0xc
test eax, eax
je 0x403713
mov eax, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
sub eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], eax
call esi
test eax, eax
je 0x4036c6
jmp 0x403718
mov ebx, 1
pop esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x114]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0042610f
add esp, 0x114
ret

Function at 0x4037e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SoftwareApple_Computer__Inc.QuickTime
push 0x80000002
mov dword [esp + 0x18], 0
mov byte [esi], 0
call fcn.00405400
add esp, 0x14
test eax, eax
jne 0x403853
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x14]
push str.InstallDir
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403848
push eax
push esi
call fcn.00426867
add esp, 8
test eax, eax
je 0x403848
mov byte [esi], 0
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], 0
je 0x403897
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403860
sub eax, edx
movzx edx, byte [eax + esi - 1]
push edx
call fcn.004033f0
add esp, 4
test eax, eax
jne 0x403897
push edi
mov edi, esi
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x403883
mov ax, word [0x44a724]
mov word [edi], ax
pop edi
xor eax, eax
cmp byte [esi], al
pop esi
setne al
pop ecx
ret
Function at 0x403b20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov esi, ecx
call fcn.004037e0
add esp, 8
cmp eax, 1
jne 0x403b8b
push str.PictureViewer.exe
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x110]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esp, 0x10
push 1
push 0
push 0
lea eax, [esp + 0x114]
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0042610f
add esp, 0x20c
ret

Function at 0x403bb0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x44f2b4]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov esi, ecx
call fcn.004037e0
add esp, 8
cmp eax, 1
jne 0x403c1b
push str.QTInfo.exe
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x110]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esp, 0x10
push 1
push 0
push 0
lea eax, [esp + 0x114]
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0042610f
add esp, 0x20c
ret
Function at 0x4044a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
lea eax, [esp + 8]
push eax
push 0x20019
xor ebp, ebp
push ebp
push str.SoftwareApple_Computer__Inc.QuickTimeQuickTimeUpdateInProgress
push 0x80000002
mov dword [esp + 0x1c], ebp
call fcn.00405400
add esp, 0x14
test eax, eax
jne 0x40453b
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push ebp
push ebp
push ebp
push eax
mov dword [esp + 0x28], 2
call esi
test eax, eax
jne 0x4044f9
cmp byte [esp + 8], 0x31
je 0x404526
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0
push str.QuickTimeUpdateCompletion
push eax
mov dword [esp + 0x28], 2
call esi
test eax, eax
jne 0x40452b
cmp byte [esp + 8], 0x31
jne 0x40452b
mov ebp, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
pop esi
jne 0x404545
call fcn.00403630
pop ebp
add esp, 0xc
ret
mov eax, ebp
pop ebp
add esp, 0xc
ret
Function at 0x404590
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44f2b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
xor edi, edi
cmp eax, 0x66767274
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x1c], esi
je 0x4045d1
cmp eax, 0x72636e74
jne 0x4045d6
mov edi, str.SoftwareApple_Computer__Inc.QuickTimeRecent_Movies
jmp 0x4045d6
mov edi, str.SoftwareApple_Computer__Inc.QuickTimeFavorite_Movies
call fcn.004037a0
test eax, eax
je 0x40473d
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push edi
push 0x80000002
call fcn.00405400
add esp, 0x14
test eax, eax
jne 0x40473d
mov eax, dword [ebp - 0x10]
push esi
push esi
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x404733
mov edi, dword [ebp - 0x14]
cmp edi, esi
mov dword [ebp - 0x20], esi
jbe 0x404733
mov ebx, dword [ebp - 0x1c]
cmp ebx, esi
jbe 0x404733
add edi, 1
add ebx, 1
mov eax, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], ebx
call fcn.004265a0
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.004265a0
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x18]
test edi, edi
mov esi, esp
mov dword [ebp - 0xc], ebx
je 0x404733
test esi, esi
je 0x404733
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0
push 0
lea edx, [ebp - 8]
push edx
push edi
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x404733
mov ebx, dword [ebp - 0x24]
lea esp, [esp]
add dword [ebp - 0x20], 1
cmp dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
jbe 0x404703
cmp dword [ebp - 0xc], 0
jbe 0x404703
lea ecx, [ebp - 0x18]
push ecx
push 0x44aa1c
push esi
call fcn.00426f50
mov eax, dword [ebp - 0x18]
add esp, 0xc
sub eax, 1
je 0x4046dd
sub eax, 1
jne 0x4046e2
mov ebx, 0x616c6973
jmp 0x4046e2
mov ebx, 0x75726c20
push 0x2c
push esi
call fcn.004269c0
add esp, 8
test eax, eax
je 0x404703
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
push edx
add eax, 1
push eax
push edi
push ebx
call fcn.00403f50
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 0x10]
push esi
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x20]
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4046a0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042610f
mov esp, ebp
pop ebp
ret 4
Function at 0x404d20
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, 1
cmp dword [esi + 0x484], eax
jne 0x404da4
cmp dword [esi + 8], 0x4000000
jl 0x404d6b
push 0
call fcn.00404c20
cmp dword [esi + 8], 0x4100000
jge 0x404d50
mov ecx, esi
call fcn.00403210
push 0
call fcn.004181f0
add esp, 4
cmp dword [esi + 8], 0x5500000
jge 0x404da4
mov ecx, esi
pop esi
jmp fcn.00404a60
cmp dword [esi + 0x478], eax
jne 0x404d9e
call fcn.004044a0
test eax, eax
jne 0x404da4
push 0x10000000
call fcn.00407f70
add esp, 4
test ax, ax
jne 0x404da4
push 0
call fcn.004181f0
add esp, 4
pop esi
jmp fcn.00408050
pop esi
jmp fcn.004030a0
pop esi
ret

Function at 0x404db0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, 1
cmp dword [esi + 0x484], eax
jne 0x404e2a
cmp dword [esi + 8], 0x5000000
jl 0x404dee
push 0
call fcn.00404c20
push 0x7563686b
call fcn.004181f0
add esp, 4
cmp dword [esi + 8], 0x5500000
jge 0x404e2a
mov ecx, esi
pop esi
jmp fcn.00404a60
cmp dword [esi + 0x478], eax
jne 0x404e24
call fcn.004044a0
test eax, eax
jne 0x404e2a
push 0x10000000
call fcn.00407f70
add esp, 4
test ax, ax
jne 0x404e2a
push 0x7563686b
call fcn.004181f0
add esp, 4
pop esi
jmp fcn.00408050
pop esi
jmp fcn.004030a0
pop esi
ret

Function at 0x404e30
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, 1
cmp dword [esi + 0x484], eax
jne 0x404eba
cmp dword [esi + 8], 0x4000000
jl 0x404e7e
push 0
call fcn.00404c20
cmp dword [esi + 8], 0x4100000
jge 0x404e60
mov ecx, esi
call fcn.00403210
push 0x73617373
call fcn.004181f0
add esp, 4
cmp dword [esi + 8], 0x5500000
jge 0x404eba
mov ecx, esi
pop esi
jmp fcn.00404a60
cmp dword [esi + 0x478], eax
jne 0x404eb4
call fcn.004044a0
test eax, eax
jne 0x404eba
push 0x10000000
call fcn.00407f70
add esp, 4
test ax, ax
jne 0x404eba
push 0x73617373
call fcn.004181f0
add esp, 4
pop esi
jmp fcn.00408050
pop esi
jmp fcn.004030a0
pop esi
ret

Function at 0x407d70
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x407d83
mov dword [ebx], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x407d91
mov dword [eax], 0
lea eax, [esp + 0xc]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x407df7
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 0x407def
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x44a724
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x407def
test ebx, ebx
mov ecx, dword [esp + 0xc]
je 0x407de2
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x407def
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