joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419564
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x419689
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00419374
mov esi, eax
mov eax, dword [0x553c50]
cmp byte [eax], 0
je 0x419631
mov eax, dword [0x5537c8]
call fcn.00404904
call fcn.004045c4
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41953c]
call fcn.0040860c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4196a4
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x41966d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x553724]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x556c40]
call fcn.00408814
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419690
lea eax, [ebp - 4]
mov edx, dword [0x41953c]
call fcn.0040872c
ret

Function at 0x41a868
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 0x41a93e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406d68
lea eax, [ebp - 4]
call fcn.00407700
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406da0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41a928
mov eax, ebx
call fcn.0040445c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41a921
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.00406da0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41a90b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41a950
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41a90b
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 0x41a928
mov eax, dword [ebp - 0x10]
call fcn.00404478
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a945
lea eax, [ebp - 4]
call fcn.00406d04
ret
Function at 0x41bb57
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406634
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
mov edi, eax
cmp edi, 0x104
jbe 0x41bb7a
mov eax, edi
add eax, eax
call fcn.0040445c
mov esi, eax
jmp 0x41bb7c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41bbb5
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41bb9f
mov eax, esp
cmp esi, eax
je 0x41bbc2
mov eax, esi
call fcn.00404478
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41bbfc
cmp bl, 0
je 0x41bbf8
cmp bl, 0x41
jl 0x41bbf3
cmp bl, 0x5a
jg 0x41bbf3
or bl, 0x20
xor al, bl
inc esi
jmp 0x41bbd7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41bb3c

Function at 0x444a4c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x444aea
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x444aae
cmp byte [ebx + 0x10], 0
jne 0x444aae
cmp byte [ebx + 0x3c], 0
jne 0x444aae
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x444acf
lea edx, [ebp - 4]
mov eax, dword [0x553bb0]
call fcn.0040a0dc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x435260]
call fcn.004196d0
call fcn.00405b08
jmp 0x444acf
lea edx, [ebp - 8]
mov eax, dword [0x553bb0]
call fcn.0040a0dc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x435260]
call fcn.004196d0
call fcn.00405b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444af1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406d0c
ret

Function at 0x445368
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4453b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004449d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4453cf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4453d8
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.004449d0
dec esi
jne 0x4453fa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x446c14
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x558f90
cmp dword [edi], 0
jne 0x446c90
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x558f8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x551120
mov ecx, 2
call fcn.00404614
mov edx, 0x446bec
lea eax, [esi + 5]
call fcn.00446c0c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00446c0c
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 0x446c65
mov dword [0x558f8c], 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 0x44e950
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44eacb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406d68
mov eax, dword [ebp - 4]
call fcn.0044e1e8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x44e9a2
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040750c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0044f5fc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44ea81
xor eax, eax
push ebp
push 0x44ea7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044e550
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044eb00
test al, al
je 0x44ea58
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406e50
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x44ea58
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00406da0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044e4b0
test al, al
je 0x44ea52
mov eax, dword [ebp - 8]
call fcn.00406da0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00406ec0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0044e950
dec ebx
cmp ebx, 0xffffffff
jne 0x44ea01
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ea81
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044e550
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00406da0
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044e53c
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044e4b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ead2
lea eax, [ebp - 0x3c]
call fcn.00406d04
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406d0c
ret

Function at 0x44f4d8
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.0044e25c
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.00406da0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044e4b0
test al, al
jne 0x44f540
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x553a68]
mov dl, 1
mov eax, dword [0x44d00c]
call fcn.004198d4
call fcn.00405b08
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44f54c
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.00406da0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0044e4b0
test al, al
jne 0x44f5ad
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x553eb0]
mov dl, 1
mov eax, dword [0x44d00c]
call fcn.004198d4
call fcn.00405b08
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044e28c
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 0x44fbac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44fcd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0044e550
xor eax, eax
push ebp
push 0x44fcaf
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044eb00
test al, al
je 0x44fc93
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0044fa8c
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406e50
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x44fc93
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406da0
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044e4b0
test al, al
je 0x44fc8f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00406da0
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00406ec0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0044fa8c
pop ecx
inc edi
dec ebx
jne 0x44fc37
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fcb6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0044e550
ret
Function at 0x44fce4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44ff32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0044e550
xor eax, eax
push ebp
push 0x44ff08
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044eb00
test al, al
je 0x44feec
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406e50
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x44feec
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00406da0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044e4b0
test al, al
je 0x44fee0
mov eax, dword [ebp - 4]
call fcn.00406da0
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00406ec0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044f5fc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44fee0
xor eax, eax
push ebp
push 0x44fed9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0044e550
xor eax, eax
push ebp
push 0x44febb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406da0
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00406ec0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044e554
mov eax, dword [ebp - 4]
call fcn.00406da0
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00406ec0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044f5fc
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x44fe98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0044fbac
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0044fce4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe9f
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x44fd6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ff0f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0044e550
ret
Function at 0x455b58
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 0x455b5e
ret
Function at 0x461134
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4612f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x4612cd
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x4612cd
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x461100]
call fcn.0040860c
add esp, 4
lea eax, [ebp - 4]
call fcn.00409b8c
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x5537cc]
push eax
call fcn.0044c1a4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408444
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004049f4
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x454498]
call fcn.0045dac0
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x4612ab
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0045f73c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.0045e3e0
call fcn.00458b48
push eax
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.0045e74c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4612cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4612f8
lea eax, [ebp - 8]
mov edx, dword [0x461100]
call fcn.0040872c
lea eax, [ebp - 4]
call fcn.00409b8c
ret
Function at 0x473778
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 0x47395a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.004a4d48
mov eax, dword [esi]
cmp byte [eax + 0x278], 0
je 0x47393f
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [esi]
sub eax, dword [edx + 0x288]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2e0]
jb 0x4737e0
mov eax, dword [esi]
add eax, 0x284
xor edx, edx
call fcn.00406d14
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [esi]
mov dword [edx + 0x288], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp ax, 8
je 0x4738c6
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp ax, 0xd800
jb 0x47380f
cmp ax, 0xdfff
jbe 0x473813
xor eax, eax
jmp 0x473815
mov al, 1
test al, al
je 0x473883
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.004a5fec
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x47390a
mov eax, dword [esi]
push dword [eax + 0x284]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, word [edx]
call fcn.00406e80
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00406e80
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x284
mov edx, 3
call fcn.004072b4
mov eax, dword [ebp - 8]
mov word [eax], 0
jmp 0x47390a
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, word [edx]
call fcn.00406e80
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x284
call fcn.00407110
jmp 0x47390a
mov eax, dword [esi]
mov ebx, dword [eax + 0x284]
test ebx, ebx
je 0x4738b3
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x284
mov ecx, 1
mov edx, ebx
call fcn.0040750c
mov eax, dword [esi]
mov eax, dword [eax + 0x284]
call fcn.0040706c
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x284]
call fcn.0041a954
cmp al, 2
je 0x4738a2
mov eax, dword [esi]
mov eax, dword [eax + 0x284]
test eax, eax
je 0x4738f7
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x284
mov ecx, 1
xchg edx, eax
call fcn.0040750c
mov eax, dword [esi]
mov eax, dword [eax + 0x284]
test eax, eax
je 0x47391b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x473928
push ebp
call fcn.00473690
pop ecx
jmp 0x47393f
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov eax, dword [esi]
mov si, 0xffec
call fcn.004052bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473961
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00406d0c
ret
Function at 0x486ac4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406d14
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x486b0b
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406efc
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x48c308
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48c441
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x44d200]
call fcn.0044e404
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48c417
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0044e4ec
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00406efc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x48c45c
call fcn.004071d0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0044e768
test al, al
je 0x48c401
lea ecx, [ebp - 4]
mov edx, 0x48c4d0
mov eax, dword [ebp - 0xc]
call fcn.0044f064
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0041c4fc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x48c3fa
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x48c4e8
mov eax, dword [ebp - 8]
push eax
call fcn.0040b91c
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x551f1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c401
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c41e
mov eax, dword [ebp - 0xc]
call fcn.00405030
ret

Function at 0x48c54c
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 0x48c593
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48c576
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48c587
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x48c593
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret