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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c3040]
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]
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0x3c
movlpd qword [ebp - 0x120], xmm0
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
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], 0x57a60c
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret

Function at 0x425c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c3040]
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]
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0x3c
movlpd qword [ebp - 0x120], xmm0
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
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], 0x57a5f8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret

Function at 0x425cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c3040]
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]
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0x3c
movlpd qword [ebp - 0x120], xmm0
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
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], 0x57a5dc
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x425db0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c3040]
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]
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0x3c
movlpd qword [ebp - 0x120], xmm0
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
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], 0x57a5d0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret

Function at 0x425e70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c3040]
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]
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0x3c
movlpd qword [ebp - 0x120], xmm0
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
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], 0x57a5e8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x426780
Capabilities:
Enumerate processes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2cc
mov eax, dword [0x5c3040]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x140]
call fcn.004270f0
push 0x579be0
lea eax, [esp + 0x24c]
push 0x81
push eax
call fcn.0052c1a3
add esp, 0xc
lea eax, [esp + 0x140]
push eax
push 0x100
lea eax, [esp + 0x250]
push eax
push 0x579be0
push str.alternate_shell
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x124
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push 0
push eax
call fcn.00526a30
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0x1000
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x42683e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edi, dword [esp + 0x10]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x42686e
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x426885
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax + eax]
lea eax, [esp + 0x3c]
push str.explorer.exe
push eax
call fcn.00534d42
add esp, 8
test eax, eax
je 0x4268d4
lea ecx, [esp + 0x248]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4268b0
sub ecx, edx
je 0x4268f5
lea eax, [esp + 0x248]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00534d42
add esp, 8
test eax, eax
jne 0x4268f5
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x4268f5
cmp dword [esp + 0x10], edi
je 0x426921
lea eax, [esp + 0x18]
push eax
push esi
call ebx
test eax, eax
jne 0x426890
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2d4]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x426a80
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5d1914]
sub esp, 8
cmp dword [eax + 0xe20], 0
push esi
mov esi, ecx
je 0x426b00
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
test eax, eax
je 0x426b49
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 4
push eax
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
cmp dword [ebp - 4], 0
jne 0x426b00
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push 0x579be0
push 0x101
push esi
call fcn.0052c1a3
add esp, 0xc
mov ecx, 0x579be0
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x426b50
test dl, dl
je 0x426afc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x426b50
add eax, 2
add ecx, 2
test dl, dl
jne 0x426ae0
xor eax, eax
jmp 0x426b55
mov ecx, esi
mov dword [ebp - 8], 0x101
call fcn.00426950
test al, al
jne 0x426ad5
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x426ad5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4dd
je 0x426ac2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.processHelper::GetCurrentUser_:_getusername_error__d_n
push 0
push 0x5c3db0
call fcn.0041dde0
add esp, 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
sbb eax, eax
or eax, 1
test eax, eax
jne 0x426b7f
mov ecx, dword [0x5d1914]
cmp dword [ecx + 0xe20], eax
jne 0x426b7f
push 0x101
push str.Default
push 0x101
push esi
call fcn.00534cfe
add esp, 0x10
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x426b90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov esi, eax
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00526a30
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x426c3b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
lea eax, [ebp - 0x20c]
push str.LogonUI.exe
push eax
call fcn.00534b46
add esp, 8
test eax, eax
je 0x426c26
lea ecx, [ebp - 0x230]
push ecx
push esi
call edi
test eax, eax
jne 0x426bf0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00524763
mov esp, ebp
pop ebp
ret

Function at 0x4273a0
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
mov eax, dword [esi + 4]
test eax, eax
jne 0x4273c2
push str.34F673E0_878F_11D5_B98A_00B0D07B8C7C
push eax
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [esi + 4], eax
test eax, eax
je 0x4273e2
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
mov dword [esi + 0x109bc], eax
pop esi
setne al
pop ebx
ret
pop esi
mov al, bl
pop ebx
ret
Function at 0x428360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555c74
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5c3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5c65a4]
push 0x7f00
push 0
mov dword [ebp - 0x40], 0x30
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], 0x4280f0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0xffffff
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], str.borderscreen
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ebx, dword [ebp + 0x14]
sub ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push 0
push dword [0x5c65a4]
mov dword [ebp - 0x10], eax
push 0
push 0
push ebx
push eax
push connect
push connect
push 0x86000000
push str.borderscreen
push str.borderscreen
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
push str.user32
mov dword [0x5c66ac], eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x428465
push 0x5aad90
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push dword [0x5c66ac]
call edi
push 0xfffffffffffffff0
push dword [0x5c66ac]
call edi
and eax, 0xffbbffff
push eax
push 0xfffffffffffffff0
push dword [0x5c66ac]
call dword [sym.imp.USER32.dll_SetWindowLongA]
test esi, esi
je 0x4284d4
push 0xffffffffffffffec
push dword [0x5c66ac]
call edi
or eax, 0x80028
push eax
push 0xffffffffffffffec
push dword [0x5c66ac]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push dword [0x5c66ac]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push 0xffffff
push dword [0x5c66ac]
call esi
push 0x30
push ebx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [0x5c66ac]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x5cf18c]
test eax, eax
jne 0x428517
push 0x20
call fcn.00524776
add esp, 4
mov dword [ebp + 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00484690
mov dword [0x5cf18c], eax
cmp byte [eax + 5], 0
je 0x42852b
push 0x11
push dword [0x5c66ac]
call dword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555cd2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x5cf18c]
test ecx, ecx
jne 0x4285a2
push 0x20
call fcn.00524776
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00484690
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cf18c], ecx
mov esi, eax
mov edi, ecx
mov edx, ecx
jmp 0x4285aa
mov esi, ecx
mov edi, esi
mov eax, esi
mov edx, esi
cmp byte [ecx + 5], 0
jne 0x4285ed
test esi, esi
jne 0x4285e1
push 0x20
call fcn.00524776
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00484690
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [0x5cf18c], eax
mov edx, eax
jmp 0x4285e7
mov eax, edi
mov ecx, edi
mov edx, edi
cmp byte [ecx + 4], 0
jne 0x428621
test eax, eax
jne 0x42861b
push 0x20
call fcn.00524776
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00484690
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5cf18c], edx
cmp byte [edx + 6], 0
je 0x428637
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0xc], 0
je 0x42870a
cmp byte [ebp + 8], 0
je 0x4286dc
call fcn.00427a20
cmp byte [eax + 0xb], 0
je 0x4286b6
call fcn.00427a20
mov esi, eax
mov dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
js 0x4286b6
cmp dword [ebp + 0xc], 0
je 0x4286b6
push 0
call dword [sym.imp.dwmapi.dll_Ordinal_102]
test eax, eax
js 0x42868e
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
mov dword [ebp + 0xc], 0
test eax, eax
je 0x4286b2
lea ecx, [ebp + 0xc]
push ecx
call eax
test eax, eax
js 0x4286b2
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi + 0xb], al
jmp 0x4286b6
mov byte [esi + 0xb], 0
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0x427fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4286d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x42870d
push 0
push str.blackscreen
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4286fa
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
xor bl, bl
call fcn.00427a20
mov ecx, eax
call fcn.004849a0
jmp 0x42870d
mov bl, byte [ebp + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4287d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x5c3040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0x30
push edi
push 5
mov dword [esp + 0x14], 3
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], 0x428940
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], str.mouseSimulator
mov dword [esp + 0x3c], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
jne 0x428881
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, dword [esp + 0x3c]
push 0
push dword [esi + 0x20]
push 0
push edi
push eax
mov eax, dword [esp + 0x58]
sub eax, ecx
push eax
push edx
push ecx
push 0x86800000
push str.mouseSimulator
push str.mouseSimulator
push 0x800a8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
mov ebx, eax
push esi
push 0xffffffffffffffeb
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push ebx
call esi
and eax, 0xff30ffff
push eax
push 0xfffffffffffffff0
push ebx
call edi
push 0xffffffffffffffec
push ebx
call esi
and eax, 0xfffdfdfe
push eax
push 0xffffffffffffffec
push ebx
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push 0
push 0xffffff
push ebx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [esp + 0x4c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x42b8e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555f00
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004270f0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
call fcn.00426780
test eax, eax
je 0x42b959
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x11c], eax
push ecx
push 0x201eb
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 4], 0
xor ebx, ebx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x42ba0f
push 0x104
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42b9dd
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.00525fd0
add esp, 8
test eax, eax
jne 0x42b9db
mov eax, dword [ebp - 0x11c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42b9c7
push eax
call edi
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x42baf1
push ecx
jmp 0x42baef
mov byte [eax], bl
push 0x579be0
lea edi, [esi + 0xd18]
push 0x104
push edi
call fcn.0052c1a3
lea eax, [ebp - 0x114]
push eax
push 0x104
push edi
call fcn.0052c1fd
add esp, 0x18
mov eax, 0x5a7330
jmp 0x42ba2e
push 0x579be0
lea edi, [esi + 0xd18]
push 0x104
push edi
call fcn.0052c1a3
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
push edi
call fcn.0052c1fd
push str.UltraVNC.ini
push 0x104
push edi
call fcn.0052c1fd
mov eax, dword [ebp - 0x120]
add esp, 0x18
test eax, eax
je 0x42bab9
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x42ba6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x42bab9
mov eax, dword [ebp - 0x120]
push 0x104
push edi
push str._TEMP_
push eax
call dword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserA]
push 0x5a7330
push 0x104
push edi
call fcn.0052c1fd
push str.UltraVNC.ini
push 0x104
push edi
call fcn.0052c1fd
add esp, 0x18
mov ecx, esi
call fcn.0042bb10
mov ecx, esi
call fcn.0042bf30
jmp 0x42bacb
mov ecx, esi
call fcn.0042bb10
mov ecx, esi
call fcn.0042bf30
test ebx, ebx
jne 0x42bad1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0x11c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42bae4
push eax
call edi
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x42baf1
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x433710
Capabilities:
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5c3040]
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 0x433759
push 0x10
push 0x5aad00
mov edx, str.Failed_to_open_service_control_manager
call fcn.00425f30
add esp, 8
lea eax, [edi + 1]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
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 0x4337e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4337aa
push 0x10
push 0x5aad00
mov edx, str.Failed:_Permission_denied
call fcn.00425f30
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.00524763
mov esp, ebp
pop ebp
ret
cmp eax, 0x424
je 0x4337c5
push 0x10
push 0x5aad00
mov edx, str.Failed_to_open_the_service
call fcn.00425f30
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.00524763
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 0x433825
push 0x10
push 0x5aad00
mov edx, str.Failed_to_query_service_status
call fcn.00425f30
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.00524763
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1c], 1
push esi
je 0x43385c
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.00433710
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x43389b
push 0x10
push 0x5aad00
mov edx, str.Failed_to_delete_the_service
call fcn.00425f30
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.00524763
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.00524763
mov esp, ebp
pop ebp
ret