joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4718a4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4719c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41d670]
call fcn.0041d770
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47192e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0041d810
xor ecx, ecx
mov edx, 0x4719dc
mov eax, dword [ebp - 4]
call fcn.0041d874
lea edx, [ebp - 8]
mov eax, 0x7d0
call fcn.00409014
lea eax, [ebp - 8]
mov edx, 0x471a14
call fcn.00404cc0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0041db50
mov eax, dword [ebp - 4]
call fcn.0041d7e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x471938
xor eax, eax
push ebp
push 0x471999
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0041d810
mov cl, 1
mov edx, 0x471a24
mov eax, dword [ebp - 4]
call fcn.0041d874
lea edx, [ebp - 0xc]
mov eax, 0x7d0
call fcn.00409014
lea eax, [ebp - 0xc]
mov edx, 0x471a14
call fcn.00404cc0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041db50
mov eax, dword [ebp - 4]
call fcn.0041d7e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4719a3
mov eax, dword [ebp - 4]
call fcn.00403ce8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4719cd
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404a1c
ret

Function at 0x471a5c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x471ba7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402a68
call fcn.0043f2b0
cmp al, 1
jne 0x471abf
lea eax, [ebp - 8]
mov ecx, 0x471bbc
mov edx, dword [ebp - 0xc]
call fcn.00404d04
push 1
push 0
push 0x471bc0
lea eax, [ebp - 8]
call fcn.00404f10
push eax
push 0x471bd4
push 0
call sub.shell32.dll_ShellExecuteA
push 0x3e8
call sub.kernel32.dll_Sleep
cmp byte [ebp - 1], 0
je 0x471b2f
lea eax, [ebp - 8]
mov ecx, 0x471bbc
mov edx, dword [ebp - 0xc]
call fcn.00404d04
cmp byte [ebp - 2], 0
je 0x471b05
push 1
push 0
push 0x471bdc
lea eax, [ebp - 8]
call fcn.00404f10
push eax
push 0x471bd4
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x471b23
push 1
push 0
push 0x471bf0
lea eax, [ebp - 8]
call fcn.00404f10
push eax
push 0x471bd4
push 0
call sub.shell32.dll_ShellExecuteA
push 0x1f4
call sub.kernel32.dll_Sleep
jmp 0x471b8c
push 0x1f4
call sub.kernel32.dll_Sleep
lea eax, [ebp - 8]
mov ecx, 0x471bbc
mov edx, dword [ebp - 0xc]
call fcn.00404d04
push 1
push 0
push 0x471bfc
lea eax, [ebp - 8]
call fcn.00404f10
push eax
push 0x471bd4
push 0
call sub.shell32.dll_ShellExecuteA
push 0x64
call sub.kernel32.dll_Sleep
push 1
push 0
push 0x471c08
lea eax, [ebp - 8]
call fcn.00404f10
push eax
push 0x471bd4
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471bae
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404a1c
ret
Function at 0x471f40
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x472034
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402a68
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402a68
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004095e0
mov edx, dword [ebp - 4]
mov eax, 0x472048
call fcn.00404fa0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x47200c
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404f18
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x472054
call fcn.00404d04
lea ecx, [ebp - 0x18]
xor edx, edx
xor eax, eax
call fcn.0043c90c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00404d04
push 0
mov eax, dword [ebp - 4]
call fcn.00404eb8
push eax
mov eax, dword [ebp - 8]
call fcn.00404eb8
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x47200c
push 1
push 0
push 0
lea eax, [ebp - 4]
call fcn.00404f10
push eax
push 0x47205c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.0043c370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47203b
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404a1c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a1c
ret
Function at 0x4749ec
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x29c]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x298]
push eax
call sub.wsock32.dll_recv
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x6d], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x64], 0
je 0x474a46
mov eax, dword [ebp - 4]
cmp dword [eax + 0x64], 0xffffffff
jne 0x474a52
push ebp
call fcn.004748c8
pop ecx
jmp 0x474b46
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x2a0]
jae 0x474a83
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
sub dword [edx + 0x2a0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
add dword [edx + 0x68], eax
jmp 0x474b42
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], 0
je 0x474aa7
mov eax, dword [ebp - 4]
call fcn.00474e38
test al, al
jne 0x474aa7
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045a1d8
jmp 0x474b46
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], 0
je 0x474abc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2a0], 0
jne 0x474b0e
mov eax, dword [ebp - 4]
call fcn.00479e40
test al, al
jne 0x474ad4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045a1d8
jmp 0x474b46
mov eax, dword [ebp - 4]
mov byte [eax + 0x6c], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x6d], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x2a0], 9
push 9
mov eax, dword [ebp - 4]
add eax, 0x29c
mov ecx, 1
mov edx, dword [0x459afc]
call fcn.00405df8
add esp, 4
jmp 0x474b3a
mov eax, dword [ebp - 4]
mov byte [eax + 0x6c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a0]
push eax
mov eax, dword [ebp - 4]
add eax, 0x29c
mov ecx, 1
mov edx, dword [0x459afc]
call fcn.00405df8
add esp, 4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x68], edx
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x474ec4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47509a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6d], 0
jne 0x474f86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x70]
cmp eax, 0xea60
jbe 0x475068
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x2c0]
push 0x4750b0
mov eax, dword [ebp - 4]
push dword [eax + 0x2a8]
push 0x4750bc
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404d78
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, 0x4750c8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov dword [ebp - 0x14], 1
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x24]
mov ecx, 2
mov eax, 0x4750f8
call fcn.00409e5c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x2cc
call fcn.00404a4c
jmp 0x475077
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78], 0
jne 0x474fd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x70]
cmp eax, 0x7530
jbe 0x474fd8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2a4], 0
jne 0x474fb8
mov eax, dword [0x48be94]
cmp dword [eax], 0
je 0x474fc2
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045a1d8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 4]
inc byte [eax + 0x78]
jmp 0x475068
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78], 1
jne 0x475068
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x70]
cmp eax, 0x7530
jbe 0x475068
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x2c0]
push 0x4750b0
mov eax, dword [ebp - 4]
push dword [eax + 0x2a8]
push 0x4750bc
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404d78
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, 0x4750c8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x24]
mov eax, 0x4750f8
mov ecx, 2
call fcn.00409e5c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x2cc
call fcn.00404a4c
jmp 0x475077
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4750a1
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404a1c
lea eax, [ebp - 0xc]
call fcn.004049f8
ret
Function at 0x477400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x477519
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4774ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
call fcn.0047a2d8
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x400]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x404]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40c]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410]
push eax
call sub.user32.dll_ShowWindow
push 9
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4773d4]
call fcn.00405df8
add esp, 4
mov eax, dword [ebp - 0xc]
call fcn.00405c44
push eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov ax, 0x11
call fcn.0043cd88
mov edx, dword [ebp - 0xc]
mov ecx, 9
mov eax, dword [ebp - 4]
call fcn.00459d10
push 0
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4773d4]
call fcn.00405df8
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4774fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477520
lea eax, [ebp - 0xc]
mov edx, dword [0x4773d4]
call fcn.00405e04
ret
Function at 0x477c40
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x29c]
lea eax, [edx + eax + 2]
movzx eax, byte [eax]
mov edx, dword [ebp + 8]
mov word [edx - 0xa], ax
mov eax, dword [ebp + 8]
mov ax, word [eax - 0xa]
add eax, 0xffffffdf
sub ax, 8
jb 0x477c92
add eax, 0xfffffffc
sub ax, 2
jb 0x477c92
sub ax, 0x2e
je 0x477c92
sub ax, 0x12
je 0x477c92
sub ax, 0x21
jne 0x477cb9
push 0
mov eax, dword [ebp - 4]
or eax, 1
push eax
push 0
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xa]
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
mov eax, dword [ebp + 8]
mov al, byte [eax - 0xa]
push eax
call sub.user32.dll_keybd_event
jmp 0x477d31
mov eax, dword [ebp + 8]
cmp word [eax - 0xa], 0x2c
jne 0x477ce2
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov al, byte [eax + 0x2e2]
push eax
mov eax, dword [ebp + 8]
mov al, byte [eax - 0xa]
push eax
call sub.user32.dll_keybd_event
jmp 0x477d31
mov eax, dword [ebp + 8]
cmp word [eax - 0xa], 0x13
jne 0x477d02
push 0
mov eax, dword [ebp - 4]
push eax
push 0x45
mov eax, dword [ebp + 8]
mov al, byte [eax - 0xa]
push eax
call sub.user32.dll_keybd_event
jmp 0x477d31
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00477b70
pop ecx
push 0
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xa]
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
mov eax, dword [ebp + 8]
mov al, byte [eax - 0xa]
push eax
call sub.user32.dll_keybd_event
cmp dword [ebp - 4], 0
jne 0x477d4f
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xa]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov byte [edx + eax + 0x2d0], 1
pop ecx
pop ebp
ret
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xa]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov byte [edx + eax + 0x2d0], 0
pop ecx
pop ebp
ret

