joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50d958
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 0x50db03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x50dae4
mov dl, 1
mov eax, dword [0x543a74]
call fcn.0055cef0
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0055dbbc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x50dad3
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.005264bc
test al, al
je 0x50dac6
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, 0x50db14
lea eax, [ebp - 0x254]
call fcn.0055607c
push eax
push reloc.WS2_32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x50dac6
xor eax, eax
push ebp
push 0x50dabf
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 0x50db4c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x50daa8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0055ddec
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 0x50daa8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0055ddec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50dac6
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x50d9c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.005473f0
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 0x50db0a
lea eax, [ebp - 0x260]
call fcn.0055dbbc
ret

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

Disassembly:
push ecx
mov eax, dword [0x5aee50]
cmp byte [eax + 0x95], 0
jne 0x50e409
cmp dword [0x5aee6c], 0
jne 0x50e3ca
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x50e354
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x5aee6c], eax
cmp dword [0x5aee68], 0
jne 0x50e3e5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x5aee68], eax
cmp dword [0x5aee70], 0
jne 0x50e409
push esp
push 0
push 0
push 0x50e2f8
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x5aee70], eax
pop edx
ret
Function at 0x50e500
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x50e517
add esp, 0xfffffff0
call fcn.0055d260
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0054c1a4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x5435a0]
call fcn.0055cef0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x5435a0]
call fcn.0055cef0
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 [0x4faf98]
call fcn.00503288
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x50e68c
mov eax, dword [0x5ae808]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00503658
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5100cc
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5ae808]
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.00559360
test eax, eax
je 0x50e60a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.005559b4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00559388
test eax, eax
je 0x50e61e
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.0055ddec
mov eax, dword [0x5ae810]
cmp byte [eax], 0
jne 0x50e64f
mov eax, ebx
call fcn.0050e778
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 0x50e681
call fcn.0055d2b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50e9e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5aee50]
cmp dword [eax + 0x24], 0
je 0x50ea8b
cmp dword [ebx + 0x84], 0
jne 0x50ea85
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x50e978
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x50ea85
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 0x50ea4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x50ea85
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.005451fc
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x50ea5d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x50f498
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 0x50f4cd
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.0055dca4
jmp 0x50f4d7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.0055dc10
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x510440
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x510478
mov eax, esi
call fcn.005221dc
test al, al
je 0x510478
mov eax, dword [ebx + 0x74]
call fcn.00521ee0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x510478
push 0
mov eax, dword [ebx + 0x74]
call fcn.00521ee0
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x519a94
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 [0x5aeeec], 0
sete dl
or al, dl
jne 0x519bd4
mov eax, dword [0x5aeef0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5aeeec]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x519ba3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x5aeeec]
call fcn.005451fc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x519b9b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x519b9b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x519b9b
mov eax, dword [ebp - 0x14]
call fcn.00521ee0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x519b9b
push ebp
call fcn.00519a50
pop ecx
test al, al
jne 0x519b9b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x519b57
mov eax, dword [ebp - 0x14]
call fcn.00520834
dec eax
jle 0x519b9b
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.0055d0fc
cmp byte [ebp - 1], 0
je 0x519b9b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x519b9b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5aeef0]
call fcn.0051929c
inc edi
dec esi
jne 0x519aea
mov eax, dword [0x5aeef0]
cmp dword [eax + 8], 0
jle 0x519bbb
mov eax, dword [0x5aeef0]
call fcn.0051932c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x519bd4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.005198b8
pop ecx
test al, al
jne 0x519bd4
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 0x51f840
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 0x51f871
je 0x51f8cb
sub eax, 7
je 0x51f892
dec eax
je 0x51f8bc
sub eax, 0x17
je 0x51f970
jmp 0x51f9ae
add eax, 0xffffff00
sub eax, 9
jb 0x51f95c
add eax, 0xffffff09
sub eax, 0xb
jb 0x51f924
jmp 0x51f9ae
mov eax, ebx
call fcn.00507054
mov edi, eax
test edi, edi
je 0x51fa0e
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x51fa17
jmp 0x51fa0e
test byte [ebx + 0x44], 0x20
jne 0x51fa17
jmp 0x51fa0e
mov edx, esi
mov eax, ebx
call fcn.0051cd70
cmp dword [esi + 0xc], 0xffffffff
jne 0x51fa17
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00550ed4
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0051b89c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0051f718
test eax, eax
je 0x51fa17
mov dword [esi + 0xc], 1
jmp 0x51fa17
mov edx, esi
mov eax, ebx
call fcn.0051f7ac
test al, al
je 0x51fa0e
cmp dword [esi + 0xc], 0
jne 0x51fa17
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.00521ee0
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x51fa17
mov eax, ebx
call fcn.0051c40c
test al, al
jne 0x51fa17
jmp 0x51fa0e
mov eax, ebx
call fcn.00521ee0
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x51fa0e
cmp dword [0x5a90d4], 0
je 0x51fa0e
mov eax, dword [0x5a90d4]
cmp ebx, dword [eax + 0x24]
jne 0x51fa0e
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x5a90d4]
call fcn.0051cca4
jmp 0x51fa0e
mov eax, dword [0x5aeeb4]
cmp byte [eax + 0x20], 0
je 0x51fa0e
mov eax, dword [0x5aeeb4]
cmp dword [eax + 0x1c], 0
je 0x51fa0e
mov eax, dword [esi]
mov edx, dword [0x5aeeb4]
cmp eax, dword [edx + 0x1c]
jne 0x51fa0e
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.00506f98
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.0055d0fc
jmp 0x51fa17
mov edx, esi
mov eax, ebx
call fcn.0051cd70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51fed8
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 0x51fef4
cmp dword [esi + 4], 0
je 0x51ff21
test byte [ebx + 0x45], 1
jne 0x51ff13
mov eax, ebx
call fcn.0051ed88
test eax, eax
jne 0x51ff13
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x520031
mov edx, esi
mov eax, ebx
call fcn.0051fb50
jmp 0x520031
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 0x52002a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00521ee0
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.0051cca4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0051fed8
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.00521ee0
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520031
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 0x52e6c4
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 0x52e79c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5aef38], 0
jne 0x52e780
lea eax, [ebp - 4]
mov edx, 0x52e7b4
call fcn.0055dc54
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0055e000
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x52e780
mov eax, ebx
call fcn.0055c6d4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x52e779
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 0x52e763
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x52e7c4
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x52e763
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x5aef38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e780
mov eax, dword [ebp - 0xc]
call fcn.0055c6ec
ret
mov ebx, dword [0x5aef38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e7a3
lea eax, [ebp - 4]
call fcn.0055dbbc
ret

Function at 0x542734
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x542788
mov eax, dword [0x5ae3ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x542760
push ebx
push 0x542790
call fcn.00506e2c
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 0x542784
mov ecx, dword [0x5ae594]
mov dl, 1
mov eax, dword [0x5543a8]
call fcn.00558624
call fcn.0055d6b8
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x5427b0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00542734
xor edx, edx
push ebp
push 0x542882
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x542854
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x542843
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.0055c860
mov eax, dword [ebp - 4]
call fcn.005426ec
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54284a
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x5428b4
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.00542734
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x542926
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x5428fa
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0055dd74
jmp 0x542901
mov eax, ebx
call fcn.0055dbbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54292d
cmp dword [ebp - 8], 0
je 0x54291d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00542708
ret

Function at 0x542934
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.00542734
xor edx, edx
push ebp
push 0x5429d6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x5429a9
mov edx, ebx
mov eax, dword [0x4fab14]
call fcn.004ff368
test al, al
je 0x542999
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.004ff278
call fcn.0055d758
jmp 0x5429dd
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x542964
mov ecx, dword [0x5ae598]
mov dl, 1
mov eax, dword [0x5543a8]
call fcn.00558624
call fcn.0055d6b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5429dd
mov eax, dword [ebp - 4]
call fcn.00542708
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x5429e4
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.00542734
xor eax, eax
push ebp
push 0x542a3c
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 0x542a43
mov eax, dword [ebp - 4]
call fcn.00542708
ret

Function at 0x542a4c
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.00542734
xor edx, edx
push ebp
push 0x542aa1
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 0x542aa8
mov eax, dword [ebp - 4]
call fcn.00542708
ret
Function at 0x542b18
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.00542734
xor eax, eax
push ebp
push 0x542b8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005426ec
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.004ff33c
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 0x542b77
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 0x542b94
mov eax, dword [ebp - 4]
call fcn.00542708
ret

Function at 0x542b9c
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.00542734
xor eax, eax
push ebp
push 0x542c11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005426ec
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 0x542bfb
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 0x542c18
mov eax, dword [ebp - 4]
call fcn.00542708
ret

Function at 0x54c110
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
ret

Function at 0x54c120
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 0x54c135
mov byte [ebx + 0xd], 0
pop ebx
ret
Function at 0x5528e0
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 [0x551174]
call fcn.0055e520
xor eax, eax
push ebp
push 0x552a27
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a94ac], 0
jne 0x552933
mov ecx, dword [0x5ae8f0]
mov dl, 1
mov eax, dword [0x5543a8]
call fcn.00558624
call fcn.0055d6b8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0055cba0
mov eax, ebx
call fcn.0055e404
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x552a38
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.0056003c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0055e414
test eax, eax
jle 0x5529ce
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 0x5529c7
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0055de04
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0055ddec
mov eax, dword [ebp - 0x48]
pop edx
call fcn.005551a0
test eax, eax
jne 0x5529c7
mov ebx, 0x15
jmp 0x5529d3
mov ebx, 0x10
jmp 0x5529d3
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 [0x5a94ac]
call fcn.005527dc
mov eax, dword [ebp - 8]
call fcn.005527dc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00560054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552a2e
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0055dbe0
lea eax, [ebp - 0x10]
mov edx, dword [0x551174]
call fcn.0055e5ec
ret

Function at 0x557d68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x557da1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0055dca4
jmp 0x557daa
mov eax, ebx
mov edx, esi
call fcn.0055dc10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x557db4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x557dd5
mov al, byte [esp]
jmp 0x557dd7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret