joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403600
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x204
mov eax, dword [0x4502b4]
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 0x403643
lea edx, [esp]
push str.http:__www.apple.com_quicktime_
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.0042689f
add esp, 0x204
ret

Function at 0x403670
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 0x4036cf
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 0x4036cf
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 0x4036cf
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ecx
ret

Function at 0x4039f0
Capabilities:
Get file version info

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
push esi
push edi
je 0x403a03
mov dword [ebp], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x403a11
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 0x403a7c
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 0x403a74
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x44b724
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403a74
test ebp, ebp
mov eax, dword [esp + 0x1c]
je 0x403a67
mov ecx, dword [eax + 8]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x403a74
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 0x403a90
Capabilities:
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4502b4]
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.00405860
add esp, 0x14
test eax, eax
jne 0x403b84
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 0x403b79
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 0x403b78
cmp dword [esp + 0x10], ebx
jbe 0x403b44
push 0x1b
lea ecx, [esp + 0x18]
push str.QuickTime_Update_Completion
push ecx
call fcn.00426e4c
add esp, 0xc
test eax, eax
je 0x403b73
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 0x403b26
jmp 0x403b78
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.0042689f
add esp, 0x114
ret

Function at 0x403c40
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.00405860
add esp, 0x14
test eax, eax
jne 0x403cb3
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 0x403ca8
push eax
push esi
call fcn.00427871
add esp, 8
test eax, eax
je 0x403ca8
mov byte [esi], 0
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], 0
je 0x403cf7
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403cc0
sub eax, edx
movzx edx, byte [eax + esi - 1]
push edx
call fcn.00403850
add esp, 4
test eax, eax
jne 0x403cf7
push edi
mov edi, esi
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x403ce3
mov ax, word [0x44b724]
mov word [edi], ax
pop edi
xor eax, eax
cmp byte [esi], al
pop esi
setne al
pop ecx
ret
Function at 0x403f80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4502b4]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov esi, ecx
call fcn.00403c40
add esp, 8
cmp eax, 1
jne 0x403feb
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.0042689f
add esp, 0x20c
ret

Function at 0x404010
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4502b4]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov esi, ecx
call fcn.00403c40
add esp, 8
cmp eax, 1
jne 0x40407b
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.0042689f
add esp, 0x20c
ret
Function at 0x404900
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.00405860
add esp, 0x14
test eax, eax
jne 0x40499b
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 0x404959
cmp byte [esp + 8], 0x31
je 0x404986
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 0x40498b
cmp byte [esp + 8], 0x31
jne 0x40498b
mov ebp, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
pop esi
jne 0x4049a5
call fcn.00403a90
pop ebp
add esp, 0xc
ret
mov eax, ebp
pop ebp
add esp, 0xc
ret
Function at 0x4049f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4502b4]
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 0x404a31
cmp eax, 0x72636e74
jne 0x404a36
mov edi, str.SoftwareApple_Computer__Inc.QuickTimeRecent_Movies
jmp 0x404a36
mov edi, str.SoftwareApple_Computer__Inc.QuickTimeFavorite_Movies
call fcn.00403c00
test eax, eax
je 0x404b9d
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push edi
push 0x80000002
call fcn.00405860
add esp, 0x14
test eax, eax
jne 0x404b9d
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 0x404b93
mov edi, dword [ebp - 0x14]
cmp edi, esi
mov dword [ebp - 0x20], esi
jbe 0x404b93
mov ebx, dword [ebp - 0x1c]
cmp ebx, esi
jbe 0x404b93
add edi, 1
add ebx, 1
mov eax, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], ebx
call fcn.00426d30
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.00426d30
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x18]
test edi, edi
mov esi, esp
mov dword [ebp - 0xc], ebx
je 0x404b93
test esi, esi
je 0x404b93
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 0x404b93
mov ebx, dword [ebp - 0x24]
lea esp, [esp]
add dword [ebp - 0x20], 1
cmp dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
jbe 0x404b63
cmp dword [ebp - 0xc], 0
jbe 0x404b63
lea ecx, [ebp - 0x18]
push ecx
push 0x44bacc
push esi
call fcn.00427f60
mov eax, dword [ebp - 0x18]
add esp, 0xc
sub eax, 1
je 0x404b3d
sub eax, 1
jne 0x404b42
mov ebx, 0x616c6973
jmp 0x404b42
mov ebx, 0x75726c20
push 0x2c
push esi
call fcn.004279d0
add esp, 8
test eax, eax
je 0x404b63
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
push edx
add eax, 1
push eax
push edi
push ebx
call fcn.004043b0
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 0x404b00
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.0042689f
mov esp, ebp
pop ebp
ret 4
Function at 0x405180
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, 1
cmp dword [esi + 0x484], eax
jne 0x405204
cmp dword [esi + 8], 0x4000000
jl 0x4051cb
push 0
call fcn.00405080
cmp dword [esi + 8], 0x4100000
jge 0x4051b0
mov ecx, esi
call fcn.00403670
push 0
call fcn.004187e0
add esp, 4
cmp dword [esi + 8], 0x5500000
jge 0x405204
mov ecx, esi
pop esi
jmp fcn.00404ec0
cmp dword [esi + 0x478], eax
jne 0x4051fe
call fcn.00404900
test eax, eax
jne 0x405204
push 0x10000000
call fcn.004084c0
add esp, 4
test ax, ax
jne 0x405204
push 0
call fcn.004187e0
add esp, 4
pop esi
jmp fcn.004085c0
pop esi
jmp fcn.00403500
pop esi
ret

Function at 0x405210
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, 1
cmp dword [esi + 0x484], eax
jne 0x40528a
cmp dword [esi + 8], 0x5000000
jl 0x40524e
push 0
call fcn.00405080
push 0x7563686b
call fcn.004187e0
add esp, 4
cmp dword [esi + 8], 0x5500000
jge 0x40528a
mov ecx, esi
pop esi
jmp fcn.00404ec0
cmp dword [esi + 0x478], eax
jne 0x405284
call fcn.00404900
test eax, eax
jne 0x40528a
push 0x10000000
call fcn.004084c0
add esp, 4
test ax, ax
jne 0x40528a
push 0x7563686b
call fcn.004187e0
add esp, 4
pop esi
jmp fcn.004085c0
pop esi
jmp fcn.00403500
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
mov eax, 1
cmp dword [esi + 0x484], eax
jne 0x40531a
cmp dword [esi + 8], 0x4000000
jl 0x4052de
push 0
call fcn.00405080
cmp dword [esi + 8], 0x4100000
jge 0x4052c0
mov ecx, esi
call fcn.00403670
push 0x73617373
call fcn.004187e0
add esp, 4
cmp dword [esi + 8], 0x5500000
jge 0x40531a
mov ecx, esi
pop esi
jmp fcn.00404ec0
cmp dword [esi + 0x478], eax
jne 0x405314
call fcn.00404900
test eax, eax
jne 0x40531a
push 0x10000000
call fcn.004084c0
add esp, 4
test ax, ax
jne 0x40531a
push 0x73617373
call fcn.004187e0
add esp, 4
pop esi
jmp fcn.004085c0
pop esi
jmp fcn.00403500
pop esi
ret
Function at 0x405900
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x114
mov eax, dword [0x4502b4]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
mov ebp, dword [esp + 0x120]
push esi
push edi
mov edi, dword [esp + 0x124]
xor esi, esi
test edi, edi
mov dword [esp + 0xc], 0
je 0x4059db
lea eax, [esp + 0xc]
push eax
push 0x2001f
push esi
push ebp
push edi
call fcn.00405860
add esp, 0x14
test eax, eax
jne 0x4059db
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4059b0
mov esi, dword [esp + 0x10]
add esi, 0xffffffff
js 0x4059b0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ecx, dword [esp + 0x10]
push 0x105
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
call ebx
test eax, eax
jne 0x4059aa
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00405900
add esp, 8
sub esi, 1
jns 0x405982
pop ebx
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0042689f
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0042689f
add esp, 0x114
ret