Function at 0x477f00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
sub ebx, dword [eax + 0x430]
call sub.user32.dll_GetDoubleClickTime
sub eax, 0xa
cmp ebx, eax
jbe 0x477f47
push 0
push 0
push 0
push 0
push 0x8002
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 0x8004
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 0x8002
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 0x8004
call sub.user32.dll_mouse_event
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x430], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x3d0], 0
pop ebx
pop ebp
ret
Function at 0x47b460
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47b613
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 1
xor eax, eax
push ebp
push 0x47b5e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x47b5d5
xor eax, eax
push ebp
push 0x47b5ce
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_CountClipboardFormats
test eax, eax
jne 0x47b4dc
mov dword [ebp - 0x18], 5
call fcn.00404460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b5f7
call sub.user32.dll_CountClipboardFormats
push eax
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x47b430]
call fcn.00405df8
add esp, 4
call sub.user32.dll_CountClipboardFormats
dec eax
test eax, eax
jl 0x47b549
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
jle 0x47b530
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
movzx eax, word [eax + edx*2 - 2]
push eax
call sub.user32.dll_EnumClipboardFormats
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov word [edx + ecx*2], ax
jmp 0x47b541
push 0
call sub.user32.dll_EnumClipboardFormats
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov word [edx + ecx*2], ax
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x47b50d
call sub.user32.dll_CountClipboardFormats
dec eax
test eax, eax
jl 0x47b593
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xd], 0
jne 0x47b593
push ebp
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
movzx eax, word [eax + edx*2]
mov edx, dword [ebp - 0x14]
call fcn.0047b0a0
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x47b593
push 1
call sub.kernel32.dll_Sleep_1
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x47b55e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b5dc
call sub.user32.dll_CloseClipboard
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x47b5b5
call sub.user32.dll_CloseClipboard
push 0
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x47b430]
call fcn.00405df8
add esp, 4
ret
mov dword [ebp - 0x18], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b5f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b61a
lea eax, [ebp - 0x20]
mov edx, dword [0x47b430]
call fcn.00405e04
ret
Function at 0x47b718
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x47b8d6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47b8af
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], 0
jne 0x47b76c
mov dword [ebp - 0x1c], 5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b8c0
push 0
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x47b89e
xor eax, eax
push ebp
push 0x47b897
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 4
cmp eax, dword [ebp - 0x18]
jg 0x47b874
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add eax, edx
lea edx, [ebp - 0x10]
mov ecx, 4
call fcn.004028dc
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004099c8
mov eax, dword [ebp - 0x24]
call fcn.00404cb8
add eax, dword [ebp - 0xc]
inc eax
cmp eax, dword [ebp - 0x18]
jg 0x47b874
mov eax, dword [ebp - 0x24]
call fcn.00404cb8
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
call fcn.00404cb8
test eax, eax
jle 0x47b815
mov eax, dword [ebp - 0x24]
call fcn.00404eb8
push eax
call sub.user32.dll_RegisterClipboardFormatA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, 4
cmp eax, dword [ebp - 0x18]
jg 0x47b874
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add eax, edx
lea edx, [ebp - 4]
mov ecx, 4
call fcn.004028dc
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jg 0x47b874
cmp dword [ebp - 0x10], 0
je 0x47b869
push ebp
call fcn.0047b624
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x47b869
call fcn.00404460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b8c0
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], eax
jmp 0x47b799
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b8a5
call sub.user32.dll_CloseClipboard
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x47b896
call sub.user32.dll_CloseClipboard
ret
mov dword [ebp - 0x1c], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b8c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b8dd
lea eax, [ebp - 0x24]
call fcn.004049f8
ret
Function at 0x481288
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x481365
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [0x48bf70]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48135b
mov eax, dword [0x48bf70]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x481343
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x481343
push 4
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindow
test eax, eax
jne 0x481343
push 0x12d
lea eax, [ebp - 0x131]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
je 0x481343
push 0
push 0
push 0x12
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_PostMessageA
push 0x12d
lea eax, [ebp - 0x131]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x481343
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x481343
push 0
push 0
push 0x10
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_PostMessageA
push 2
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4812be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48136f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x481378
Capabilities:
Shutdown system

Disassembly:
mov eax, dword [0x48c10c]
cmp dword [eax], 0x401
jne 0x4813a4
mov eax, dword [0x48c3c4]
cmp dword [eax], 2
jne 0x48139a
push 0
push 4
call sub.user32.dll_ExitWindowsEx
jmp 0x481418
xor edx, edx
xor eax, eax
call fcn.004076dc
ret
mov eax, dword [0x48c10c]
cmp dword [eax], 0x406
jne 0x4813bc
push 0
push 6
call sub.user32.dll_ExitWindowsEx
jmp 0x481418
mov eax, dword [0x48c10c]
cmp dword [eax], 0x404
je 0x4813d6
mov eax, dword [0x48c10c]
cmp dword [eax], 0x405
jne 0x481418
mov eax, dword [0x48c3c4]
cmp dword [eax], 2
je 0x4813fb
push 0
push 0xc
call sub.user32.dll_ExitWindowsEx
push 0x64
call sub.kernel32.dll_Sleep_1
push 0
push 5
call sub.user32.dll_ExitWindowsEx
jmp 0x481418
call fcn.00459428
test al, al
je 0x48140f
push 0
push 0xc
call sub.user32.dll_ExitWindowsEx
jmp 0x481418
push 0
push 5
call sub.user32.dll_ExitWindowsEx
ret
Function at 0x48170c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ea8
xor eax, eax
push ebp
push 0x481925
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4818f5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004413c0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x140], 0x128
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0xc]
call fcn.004413e0
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x481856
lea eax, [ebp - 0x1a0]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404c68
mov eax, dword [ebp - 0x1a0]
lea edx, [ebp - 0x19c]
call fcn.004095e0
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x198]
call fcn.004087cc
mov eax, dword [ebp - 0x198]
push eax
lea edx, [ebp - 0x1a4]
mov eax, dword [ebp - 4]
call fcn.004087cc
mov edx, dword [ebp - 0x1a4]
pop eax
call fcn.00404e04
je 0x48182d
lea eax, [ebp - 0x1ac]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404c68
mov eax, dword [ebp - 0x1ac]
lea edx, [ebp - 0x1a8]
call fcn.004087cc
mov eax, dword [ebp - 0x1a8]
mov edx, 0x48193c
call fcn.00404e04
jne 0x481845
mov eax, dword [ebp - 0x138]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x14], eax
jmp 0x481860
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0xc]
call fcn.00441400
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x481799
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x14], 0
jne 0x48187c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4818ff
lea eax, [ebp - 0x194]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [ebp - 0x10]
push eax
push 0xb
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_OpenProcessToken
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4818eb
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x194]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
call fcn.00404f10
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
sbb eax, eax
inc eax
test al, al
jne 0x4818eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4818ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4818ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48192c
lea eax, [ebp - 0x1ac]
mov edx, 6
call fcn.00404a1c
lea eax, [ebp - 4]
call fcn.004049f8
ret