joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448194
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4481cc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4481ad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4481bc
or bl, 4
test esi, 0x20000000
je 0x4481c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e890
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44e8a2
add esp, 0xfffffff0
call fcn.004039c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041eb14
mov eax, dword [0x46e7bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ec34
mov eax, dword [0x46e7cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ec40
mov eax, ebx
call fcn.0044ec4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415824]
call fcn.00403678
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415824]
call fcn.00403678
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415824]
call fcn.00403678
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415824]
call fcn.00403678
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415824]
call fcn.00403678
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44b064
push eax
push 0
push 0
mov eax, dword [0x46ea14]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420538]
call fcn.004219a0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420538]
call fcn.004219a0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420538]
call fcn.004219a0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f09c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ef64
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ef64
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ef64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e9df
call fcn.00403a20
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44ed48
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 0x44eef3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44eed4
mov dl, 1
mov eax, dword [0x415e88]
call fcn.00403678
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44eec3
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.0043ccb0
test al, al
je 0x44eeb6
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, 0x44ef04
lea eax, [ebp - 0x254]
call fcn.004097b8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44eeb6
xor eax, eax
push ebp
push 0x44eeaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44ef3c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44ee98
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404710
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44ee98
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eeb6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44edb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a65c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eefa
lea eax, [ebp - 0x260]
call fcn.004044a0
ret

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

Disassembly:
push ecx
mov eax, dword [0x46fbb8]
cmp byte [eax + 0xa5], 0
jne 0x44f8ad
cmp dword [0x46fbd0], 0
jne 0x44f86e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f7f8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fbd0], eax
cmp dword [0x46fbcc], 0
jne 0x44f889
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46fbcc], eax
cmp dword [0x46fbd4], 0
jne 0x44f8ad
push esp
push 0
push 0
push 0x44f79c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46fbd4], eax
pop edx
ret
Function at 0x44ff40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbb8]
cmp dword [eax + 0x30], 0
je 0x44ffea
cmp dword [ebx + 0x94], 0
jne 0x44ffe4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44fed0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ffe4
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 0x44ffaa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ffe4
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.00417edc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ffb9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450b48
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x450b7d
push pe_nt_image_headers32
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.00404590
jmp 0x450b8a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451c9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451cdd
mov eax, esi
call fcn.004384b8
test al, al
je 0x451cdd
mov eax, dword [ebx + 0x84]
call fcn.00438258
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451cdd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438258
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4536cc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
and eax, 0x7f
mov eax, dword [eax*4 + 0x46dd84]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409338
add esp, 0x10c
pop ebx
ret
Function at 0x45c8d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x45c8d8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45caca
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x45cae0
mov eax, esi
call fcn.0045a75c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004044f4
lea ecx, [ebp - 0x10]
mov edx, 0x45caf4
mov eax, esi
call fcn.0045a75c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004044f4
lea ecx, [ebp - 0x14]
mov edx, 0x45cb0c
mov eax, esi
call fcn.0045a75c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004044f4
lea ecx, [ebp - 0x18]
mov edx, 0x45cb28
mov eax, esi
call fcn.0045a75c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004044f4
lea ecx, [ebp - 0x1c]
mov edx, 0x45cb44
mov eax, esi
call fcn.0045a75c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004044f4
lea ecx, [ebp - 0x24]
mov edx, 0x45cb5c
mov eax, esi
call fcn.0045a75c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004086c4
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408ab8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x45cb74
mov eax, esi
call fcn.0045a75c
mov eax, dword [ebp - 0x28]
call fcn.00458e0c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x45cb84
mov eax, esi
call fcn.0045a75c
mov eax, dword [ebp - 0x2c]
call fcn.00458e0c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x45cb9c
mov eax, esi
call fcn.0045a75c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408ab8
inc eax
je 0x45ca6d
lea ecx, [ebp - 0x34]
mov edx, 0x45cb9c
mov eax, esi
call fcn.0045a75c
mov eax, dword [ebp - 0x34]
call fcn.00408a7c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a128
fstp qword [ebp - 0x3c]
wait
call fcn.0040a498
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x45ca88
lea ecx, [ebp - 0x40]
mov edx, 0x45cb9c
mov eax, esi
call fcn.0045a75c
mov eax, dword [ebp - 0x40]
call fcn.00458e0c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x45cbac
mov eax, esi
call fcn.0045a75c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004044f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cad1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004044c4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004044c4
ret
Function at 0x468434
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x46848e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00468424
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0045797c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045757c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468495
lea eax, [ebp - 4]
call fcn.004044a0
ret
Function at 0x411860
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x471b5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046642a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4118e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00463e0a
mov eax, dword [eax]
push 0x48b1e4
push eax
call fcn.00456b74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004666b5
test bl, bl
je 0x4118e2
push 0x48b1e4
lea ecx, [esp + 0xc]
call fcn.00466a45
push 0x48ed68
lea ecx, [esp + 0xc]
call fcn.00466a45
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41191e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004666b5
jmp 0x4119e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4119a2
lea edx, [esp + 0x7c]
push 0x48ed64
push edx
call fcn.00456b74
add esp, 8
test eax, eax
je 0x4119a2
lea eax, [esp + 0x7c]
push 0x48ed60
push eax
call fcn.00456b74
add esp, 8
test eax, eax
je 0x4119a2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411932
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004666b5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4121e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x412242
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x412250
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x471bdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49522c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x412388
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4122b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004666b5
xor eax, eax
jmp 0x4123ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004667f2
push esi
lea ecx, [esp + 0xc]
call fcn.00466a81
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4123dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004121e0
test eax, eax
jne 0x4123dd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.004121e0
test eax, eax
jne 0x4123dd
lea eax, [esp + 0x14]
push 0x48ed7c
push eax
call fcn.00457c80
mov esi, eax
add esp, 8
test esi, esi
jne 0x4123bc
lea ecx, [esp + 0x14]
push 0x48ed78
push ecx
call fcn.00457c00
mov esi, eax
add esp, 8
test esi, esi
jne 0x4123bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4123bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004667a2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4122ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004666b5
xor eax, eax
jmp 0x4123ff
mov byte [esi], 0
push 0x48ed74
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004666b5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x422990
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4229fe
cmp si, 0x69
ja 0x4229fe
add esi, 0xffd0
cmp si, 0x11
je 0x4229ce
push 0x11
call edi
test ax, ax
jge 0x4229ce
or esi, 0x2000
cmp si, 0x10
je 0x4229e3
push 0x10
call edi
test ax, ax
jge 0x4229e3
or esi, 0x4000
cmp si, 0x12
je 0x4229f8
push 0x12
call edi
test ax, ax
jge 0x4229f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x422a0b
mov esi, 0xbd
jmp 0x4229bf
cmp si, 0x6e
jne 0x422a18
mov esi, 0xbe
jmp 0x4229bf
cmp si, 0x6f
jne 0x4229b9
mov esi, 0xbf
jmp 0x4229bf

Function at 0x4241c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a5938]
xor edx, edx
cmp eax, edx
jne 0x4241e6
xor eax, eax
mov byte [eax + 0x4a5838], al
inc eax
cmp eax, 0x100
jl 0x4241ce
mov dword [0x4a5938], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a5838
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424277
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42424a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x424218
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4242f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x424343
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42432a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435e90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473a88
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00430790
test eax, eax
je 0x435f98
lea ecx, [esp + 0xc]
call fcn.004089f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00430790
mov ecx, eax
call fcn.0042de70
test eax, eax
je 0x435f7f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x435f7f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x435f7f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00408bf0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x435f61
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x435f7f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4a5d88]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x47b148
call fcn.00408bf0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x435fe0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00430790
test eax, eax
je 0x4360cf
mov ecx, edi
call fcn.00430790
mov ecx, eax
call fcn.0042dd20
test eax, eax
jne 0x4360cf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4360cf
mov eax, dword [0x4a5d88]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x436042
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00430790
mov ecx, eax
call fcn.0042df50
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4360cf
cmp ebx, eax
jne 0x4360cf
cmp dword [esp + 0x10], eax
jne 0x4360b5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc