joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fbec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53e89c]
cmp dword [eax + 0x30], 0
je 0x46fc96
cmp dword [ebx + 0x94], 0
jne 0x46fc90
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46fb7c
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46fc90
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 0x46fc56
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46fc90
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0040a210
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46fc65
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4709b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4709e5
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0042cad8
jmp 0x4709f2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0042ca3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x471dfc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x471e6a
mov eax, esi
call fcn.00486874
test al, al
je 0x471e6a
mov eax, dword [ebx + 0x84]
call fcn.004864d4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x471e6a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x471e5e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004864d4
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047e760
jmp 0x471e6a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00471c38
pop esi
pop ebx
ret
Function at 0x477234
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0042ce9c
xor eax, eax
push ebp
push 0x477369
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x47733c
xor edx, edx
push ebp
push 0x477335
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x477281
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47730a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4772f9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4772c0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0042ceac
lea ecx, [ebx + 1]
mov edx, esi
call fcn.0042b018
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477300
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x53b180]
mov dl, 1
mov eax, dword [0x418c50]
call fcn.0041e228
call fcn.0042c428
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477370
lea eax, [ebp - 4]
call fcn.0042c9e8
ret
Function at 0x477378
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x477533
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0042d198
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x47754c
call fcn.0042ccf8
mov eax, ebx
call fcn.004142c4
mov edi, eax
dec edi
test edi, edi
jl 0x477430
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00414298
mov edx, dword [0x43dcb4]
call fcn.0042bd00
test al, al
je 0x47742c
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00414298
lea edx, [ebp - 0x14]
call fcn.0047e840
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0042d198
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0042cd6c
inc esi
dec edi
jne 0x4773de
movzx eax, byte [0x477550]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x47755c
mov eax, dword [ebp - 8]
call fcn.0041f4c0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.0042ca80
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0047e840
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x47754c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0047e840
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x47754c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x47754c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x477568
call fcn.0041affc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47753a
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0042ca0c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0042ca0c
lea eax, [ebp - 0x14]
call fcn.0042c9e8
lea eax, [ebp - 0x10]
call fcn.0042c9e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.0042ca0c
ret
Function at 0x47bfc0
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 - 9]
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
cmp dword [0x53e954], 0
je 0x47c109
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x53af14]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x47c109
mov eax, dword [0x53e958]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x53e954]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x47c0d8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x53e954]
call fcn.0040a210
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x47c0d0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x47c0d0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x47c0d0
mov eax, dword [ebp - 0x14]
call fcn.004864d4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x47c0d0
push ebp
call fcn.0047bf7c
pop ecx
test al, al
jne 0x47c0d0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0042bd70
test al, al
je 0x47c0d0
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0042bd70
cmp byte [ebp - 1], 0
je 0x47c0d0
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x47c0d0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x53e958]
call fcn.0047b6e8
inc edi
dec ebx
jne 0x47c025
mov eax, dword [0x53e958]
cmp dword [eax + 8], 0
jle 0x47c0f0
mov eax, dword [0x53e958]
call fcn.0047b7a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x47c109
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0047bde0
pop ecx
test al, al
jne 0x47c109
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 0x4836a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.004189d8
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0047e370
test ebx, ebx
jne 0x4836f7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004835e0
mov ebx, eax
test ebx, ebx
je 0x4837e2
cmp esi, ebx
je 0x483720
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x483735
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x48376d
add eax, 0xffffff5f
sub eax, 2
jb 0x483785
dec eax
sub eax, 2
jb 0x483799
dec eax
sub eax, 2
jb 0x48378f
jmp 0x4837a3
add eax, 0xfffffdff
sub eax, 2
jb 0x483785
dec eax
sub eax, 2
jb 0x483799
dec eax
sub eax, 2
jb 0x48378f
jmp 0x4837a3
mov byte [esp + 0x120], 0
jmp 0x4837ab
mov byte [esp + 0x120], 2
jmp 0x4837ab
mov byte [esp + 0x120], 1
jmp 0x4837ab
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0046687c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0047fb50
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4837e4
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x48447c
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 + 0x240], 0
je 0x484498
cmp dword [esi + 4], 0
je 0x4844c5
test byte [ebx + 0x55], 1
jne 0x4844b7
mov eax, ebx
call fcn.00482838
test eax, eax
jne 0x4844b7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4845d5
mov edx, esi
mov eax, ebx
call fcn.00483e84
jmp 0x4845d5
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x4845ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004864d4
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.0047fb50
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0048447c
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.004864d4
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4845d5
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 0x48b8e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x53ad18]
cmp byte [eax + 0xc], 0
je 0x48ba51
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ba4a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53e964], 0
jne 0x48b938
push 0x48ba58
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x48ba60
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e964], eax
cmp dword [0x53441c], 0
jne 0x48ba33
push 0x48ba70
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x53441c], eax
cmp dword [0x53441c], 0
je 0x48ba33
push 0x48ba7c
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e968], eax
push 0x48ba8c
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e96c], eax
push 0x48baa0
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e970], eax
push 0x48bab8
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e974], eax
push 0x48bad0
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e978], eax
push 0x48bae4
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e97c], eax
push 0x48bafc
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e980], eax
push 0x48bb14
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e984], eax
push 0x48bb30
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e988], eax
push 0x48bb3c
mov eax, dword [0x53441c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53e98c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba51
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b150c
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]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b157e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4b1552
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0042cbe0
jmp 0x4b1559
mov eax, ebx
call fcn.0042c9e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1585
cmp dword [ebp - 8], 0
je 0x4b1575
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4b158c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b1634
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4b1607
mov edx, ebx
mov eax, dword [0x459994]
call fcn.0045e430
test al, al
je 0x4b15f7
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0045e340
call fcn.0042c4d4
jmp 0x4b163b
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4b15bf
mov ecx, dword [0x53b1e8]
mov dl, 1
mov eax, dword [0x418c50]
call fcn.0041e228
call fcn.0042c428
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b163b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b1644
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b169c
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 + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b16a3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4b16ac
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4b1701
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 + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1708
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4b1778
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b17ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b1448
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.0045e404
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 0x4b17d7
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 0x4b17f4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4b17fc
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4b1871
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b1448
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 + 0x60]
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 0x4b185b
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 0x4b1878
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4c3aa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, byte [0x4c3adc]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4c3ab7
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4c3ac6
or bl, 4
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4c3ad5
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4d2c70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4d2cd4
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0042cc58
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0041a380
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2cdb
lea eax, [ebp - 0xc]
call fcn.0042c9e8
ret
Function at 0x4ebb48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ebcba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x4ebc9f
lea eax, [ebp - 0x10d]
push eax
push 0x100
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0041ab0c
mov dl, 1
mov eax, dword [0x4e34a4]
call fcn.004e3524
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x408238]
call fcn.0042bb44
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
call fcn.004e3a2c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4ebc9b
mov dl, 1
mov eax, dword [0x4fe4bc]
call fcn.004fe54c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
mov edx, 0x4ebcd0
call fcn.004e3ff8
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0042ccf8
xor eax, eax
push ebp
push 0x4ebc94
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.004feb9c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004ebcd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebc9b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x94]
call fcn.0042bb74
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.0042bb74
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.0042bb74
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebcc1
lea eax, [ebp - 8]
mov edx, 2
call fcn.0042ca0c
ret