joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50a5e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
push ebx
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x50a66b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, 0xffff0000
jne 0x50a648
push esi
push str.0x_X
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call fcn.0050aaf0
add esp, 0x10
lea esi, [ebp - 0x84]
push ebx
push edi
push esi
push str.Failed_to_find_resource__name:__S__type:__S__error:_0x_08X__n
call fcn.005167ad
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x50a6cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, 0xffff0000
jne 0x50a6aa
push esi
push str.0x_X
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call fcn.0050aaf0
add esp, 0x10
lea esi, [ebp - 0x84]
push ebx
push edi
push esi
push str.Unable_to_find_resource_size__name:__S__type:__S__error:_0x_08X__n
call fcn.005167ad
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x88]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x50a72e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, 0xffff0000
jne 0x50a70b
push esi
push str.0x_X
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call fcn.0050aaf0
add esp, 0x10
lea esi, [ebp - 0x84]
push ebx
push edi
push esi
push str.Failed_to_load_resource__name:__S__type:__S__error:_0x_08X__n
call fcn.005167ad
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x50a789
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, 0xffff0000
jne 0x50a766
push esi
push str.0x_X
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call fcn.0050aaf0
add esp, 0x10
lea esi, [ebp - 0x84]
push ebx
push edi
push esi
push str.Failed_to_lock_resource__name:__S__type:__S__error:_0x_08X__n
call fcn.005167ad
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x90]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret
Function at 0x50eee0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552380
mov eax, dword fs:[0]
push eax
sub esp, 0xc18
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xc24], esi
push dword [esi + 4]
lea eax, [ebp - 0xc1c]
mov dword [ebp - 0xc14], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0xc1c], xmm0
call fcn.00510cc0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc18]
mov eax, edx
mov ecx, dword [ebp - 0xc1c]
sub eax, ecx
mov byte [ebp - 0xc20], 0
push dword [ebp - 0xc20]
sar eax, 1
push eax
push edx
push ecx
call fcn.0050c060
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00515fd2
mov eax, dword [ebp - 0xc18]
add esp, 0x1c
mov edi, dword [ebp - 0xc1c]
xor edx, edx
sub eax, edi
sar eax, 1
dec eax
mov dword [ebp - 0xc20], eax
test eax, eax
jle 0x50efe9
nop dword [eax + eax]
movzx esi, word [edi + edx*2]
movzx eax, word [edi + edx*2 + 2]
cmp si, ax
jne 0x50efda
lea eax, [ebp - 0x410]
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x50efb7
sub eax, ebx
sar eax, 1
je 0x50efd2
cmp word [ebp + eax*2 - 0x412], si
je 0x50efda
mov word [ebp + eax*2 - 0x410], si
inc edx
cmp edx, dword [ebp - 0xc20]
jl 0x50efa0
mov esi, dword [ebp - 0xc24]
lea ebx, [ebp - 0x410]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x50eff2
push dword [esi + 4]
sub ebx, ecx
mov ecx, esi
call fcn.005110c0
sar ebx, 1
mov esi, eax
mov dword [ebp - 0xc20], esi
jne 0x50f01d
test esi, esi
je 0x50f0fc
push 0x800
lea eax, [ebp - 0xc10]
push 0
push eax
call fcn.00515fd2
add esp, 0xc
mov eax, str.Mnemonics_found_on_OK__Cancel_and_or_Help_buttons.
test esi, esi
mov edx, 0x55ab04
cmove eax, edx
test ebx, ebx
je 0x50f04f
mov ecx, 0x568b08
test esi, esi
jne 0x50f054
mov ecx, 0x55ab04
push eax
push ecx
test ebx, ebx
lea eax, [ebp - 0x410]
cmove eax, edx
push eax
mov eax, str.Duplicate_mnemonics_detected:
cmove eax, edx
push eax
push str._s_s_s_s
lea eax, [ebp - 0xc10]
push 0x400
push eax
call fcn.004c6020
add esp, 0x1c
cmp dword [ebp + 8], 0
je 0x50f0dc
mov edi, dword [ebp - 0xc24]
push 0x56740c
mov edi, dword [edi + 4]
mov eax, dword [edi]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov edi, eax
lea eax, [ebp - 0xc10]
push 0x30
push str.Warning
push eax
mov ecx, dword [edi]
push 1
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0xc20]
lea eax, [ebp - 0xc10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x568b08
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ebx, ebx
jne 0x50f100
test esi, esi
jne 0x50f100
xor esi, esi
jmp 0x50f105
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc1c]
call fcn.00431480
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret 4
Function at 0x50f5b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x56740c
mov eax, dword [edi]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov edi, eax
push 0
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
push 0x400
mov esi, eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00515fd2
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x404]
push eax
call fcn.0050f640
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.005150f0
mov esp, ebp
pop ebp
ret

Function at 0x5112c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x511383
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x511383
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x511327
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x511310
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x51132e
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x511373
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x55464c]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x511383
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x55ab04
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40330c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404c38
test esi, esi
jne 0x403342
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404d28
jmp 0x403360
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403210
mov edi, eax
test esi, esi
je 0x403360
cmp dword [ebx], 0
je 0x403360
dec esi
jmp 0x403349
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ba024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b58
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403b38
xor eax, eax
push ebp
push 0x403b31
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403b74
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403b38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4ba024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ba024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ab8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4bd04c], 0
je 0x404b19
cmp word [0x4bd220], 0xd7b2
jne 0x404ae1
cmp dword [0x4bd228], 0
jbe 0x404ae1
mov eax, 0x4bd21c
call dword [0x4bd238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ba75c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404b40
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ba030], 0
jne 0x404b35
push 0
push 0x4ba754
push 0x4ba75c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4093a2
test eax, edx
je 0x4093a5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409365
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40938b
add ecx, 4
js 0x40937b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409388
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4093b1
test edx, edx
jne 0x409358
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x409cb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004050c8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409cce
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x409cef
cmp ebx, 3
je 0x409cef
cmp ebx, 0x7b
je 0x409cef
mov eax, esi
call fcn.00409c70
test al, al
jne 0x409cf3
xor eax, eax
jmp 0x409cf5
mov al, 1
pop esi
pop ebx
ret

Function at 0x409cf8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004050c8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409d11
test al, 0x10
jne 0x409d15
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c7d4
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c80d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404d28
jmp 0x40c816
mov eax, ebx
mov edx, esi
call fcn.00404c8c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c820
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_1
test eax, eax
jle 0x40c842
movzx eax, byte [esp]
jmp 0x40c844
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40ced4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cd4c
mov eax, dword [0x4bc914]
cmp byte [eax], 0
je 0x40cf50
mov eax, dword [0x4bc684]
call fcn.0040344c
call fcn.0040307c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409f08
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40cf98
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cf86
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4bc61c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4bf7f8]
call fcn.0040648c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40d888
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d95e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404cd0
lea eax, [ebp - 4]
call fcn.00405120
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004050c8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d948
mov eax, ebx
call fcn.00402f20
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d941
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004050c8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d92b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d970
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d92b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d948
mov eax, dword [ebp - 0x10]
call fcn.00402f3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d965
lea eax, [ebp - 4]
call fcn.00404c38
ret
Function at 0x425f74
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c19ec
cmp dword [edi], 0
jne 0x425ff0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c19e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4bac10
mov ecx, 2
call fcn.00403110
mov edx, 0x425f4c
lea eax, [esi + 5]
call fcn.00425f6c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425f6c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x425fc5
mov dword [0x4c19e8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4289f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004050c8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x428a50
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4bca94]
mov dl, 1
mov eax, dword [0x428334]
call fcn.0040d0c4
call fcn.00404640
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004284a8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x429db0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x429db6
ret
Function at 0x4423ac
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 0x44241e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4423f2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404e30
jmp 0x4423f9
mov eax, ebx
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442425
cmp dword [ebp - 8], 0
je 0x442415
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 0x44242c
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 0x4424d4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4424a7
mov edx, ebx
mov eax, dword [0x429754]
call fcn.0042dd8c
test al, al
je 0x442497
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.0042dc9c
call fcn.004046ec
jmp 0x4424db
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x44245f
mov ecx, dword [0x4bc60c]
mov dl, 1
mov eax, dword [0x408520]
call fcn.0040d088
call fcn.00404640
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4424db
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 0x4424e4
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 0x44253c
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 0x442543
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x44254c
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 0x4425a1
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 0x4425a8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x442618
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 0x44268d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004422e8
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.0042dd60
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 0x442677
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 0x442694
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44269c
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 0x442711
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004422e8
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 0x4426fb
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 0x442718
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x443c64
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404c38
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x443cb2
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404ea8
pop ebx
mov esp, ebp
pop ebp
ret