joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a730
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
xor esi, esi
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
call fcn.0040a700
mov ebx, eax
push 0x41c4d8
push edi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
je 0x40a8fc
lea edi, [ebx + 2]
push edi
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp - 0x18], esi
je 0x40a8dd
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov edi, 1
push eax
push edi
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov edx, esi
mov ecx, esi
mov al, byte [ecx]
test al, al
je 0x40a7dd
cmp al, 0xd
jne 0x40a7d7
inc ecx
jmp 0x40a7ca
mov byte [edx], al
inc edx
inc ecx
jmp 0x40a7ca
mov byte [edx], 0
mov al, byte [esi]
cmp al, 0xef
jne 0x40a893
cmp byte [esi + 1], 0xbb
jne 0x40a893
cmp byte [esi + 2], 0xbf
jne 0x40a893
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 3]
test ecx, ecx
je 0x40a890
lea edi, [ebx + ebx + 2]
push edi
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40a8dd
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x1c]
push eax
push ebx
lea eax, [esi + 3]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.00410cc8
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x14], 1
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x40a8fc
push eax
jmp 0x40a8d2
movsx ecx, al
cmp ecx, 0xff
jne 0x40a8d1
movsx edx, byte [esi + 1]
cmp edx, 0xfe
jne 0x40a8d1
lea eax, [esi + 2]
lea ecx, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
call fcn.00410cc8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
jmp 0x40a8da
push esi
mov ecx, dword [ebp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x40a8fc
push esi
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403184
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4031c0
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x4031e0
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405108
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4034b4
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.00404e98
test esi, esi
jne 0x4034ea
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.00404f88
jmp 0x403508
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004033b8
mov edi, eax
test esi, esi
je 0x403508
cmp dword [ebx], 0
je 0x403508
dec esi
jmp 0x4034f1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403cac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x529024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403d44
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403d24
xor eax, eax
push ebp
push 0x403d1d
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 0x403d60
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 0x403d24
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x529024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x529024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404c64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54d04c], 0
je 0x404cc5
cmp word [0x54d220], 0xd7b2
jne 0x404c8d
cmp dword [0x54d228], 0
jbe 0x404c8d
mov eax, 0x54d21c
call dword [0x54d238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x529764
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 0x404cec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x529030], 0
jne 0x404ce1
push 0
push 0x52975c
push 0x529764
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404e1c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x529034], 0
je 0x404e42
mov edx, esi
mov eax, ebx
call dword [0x529034]
jmp 0x404e51
mov eax, 8
call fcn.00402f7c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x54d04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404de4
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x409a00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409a52
test eax, edx
je 0x409a55
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x409a15
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 0x409a3b
add ecx, 4
js 0x409a2b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409a38
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 0x409a61
test edx, edx
jne 0x409a08
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405328
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a881
test al, 0x10
je 0x40a885
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405328
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a8a5
test al, 0x10
jne 0x40a8a9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40aa50
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405328
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40aa64
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405328
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40aa86
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40e158
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 0x40e191
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404f88
jmp 0x40e19a
mov eax, ebx
mov edx, esi
call fcn.00404eec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e1a4
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 0x40e1c6
movzx eax, byte [esp]
jmp 0x40e1c8
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40e858
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e6d0
mov eax, dword [0x54cd30]
cmp byte [eax], 0
je 0x40e8d4
mov eax, dword [0x54c904]
call fcn.00403624
call fcn.004030d8
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.0040afd8
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 0x40e91c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e90a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x54c864]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x54f7f8]
call fcn.00406830
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 0x40f1f8
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 0x40f2ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404f30
lea eax, [ebp - 4]
call fcn.00405380
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405328
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f2b8
mov eax, ebx
call fcn.00402f7c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f2b1
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.00405328
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f29b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f2e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f29b
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 0x40f2b8
mov eax, dword [ebp - 0x10]
call fcn.00402f98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f2d5
lea eax, [ebp - 4]
call fcn.00404e98
ret

Function at 0x423ce0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423a1c
dec esi
jne 0x423d02
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424e74
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5519f0
cmp dword [edi], 0
jne 0x424ef0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5519ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x529ca8
mov ecx, 2
call fcn.004032b8
mov edx, 0x424e4c
lea eax, [esi + 5]
call fcn.00424e6c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424e6c
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 0x424ec5
mov dword [0x5519ec], 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 0x427a54
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0042746c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405328
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x427ab3
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x54cb6c]
mov dl, 1
mov eax, dword [0x4272f8]
call fcn.0040ea48
call fcn.004047ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x427abc
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.00405328
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x427b14
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x54cf90]
mov dl, 1
mov eax, dword [0x4272f8]
call fcn.0040ea48
call fcn.004047ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042749c
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 0x428f4c
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 0x428f52
ret
Function at 0x43e3d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x43e5ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.0045d180
mov eax, dword [esi]
cmp byte [eax + 0x258], 0
je 0x43e591
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
sub eax, dword [edx + 0x268]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2c0]
jb 0x43e43e
mov eax, dword [esi]
add eax, 0x264
call fcn.00404e98
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
cmp al, 8
je 0x43e518
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [0x54cf44]
movzx eax, al
bt dword [edx], eax
jae 0x43e4d5
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.0045e2e4
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x43e55c
mov eax, dword [esi]
push dword [eax + 0x264]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.00405080
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00405080
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x264
mov edx, 3
call fcn.0040522c
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x43e55c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.00405080
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x264
call fcn.00405164
jmp 0x43e55c
mov eax, dword [esi]
mov ebx, dword [eax + 0x264]
test ebx, ebx
je 0x43e505
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x264
mov ecx, 1
mov edx, ebx
call fcn.004053d0
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.00405158
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.0040f360
cmp al, 2
je 0x43e4f4
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x43e549
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x264
mov ecx, 1
xchg edx, eax
call fcn.004053d0
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x43e56d
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43e57a
push ebp
call fcn.0043e2f0
pop ecx
jmp 0x43e591
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [esi]
mov si, 0xffeb
call fcn.004040b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e5b3
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404ebc
ret
Function at 0x446c68
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.00405318
xor eax, eax
push ebp
push 0x446d9d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x446d70
xor edx, edx
push ebp
push 0x446d69
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x446cb5
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 0x446d3e
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 0x446d2d
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x446cf4
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405328
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004032b8
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 0x446d34
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x54c770]
mov dl, 1
mov eax, dword [0x408ae0]
call fcn.0040ea0c
call fcn.004047ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446da4
lea eax, [ebp - 4]
call fcn.00404e98
ret
Function at 0x446dac
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 0x446f67
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040561c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x446f80
call fcn.004051b0
mov eax, ebx
call fcn.004243f4
mov edi, eax
dec edi
test edi, edi
jl 0x446e64
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004243c8
mov edx, dword [0x436d04]
call fcn.00404040
test al, al
je 0x446e60
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.004243c8
lea edx, [ebp - 0x14]
call fcn.0045626c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040561c
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040522c
inc esi
dec edi
jne 0x446e12
movzx eax, byte [0x446f84]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x446f90
mov eax, dword [ebp - 8]
call fcn.0040fe90
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404f30
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.0045626c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x446f80
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.0045626c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x446f80
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, 0x446f80
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, 0x446f9c
call fcn.0040baa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446f6e
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ebc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ebc
lea eax, [ebp - 0x14]
call fcn.00404e98
lea eax, [ebp - 0x10]
call fcn.00404e98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ebc
ret
Function at 0x44a214
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.00404e98
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44a262
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.00405108
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44e2e4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e417
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x427358]
call fcn.004274c4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x44e3ed
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004275a0
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00405108
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x44e42c
call fcn.004051b0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042772c
lea ecx, [ebp - 4]
mov edx, 0x44e468
mov eax, dword [ebp - 0xc]
call fcn.00427974
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00410838
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x44e3d0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x44e474
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x52a960]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e3d7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x44e4c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x44e50b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e4ee
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e4ff
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x44e50b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret