joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421943
Capabilities:
Log keystrokes via polling
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
mov esi, 0x8000
test esi, eax
je 0x4219f5
push 0x11
call edi
test esi, eax
je 0x4219f5
cmp dword [0x4a7a24], 1
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jne 0x4219e6
push 0x73
call edi
test esi, eax
jne 0x4219e6
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.KILLLL_n
call esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x4219f5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x4219f5
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp - 4]
je 0x4219f5
push dword [ebp - 4]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4219f5
push str.TERMINATE_n
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4219f5
push 0x73
call edi
shr eax, 0xf
and eax, 1
mov dword [0x4a7a24], eax
pop edi
pop esi
leave
ret

Function at 0x421fdc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x47ec38]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
lea ecx, [ebp - 4]
push eax
call fcn.00407038
push str.RESTART_DESKTOPOK_2018
lea ecx, [ebp - 8]
call fcn.0040181a
push 5
push 0
push dword [ebp - 4]
push 0x444098
push str.open
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xfefe
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 8]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
pop esi
leave
ret

Function at 0x422054
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push esi
lea eax, [ebp - 0x24c]
push 0x104
push eax
push dword [0x47ec38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor esi, esi
push 0x3c
lea eax, [ebp - 0x44]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 4]
mov dword [ebp - 0x44], 0x3c
push eax
call fcn.00407038
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x40], esi
call fcn.00401b61
push str.RESTART_DESKTOPOK_2018
lea ecx, [ebp - 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], 1
call fcn.0040181a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 0x4438bc
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop esi
je 0x4220f5
push 0xfefe
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 8]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
leave
ret 4
Function at 0x422109
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push esi
lea eax, [ebp - 0x264]
push 0x104
push eax
push dword [0x47ec38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor esi, esi
push 0x3c
lea eax, [ebp - 0x5c]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x264]
lea ecx, [ebp - 4]
mov dword [ebp - 0x5c], 0x3c
push eax
call fcn.00407038
push str.cmd.exe
lea ecx, [ebp - 4]
call fcn.0040199b
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x58], esi
call fcn.00401b61
push 0x445bc8
lea ecx, [ebp - 8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x40], esi
call fcn.0040181a
push 0x44293c
lea ecx, [ebp - 0x18]
call fcn.0040181a
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x264]
push eax
push str._k___
lea ecx, [ebp - 0x14]
call fcn.0040181a
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401a81
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004019df
lea ecx, [ebp - 0x20]
call fcn.004017ee
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 0x1c]
call fcn.004017ee
lea ecx, [ebp - 0x14]
call fcn.004017ee
lea ecx, [ebp - 0x18]
call fcn.004017ee
lea ecx, [ebp - 8]
call fcn.004017ee
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 0x4438bc
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x10], esi
je 0x422239
cmp eax, esi
je 0x422239
push 0xfefe
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0xc]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
lea ecx, [ebp + 0xc]
call fcn.004017ee
pop esi
leave
ret

Function at 0x422254
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, ecx
push 0x1b76
push 0x419
push dword [esi + 0xa80]
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x41d
push dword [esi + 0xa80]
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0xa80]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 4]
cmp dword [ebp + 8], 0
push ecx
mov dword [0x47f404], eax
mov ecx, esp
je 0x4222d5
push str.All_User_Startmenu
call fcn.0040181a
push 0x16
mov ecx, 0x47f400
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00428344
jmp 0x4222f1
push str.User_Startmenu
call fcn.0040181a
push 0xb
mov ecx, 0x47f400
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00428377
pop edi
pop esi
leave
ret 4
Function at 0x4222f7
Capabilities:
Capture webcam image
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0xd3c3
push 1
mov esi, ecx
push ebx
push 0x403
mov dword [ebp - 0xc], esi
push dword [esi + 0xa6c]
call edi
mov esi, dword [esi + 0xa6c]
push 0
push ebx
push 0x419
push esi
call edi
lea ecx, [ebp - 0x28]
push ecx
push eax
push 0x41d
push esi
call edi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push 0x7a122
push eax
call fcn.00428fb5
pop ecx
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
pop ecx
mov esi, 0x400
push dword [eax]
push 0xb
push esi
push dword [ebp - 4]
call ebx
lea ecx, [ebp - 8]
call fcn.004017ee
lea eax, [ebp - 8]
push 0x7a123
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0xc
push esi
push dword [ebp - 4]
call ebx
lea ecx, [ebp - 8]
call fcn.004017ee
lea eax, [ebp - 8]
push 0x7a124
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0xd
push esi
push dword [ebp - 4]
call ebx
lea ecx, [ebp - 8]
call fcn.004017ee
lea eax, [ebp - 8]
push 0x7a125
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0xa
push esi
push dword [ebp - 4]
call ebx
lea ecx, [ebp - 8]
call fcn.004017ee
push 0
push 0
push 0xc00
push dword [ebp - 4]
call ebx
lea eax, [ebp - 8]
push 0x7a127
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 4
push esi
push dword [ebp - 4]
call ebx
lea ecx, [ebp - 8]
call fcn.004017ee
mov eax, dword [0x4a6ab8]
test eax, eax
je 0x42249c
cmp eax, 2
mov ecx, 0x15180
jne 0x422439
mov ecx, 0x93a80
cmp eax, 3
jne 0x422441
imul ecx, ecx, 0x1c
mov eax, dword [0x4a6ab0]
add eax, ecx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00416e73
push ecx
push ecx
lea esi, [ebp - 0x38]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
call fcn.004100f1
push 0
mov ecx, 0x47f19c
call fcn.00401b61
push eax
lea ecx, [ebp - 8]
call fcn.00407038
push dword [ebp - 8]
push 4
push 0x403
push dword [ebp - 4]
call ebx
lea ecx, [ebp - 8]
call fcn.004017ee
mov eax, dword [0x4a6ab8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add eax, 0xa
push 8
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, dword [ebp - 0xc]
push 0x10a
push dword [ebp - 0x14]
lea ecx, [esi + 0x68]
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.004354af
cmp eax, 0xd
jne 0x4224d5
mov dword [0x4a6ab8], 3
jmp 0x422513
cmp eax, 0xc
jne 0x4224e6
mov dword [0x4a6ab8], 2
jmp 0x422513
cmp eax, 0xb
jne 0x4224f7
mov dword [0x4a6ab8], 1
jmp 0x422513
cmp eax, 0xa
jne 0x422505
and dword [0x4a6ab8], 0
jmp 0x422513
cmp eax, 4
jne 0x422513
push 0
mov ecx, esi
call fcn.0042277f
mov ecx, 0x4a6ab8
call fcn.0041311e
push 0
push 0xd3c3
push 0x403
push dword [esi + 0xa6c]
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4228fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push str.SOFTWAREPoliciesMicrosoftWindowsPersonalization
lea ecx, [ebp - 0xc]
call fcn.0040181a
lea eax, [ebp - 0x10]
or dword [ebp - 8], 0xffffffff
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [ebp - 0xc]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422947
lea ecx, [ebp - 4]
call fcn.0040d8da
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov esi, str.NoLockScreen
je 0x422985
push esi
lea ecx, [ebp - 0x18]
call fcn.0040181a
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
mov dword [ebp - 0x14], ebx
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
call fcn.004017ee
xor eax, eax
cmp dword [ebp - 8], 1
sete al
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x10], eax
je 0x422ab1
cmp dword [ebp + 8], 1
jne 0x422ac8
cmp dword [ebp - 4], ebx
je 0x4229b6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4229e3
lea ecx, [ebp - 4]
call fcn.0040d8da
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jne 0x422a59
cmp dword [ebp + 0xc], ebx
jne 0x422a54
mov edi, 0x442a7c
lea ecx, [ebp + 0xc]
push edi
call fcn.0040181a
push edi
lea ecx, [ebp + 8]
call fcn.0040181a
push ebx
push ecx
lea eax, [ebp + 0xc]
mov edi, esp
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040181a
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004019df
push eax
push edi
call fcn.004019df
push 1
call fcn.00422109
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.004017ee
lea ecx, [ebp - 0x14]
call fcn.004017ee
lea ecx, [ebp + 8]
call fcn.004017ee
lea ecx, [ebp + 0xc]
call fcn.004017ee
push 1
pop esi
jmp 0x422ab4
push 0xf003f
lea ecx, [ebp - 4]
push dword [ebp - 0xc]
push edi
call fcn.0041d034
push 1
pop eax
cmp dword [ebp - 8], eax
jne 0x422a90
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 8], ebx
call fcn.0040181a
push dword [eax]
lea ecx, [ebp - 4]
push dword [ebp - 8]
call fcn.00421e05
lea ecx, [ebp + 8]
jmp 0x422aac
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 8], eax
call fcn.0040181a
push dword [eax]
lea ecx, [ebp - 4]
push dword [ebp - 8]
call fcn.00421e05
lea ecx, [ebp + 8]
call fcn.004017ee
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 4]
call fcn.0040d8da
lea ecx, [ebp - 0xc]
call fcn.004017ee
mov eax, esi
jmp 0x422adb
lea ecx, [ebp - 4]
call fcn.0040d8da
lea ecx, [ebp - 0xc]
call fcn.004017ee
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423022
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x47ec20]
push ebx
push esi
push edi
mov dword [ebp - 0x430], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x42c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x104
lea eax, [ebp - 0x430]
push ebx
push eax
push dword [0x47ec38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x47eaf4
lea ecx, [ebp - 0xc]
call fcn.0040181a
push str._html__style______body__prefont_family:Verdana_Arial__font_size:14px__color:000000_bcolor:0000FF______style_
lea ecx, [ebp - 4]
call fcn.0040181a
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 4]
call fcn.004017ee
push str.__h3_
lea ecx, [ebp - 8]
call fcn.0040181a
push str._h3_
lea ecx, [ebp - 4]
call fcn.0040181a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push 0xa1221
push eax
call fcn.00428fb5
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004019df
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 0x18]
call fcn.004017ee
lea ecx, [ebp - 0x1c]
call fcn.004017ee
lea ecx, [ebp - 0x14]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
lea ecx, [ebp - 8]
call fcn.004017ee
mov edi, 0xa1222
mov esi, str._br__r_n
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00428fb5
mov eax, dword [eax]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xc]
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 0x14]
call fcn.004017ee
push esi
lea ecx, [ebp - 8]
call fcn.0040181a
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push eax
call fcn.00401b49
lea ecx, [ebp - 8]
call fcn.004017ee
push esi
lea ecx, [ebp - 4]
call fcn.0040181a
lea eax, [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
call fcn.00401b49
lea ecx, [ebp - 4]
call fcn.004017ee
inc edi
cmp edi, 0xa1238
jl 0x42311a
mov eax, dword [0x47ec20]
mov ecx, 0x81
mov dword [ebp - 0x224], eax
xor eax, eax
lea edi, [ebp - 0x220]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x224]
lea ecx, [ebp - 0x10]
push eax
call fcn.00407038
push str.tmp_htm__dok_hlp.html
lea ecx, [ebp - 8]
call fcn.0040181a
lea eax, [ebp - 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.00401b49
lea ecx, [ebp - 8]
call fcn.004017ee
lea eax, [ebp - 0xc]
push eax
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004017a8
call fcn.00432e11
pop ecx
xor eax, eax
pop ecx
push 1
push eax
push eax
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 0xc]
call fcn.004017ee
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4234eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
ret

Function at 0x424410
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov dword [esi], 0x43ed18
test eax, eax
je 0x424430
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 0x54], 0
push 0
push 2
mov ecx, esi
call fcn.00424464
pop esi
ret

Function at 0x42443d
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
test eax, eax
je 0x424457
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 0x54], 0
push 0
push 2
mov ecx, esi
call fcn.00424464
pop esi
ret

Function at 0x424533
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0x50], eax
lea ebp, [esi + 0x58]
mov eax, dword [0x47ec38]
push 0
push 0xc
mov dword [esp + 0x1c], eax
call ebx
push eax
push 0xb
call ebx
push eax
lea eax, [edi + 0x10f]
movzx eax, ax
push 1
push eax
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 0xd
jl 0x42454b
mov eax, dword [esi + 0x54]
xor edi, edi
cmp eax, edi
je 0x424597
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [esi + 0x288]
push eax
push edi
push esi
push 0x424509
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [esi + 0x58]
mov ecx, esi
mov dword [esi + 0x54], eax
push edi
call fcn.00424464
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4245c2
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
xor esi, esi
cmp dword [0x4a7a58], esi
jne 0x4245f9
push str.GlobalMemoryStatusEx
push str.kernel32
mov dword [0x4a7a58], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4a7a54], eax
mov eax, dword [0x4a7a54]
cmp eax, esi
je 0x424609
push dword [ebp + 8]
call eax
jmp 0x424657
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x2c], esi
pop esi
leave
ret 4
Function at 0x424830
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.00409283
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
call fcn.004092ab
lea ecx, [ebp - 0x14]
call fcn.004092d1
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4248ad
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x14]
call fcn.00409377
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00409377
push eax
lea ecx, [ebp - 0x14]
call fcn.00409373
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
push 0xf
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
lea ecx, [ebp - 0x14]
call fcn.00409296
lea ecx, [ebp + 8]
call fcn.004017ee
leave
ret

Function at 0x424a0a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x445d58]
cmp eax, 0xffffffff
jne 0x424ab3
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
push 2
push esi
push esi
mov ebx, str.MC_Admin_Test
push esi
mov edi, SysReAllocString
push ebx
push edi
mov dword [0x445d58], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x424a9a
xor eax, eax
cmp dword [ebp - 4], esi
je 0x424a63
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x424a9a
push 0xf003f
push esi
push edi
lea ecx, [ebp - 4]
mov dword [0x445d58], 1
call fcn.0041d034
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x424a9a
mov dword [0x445d58], esi
cmp dword [ebp - 4], esi
mov edi, dword [0x445d58]
je 0x424aae
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4263d2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
mov esi, 0x200
lea eax, [ebp - 0x400]
push esi
push edi
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x800]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x400]
push dword [ebp + 8]
push 0x445fec
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_wcslen
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jle 0x42644d
lea eax, [ebp - 0x400]
mov ecx, ebx
cmp word [eax], 0x2f
jne 0x426448
mov word [eax], 0x5c
inc eax
inc eax
dec ecx
jne 0x42643d
test ebx, ebx
mov dword [ebp + 8], edi
jle 0x42648c
cmp word [ebp + edi*2 - 0x400], 0x5c
lea esi, [ebp + edi*2 - 0x400]
jne 0x42647c
lea eax, [ebp - 0x800]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42647c
inc dword [ebp + 8]
mov ax, word [esi]
mov word [ebp + edi*2 - 0x800], ax
inc edi
cmp edi, ebx
jl 0x426454
lea eax, [ebp - 0x800]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
test eax, eax
pop ebx
je 0x4264a5
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
leave
ret

Function at 0x426798
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push edi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
or ah, 2
mov ecx, 0x1ff
mov dword [ebp - 0x38], eax
mov eax, dword [0x47ec20]
mov dword [ebp - 0x83c], eax
xor eax, eax
lea edi, [ebp - 0x838]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x83c]
push edx
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], str._UserProfile_
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x83c]
push 0x2e
push eax
call sub.MSVCRT.dll_wcsrchr
pop ecx
pop ecx
pop edi
test eax, eax
je 0x426815
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x14], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret