joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c30
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x400
push esi
xor esi, esi
cmp dword [0x2457354], 0x400
push edi
jne 0x401c7c
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.004041a1
push esi
call fcn.00404828
push esi
push esi
call fcn.00404673
push esi
call fcn.004048de
add esp, 0x14
xor edi, edi
cmp edi, 0x16c76
jge 0x401c8e
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401cb4
inc edi
cmp edi, 0x3003f
jl 0x401c7e
mov eax, dword [0x439b6c]
mov dword [0x2457354], eax
call fcn.0040192c
mov edi, 0x3078f
cmp dword [0x2457354], 0x51f
jne 0x401ce0
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x401cc8
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x4027b3
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43281d
call fcn.004326a0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00403489
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.004048ed
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x4027fb
call fcn.0040323d
mov dword [ebx], eax
call fcn.00402ffc
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x4027fd
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x404f75
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43899c]
jne 0x404f7f
repz ret
jmp fcn.0040b6ac
Function at 0x100cd3f0
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x100cd4dc
push edi
mov edi, dword [esp + 0x14]
inc edi
lea ebx, [ebx]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x100cd46e
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 0x100f9fa8]
mov byte [eax + 3], cl
jmp 0x100cd4bf
shl edx, 0x10
cmp esi, 2
jne 0x100cd47e
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x100f9fa8]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x100cd4ab
lea ecx, [esi + 0x3c]
jmp 0x100cd4b8
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + 0x100f9fa8]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x100cd410
pop edi
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
ret
mov byte [eax], bl
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6f2b2bc7
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..tls
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x25606f43
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x41ccd0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x17c], edx
mov edi, ecx
xor esi, esi
nop
movzx edx, byte [esi + str.80_]
movzx ecx, byte [esi + 0x57a1a1]
mov eax, edx
shr eax, 3
and edx, 7
movzx eax, byte [eax + edi]
test byte [edx*2 + 0x57a160], al
setne al
mov byte [ebp + esi - 0x3c], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edi]
test byte [ecx*2 + 0x57a160], al
movzx ecx, byte [esi + 0x57a1a2]
setne al
mov byte [ebp + esi - 0x3b], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edi]
test byte [ecx*2 + 0x57a160], al
movzx ecx, byte [esi + 0x57a1a3]
setne al
mov byte [ebp + esi - 0x3a], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edi]
test byte [ecx*2 + 0x57a160], al
setne al
mov byte [ebp + esi - 0x39], al
add esi, 4
cmp esi, 0x38
jl 0x41ccf0
mov ecx, 0x1e
push ebx
xor ebx, ebx
mov dword [ebp - 0x178], ecx
nop
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 + 0x57a3e0]
mov dword [edi], 0
cmp ecx, 0x1c
jge 0x41cdcd
mov dl, byte [ebp + ecx - 0x3c]
jmp 0x41cdd1
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
inc ecx
inc eax
cmp eax, 0x1c
jl 0x41cdc2
movzx eax, byte [ebx + 0x57a3e0]
mov ecx, 0x1c
add eax, ecx
nop word [eax + eax]
cmp eax, 0x38
jge 0x41cdfb
mov dl, byte [ebp + eax - 0x3c]
jmp 0x41cdff
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], dl
inc eax
inc ecx
cmp ecx, 0x38
jl 0x41cdf0
xor eax, eax
nop dword [eax]
movzx ecx, byte [eax + 0x57a170]
lea edx, [eax*4]
cmp byte [ebp + ecx - 0x74], 0
je 0x41ce2d
mov ecx, dword [edx + 0x579f00]
or dword [edi], ecx
movzx ecx, byte [eax + 0x57a188]
cmp byte [ebp + ecx - 0x74], 0
je 0x41ce43
mov ecx, dword [edx + 0x579f00]
or dword [esi], ecx
inc eax
cmp eax, 0x18
jl 0x41ce10
mov ecx, dword [ebp - 0x178]
inc ebx
sub ecx, 2
mov dword [ebp - 0x178], ecx
cmp ecx, 0xfffffffe
jg 0x41cd90
lea eax, [ebp - 0x174]
mov dword [ebp - 0x17c], 0x10
lea ebx, [ebp - 0xf4]
mov dword [ebp - 0x178], eax
nop
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 0x41ce80
mov ecx, 0x20
lea esi, [ebp - 0x174]
mov edi, 0x5d1b90
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x41de10
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x5c3040]
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 0x41dec2
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.00524763
mov esp, ebp
pop ebp
ret
Function at 0x41f300
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x5c3040]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
xor esi, esi
push 0x104
lea eax, [esp + 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41f41a
lea eax, [esp + 0x150]
push 0x5c
push eax
call fcn.00525fd0
add esp, 8
test eax, eax
je 0x41f41a
lea ecx, [esp + 0x150]
mov byte [eax], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f370
sub ecx, edx
cmp byte [esp + ecx + 0x14f], 0x5c
je 0x41f39d
push 0x5a7330
lea eax, [esp + 0x154]
push 0x104
push eax
call fcn.0052c1fd
add esp, 0xc
push str..dsm
lea eax, [esp + 0x154]
push 0x104
push eax
call fcn.0052c1fd
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41f41a
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x3c]
push eax
push 0
push 0x143
push dword [esp + 0x18]
call ebx
lea eax, [esp + 0x10]
inc esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41f3d7
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret 4
Function at 0x41f440
Capabilities:
Delete file
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0x104
push 0
lea ebx, [edi + 0x188]
push ebx
call fcn.00526a30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x184], eax
test eax, eax
jne 0x41f54e
push 0x103
push eax
mov byte [ebp - 0x218], al
lea eax, [ebp - 0x217]
push eax
call fcn.00526a30
add esp, 0xc
mov byte [ebp - 0x110], 0
lea eax, [ebp - 0x10f]
push 0x103
push 0
push eax
call fcn.00526a30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41f4ea
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00525fd0
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0052c1a3
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x5a7330
push 0x104
push eax
call fcn.0052c1fd
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push 0x104
push eax
call fcn.0052c1fd
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x184], eax
test eax, eax
je 0x41f6c2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Description
push eax
call esi
push str.Startup
push dword [edi + 0x184]
mov dword [edi + 0x28c], eax
call esi
push str.Shutdown
push dword [edi + 0x184]
mov dword [edi + 0x294], eax
call esi
push str.SetParams
push dword [edi + 0x184]
mov dword [edi + 0x290], eax
call esi
push str.GetParams
push dword [edi + 0x184]
mov dword [edi + 0x298], eax
call esi
push str.TransformBuffer
push dword [edi + 0x184]
mov dword [edi + 0x29c], eax
call esi
push str.RestoreBuffer
push dword [edi + 0x184]
mov dword [edi + 0x2a0], eax
call esi
push str.FreeBuffer
push dword [edi + 0x184]
mov dword [edi + 0x2a4], eax
call esi
push str.Reset
push dword [edi + 0x184]
mov dword [edi + 0x2a8], eax
call esi
push str.CreatePluginInterface
push dword [edi + 0x184]
mov dword [edi + 0x2ac], eax
call esi
push str.CreateIntegratedPluginInterface
push dword [edi + 0x184]
mov dword [edi + 0x2b0], eax
call esi
push 0x5a74e8
push dword [edi + 0x184]
mov dword [edi + 0x2b4], eax
call esi
cmp dword [edi + 0x294], 0
mov dword [edi + 0x2b8], eax
je 0x41f6aa
cmp dword [edi + 0x290], 0
je 0x41f6aa
cmp dword [edi + 0x298], 0
je 0x41f6aa
cmp dword [edi + 0x29c], 0
je 0x41f6aa
cmp dword [edi + 0x2a0], 0
je 0x41f6aa
cmp dword [edi + 0x2a4], 0
je 0x41f6aa
cmp dword [edi + 0x2a8], 0
je 0x41f6aa
cmp dword [edi + 0x2ac], 0
je 0x41f6aa
cmp dword [edi + 0x2b0], 0
je 0x41f6aa
cmp dword [edi + 0x2b4], 0
je 0x41f6aa
test eax, eax
je 0x41f6aa
mov byte [edi + 0x20], 1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x184]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebx], 0
je 0x41f6c2
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00524763
mov esp, ebp
pop ebp
ret 8
Function at 0x41f6e0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2bc]
test eax, eax
je 0x41f6fa
push eax
mov eax, dword [esi + 0x2a8]
call eax
add esp, 4
mov eax, dword [esi + 0x2c0]
test eax, eax
je 0x41f710
push eax
mov eax, dword [esi + 0x2a8]
call eax
add esp, 4
mov eax, dword [esi + 0x290]
mov dword [esi + 0x2bc], 0
mov dword [esi + 0x2c0], 0
mov byte [esi + 0x20], 0
call eax
test eax, eax
je 0x41f75e
push ebx
push dword [esi + 0x184]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
setne bl
add esi, 0x188
cmp byte [esi], 0
je 0x41f758
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, bl
pop ebx
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x41faa0
Capabilities:
Access peb ldr_data
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555b30
mov eax, dword fs:[0]
push eax
sub esp, 0x110
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 edi, ecx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 4], 0
mov edx, 1
push 3
mov dword [edi], vtable.DeskDupEngine.0
mov dword [edi + 8], 0
lea ecx, [edx + 4]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov byte [edi + 0x19], 1
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.0042b4d0
movzx esi, al
mov ebx, 6
push 0
xor edx, edx
mov ecx, ebx
add esi, 4
call fcn.0042b4d0
test al, al
lea edx, [ebx - 4]
push 0
mov ecx, ebx
cmovne esi, ebx
call fcn.0042b4d0
add esp, 0xc
mov ecx, 0xa
test al, al
cmovne esi, ecx
mov dword [edi + 4], esi
cmp esi, ecx
jne 0x41fc8e
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41fbf1
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.00525fd0
add esp, 8
test eax, eax
je 0x41fc9c
push str.ddengine.dll
mov byte [eax], 0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0052c1fd
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x41fc8a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartW8
push eax
call esi
push str.StartW8V2
push dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call esi
push str.StopW8
push dword [edi + 0x1c]
mov dword [edi + 0x24], eax
call esi
push str.LockW8
push dword [edi + 0x1c]
mov dword [edi + 0x28], eax
call esi
push str.UnlockW8
push dword [edi + 0x1c]
mov dword [edi + 0x2c], eax
call esi
push str.ShowCursorW8
push dword [edi + 0x1c]
mov dword [edi + 0x30], eax
call esi
push str.HideCursorW8
push dword [edi + 0x1c]
mov dword [edi + 0x34], eax
call esi
cmp dword [edi + 0x20], 0
mov dword [edi + 0x38], eax
je 0x41fc8a
cmp dword [edi + 0x28], 0
je 0x41fc8a
cmp dword [edi + 0x2c], 0
je 0x41fc8a
cmp dword [edi + 0x30], 0
je 0x41fc8a
cmp dword [edi + 0x34], 0
je 0x41fc8a
test eax, eax
jne 0x41fc8e
mov byte [edi + 0x19], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov eax, edi
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 0x41fdc0
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 0x41ff13
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 0x41fdf7
mov byte [ebp + 0x14], 0
cmp ebx, dword [ebp + 0x10]
je 0x41fdfb
mov byte [ebp + 0x14], 1
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x41fe36
mov eax, 0x3e8
cdq
idiv dword [ebp + 0x1c]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call ecx
add esp, 0xc
test al, al
jne 0x41fe64
push str.DeskDupEngine::videoDriver_start_:_DDengine_V2_failed__not_supported_by_video_driver_n
push 8
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41fe64
push dword [ebp + 0x14]
call eax
add esp, 4
test al, al
jne 0x41fe64
push str.DeskDupEngine::videoDriver_start_:_DDengine_failed__not_supported_by_video_driver_n
push 8
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
cmp dword [edi + 0x3c], 0
jne 0x41ff11
mov esi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push str.3DA76AC7_62E7_44AF_A8D1_45022044BB3E
push 0
push 6
call esi
mov dword [edi + 0x3c], eax
test eax, eax
je 0x41ff11
mov ebx, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0
push 0
push 0
push 6
push eax
call ebx
mov dword [edi + 0x40], eax
test eax, eax
je 0x41ff11
cmp dword [edi + 0x44], 0
mov dword [edi + 0x10], eax
jne 0x41ff11
push str.0E3D996F_B070_4503_9090_198A9DA092D5
push 0
push 6
call esi
mov dword [edi + 0x44], eax
test eax, eax
je 0x41ff11
push 0
push 0
push 0
push 6
push eax
call ebx
mov dword [edi + 0x48], eax
test eax, eax
je 0x41ff11
cmp dword [edi + 0x4c], 0
jne 0x41ff11
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventA]
push str.3BFBA3A0_2133_48B5_B5BD_E58C72853FFB
push 0
push 0x1f0003
call esi
mov dword [edi + 0x4c], eax
test eax, eax
je 0x41ff11
cmp dword [edi + 0x50], 0
jne 0x41ff11
push str.3A77E11C_B0B4_40F9_BC8B_D249116A76FE
push 0
push 0x1f0003
call esi
mov dword [edi + 0x50], eax
test eax, eax
je 0x41ff11
mov eax, dword [edi + 0x48]
mov dword [edi + 0xc], eax
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
Function at 0x4205a0
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 0x4206e3
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 0x4206d9
push ebx
push dword [ebp - 8]
call fcn.005247b4
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 0x4206cf
mov esi, ebx
cmp byte [ebx], al
je 0x4206cf
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.005345ef
add esp, 8
test eax, eax
jne 0x42065b
or dword [edi + 0x130], 0x10
jmp 0x4206bc
push 0x5a78b4
push esi
call fcn.005345ef
add esp, 8
test eax, eax
je 0x4206b5
push str.Small_Business
push esi
call fcn.005345ef
add esp, 8
test eax, eax
je 0x4206b5
push str.Enterprise
push esi
call fcn.005345ef
add esp, 8
test eax, eax
jne 0x42069a
or dword [edi + 0x130], 2
jmp 0x4206bc
push str.Personal
push esi
call fcn.005345ef
add esp, 8
test eax, eax
jne 0x4206bc
or dword [edi + 0x130], 0x40
jmp 0x4206bc
or dword [edi + 0x130], 1
push esi
call ebx
inc esi
add esi, eax
cmp byte [esi], 0
jne 0x420640
mov ebx, dword [ebp - 0x10]
pop edi
push ebx
call fcn.00524771
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 0x4206f0
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 0x420768
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0
push str.TSAppCompat
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42075f
cmp dword [ebp - 8], eax
jne 0x42075f
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 0x4241d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5c3040]
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 0x57a5c4
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0052c1a3
push 0x5a88f0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0052c1fd
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0052c1fd
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0x3c
add esp, 0x24
movlpd qword [ebp - 0x224], xmm0
movlpd qword [ebp - 0x21c], xmm0
movlpd qword [ebp - 0x214], xmm0
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.00524763
mov esp, ebp
pop ebp
ret