Function at 0x405b80
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x114
mov eax, dword [0x4502b4]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
mov ebp, dword [esp + 0x120]
push esi
push edi
mov edi, dword [esp + 0x124]
xor esi, esi
test edi, edi
mov dword [esp + 0xc], 0
je 0x405c5b
lea eax, [esp + 0xc]
push eax
push 0x2001f
push esi
push ebp
push edi
call fcn.00405ae0
add esp, 0x14
test eax, eax
jne 0x405c5b
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x405c30
mov esi, dword [esp + 0x10]
add esi, 0xffffffff
js 0x405c30
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ecx, dword [esp + 0x10]
push 0x105
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
call ebx
test eax, eax
jne 0x405c2a
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00405b80
add esp, 8
sub esi, 1
jns 0x405c02
pop ebx
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0042689f
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0042689f
add esp, 0x114
ret
Function at 0x4082a0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x4082b3
mov dword [ebx], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4082c1
mov dword [eax], 0
lea eax, [esp + 0xc]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x408327
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 0x40831f
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x44b724
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40831f
test ebx, ebx
mov ecx, dword [esp + 0xc]
je 0x408312
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40831f
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 0x4084c0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x104
mov eax, dword [0x4502b4]
xor eax, esp
mov dword [esp + 0x100], eax
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 0x40850e
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x451640], esi
jle 0x40851f
add dword [0x451640], 1
jmp 0x408564
call fcn.00402bf0
push str.QuickTime.qts
call fcn.00403060
add esp, 4
test eax, eax
mov dword [0x451644], eax
jne 0x408590
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffff7d3
mov eax, dword [0x451644]
test eax, eax
je 0x40855f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x451644], 0
call fcn.004084a0
test edi, edi
je 0x408576
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x108]
pop edi
mov ax, si
pop esi
xor ecx, esp
call fcn.0042689f
add esp, 0x104
ret
call fcn.00408440
movzx esi, ax
test si, si
jne 0x408545
mov edx, dword [esp + 0x110]
push edx
call fcn.00408220
movzx esi, ax
add esp, 4
test si, si
jne 0x408545
add dword [0x451640], 1
jmp 0x408564
Function at 0x4085c0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x104
mov eax, dword [0x4502b4]
xor eax, esp
mov dword [esp + 0x100], eax
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 0x40860d
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x451640]
test eax, eax
jg 0x408622
mov dword [0x451640], 0
jmp 0x40864a
sub eax, 1
test eax, eax
mov dword [0x451640], eax
jg 0x40864a
call fcn.00408230
call fcn.004084a0
mov edx, dword [0x451644]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00402c00
test esi, esi
je 0x40865c
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
call fcn.0042689f
add esp, 0x104
ret

Function at 0x42689f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4502b4]
jne 0x4268a9
repz ret
jmp fcn.0042d454

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x427817
call fcn.0042a6b2
mov dword [eax], esi
call fcn.0042a69f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0042b9e9
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4277f3
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x427846
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042a6c5
pop ecx
call fcn.0042a69f
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x42786d
test al, 1
je 0x42786d
test byte [esp + 0xc], 2
je 0x42786d
call fcn.0042a6b2
mov dword [eax], 5
call fcn.0042a69f
mov dword [eax], 0xd
jmp 0x42783d
xor eax, eax
pop esi
ret
Function at 0x42c488
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x450c20]
je 0x42c4a3
inc edi
cmp edi, 0x17
jb 0x42c494
cmp edi, 0x17
jae 0x42c623
push ebp
push 3
call fcn.0043cddd
cmp eax, 1
pop ecx
je 0x42c5ef
push 3
call fcn.0043cddd
test eax, eax
pop ecx
jne 0x42c4d7
cmp dword [0x45031c], 1
je 0x42c5ef
cmp ebx, 0xfc
je 0x42c622
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x451878
push ebp
call fcn.0042d666
add esp, 0xc
test eax, eax
je 0x42c50d
push esi
push esi
push esi
push esi
push esi
call fcn.0042b8b5
add esp, 0x14
push 0x104
mov esi, 0x451891
push esi
push 0
mov byte [0x451995], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42c551
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042d666
add esp, 0xc
test eax, eax
je 0x42c551
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042b8b5
add esp, 0x14
push esi
call fcn.0042e2c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42c596
push esi
call fcn.0042e2c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x451b8c
push 0x44c36c
sub ecx, eax
push ecx
push eax
call fcn.004353c6
add esp, 0x14
test eax, eax
je 0x42c596
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042b8b5
add esp, 0x14
jmp 0x42c598
xor esi, esi
push 0x44c368
push ebx
push ebp
call fcn.0043530c
add esp, 0xc
test eax, eax
je 0x42c5b8
push esi
push esi
push esi
push esi
push esi
call fcn.0042b8b5
add esp, 0x14
push dword [edi*8 + 0x450c24]
push ebx
push ebp
call fcn.0043530c
add esp, 0xc
test eax, eax
je 0x42c5da
push esi
push esi
push esi
push esi
push esi
call fcn.0042b8b5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043cc20
add esp, 0xc
jmp 0x42c622
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42c622
cmp ebp, 0xffffffff
je 0x42c622
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x450c24]
push dword [esi]
call fcn.0042e2c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret