joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424030
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
jae 0x424073
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4240d1
lea eax, [ebp - 0xa0]
push eax
push 0x20019
push 0
push str.System
push dword [ebp - 0x9c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4240e1
push dword [ebp - 0x9c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], 0
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xac], 4
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa8], 4
push eax
push 0
push str.SoftwareSASGeneration
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xa0]
test eax, eax
je 0x424153
call esi
push dword [ebp - 0x9c]
call esi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
call esi
push dword [ebp - 0x9c]
call esi
cmp dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop esi
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x424180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4241fd
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push str.System
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4241f4
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 4
push 0
push str.SoftwareSASGeneration
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x424210
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42427c
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push str.System
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424273
push str.SoftwareSASGeneration
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x424280
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x198], 6
jb 0x424332
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x1d8], 0x3c
mov dword [ebp - 0x1d4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - 0x1cc], str.runas
mov dword [ebp - 0x1c4], str._delsoftwarecad
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x1b8], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x424340
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x198], 6
jb 0x4243f2
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x1d8], 0x3c
mov dword [ebp - 0x1d4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - 0x1cc], str.runas
mov dword [ebp - 0x1c4], str._softwarecad
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x1b8], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x4244c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0x4000
mov dword [esi], vtable.TextChat.0
mov dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov byte [esi + 0x10], 0
mov byte [esi + 0x30], 0
call fcn.004aca50
push 0x4000
push 0
push eax
mov dword [esi + 0x14], eax
call fcn.004b67a0
push 0x4000
call fcn.004aca50
push 0x4000
push 0
push eax
mov dword [esi + 0x18], eax
call fcn.004b67a0
push 0x4000
call fcn.004aca50
push 0x4000
push 0
push eax
mov dword [esi + 0x1c], eax
call fcn.004b67a0
push 0x80
call fcn.004aca50
push 0x80
push 0
push eax
mov dword [esi + 0x20], eax
call fcn.004b67a0
add esp, 0x40
push 0x80
call fcn.004aca50
push 0x80
push 0
push eax
mov dword [esi + 0x24], eax
call fcn.004b67a0
push 0x4000
call fcn.004aca50
push 0x4000
push 0
push eax
mov dword [esi + 0x28], eax
call fcn.004b67a0
add esp, 0x20
mov dword [ebp + 8], 0x80
lea eax, [ebp + 8]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4245c0
cmp dword [ebp + 8], 0x80
jb 0x4245c0
mov eax, dword [esi + 0x24]
mov byte [eax + 0x7c], 0x2e
mov eax, dword [esi + 0x24]
mov byte [eax + 0x7d], 0x2e
mov eax, dword [esi + 0x24]
mov byte [eax + 0x7e], 0x2e
mov eax, dword [esi + 0x24]
mov byte [eax + 0x7f], 0
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x4245e6
push 0x30
push 0x502210
mov edx, 0x502250
call fcn.0041b520
add esp, 8
mov eax, esi
mov dword [esi + 0x34], 0xffffffff
pop esi
pop ebp
ret 4
Function at 0x424760
Capabilities:
Create thread
Hide graphical window
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, 8
sub eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [esi + 4]
lea eax, [ebp - 8]
add eax, dword [ebp + 8]
push eax
mov ecx, dword [ecx + 0x10c]
call fcn.00473090
mov ecx, dword [ebp - 4]
mov edi, ecx
and edi, 0xff0000
mov eax, ecx
shr eax, 0x10
or edi, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edi, 8
shl eax, 8
or edi, eax
cmp edi, 0xffffffff
jne 0x4247f2
call fcn.00424400
cmp byte [esi + 0x10], 0
jne 0x4248a6
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x424dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
test eax, eax
je 0x4248a6
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp edi, 0xfffffffe
jne 0x42481b
cmp byte [esi + 0x10], 0
je 0x4248a6
push 0
push 1
push 0x111
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp edi, 0xfffffffd
je 0x4248a6
cmp edi, 0x4000
jg 0x4248a6
test edi, edi
jne 0x42485c
push 0x4d9f42
push 0x475
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x4000
push edi
push dword [esi + 0x1c]
call fcn.004b67a0
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x4000
push 0
push dword [esi + 0x1c]
call fcn.004b67a0
mov ecx, dword [esi + 4]
add esp, 0xc
mov ecx, dword [ecx + 0x10c]
push edi
push dword [esi + 0x1c]
call fcn.00473090
push 9
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xff
push dword [esi + 0x20]
mov ecx, esi
push dword [esi + 0x1c]
call fcn.004249b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x427150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x427197
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.004ad400
add esp, 8
test eax, eax
je 0x42727d
mov byte [eax], 0
lea eax, [ebp - 0x108]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
lea eax, [eax + 1]
test cl, cl
jne 0x4271a0
mov ecx, dword [str.uvnckeyboardhelper.exe]
mov dword [eax], ecx
mov ecx, dword [0x4e204c]
mov dword [eax + 4], ecx
mov ecx, dword [0x4e2050]
mov dword [eax + 8], ecx
mov ecx, dword [0x4e2054]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x4e2058]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x4e205c]
mov dword [eax + 0x14], ecx
lea eax, [ebp - 0x108]
push 0x4e2060
push eax
call fcn.004af3f7
add esp, 8
test eax, eax
je 0x42727d
push eax
call fcn.004af478
push 0x3c
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.004b67a0
add esp, 0x10
mov dword [ebp - 0x144], 0x3c
lea eax, [ebp - 0x108]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x144]
mov dword [ebp - 0x13c], 0
push eax
mov dword [ebp - 0x138], str.runas
mov dword [ebp - 0x130], 0x4d9f42
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x4273d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0x503c94], 0
mov eax, ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 8], eax
je 0x427491
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
shr eax, 8
test al, al
push 0xa5
setne byte [ebp - 1]
call esi
push 0xa2
call esi
shr eax, 8
test al, al
push 0xa3
setne byte [ebp - 2]
call esi
push 0x5b
call esi
shr eax, 8
test al, al
push 0x5c
setne byte [ebp - 3]
call esi
cmp dword [0x4f9108], 0
je 0x42748e
cmp byte [0x503c94], 0
je 0x42748e
cmp byte [ebp - 1], 0
jne 0x427455
cmp byte [ebp - 2], 0
jne 0x427455
cmp byte [ebp - 3], 0
je 0x42748e
push 0x4f90f0
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
mov eax, dword [ebp - 8]
je 0x427491
mov byte [ebp - 0xc], al
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push ecx
push eax
mov byte [ebp - 0xb], bl
call fcn.00427c80
push 0x4f90f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push 0
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_keybd_event]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428030
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push str.c:_video0.dat
mov dword [ebp - 8], 0
call esi
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push str.c:_video1.dat
mov ebx, eax
call esi
mov dword [ebp - 4], eax
test ebx, ebx
je 0x42808a
cmp ebx, 0xffffffff
je 0x42808a
test eax, eax
je 0x428088
cmp eax, 0xffffffff
jne 0x42808a
mov edi, ebx
test eax, eax
je 0x42809e
cmp eax, 0xffffffff
je 0x42809e
test ebx, ebx
je 0x42809c
cmp ebx, 0xffffffff
jne 0x42809e
mov edi, eax
test ebx, ebx
je 0x42811f
cmp ebx, 0xffffffff
je 0x42811f
test eax, eax
je 0x42811f
cmp eax, 0xffffffff
je 0x42811f
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push ebx
call esi
push 0
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call esi
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x18]
cmp edx, ecx
cmove edi, ebx
cmp eax, ecx
cmove edi, dword [ebp - 4]
jne 0x42811f
cmp edx, ecx
jne 0x42811f
mov esi, dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
call esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x42811d
mov edi, dword [ebp - 4]
cmp eax, 1
jne 0x42811f
mov edi, ebx
test edi, edi
je 0x42816c
cmp edi, 0xffffffff
je 0x42816c
push 0
push 0
push 0
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x42815f
cmp esi, 0xffffffff
je 0x42815f
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push esi
mov dword [ebp - 8], eax
call ebx
push edi
call ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.videodriver.cpp_:_Error_video.dat__n
push 0
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428c80
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x9c
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa0]
push 0
push eax
movdqu xmmword [ebp - 0xc4], xmm0
movdqu xmmword [ebp - 0xb4], xmm0
call fcn.004b67a0
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x428d0a
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x428d0a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x428d30
lea ecx, [ebp - 0xc4]
push ecx
call eax
jmp 0x428d3d
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x90]
sub eax, 2
jne 0x428db5
mov eax, dword [ebp - 0x9c]
cmp eax, 6
jne 0x428d61
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x428db5
mov eax, dword [ebp - 0x98]
cmp eax, 2
jne 0x428da7
cmp byte [ebp - 6], 1
jne 0x428d94
cmp word [ebp - 0xc4], 9
jne 0x428d94
mov eax, 7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x428d94
test eax, eax
mov eax, 5
je 0x428dba
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
Function at 0x428fb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, edx
test esi, esi
je 0x42909b
push ebx
lea eax, [ebp - 0xc]
push eax
push str.mv2.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x42901b
movdqu xmm0, xmmword [str.Fail:_Using_32bit_winvnc.exe_with__a_64bit_driver___n]
pop ebx
movdqu xmmword [esi], xmm0
movdqu xmm0, xmmword [0x4e2244]
movdqu xmmword [esi + 0x10], xmm0
movdqu xmm0, xmmword [0x4e2254]
movdqu xmmword [esi + 0x20], xmm0
mov eax, dword [0x4e2264]
mov dword [esi + 0x30], eax
mov al, byte [0x4e2268]
mov byte [esi + 0x34], al
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push ebx
call fcn.004ad3ab
add esp, 4
mov edi, eax
push edi
push ebx
push 0
push str.mv2.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.StringFileInfo040904b0ProductVersion
push edi
call ebx
test eax, eax
jne 0x429078
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.StringFileInfo000004b0ProductVersion
push edi
call ebx
test eax, eax
jne 0x429078
push edi
mov byte [esi], al
call fcn.004ad35b
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push 0x200
push dword [ebp - 4]
push esi
call fcn.004ae040
push edi
call fcn.004ad35b
add esp, 0x10
mov eax, 1
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42a450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, 1
call fcn.00415e60
add ebx, 0xfffffff8
test ebx, ebx
jle 0x42a4bc
lea esi, [ebx + edi]
dec ebx
shr ebx, 3
inc ebx
mov edx, esi
mov ecx, esi
call fcn.004160e0
movzx eax, byte [esi - 8]
xor byte [esi], al
movzx eax, byte [esi - 7]
xor byte [esi + 1], al
movzx eax, byte [esi - 6]
xor byte [esi + 2], al
movzx eax, byte [esi - 5]
xor byte [esi + 3], al
movzx eax, byte [esi - 4]
xor byte [esi + 4], al
movzx eax, byte [esi - 3]
xor byte [esi + 5], al
movzx eax, byte [esi - 2]
xor byte [esi + 6], al
movzx eax, byte [esi - 1]
xor byte [esi + 7], al
add esi, 0xfffffff8
dec ebx
jne 0x42a476
mov edx, edi
mov ecx, edi
call fcn.004160e0
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx]
xor byte [edi], al
movzx eax, byte [ecx + 1]
xor byte [edi + 1], al
movzx eax, byte [ecx + 2]
xor byte [edi + 2], al
movzx eax, byte [ecx + 3]
xor byte [edi + 3], al
movzx eax, byte [ecx + 4]
xor byte [edi + 4], al
movzx eax, byte [ecx + 5]
xor byte [edi + 5], al
movzx eax, byte [ecx + 6]
xor byte [edi + 6], al
movzx eax, byte [ecx + 7]
xor byte [edi + 7], al
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42d670
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x105
lea eax, [ebp - 0x10c]
mov esi, ecx
push 0
push eax
call fcn.004b67a0
push 0x104
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.004ae40b
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
movdqu xmmword [ebp - 0x12c], xmm0
lea eax, [ebp - 0x10c]
add esp, 0x18
movq qword [ebp - 0x11c], xmm0
mov dword [ebp - 0x124], eax
mov eax, 0x614
mov word [ebp - 0x11c], ax
lea eax, [ebp - 0x12c]
push eax
mov word [ebp - 0x110], 0
mov dword [ebp - 0x128], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004aca59
mov esp, ebp
pop ebp
ret

Function at 0x42d720
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, edx
mov dword [ebp - 8], ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42d74d
test bl, 1
je 0x42d74d
mov ecx, ebx
and ecx, 0xfffffffe
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
setne al
mov byte [ebp - 1], al
cmp ebx, 0xffffffff
je 0x42d771
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f3c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x4f5568]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x270]
mov eax, dword [ecx]
call dword [eax + 0x1cc]
test eax, eax
jne 0x42f4dd
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x10
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0x26c]
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [esp + 0x20]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
call esi
mov ebx, str._unavailable_
test eax, eax
mov ecx, ebx
cmovne ecx, eax
push ecx
call fcn.004aec27
mov ecx, dword [edi + 0x26c]
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10
push eax
lea eax, [esp + 0x30]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getpeername]
push dword [esp + 0x30]
call esi
test eax, eax
cmovne ebx, eax
push ebx
call fcn.004aec27
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42f5ac
test ebx, ebx
je 0x42f5ac
push ebx
push eax
call fcn.004aeec7
neg eax
sbb esi, esi
mov eax, dword [esp + 0x18]
push eax
call fcn.004ae337
add esp, 0xc
push ebx
call fcn.004ae337
add esp, 4
neg esi
jne 0x42f5ac
push str.vncclient.cpp_:_loopback_connection_attempted___client_rejected_n
push 0
push 0x4f6c50
call fcn.00414f90
add esp, 0xc
mov ecx, edi
push str.Local_loop_back_connections_are_disabled.
call fcn.0042f5d0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004aca59
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [edi + 0x26c]
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [esp + 0x30]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
call esi
mov ebx, str._unavailable_
test eax, eax
mov ecx, ebx
cmovne ecx, eax
push ecx
call fcn.004aec27
mov ecx, dword [edi + 0x26c]
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x10
push eax
lea eax, [esp + 0x20]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getpeername]
push dword [esp + 0x20]
call esi
test eax, eax
cmovne ebx, eax
push ebx
call fcn.004aec27
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42f5ac
test ebx, ebx
je 0x42f5ac
push ebx
push eax
call fcn.004aeec7
neg eax
sbb esi, esi
mov eax, dword [esp + 0x18]
push eax
call fcn.004ae337
add esp, 0xc
push ebx
call fcn.004ae337
add esp, 4
neg esi
jne 0x42f5ac
push str.vncclient.cpp_:_loopback_connection_attempted___client_accepted_n
push 0
push 0x4f6c50
call fcn.00414f90
mov eax, dword [edi + 0x274]
add esp, 0xc
mov dword [eax + 0x48], 1
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aca59
mov esp, ebp
pop ebp
ret