joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f400
Capabilities:
Access peb ldr_data
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547a60
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5b0008]
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.0042a4d0
test al, al
push 0
cmovne esi, ebx
mov ebx, 6
xor edx, edx
mov ecx, ebx
call fcn.0042a4d0
test al, al
lea edx, [ebx - 4]
push 0
mov ecx, ebx
cmovne esi, ebx
call fcn.0042a4d0
add esp, 0xc
test al, al
je 0x41f5f0
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 0x41f551
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.00519d20
add esp, 8
test eax, eax
je 0x41f601
push str.ddengine.dll
mov byte [eax], 0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0051e768
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 0x41f5ea
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 0x41f5ea
cmp dword [edi + 0x28], 0
je 0x41f5ea
cmp dword [edi + 0x2c], 0
je 0x41f5ea
cmp dword [edi + 0x30], 0
je 0x41f5ea
cmp dword [edi + 0x34], 0
je 0x41f5ea
test eax, eax
jne 0x41f5f3
mov byte [edi + 0x19], 0
jmp 0x41f5f3
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.00518799
mov esp, ebp
pop ebp
ret
Function at 0x41f720
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 0x41f873
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 0x41f757
mov byte [ebp + 0x14], 0
cmp ebx, dword [ebp + 0x10]
je 0x41f75b
mov byte [ebp + 0x14], 1
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x41f796
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 0x41f7c4
push str.DeskDupEngine::videoDriver_start_:_DDengine_V2_failed__not_supported_by_video_driver_n
push 8
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41f7c4
push dword [ebp + 0x14]
call eax
add esp, 4
test al, al
jne 0x41f7c4
push str.DeskDupEngine::videoDriver_start_:_DDengine_failed__not_supported_by_video_driver_n
push 8
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
cmp dword [edi + 0x3c], 0
jne 0x41f871
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 0x41f871
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 0x41f871
cmp dword [edi + 0x44], 0
mov dword [edi + 0x10], eax
jne 0x41f871
push str.0E3D996F_B070_4503_9090_198A9DA092D5
push 0
push 6
call esi
mov dword [edi + 0x44], eax
test eax, eax
je 0x41f871
push 0
push 0
push 0
push 6
push eax
call ebx
mov dword [edi + 0x48], eax
test eax, eax
je 0x41f871
cmp dword [edi + 0x4c], 0
jne 0x41f871
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 0x41f871
cmp dword [edi + 0x50], 0
jne 0x41f871
push str.3A77E11C_B0B4_40F9_BC8B_D249116A76FE
push 0
push 0x1f0003
call esi
mov dword [edi + 0x50], eax
test eax, eax
je 0x41f871
mov eax, dword [edi + 0x48]
mov dword [edi + 0xc], eax
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
Function at 0x41fe70
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 0x41ffb3
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 0x41ffa9
push ebx
push dword [ebp - 8]
call fcn.005187ea
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 0x41ff9f
mov esi, ebx
cmp byte [ebx], al
je 0x41ff9f
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.00526ac8
add esp, 8
test eax, eax
jne 0x41ff2b
or dword [edi + 0x130], 0x10
jmp 0x41ff8c
push 0x597a68
push esi
call fcn.00526ac8
add esp, 8
test eax, eax
je 0x41ff85
push str.Small_Business
push esi
call fcn.00526ac8
add esp, 8
test eax, eax
je 0x41ff85
push str.Enterprise
push esi
call fcn.00526ac8
add esp, 8
test eax, eax
jne 0x41ff6a
or dword [edi + 0x130], 2
jmp 0x41ff8c
push str.Personal
push esi
call fcn.00526ac8
add esp, 8
test eax, eax
jne 0x41ff8c
or dword [edi + 0x130], 0x40
jmp 0x41ff8c
or dword [edi + 0x130], 1
push esi
call ebx
inc esi
add esi, eax
cmp byte [esi], 0
jne 0x41ff10
mov ebx, dword [ebp - 0x10]
pop edi
push ebx
call fcn.005187a7
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 0x41ffc0
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 0x420035
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 0x42002c
cmp dword [ebp - 8], eax
jne 0x42002c
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 0x4231f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5b0008]
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 0x56a9ac
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051e70e
push 0x598a90
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051e768
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051e768
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.00518799
mov esp, ebp
pop ebp
ret
Function at 0x424b90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b0008]
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], 0x56a9f4
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.00518799
mov esp, ebp
pop ebp
ret

Function at 0x424c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b0008]
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], 0x56a9e0
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.00518799
mov esp, ebp
pop ebp
ret

Function at 0x424d10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b0008]
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], 0x56a9c4
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.00518799
mov esp, ebp
pop ebp
ret
Function at 0x424dd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b0008]
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], 0x56a9b8
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.00518799
mov esp, ebp
pop ebp
ret

Function at 0x424e90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b0008]
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], 0x56a9d0
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.00518799
mov esp, ebp
pop ebp
ret
Function at 0x4257b0
Capabilities:
Enumerate processes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2cc
mov eax, dword [0x5b0008]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x140]
call fcn.00426160
push 0x569fa8
lea eax, [esp + 0x24c]
push 0x81
push eax
call fcn.0051e70e
add esp, 0xc
lea eax, [esp + 0x140]
push eax
push 0x100
lea eax, [esp + 0x250]
push eax
push 0x569fa8
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.0051a780
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 0x42586e
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 0x42589e
lea eax, [esp + 0x18]
mov dword [esp + 0x18], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x4258b5
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.00518799
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.0052bbfc
add esp, 8
test eax, eax
je 0x425904
lea ecx, [esp + 0x248]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4258e0
sub ecx, edx
je 0x425925
lea eax, [esp + 0x248]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0052bbfc
add esp, 8
test eax, eax
jne 0x425925
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 0x425925
cmp dword [esp + 0x10], edi
je 0x425951
lea eax, [esp + 0x18]
push eax
push esi
call ebx
test eax, eax
jne 0x4258c0
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.00518799
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.00518799
mov esp, ebp
pop ebp
ret
Function at 0x425ab0
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5bdff0]
sub esp, 8
cmp dword [eax + 0xe20], 0
push esi
mov esi, ecx
je 0x425b30
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
test eax, eax
je 0x425b79
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 0x425b30
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push 0x569fa8
push 0x101
push esi
call fcn.0051e70e
add esp, 0xc
mov ecx, 0x569fa8
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x425b80
test dl, dl
je 0x425b2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x425b80
add eax, 2
add ecx, 2
test dl, dl
jne 0x425b10
xor eax, eax
jmp 0x425b85
mov ecx, esi
mov dword [ebp - 8], 0x101
call fcn.00425980
test al, al
jne 0x425b05
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x425b05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4dd
je 0x425af2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.processHelper::GetCurrentUser_:_getusername_error__d_n
push 0
push 0x5b0d48
call fcn.0041ccb0
add esp, 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
sbb eax, eax
or eax, 1
test eax, eax
jne 0x425baf
mov eax, dword [0x5bdff0]
cmp dword [eax + 0xe20], 0
jne 0x425baf
push 0x101
push str.Default
push 0x101
push esi
call fcn.0052bbb8
add esp, 0x10
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x425bc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5b0008]
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.0051a780
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 0x425c6b
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.0052ba00
add esp, 8
test eax, eax
je 0x425c56
lea ecx, [ebp - 0x230]
push ecx
push esi
call edi
test eax, eax
jne 0x425c20
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00518799
mov esp, ebp
pop ebp
ret

Function at 0x426410
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 0x426432
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 0x426452
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 0x4273e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547ba4
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5b0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5b2d20]
push 0x7f00
push 0
mov dword [ebp - 0x3c], 0x30
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 0x427170
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0xffffff
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], str.borderscreen
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edi, dword [ebp + 0x14]
sub edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
sub ebx, dword [ebp + 8]
push 0
push dword [0x5b2d20]
push 0
push 0
push edi
push ebx
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 [0x5b2e28], eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x4274e2
push 0x59af30
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0xfffffffffffffff0
push dword [0x5b2e28]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push dword [0x5b2e28]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffbbffff
push eax
push 0xfffffffffffffff0
push dword [0x5b2e28]
call dword [sym.imp.USER32.dll_SetWindowLongA]
test esi, esi
je 0x427557
push 0xffffffffffffffec
push dword [0x5b2e28]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80028
push eax
push 0xffffffffffffffec
push dword [0x5b2e28]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push dword [0x5b2e28]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push 0xffffff
push dword [0x5b2e28]
call esi
push 0x30
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [0x5b2e28]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x5bb8f8]
test eax, eax
jne 0x427598
push 0x20
call fcn.005187ac
add esp, 4
mov dword [ebp + 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0047a120
mov dword [0x5bb8f8], eax
cmp byte [eax + 5], 0
je 0x4275ac
push 0x11
push dword [0x5b2e28]
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 0x4275c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547c02
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5b0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x5bb8f8]
test ecx, ecx
jne 0x42761b
push 0x20
call fcn.005187ac
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0047a120
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5bb8f8], ecx
jmp 0x42761d
mov eax, ecx
cmp byte [ecx + 5], 0
jne 0x427656
test eax, eax
jne 0x42764e
push 0x20
call fcn.005187ac
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0047a120
mov dword [ebp - 4], 0xffffffff
mov dword [0x5bb8f8], eax
mov ecx, eax
cmp byte [ecx + 4], 0
jne 0x427687
test eax, eax
jne 0x427681
push 0x20
call fcn.005187ac
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0047a120
mov dword [ebp - 4], 0xffffffff
mov dword [0x5bb8f8], eax
cmp byte [eax + 6], 0
je 0x42769c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0xc], 0
je 0x42776f
cmp byte [ebp + 8], 0
je 0x427741
call fcn.00426a90
cmp byte [eax + 0xb], 0
je 0x42771b
call fcn.00426a90
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 0x42771b
cmp dword [ebp + 0xc], 0
je 0x42771b
push 0
call dword [sym.imp.dwmapi.dll_Ordinal_102]
test eax, eax
js 0x4276f3
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 0x427717
lea ecx, [ebp + 0xc]
push ecx
call eax
test eax, eax
js 0x427717
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi + 0xb], al
jmp 0x42771b
mov byte [esi + 0xb], 0
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0x427050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42773d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x427772
push 0
push str.blackscreen
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x42775f
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
xor bl, bl
call fcn.00426a90
mov ecx, eax
call fcn.0047a420
jmp 0x427772
mov bl, byte [ebp + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc