joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429c30
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.00429b90
cmp eax, 1
jne 0x429c7f
mov al, al
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
push 2
push eax
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x500
call ebx
test eax, eax
jne 0x429d3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x429d3f
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 8]
cmp edi, ecx
sbb eax, eax
test ecx, eax
je 0x429d3f
cmp edi, ecx
sbb eax, eax
and eax, ecx
cmp eax, 0x400
ja 0x429d02
cmp edi, ecx
sbb eax, eax
and eax, ecx
call fcn.004f32e0
mov esi, esp
test esi, esi
je 0x429d3f
mov dword [esi], 0xcccc
jmp 0x429d1d
cmp edi, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.004dad8d
mov esi, eax
add esp, 4
test esi, esi
je 0x429d20
mov dword [esi], 0xdddd
add esi, 8
mov edi, dword [ebp - 0x10]
test esi, esi
je 0x429d3f
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 2
push dword [ebp - 0x14]
call ebx
test eax, eax
jne 0x429d67
mov ecx, esi
call fcn.00429b70
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.00429df0
lea ecx, [ebp - 0x34]
call fcn.00429df0
mov al, bl
lea esp, [ebp - 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x429d38
xor ebx, ebx
xor edi, edi
cmp dword [esi], ebx
jbe 0x429dc0
lea ebx, [esi + 4]
nop dword [eax]
push dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x429dbb
inc edi
add ebx, 8
cmp edi, dword [esi]
jb 0x429da0
xor ebx, ebx
jmp 0x429dc0
mov ebx, 1
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x429dd4
push esi
call fcn.004dab64
add esp, 4
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x429d41
Function at 0x42a5c0
Capabilities:
Check os version
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x94
push eax
mov bl, cl
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x290]
xor cl, cl
mov byte [0x55ab75], cl
sub eax, 2
jne 0x42a620
cmp dword [ebp - 0x29c], 5
jne 0x42a620
cmp dword [ebp - 0x298], 0
movzx eax, cl
mov ecx, 1
cmove eax, ecx
mov byte [0x55ab75], al
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
push 0x104
push 0x56a0c8
call fcn.004d0170
add esp, 0xc
test bl, bl
je 0x42a67c
push 0x540800
push 0x104
push 0x56a0c8
call fcn.004d01ca
push str._preconnect
push 0x104
push 0x56a0c8
call fcn.004d01ca
add esp, 0x18
push 0x540800
push 0x104
push 0x56a0c8
call fcn.004d01ca
push 0x55ac08
push 0x104
push 0x56a0c8
call fcn.004d01ca
push str._run
push 0x104
push 0x56a0c8
call fcn.004d01ca
add esp, 0x24
lea ecx, [ebp - 0x3a4]
call fcn.004268c0
lea eax, [ebp - 0x3a4]
push eax
push dword [0x55ac00]
push str.kickrdp
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x55ac00], eax
lea eax, [ebp - 0x3a4]
push eax
push dword [0x55abf4]
push str.clearconsole
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x55abf4], eax
lea eax, [ebp - 0x3a4]
push eax
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x518188
push str.service_commandline
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a740
sub ecx, edx
je 0x42a7d8
lea eax, [ebp - 0x108]
push eax
push 0x104
push 0x56a0c8
call fcn.004d0170
add esp, 0xc
test bl, bl
je 0x42a797
push 0x540800
push 0x104
push 0x56a0c8
call fcn.004d01ca
push str._preconnect
push 0x104
push 0x56a0c8
call fcn.004d01ca
add esp, 0x18
push 0x540800
push 0x104
push 0x56a0c8
call fcn.004d01ca
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0x56a0c8
call fcn.004d01ca
push str.__service_run
push 0x104
push 0x56a0c8
call fcn.004d01ca
add esp, 0x24
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x42a7f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x42a83b
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x42a84e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x10c]
push str.winlogon.exe
push eax
call fcn.004dadd3
add esp, 8
test eax, eax
lea eax, [ebp - 0x130]
cmove esi, dword [ebp - 0x128]
push eax
push edi
call ebx
test eax, eax
jne 0x42a854
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x42bf80
Capabilities:
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x42bfc9
push 0x10
push 0x5405f4
mov edx, str.Failed_to_open_service_control_manager
call fcn.00425e00
add esp, 8
lea eax, [edi + 1]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
push esi
push 0x10004
push str.uvnc_service
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x42c051
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42c01a
push 0x10
push 0x5405f4
mov edx, str.Failed:_Permission_denied
call fcn.00425e00
add esp, 8
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esi + 1]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
cmp eax, 0x424
je 0x42c035
push 0x10
push 0x5405f4
mov edx, str.Failed_to_open_the_service
call fcn.00425e00
add esp, 8
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x42c095
push 0x10
push 0x5405f4
mov edx, str.Failed_to_query_service_status
call fcn.00425e00
add esp, 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1c], 1
push esi
je 0x42c0cc
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
push 0x9c4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042bf80
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x42c10b
push 0x10
push 0x5405f4
mov edx, str.Failed_to_delete_the_service
call fcn.00425e00
add esp, 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop edi
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x42c4d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x55800c]
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]
mov dword [ebp - 0x144], 0x3c
mov dword [ebp - 0x140], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x138], str.runas
mov dword [ebp - 0x130], str._rebootforce
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.004cbf27
mov esp, ebp
pop ebp
ret

Function at 0x42c570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x55800c]
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]
mov dword [ebp - 0x144], 0x3c
mov dword [ebp - 0x140], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x138], str.runas
mov dword [ebp - 0x130], str._rebootsafemode
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.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x42c9b0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x55800c]
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 0x42ca62
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.004cbf27
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x55800c]
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 0x42cb22
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.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x42cc90
Capabilities:
Create thread
Hide graphical window
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, ecx
mov eax, 8
sub eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
add eax, dword [ebp + 8]
push eax
mov ecx, dword [ecx + 0x198]
call fcn.004863e0
mov ecx, dword [esp + 0x14]
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 0x42cd23
cmp byte [esi + 0x10], 0
jne 0x42cdd7
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x42d300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
test eax, eax
je 0x42cdd7
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp edi, 0xfffffffe
jne 0x42cd4c
cmp byte [esi + 0x10], 0
je 0x42cdd7
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 0x42cdd7
cmp edi, 0x4000
jg 0x42cdd7
test edi, edi
jne 0x42cd8d
push 0x518188
push 0x475
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x4000
push edi
push dword [esi + 0x1c]
call fcn.004cddb0
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x4000
push 0
push dword [esi + 0x1c]
call fcn.004cddb0
mov ecx, dword [esi + 4]
add esp, 0xc
mov ecx, dword [ecx + 0x198]
push edi
push dword [esi + 0x1c]
call fcn.004863e0
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.0042cf00
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42f650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x55800c]
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 0x42f697
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.004cd350
add esp, 8
test eax, eax
je 0x42f760
mov byte [eax], 0
push str.uvnckeyboardhelper.exe
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004d01ca
lea eax, [ebp - 0x108]
push 0x541140
push eax
call fcn.004daf76
add esp, 0x14
test eax, eax
je 0x42f760
push eax
call fcn.004db003
add esp, 4
mov dword [ebp - 0x144], 0x3c
lea eax, [ebp - 0x108]
mov dword [ebp - 0x140], 0
xorps xmm0, xmm0
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x144]
movlpd qword [ebp - 0x120], xmm0
push eax
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], str.runas
mov dword [ebp - 0x130], 0x518188
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x42f770
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x42f780
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [0x55936d], 0
mov eax, ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], eax
je 0x42f92a
cmp dword [0x55ad2c], 0
jne 0x42f92a
cmp dword [0x55ad30], 0
je 0x42f92a
push 2
lea ecx, [ebp - 1]
call fcn.0042f5e0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
shr eax, 8
push 0xa5
mov dword [ebp - 0xc], eax
call esi
push 0xa2
call esi
shr eax, 8
push 0xa3
mov dword [ebp - 0x10], eax
call esi
push 0x5b
call esi
shr eax, 8
push 0x5c
mov dword [ebp - 0x14], eax
call esi
mov esi, dword [0x55ad3c]
test esi, esi
je 0x42f909
cmp byte [ebp - 0xc], 0
jne 0x42f821
cmp byte [ebp - 0x10], 0
jne 0x42f821
cmp byte [ebp - 0x14], 0
je 0x42f909
cmp byte [esi + 0x1ec], 0
mov eax, dword [ebp - 8]
mov byte [ebp - 0x18], al
mov eax, dword [ebp + 8]
mov byte [ebp - 0x17], bl
mov dword [ebp - 0x14], eax
je 0x42f919
lea ebx, [esi + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x1e0]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x1c]
call fcn.004cd830
mov eax, dword [esi + 0xc]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x42f86c
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42f876
push eax
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x42f886
push eax
call edi
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42f8b3
inc dword [esi + 0x1e8]
cmp dword [esi + 0x1e8], 3
jle 0x42f8bd
mov byte [esi + 0x1ec], 0
jmp 0x42f8e7
mov dword [esi + 0x1e8], 0
cmp byte [esi + 0x1ec], 0
je 0x42f8e7
push 0x3e8
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x1e4]
push dword [esi + 0x20]
push 0
call fcn.004cd830
add esp, 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42f8f1
push eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x55ad2c], 0
pop edi
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]
mov dword [0x55ad2c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430530
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
xor edi, edi
mov dword [ebp - 0x10], ecx
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push str.c:_video0.dat
mov dword [ebp - 0xc], 0
call esi
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push str.c:_video1.dat
mov dword [ebp - 4], eax
call esi
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x43058d
cmp eax, 0xffffffff
je 0x43058d
test ebx, ebx
je 0x43058b
cmp ebx, 0xffffffff
jne 0x43058d
mov edi, eax
test ebx, ebx
je 0x4305a1
cmp ebx, 0xffffffff
je 0x4305a1
test eax, eax
je 0x43059f
cmp eax, 0xffffffff
jne 0x4305a1
mov edi, ebx
test eax, eax
je 0x43061f
cmp eax, 0xffffffff
je 0x43061f
test ebx, ebx
je 0x43061f
cmp ebx, 0xffffffff
je 0x43061f
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
call esi
push 0
push ebx
mov dword [ebp - 0x18], eax
call esi
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov edx, dword [edx + 0x1c]
cmp esi, edx
cmove edi, dword [ebp - 4]
cmp eax, edx
jne 0x43061f
mov edi, ebx
cmp esi, edx
jne 0x43061f
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileTime]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x43061f
cmp eax, 1
je 0x43061f
mov edi, ebx
test edi, edi
je 0x43066c
cmp edi, 0xffffffff
je 0x43066c
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 0x43065f
cmp esi, 0xffffffff
je 0x43065f
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push esi
mov dword [ebp - 0xc], eax
call ebx
push edi
call ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.d:_saasultravncwinvncwinvnc_videodriver.cpp_:_Error_video.dat__n
push 0
push 0x558c50
call fcn.0041c840
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4327a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov edx, 1
call fcn.0041d6e0
add edi, 0xfffffff8
test edi, edi
jle 0x43288c
lea esi, [ebx + 6]
add esi, edi
dec edi
shr edi, 3
inc edi
mov dl, byte [esi]
movzx ecx, byte [esi - 6]
movzx eax, byte [esi - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 1]
mov dword [ebp - 8], ecx
movzx ecx, byte [esi - 2]
shl ecx, 8
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 8]
call fcn.0041d9d0
movzx eax, byte [ebp - 5]
lea esi, [esi - 8]
mov byte [esi + 2], al
movzx eax, byte [ebp - 6]
mov byte [esi + 3], al
mov eax, dword [ebp - 8]
mov byte [esi + 4], ah
mov byte [esi + 5], al
movzx eax, byte [ebp - 1]
mov byte [esi + 6], al
movzx eax, byte [ebp - 2]
mov byte [esi + 7], al
mov eax, dword [ebp - 4]
mov byte [esi + 8], ah
mov byte [esi + 9], 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
mov dl, byte [esi]
movzx eax, byte [esi + 1]
xor byte [esi + 8], dl
xor byte [esi + 9], al
sub edi, 1
jne 0x4327d1
movzx edx, byte [ebx]
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 5]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 6]
mov dword [ebp - 8], edx
movzx edx, byte [ebx + 4]
shl edx, 8
or edx, ecx
lea ecx, [ebp - 8]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 7]
shl edx, 8
or edx, eax
mov dword [ebp - 4], edx
call fcn.0041d9d0
movzx eax, byte [ebp - 5]
mov byte [ebx], al
movzx eax, byte [ebp - 6]
mov ecx, dword [ebp + 8]
mov byte [ebx + 1], al
movzx eax, byte [ebp - 7]
mov byte [ebx + 2], al
movzx eax, byte [ebp - 8]
mov byte [ebx + 3], al
movzx eax, byte [ebp - 1]
mov byte [ebx + 4], al
movzx eax, byte [ebp - 2]
mov byte [ebx + 5], al
mov eax, dword [ebp - 4]
mov byte [ebx + 6], ah
mov byte [ebx + 7], al
movzx eax, byte [ecx]
xor byte [ebx], al
movzx eax, byte [ecx + 1]
xor byte [ebx + 1], al
movzx eax, byte [ecx + 2]
xor byte [ebx + 2], al
movzx eax, byte [ecx + 3]
xor byte [ebx + 3], al
movzx eax, byte [ecx + 4]
xor byte [ebx + 4], al
movzx eax, byte [ecx + 5]
xor byte [ebx + 5], al
movzx eax, byte [ecx + 6]
xor byte [ebx + 6], al
movzx eax, byte [ecx + 7]
xor byte [ebx + 7], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4364a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x55800c]
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.004cddb0
push 0x104
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.004dc0a1
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x124], eax
add esp, 0x18
mov eax, 0x614
mov dword [ebp - 0x120], 0
mov word [ebp - 0x11c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x12c]
movlpd qword [ebp - 0x11a], xmm0
push eax
mov dword [ebp - 0x112], 0
mov dword [ebp - 0x128], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp - 4]
test eax, eax
pop esi
sete al
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret