joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479c78
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479e23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x479e04
mov dl, 1
mov eax, dword [0x4a29c4]
call fcn.004b7b30
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004b87bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x479df3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0049184c
test al, al
je 0x479de6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x479e34
lea eax, [ebp - 0x254]
call fcn.004b1a20
push eax
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x479de6
xor eax, eax
push ebp
push 0x479ddf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x479e6c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x479dc8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004b89ec
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x479dc8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004b89ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479de6
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x479ce9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.004a5e84
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479e2a
lea eax, [ebp - 0x260]
call fcn.004b87bc
ret

Function at 0x47a780
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4f0f84]
cmp byte [eax + 0x95], 0
jne 0x47a7f1
cmp dword [0x4f0fa0], 0
jne 0x47a7b2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x47a73c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4f0fa0], eax
cmp dword [0x4f0f9c], 0
jne 0x47a7cd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4f0f9c], eax
cmp dword [0x4f0fa4], 0
jne 0x47a7f1
push esp
push 0
push 0
push 0x47a6e0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4f0fa4], eax
pop edx
ret
Function at 0x47a8e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47a8ff
add esp, 0xfffffff0
call fcn.004b7e60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a9318
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x4a25a0]
call fcn.004b7b30
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4a25a0]
call fcn.004b7b30
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x4675bc]
call fcn.0046f4a8
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x47aa74
mov eax, dword [0x4f0a08]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0046f878
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c488
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f0a08]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004b4244
test eax, eax
je 0x47a9f2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004b1394
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004b426c
test eax, eax
je 0x47aa06
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004b89ec
mov eax, dword [0x4f0a10]
cmp byte [eax], 0
jne 0x47aa37
mov eax, ebx
call fcn.0047ab60
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47aa69
call fcn.004b7eb8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47add0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f0f84]
cmp dword [eax + 0x24], 0
je 0x47ae73
cmp dword [ebx + 0x84], 0
jne 0x47ae6d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47ad60
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x47ae6d
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x47ae36
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47ae6d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.004a3e60
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47ae45
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x47b880
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x47b8b5
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004b88a4
jmp 0x47b8bf
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.004b8810
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47c7fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x47c834
mov eax, esi
call fcn.0048d57c
test al, al
je 0x47c834
mov eax, dword [ebx + 0x74]
call fcn.0048d280
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x47c834
push 0
mov eax, dword [ebx + 0x74]
call fcn.0048d280
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x484f44
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x4f1020], 0
sete dl
or al, dl
jne 0x485084
mov eax, dword [0x4f1024]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4f1020]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x485053
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4f1020]
call fcn.004a3e60
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x48504b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x48504b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x48504b
mov eax, dword [ebp - 0x14]
call fcn.0048d280
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x48504b
push ebp
call fcn.00484f00
pop ecx
test al, al
jne 0x48504b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x485007
mov eax, dword [ebp - 0x14]
call fcn.0048bc0c
dec eax
jle 0x48504b
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.004b7d3c
cmp byte [ebp - 1], 0
je 0x48504b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x48504b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4f1024]
call fcn.0048474c
inc edi
dec esi
jne 0x484f9a
mov eax, dword [0x4f1024]
cmp dword [eax + 8], 0
jle 0x48506b
mov eax, dword [0x4f1024]
call fcn.004847dc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x485084
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00484d68
pop ecx
test al, al
jne 0x485084
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ac18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x48ac49
je 0x48aca3
sub eax, 7
je 0x48ac6a
dec eax
je 0x48ac94
sub eax, 0x17
je 0x48ad48
jmp 0x48ad86
add eax, 0xffffff00
sub eax, 9
jb 0x48ad34
add eax, 0xffffff09
sub eax, 0xb
jb 0x48acfc
jmp 0x48ad86
mov eax, ebx
call fcn.004732dc
mov edi, eax
test edi, edi
je 0x48ade6
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x48adef
jmp 0x48ade6
test byte [ebx + 0x44], 0x20
jne 0x48adef
jmp 0x48ade6
mov edx, esi
mov eax, ebx
call fcn.00488218
cmp dword [esi + 0xc], 0xffffffff
jne 0x48adef
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004ad18c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00486d4c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0048aaf0
test eax, eax
je 0x48adef
mov dword [esi + 0xc], 1
jmp 0x48adef
mov edx, esi
mov eax, ebx
call fcn.0048ab84
test al, al
je 0x48ade6
cmp dword [esi + 0xc], 0
jne 0x48adef
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0048d280
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x48adef
mov eax, ebx
call fcn.004878b4
test al, al
jne 0x48adef
jmp 0x48ade6
mov eax, ebx
call fcn.0048d280
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x48ade6
cmp dword [0x4ec2bc], 0
je 0x48ade6
mov eax, dword [0x4ec2bc]
cmp ebx, dword [eax + 0x24]
jne 0x48ade6
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4ec2bc]
call fcn.0048814c
jmp 0x48ade6
mov eax, dword [0x4f0fe8]
cmp byte [eax + 0x20], 0
je 0x48ade6
mov eax, dword [0x4f0fe8]
cmp dword [eax + 0x1c], 0
je 0x48ade6
mov eax, dword [esi]
mov edx, dword [0x4f0fe8]
cmp eax, dword [edx + 0x1c]
jne 0x48ade6
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00473220
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.004b7d3c
jmp 0x48adef
mov edx, esi
mov eax, ebx
call fcn.00488218
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b2b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x48b2cc
cmp dword [esi + 4], 0
je 0x48b2f9
test byte [ebx + 0x45], 1
jne 0x48b2eb
mov eax, ebx
call fcn.0048a1e8
test eax, eax
jne 0x48b2eb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x48b409
mov edx, esi
mov eax, ebx
call fcn.0048af28
jmp 0x48b409
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48b402
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0048d280
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0048814c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0048b2b0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0048d280
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b409
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x496d50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x496e28
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f106c], 0
jne 0x496e0c
lea eax, [ebp - 4]
mov edx, 0x496e40
call fcn.004b8854
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004b8c00
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x496e0c
mov eax, ebx
call fcn.004b7474
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x496e05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x496def
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x496e50
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x496def
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4f106c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496e0c
mov eax, dword [ebp - 0xc]
call fcn.004b748c
ret
mov ebx, dword [0x4f106c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496e2f
lea eax, [ebp - 4]
call fcn.004b87bc
ret

Function at 0x4a1894
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x4a18e8
mov eax, dword [0x4f0650]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x4a18c0
push ebx
push 0x4a18f0
call fcn.004730b4
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x4a18e4
mov ecx, dword [0x4f0ab8]
mov dl, 1
mov eax, dword [0x4aff98]
call fcn.004b3674
call fcn.004b82b8
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x4a1910
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a1894
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a1982
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4a1956
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.004b8974
jmp 0x4a195d
mov eax, ebx
call fcn.004b87bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1989
cmp dword [ebp - 8], 0
je 0x4a1979
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.004a1868
ret
Function at 0x4a1990
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a1894
xor edx, edx
push ebp
push 0x4a1a32
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4a1a05
mov edx, ebx
mov eax, dword [0x467138]
call fcn.0046b84c
test al, al
je 0x4a19f5
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0046b75c
call fcn.004b8358
jmp 0x4a1a39
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4a19c0
mov ecx, dword [0x4f0abc]
mov dl, 1
mov eax, dword [0x4aff98]
call fcn.004b3674
call fcn.004b82b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1a39
mov eax, dword [ebp - 4]
call fcn.004a1868
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a1a40
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a1894
xor eax, eax
push ebp
push 0x4a1a98
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1a9f
mov eax, dword [ebp - 4]
call fcn.004a1868
ret

Function at 0x4a1aa8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a1894
xor edx, edx
push ebp
push 0x4a1afd
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1b04
mov eax, dword [ebp - 4]
call fcn.004a1868
ret

Function at 0x4a1b74
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a1894
xor eax, eax
push ebp
push 0x4a1be9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a184c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0046b820
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4a1bd3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1bf0
mov eax, dword [ebp - 4]
call fcn.004a1868
ret
Function at 0x4a1bf8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a1894
xor eax, eax
push ebp
push 0x4a1c6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a184c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4a1c57
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1c74
mov eax, dword [ebp - 4]
call fcn.004a1868
ret

Function at 0x4a9294
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
jne 0x4a92a9
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4ae4f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4ad434]
call fcn.004b8f7c
xor eax, eax
push ebp
push 0x4ae63f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ec520], 0
jne 0x4ae54b
mov ecx, dword [0x4f0acc]
mov dl, 1
mov eax, dword [0x4aff98]
call fcn.004b3674
call fcn.004b82b8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004b7820
mov eax, ebx
call fcn.004b8f04
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4ae650
lea edi, [ebp - 0x30]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004ba6f4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004b8f14
test eax, eax
jle 0x4ae5e6
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4ae5df
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004b8a04
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004b89ec
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004b0d58
test eax, eax
jne 0x4ae5df
mov ebx, 0x15
jmp 0x4ae5eb
mov ebx, 0x10
jmp 0x4ae5eb
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4ec520]
call fcn.004ae3f4
mov eax, dword [ebp - 8]
call fcn.004ae3f4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004ba70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae646
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b87e0
lea eax, [ebp - 0x10]
mov edx, dword [0x4ad434]
call fcn.004b9048
ret