joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cf00
Capabilities:
Create thread
Power down monitor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [edi + 0xdbe8]
mov eax, dword [ecx]
cmp eax, vtable.vncServer.0
jne 0x41d161
mov eax, dword [ecx + 0x368]
test eax, eax
je 0x41d15c
cmp byte [ebp + 8], 0
je 0x41d05b
cmp byte [0x559372], 0
je 0x41cfa4
mov eax, dword [0x55937c]
mov dword [ebp + 8], 0
test eax, eax
je 0x41cfa4
lea ecx, [ebp + 8]
push ecx
call eax
test eax, eax
js 0x41cfa4
cmp dword [ebp + 8], 0
je 0x41cfa4
mov eax, dword [0x559380]
test eax, eax
je 0x41cf76
push 0
call eax
test eax, eax
js 0x41cf76
cmp dword [ebp + 8], 0
setne byte [0x559375]
mov eax, dword [0x55937c]
mov dword [ebp + 8], 0
test eax, eax
je 0x41cf9d
lea ecx, [ebp + 8]
push ecx
call eax
test eax, eax
js 0x41cf9d
cmp dword [ebp + 8], 0
setne byte [0x559372]
jmp 0x41cfa4
mov byte [0x559372], 0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [0x559373]
test al, al
je 0x41d037
cmp byte [0x559370], 0
jne 0x41cfe5
cmp byte [0x55936e], 0
mov cl, byte [0x559372]
jne 0x41cfd9
cmp byte [0x55936f], 0
je 0x41cfdd
test cl, cl
je 0x41cfe5
cmp al, 1
jne 0x41d037
test cl, cl
jne 0x41d037
mov eax, dword [edi + 0xdbec]
test eax, eax
je 0x41d009
cmp dword [eax + 0x10], 0
jne 0x41d037
mov dword [edi + 0xe110], 1
mov dword [edi + 0xe114], 1
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0x41cda0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41d02b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [edi + 0xe105], 1
pop edi
pop ebp
ret 4
push 2
push 0xf170
push 0x112
push dword [edi + 0xdc10]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [edi + 0xe104], 1
pop edi
pop ebp
ret 4
mov al, byte [0x559373]
test al, al
je 0x41d0ed
cmp byte [0x559370], 0
jne 0x41d095
cmp byte [0x55936e], 0
mov cl, byte [0x559372]
jne 0x41d089
cmp byte [0x55936f], 0
je 0x41d08d
test cl, cl
je 0x41d095
cmp al, 1
jne 0x41d0ed
test cl, cl
jne 0x41d0ed
mov eax, dword [edi + 0xdbec]
test eax, eax
je 0x41d0b9
cmp dword [eax + 0x10], 0
jne 0x41d0ed
mov dword [edi + 0xe110], 1
mov dword [edi + 0xe114], 1
push 0
push str.blackscreen
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x41d0d7
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, 0x559368
mov byte [edi + 0xe105], 0
call fcn.00477620
pop edi
pop ebp
ret 4
push 0xffffffffffffffff
push 0xf170
push 0x112
push dword [edi + 0xdc10]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 1
push 0
push 1
call dword [sym.imp.USER32.dll_mouse_event]
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0xffffffffffffffff
push 0
push 1
call dword [sym.imp.USER32.dll_mouse_event]
push 0
push str.blackscreen
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x41d14b
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, 0x559368
mov byte [edi + 0xe104], 0
call fcn.00477620
pop edi
pop ebp
ret 4
call dword [eax + 0x230]
jmp 0x41cf1f
Function at 0x41d6e0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x17c], edx
xor edi, edi
mov edx, ecx
movzx esi, byte [edi + str.80_]
movzx ecx, byte [edi + 0x518831]
mov eax, esi
shr eax, 3
and esi, 7
movzx eax, byte [eax + edx]
test byte [esi*2 + 0x5187f0], al
setne al
mov byte [ebp + edi - 0x3c], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x5187f0], al
movzx ecx, byte [edi + 0x518832]
setne al
mov byte [ebp + edi - 0x3b], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x5187f0], al
movzx ecx, byte [edi + 0x518833]
setne al
mov byte [ebp + edi - 0x3a], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x5187f0], al
setne al
mov byte [ebp + edi - 0x39], al
add edi, 4
cmp edi, 0x38
jl 0x41d700
mov ecx, 0x1e
xor ebx, ebx
mov dword [ebp - 0x178], ecx
nop dword [eax]
cmp dword [ebp - 0x17c], 1
lea eax, [ebx + ebx]
lea edi, [ebp - 0xf4]
cmovne ecx, eax
xor eax, eax
lea esi, [ebp + ecx*4 - 0xf0]
lea edi, [edi + ecx*4]
mov dword [esi], 0
movzx ecx, byte [ebx + 0x518a70]
mov dword [edi], 0
cmp ecx, 0x1c
jge 0x41d7dd
mov dl, byte [ebp + ecx - 0x3c]
jmp 0x41d7e1
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
inc ecx
inc eax
cmp eax, 0x1c
jl 0x41d7d2
movzx eax, byte [ebx + 0x518a70]
mov ecx, 0x1c
add eax, ecx
nop word [eax + eax]
cmp eax, 0x38
jge 0x41d80b
mov dl, byte [ebp + eax - 0x3c]
jmp 0x41d80f
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], dl
inc eax
inc ecx
cmp ecx, 0x38
jl 0x41d800
xor eax, eax
nop dword [eax]
movzx ecx, byte [eax + 0x518800]
cmp byte [ebp + ecx - 0x74], 0
je 0x41d837
mov ecx, dword [eax*4 + 0x518590]
or dword [edi], ecx
movzx ecx, byte [eax + 0x518818]
cmp byte [ebp + ecx - 0x74], 0
je 0x41d84e
mov ecx, dword [eax*4 + 0x518590]
or dword [esi], ecx
inc eax
cmp eax, 0x18
jl 0x41d820
mov ecx, dword [ebp - 0x178]
inc ebx
sub ecx, 2
mov dword [ebp - 0x178], ecx
cmp ecx, 0xfffffffe
jg 0x41d7a0
lea eax, [ebp - 0x174]
mov dword [ebp - 0x17c], 0x10
lea ebx, [ebp - 0xf4]
mov dword [ebp - 0x178], eax
nop dword [eax]
mov edi, dword [ebx + 4]
lea ebx, [ebx + 8]
mov esi, dword [ebx - 8]
mov edx, edi
shr edx, 4
mov eax, edi
and eax, 0xfc0
and edx, 0xfc000
or edx, eax
mov ecx, esi
and ecx, 0xfc0
shr edx, 6
shl ecx, 4
mov eax, esi
and eax, 0xfc0000
or ecx, eax
mov eax, dword [ebp - 0x178]
shl ecx, 6
or edx, ecx
mov ecx, esi
and ecx, 0x3f
and esi, 0x3f000
mov dword [eax], edx
mov edx, eax
shl ecx, 4
mov eax, edi
or ecx, esi
shr eax, 4
shl ecx, 0xc
and eax, 0x3f00
or ecx, eax
and edi, 0x3f
or ecx, edi
mov dword [edx + 4], ecx
add edx, 8
sub dword [ebp - 0x17c], 1
mov dword [ebp - 0x178], edx
jne 0x41d890
mov ecx, 0x20
lea esi, [ebp - 0x174]
mov edi, 0x569c30
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x41ef60
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2fc]
test eax, eax
je 0x41ef79
push eax
mov eax, dword [esi + 0x2e8]
call eax
add esp, 4
mov eax, dword [esi + 0x300]
test eax, eax
je 0x41ef8f
push eax
mov eax, dword [esi + 0x2e8]
call eax
add esp, 4
mov eax, dword [esi + 0x2d0]
mov dword [esi + 0x2fc], 0
mov dword [esi + 0x300], 0
mov byte [esi + 0x20], 0
call eax
test eax, eax
je 0x41efdc
push ebx
push dword [esi + 0x1c4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
setne bl
add esi, 0x1c8
cmp byte [esi], 0
je 0x41efd7
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, bl
pop ebx
pop esi
ret
xor al, al
pop esi
ret

Function at 0x41f350
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 0x19], 0
mov dword [edi + 0x14], 1
je 0x41f45f
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
push 0x4f
mov ebx, eax
call esi
cmp eax, dword [ebp + 0x14]
jne 0x41f387
cmp ebx, dword [ebp + 0x10]
jne 0x41f387
push 0
jmp 0x41f389
push 1
mov eax, dword [edi + 0x20]
call eax
add esp, 4
test al, al
jne 0x41f3b0
push str.d:_saasultravncwinvncwinvncdeskdupengine.cpp_:_DDengine_failed__not_supported_by_video_driver_n
push 8
push 0x558c50
call fcn.0041c840
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
ret 0x10
cmp dword [edi + 0x38], 0
jne 0x41f45d
mov esi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push str.3DA76AC7_62E7_44AF_A8D1_45022044BB3E
push 0
push 6
call esi
mov dword [edi + 0x38], eax
test eax, eax
je 0x41f45d
mov ebx, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0
push 0
push 0
push 6
push eax
call ebx
mov dword [edi + 0x3c], eax
test eax, eax
je 0x41f45d
cmp dword [edi + 0x40], 0
mov dword [edi + 0x10], eax
jne 0x41f45d
push str.0E3D996F_B070_4503_9090_198A9DA092D5
push 0
push 6
call esi
mov dword [edi + 0x40], eax
test eax, eax
je 0x41f45d
push 0
push 0
push 0
push 6
push eax
call ebx
mov dword [edi + 0x44], eax
test eax, eax
je 0x41f45d
cmp dword [edi + 0x48], 0
jne 0x41f45d
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventA]
push str.3BFBA3A0_2133_48B5_B5BD_E58C72853FFB
push 0
push 0x1f0003
call esi
mov dword [edi + 0x48], eax
test eax, eax
je 0x41f45d
cmp dword [edi + 0x4c], 0
jne 0x41f45d
push str.3A77E11C_B0B4_40F9_BC8B_D249116A76FE
push 0
push 0x1f0003
call esi
mov dword [edi + 0x4c], eax
test eax, eax
je 0x41f45d
mov eax, dword [edi + 0x44]
mov dword [edi + 0xc], eax
pop esi
pop ebx
pop edi
pop ebp
ret 0x10
Function at 0x41fa40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push str.SystemCurrentControlSetControlProductOptions
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41fb83
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push str.ProductSuite
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41fb79
push ebx
push dword [ebp - 8]
call fcn.004cbf7b
add esp, 4
mov ebx, eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ebx
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push str.ProductSuite
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41fb6f
mov esi, ebx
cmp byte [ebx], al
je 0x41fb6f
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
push str.Terminal_Server
push esi
call fcn.004d5932
add esp, 8
test eax, eax
jne 0x41fafb
or dword [edi + 0x130], 0x10
jmp 0x41fb5c
push 0x53e610
push esi
call fcn.004d5932
add esp, 8
test eax, eax
je 0x41fb55
push str.Small_Business
push esi
call fcn.004d5932
add esp, 8
test eax, eax
je 0x41fb55
push str.Enterprise
push esi
call fcn.004d5932
add esp, 8
test eax, eax
jne 0x41fb3a
or dword [edi + 0x130], 2
jmp 0x41fb5c
push str.Personal
push esi
call fcn.004d5932
add esp, 8
test eax, eax
jne 0x41fb5c
or dword [edi + 0x130], 0x40
jmp 0x41fb5c
or dword [edi + 0x130], 1
push esi
call ebx
inc esi
add esi, eax
cmp byte [esi], 0
jne 0x41fae0
mov ebx, dword [ebp - 0x10]
pop edi
push ebx
call fcn.004cbf38
add esp, 4
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41fb90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push str.SystemCurrentControlSetControlTerminal_Server
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41fc05
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.TSAppCompat
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41fbfc
cmp dword [ebp - 8], eax
jne 0x41fbfc
mov eax, dword [ebp + 8]
or dword [eax + 0x130], 0x200
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
Function at 0x4241f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x518bdc
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004d0170
push 0x53f624
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004d01ca
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004d01ca
add esp, 0x24
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x23c], str.runas
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x4257e0
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], 0x518c20
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.004cbf27
mov esp, ebp
pop ebp
ret

Function at 0x425880
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], 0x518c10
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.004cbf27
mov esp, ebp
pop ebp
ret

Function at 0x425920
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], 0x518bf4
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.004cbf27
mov esp, ebp
pop ebp
ret

Function at 0x4259c0
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], 0x518be8
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.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x425a60
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], 0x518c00
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.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x426120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [0x56a0b0]
push str.d:_saasultravncwinvncwinvnchidedesktop.cpp_:_Killwallpaper__i_n
push 8
push 0x558c50
call fcn.0041c840
add esp, 0x10
cmp dword [0x56a0b0], 0
jne 0x4262a2
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4261a3
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xa
push eax
push 0x56a0b8
push 0
push 0
push str.WallpaperStyle
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
push 0x569cb0
push 0x400
push 0x73
call esi
push 2
push 0x518188
push 0
push 0x14
call esi
push str.shell32.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x426279
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426218
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0x14
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x14], xmm0
push ecx
movlpd qword [ebp - 0xc], xmm0
call eax
test eax, eax
js 0x426218
movzx esi, word [ebp - 0x14]
movzx eax, word [ebp - 0x10]
shl esi, 0x10
or esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0x40047
jb 0x426279
push str.shell32.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x426279
push str.SHGetSettings
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42625e
push 0x200
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov esi, dword [ebp - 0x1c]
shl esi, 0x19
sar esi, 0x1f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x426279
xor cl, cl
call fcn.00426010
xor ecx, ecx
test eax, eax
setns cl
jmp 0x42627b
xor ecx, ecx
push ecx
push 1
push str.d:_saasultravncwinvncwinvnchidedesktop.cpp_:_Killwallpaper__i__i_n
push 8
push 0x558c50
mov dword [0x56a0b4], ecx
mov dword [0x56a0b0], 1
call fcn.0041c840
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x4262c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [0x56a0b0]
push str.d:_saasultravncwinvncwinvnchidedesktop.cpp_:_Restorewallpaper__i_n
push 8
push 0x558c50
call fcn.0041c840
mov eax, dword [0x56a0b0]
add esp, 0x10
test eax, eax
je 0x4263ea
push dword [0x56a0b4]
push eax
push str.d:_saasultravncwinvncwinvnchidedesktop.cpp_:_Restorewallpaper__i__i_n
push 8
push 0x558c50
call fcn.0041c840
add esp, 0x14
cmp dword [0x56a0b4], 0
je 0x426381
push str.shell32.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x426381
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42636b
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0x14
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x14], xmm0
push ecx
movlpd qword [ebp - 0xc], xmm0
call eax
test eax, eax
js 0x42636b
movzx esi, word [ebp - 0x14]
movzx eax, word [ebp - 0x10]
shl esi, 0x10
or esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0x40047
jb 0x426381
mov cl, 1
call fcn.00426010
push 2
push 0x569cb0
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x1c]
push eax
push 0x20006
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4263ea
mov ecx, 0x56a0b8
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4263c0
sub ecx, edx
push ecx
push 0x56a0b8
push 1
push 0
push str.WallpaperStyle
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x56a0b0], 0
pop esi
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
Function at 0x426a60
Capabilities:
Create process on windows
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x218]
mov ebx, ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004d0170
push str.__settingshelper
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004d01ca
push 0x53f624
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004d01ca
push ebx
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004d01ca
push 0x44
lea eax, [ebp - 0x278]
mov dword [ebp - 0x21c], 0
push 0
push eax
call fcn.004cddb0
add esp, 0x3c
mov dword [ebp - 0x270], str.Winsta0Default
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0x44
mov eax, 5
movups xmmword [ebp - 0x230], xmm0
push 0
push str.Shell_TrayWnd
mov word [ebp - 0x248], ax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x426bfe
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x426bfe
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x426bfe
lea eax, [ebp - 0x21c]
push eax
push 0x2000000
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
push 0
push 0
push 8
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x426bdc
push ecx
call esi
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x426be9
push eax
call esi
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x426bf6
push eax
call esi
cmp edi, 0x522
jne 0x426c05
mov ecx, ebx
call fcn.004241f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cbf27
mov esp, ebp
pop ebp
ret

Function at 0x426d40
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 0x426d62
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 0x426d82
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 0x429b90
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5674b8], 0
push esi
push edi
mov esi, edx
mov edi, ecx
jne 0x429bc5
push esi
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x429c1b
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x429c1b
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 4]
test eax, eax
je 0x429c1b
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [edi], eax
test eax, eax
je 0x429c1b
push esi
push 0x2000000
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret