joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e940
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x5d60c4]
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 0x41ea5a
lea eax, [esp + 0x150]
push 0x5c
push eax
call fcn.0052cf50
add esp, 8
test eax, eax
je 0x41ea5a
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 0x41e9b0
sub ecx, edx
cmp byte [esp + ecx + 0x14f], 0x5c
je 0x41e9dd
push 0x5bea9c
lea eax, [esp + 0x154]
push 0x104
push eax
call fcn.00531998
add esp, 0xc
push str..dsm
lea eax, [esp + 0x154]
push 0x104
push eax
call fcn.00531998
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 0x41ea5a
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 0x41ea17
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.0052b789
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.0052b789
mov esp, ebp
pop ebp
ret 4
Function at 0x41ea80
Capabilities:
Delete file
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5d60c4]
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.0052d9b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x184], eax
test eax, eax
jne 0x41eb79
push 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0052d9b0
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x104
push 0
push eax
call fcn.0052d9b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41eb1d
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0052cf50
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0053193e
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x5bea9c
push 0x104
push eax
call fcn.00531998
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push 0x104
push eax
call fcn.00531998
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x184], eax
mov eax, dword [edi + 0x184]
test eax, eax
je 0x41ecfb
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 0x5bec0c
push dword [edi + 0x184]
mov dword [edi + 0x2b4], eax
call esi
cmp dword [edi + 0x294], 0
mov dword [edi + 0x2b8], eax
je 0x41ece3
cmp dword [edi + 0x290], 0
je 0x41ece3
cmp dword [edi + 0x298], 0
je 0x41ece3
cmp dword [edi + 0x29c], 0
je 0x41ece3
cmp dword [edi + 0x2a0], 0
je 0x41ece3
cmp dword [edi + 0x2a4], 0
je 0x41ece3
cmp dword [edi + 0x2a8], 0
je 0x41ece3
cmp dword [edi + 0x2ac], 0
je 0x41ece3
cmp dword [edi + 0x2b0], 0
je 0x41ece3
cmp dword [edi + 0x2b4], 0
je 0x41ece3
test eax, eax
je 0x41ece3
mov byte [edi + 0x20], 1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x184]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebx], 0
je 0x41ecfb
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.0052b789
mov esp, ebp
pop ebp
ret 8
Function at 0x41ed10
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2bc]
test eax, eax
je 0x41ed29
push eax
mov eax, dword [esi + 0x2a8]
call eax
add esp, 4
mov eax, dword [esi + 0x2c0]
test eax, eax
je 0x41ed3f
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 0x41ed8c
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 0x41ed87
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 0x41f0b0
Capabilities:
Access peb ldr_data
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565c90
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5d60c4]
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 esi, 4
mov ebx, 5
mov dword [edi], vtable.DeskDupEngine.0
push 3
mov ecx, ebx
mov dword [edi + 8], 0
lea edx, [esi - 3]
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.0042af50
test al, al
push 0
cmovne esi, ebx
mov ebx, 6
xor edx, edx
mov ecx, ebx
call fcn.0042af50
test al, al
lea edx, [ebx - 4]
push 0
mov ecx, ebx
cmovne esi, ebx
call fcn.0042af50
add esp, 0xc
test al, al
je 0x41f2a0
push 0x104
lea eax, [ebp - 0x114]
mov dword [edi + 4], 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41f201
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.0052cf50
add esp, 8
test eax, eax
je 0x41f2b1
push str.ddengine.dll
mov byte [eax], 0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00531998
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 0x41f29a
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 0x41f29a
cmp dword [edi + 0x28], 0
je 0x41f29a
cmp dword [edi + 0x2c], 0
je 0x41f29a
cmp dword [edi + 0x30], 0
je 0x41f29a
cmp dword [edi + 0x34], 0
je 0x41f29a
test eax, eax
jne 0x41f2a3
mov byte [edi + 0x19], 0
jmp 0x41f2a3
mov dword [edi + 4], esi
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.0052b789
mov esp, ebp
pop ebp
ret
Function at 0x41f3d0
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 0x41f523
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 0x41f407
mov byte [ebp + 0x14], 0
cmp ebx, dword [ebp + 0x10]
je 0x41f40b
mov byte [ebp + 0x14], 1
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x41f446
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 0x41f474
push str.DeskDupEngine::videoDriver_start_:_DDengine_V2_failed__not_supported_by_video_driver_n
push 8
push 0x5d6df8
call fcn.0041d510
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41f474
push dword [ebp + 0x14]
call eax
add esp, 4
test al, al
jne 0x41f474
push str.DeskDupEngine::videoDriver_start_:_DDengine_failed__not_supported_by_video_driver_n
push 8
push 0x5d6df8
call fcn.0041d510
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
cmp dword [edi + 0x3c], 0
jne 0x41f521
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 0x41f521
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 0x41f521
cmp dword [edi + 0x44], 0
mov dword [edi + 0x10], eax
jne 0x41f521
push str.0E3D996F_B070_4503_9090_198A9DA092D5
push 0
push 6
call esi
mov dword [edi + 0x44], eax
test eax, eax
je 0x41f521
push 0
push 0
push 0
push 6
push eax
call ebx
mov dword [edi + 0x48], eax
test eax, eax
je 0x41f521
cmp dword [edi + 0x4c], 0
jne 0x41f521
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 0x41f521
cmp dword [edi + 0x50], 0
jne 0x41f521
push str.3A77E11C_B0B4_40F9_BC8B_D249116A76FE
push 0
push 0x1f0003
call esi
mov dword [edi + 0x50], eax
test eax, eax
je 0x41f521
mov eax, dword [edi + 0x48]
mov dword [edi + 0xc], eax
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
Function at 0x41fb50
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 0x41fc93
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 0x41fc89
push ebx
push dword [ebp - 8]
call fcn.0052b7da
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 0x41fc7f
mov esi, ebx
cmp byte [ebx], al
je 0x41fc7f
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.00539cf8
add esp, 8
test eax, eax
jne 0x41fc0b
or dword [edi + 0x130], 0x10
jmp 0x41fc6c
push 0x5befdc
push esi
call fcn.00539cf8
add esp, 8
test eax, eax
je 0x41fc65
push str.Small_Business
push esi
call fcn.00539cf8
add esp, 8
test eax, eax
je 0x41fc65
push str.Enterprise
push esi
call fcn.00539cf8
add esp, 8
test eax, eax
jne 0x41fc4a
or dword [edi + 0x130], 2
jmp 0x41fc6c
push str.Personal
push esi
call fcn.00539cf8
add esp, 8
test eax, eax
jne 0x41fc6c
or dword [edi + 0x130], 0x40
jmp 0x41fc6c
or dword [edi + 0x130], 1
push esi
call ebx
inc esi
add esi, eax
cmp byte [esi], 0
jne 0x41fbf0
mov ebx, dword [ebp - 0x10]
pop edi
push ebx
call fcn.0052b797
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 0x41fca0
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 0x41fd18
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 0x41fd0f
cmp dword [ebp - 8], eax
jne 0x41fd0f
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 0x423a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5d60c4]
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 0x5ba03c
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0053193e
push 0x5c0044
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00531998
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00531998
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.0052b789
mov esp, ebp
pop ebp
ret
Function at 0x425430
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5d60c4]
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], 0x5ba084
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.0052b789
mov esp, ebp
pop ebp
ret

Function at 0x4254f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5d60c4]
xor eax, ebp
mov dword [ebp - 4], eax
push str.uvnc_service
push str.net_stop___s_
lea eax, [ebp - 0x128]
push 0x124
push eax
call fcn.00426900
add esp, 0x10
lea eax, [ebp - 0x128]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret

Function at 0x425540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5d60c4]
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], 0x5ba070
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.0052b789
mov esp, ebp
pop ebp
ret

Function at 0x425600
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5d60c4]
xor eax, ebp
mov dword [ebp - 4], eax
push str.uvnc_service
push str.net_start___s_
lea eax, [ebp - 0x128]
push 0x124
push eax
call fcn.00426900
add esp, 0x10
lea eax, [ebp - 0x128]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret
Function at 0x425650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5d60c4]
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], 0x5ba054
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.0052b789
mov esp, ebp
pop ebp
ret

Function at 0x425710
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5d60c4]
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], 0x5ba048
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.0052b789
mov esp, ebp
pop ebp
ret

Function at 0x4257d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5d60c4]
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], 0x5ba060
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.0052b789
mov esp, ebp
pop ebp
ret
Function at 0x426310
Capabilities:
Enumerate processes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2cc
mov eax, dword [0x5d60c4]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x140]
call fcn.00426c50
push 0x5b9638
lea eax, [esp + 0x24c]
push 0x81
push eax
call fcn.0053193e
add esp, 0xc
lea eax, [esp + 0x140]
push eax
push 0x100
lea eax, [esp + 0x250]
push eax
push 0x5b9638
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.0052d9b0
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 0x4263ce
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 0x4263fe
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x426415
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.0052b789
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.0053a44c
add esp, 8
test eax, eax
je 0x426464
lea ecx, [esp + 0x248]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426440
sub ecx, edx
je 0x426485
lea eax, [esp + 0x248]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0053a44c
add esp, 8
test eax, eax
jne 0x426485
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 0x426485
cmp dword [esp + 0x10], edi
je 0x4264b1
lea eax, [esp + 0x18]
push eax
push esi
call ebx
test eax, eax
jne 0x426420
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.0052b789
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.0052b789
mov esp, ebp
pop ebp
ret