joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003985
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
push 0xd
pop ecx
xor ebx, ebx
push 0x7f02
mov esi, 0x10016c0
lea edi, [ebp - 0x3c]
push ebx
mov dword [ebp - 8], ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x13
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x10039cd
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov edi, dword [ebp + 8]
push 0x20
pop esi
cmp word [edi], si
jne 0x10039e2
inc edi
inc edi
cmp word [edi], si
je 0x10039d8
mov dword [ebp + 8], edi
cmp word [edi], 0x22
jne 0x10039fe
push 0x22
pop esi
add edi, 2
jmp 0x10039fe
cmp ax, si
je 0x1003a06
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
mov ax, word [edi]
cmp ax, bx
jne 0x10039f0
cmp word [edi], 0x22
jne 0x1003a0e
inc edi
inc edi
cmp word [edi], bx
je 0x1003a18
mov word [edi], bx
inc edi
inc edi
xor ecx, ecx
inc ecx
cmp edi, ebx
mov dword [0x101499c], ecx
jne 0x1003a2a
mov edi, 0x10016bc
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x1003a36
cmp word [eax], bx
jne 0x1003a39
mov ecx, dword [ebp - 8]
cmp word [ebp + 0x1c], bx
je 0x1003a42
or ecx, 2
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x1003a51
cmp word [eax], bx
je 0x1003a51
or ecx, 4
movzx eax, cx
push eax
movzx eax, word [ebp + 0x1c]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
add esp, 0x14
push ebx
call esi
xor ecx, ecx
mov ebx, eax
xor eax, eax
cmp dword [ebp + 0x20], eax
setne cl
push ecx
mov ecx, dword [ebp + 0x14]
neg ecx
push eax
sbb ecx, ecx
and ecx, 6
inc ecx
push ecx
lea ecx, [ebp - 0x104]
push ecx
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
push eax
push dword [0x1014a0c]
call sub.SHELL32.dll_RealShellExecuteExW
push ebx
mov edi, eax
call esi
xor esi, esi
cmp di, 8
mov dword [0x101499c], esi
jne 0x1003ad3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1003ad3
push 3
pop edi
jmp 0x103b2bd

Function at 0x1003c30
Capabilities:
Get common file path
Log keystrokes via polling
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa1c
push ebx
push esi
push edi
push 0x1016040
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
push edi
call fcn.0100d7b5
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je fcn.01003c7c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
jmp loc.0103c791
Function at 0x1003e77
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xdc
push esi
push 0x100b58f
push dword [0x1014a0c]
xor esi, esi
push 0xd
mov dword [ebp + 0x70], 0x64
mov dword [ebp + 0x74], esi
call fcn.01008bda
test ax, ax
je 0x1003ff7
push 0x10149dc
push 0x30019
push esi
push str.Program_Groups
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jmp loc.0103cb09
pop esi
add ebp, 0x78
leave
ret
Function at 0x100469d
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xc4
push esi
push edi
mov esi, 0x1001704
lea edi, [ebp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xb
xor eax, eax
cmp dword [ebp + 0x7c], 7
pop ecx
lea edi, [ebp + 0x40]
rep stosd dword es:[edi], eax
mov dword [ebp + 0x70], 0x3e
stosw word es:[edi], ax
je 0x10046f7
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1014a0c]
cmp ecx, eax
je fcn.010046e6
push ecx
jmp loc.0103df3b

Function at 0x10047c8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc1c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp word [esi], bx
je 0x1004913
push 0x201
lea eax, [ebp - 0xc1c]
push eax
push 0x90
push dword [0x1015774]
call dword [sym.imp.USER32.dll_LoadStringW]
jmp 0x1004809
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0x20
je 0x1004800
xor eax, eax
cmp word [esi], bx
push 0x104
sete al
mov dword [ebp + 8], eax
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 8], ebx
jne 0x1004908
push edi
cmp word [esi], bx
mov edi, esi
je 0x100485a
mov ax, word [edi]
cmp ax, 0x20
je 0x100485a
cmp ax, 0x2c
je 0x100485a
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
cmp word [edi], bx
jne 0x100483d
cmp word [edi], bx
jne 0x1004868
mov dword [ebp + 8], 1
jmp 0x100486b
mov word [edi], bx
cmp word [esi], bx
je 0x10048fb
push 0x1015a00
push esi
call fcn.01008804
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0100887a
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
jmp 0x103d6be
cmp dword [ebp + 8], ebx
lea esi, [edi + 2]
je 0x1004836
pop edi
push 0x10162e0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop esi
pop ebx
leave
ret 8

Function at 0x1004919
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001728
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10049de
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x100171c
push dword [ebp - 4]
mov word [ebp - 0x214], di
mov dword [ebp - 8], 0x208
call esi
cmp word [ebp - 0x214], di
je fcn.0100498d
push 1
lea eax, [ebp - 0x214]
push eax
jmp loc.0103c8d7
Function at 0x10049e3
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0x48
push dword [0x1015774]
call esi
push 0x65
lea eax, [ebp - 0x11c]
push eax
push 1
push dword [0x1015774]
call esi
mov eax, dword [0x10149c8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
cmp eax, ebx
push 4
pop edi
je fcn.01004b48
lea ecx, [ebp - 4]
push ecx
push 0x1014978
lea ecx, [ebp - 8]
push ecx
push ebx
push str.MinOnRun
push eax
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x1014980
lea eax, [ebp - 8]
push eax
push ebx
push str.AutoArrange
push dword [0x10149c8]
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x1014008
lea eax, [ebp - 8]
push eax
push ebx
push str.SaveSettings
push dword [0x10149c8]
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x101575c
lea eax, [ebp - 8]
push eax
push ebx
push 0x1001794
push dword [0x10149c8]
mov dword [ebp - 4], edi
mov dword [0x101575c], ebx
call esi
cmp dword [0x101575c], ebx
je fcn.01004ac2
push 0x1001794
push dword [0x10149c8]
jmp loc.0103f59e
Function at 0x1004c1a
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
lea eax, [ebp - 0x10]
xor edi, edi
push eax
push 8
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1004d99
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push edi
push edi
push 1
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x1004c72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1004c72
xor eax, eax
jmp 0x1004d97
push dword [ebp - 4]
call fcn.01010b96
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x14], ebx
je 0x1004c6b
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push 1
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x1004d1e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebx]
push edi
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
jne 0x1004cc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1004d1e
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea eax, [eax + eax + 2]
push eax
push 0x40
call esi
mov edi, eax
test edi, edi
je 0x1004d1e
mov eax, dword [ebp - 8]
lea eax, [eax + eax + 2]
push eax
push 0x40
call esi
mov esi, eax
test esi, esi
mov dword [ebp - 0x18], esi
jne 0x1004cf6
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1004d1e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebx]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
jne 0x1004d29
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
push esi
call edi
push ebx
call fcn.01010bcc
jmp 0x1004c6b
cmp word [edi], 0
je 0x1004d80
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push edi
mov dword [ebp - 0x20], eax
call esi
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
add ecx, eax
push ebx
mov dword [ebp + 8], ecx
call esi
mov ecx, dword [ebp + 8]
add ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 1
add eax, 4
cmp ecx, eax
jge 0x1004d7d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x10017b4
push ebx
call esi
push dword [ebp - 0x18]
push ebx
call esi
push 0x100150c
push ebx
call esi
push edi
push ebx
call esi
mov ebx, dword [ebp - 0x14]
push ebx
jmp 0x1040ea6
pop esi
pop ebx
pop edi
leave
ret 8
Function at 0x10050e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov eax, 0x2e2
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], 8
mov dword [ebp - 8], eax
je 0x1005148
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
push ebx
jmp 0x100513f
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
push ebx
inc eax
sub dword [ebp - 8], eax
push ebx
lea esi, [esi + eax*2]
mov eax, dword [ebp - 8]
push ebx
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x1005120
mov eax, dword [0x10149d4]
cmp eax, ebx
je 0x1005192
mov ecx, dword [ebp - 8]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push esi
push ebx
mov dword [ebp - 0xc], ebx
push eax
jmp 0x100518c
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
push ebx
inc eax
sub dword [ebp - 8], eax
push ebx
lea esi, [esi + eax*2]
mov eax, dword [ebp - 8]
push ebx
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 0xc]
push dword [0x10149d4]
call edi
test eax, eax
je 0x1005167
mov word [esi], bx
cmp dword [0x1014a74], ebx
mov dword [ebp - 0x10], 0x28e
mov ecx, str.Order
jne 0x10051ae
mov ecx, str.UNICODE_Order
jmp 0x103d654

Function at 0x100538a
Capabilities:
Delete registry value
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x884
push ebx
push esi
xor esi, esi
cmp dword [0x1014a74], esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov ebx, str.progman
je 0x10053dd
push esi
lea eax, [ebp - 0x14]
push eax
push dword [0x10149e4]
push 0x2001f
push esi
push ebx
push esi
push 0x10142e0
push dword [0x10149c4]
call edi
mov eax, dword [ebp - 0x14]
jmp 0x10053e2
mov eax, dword [0x10149d0]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x10056a1
mov eax, dword [0x1014980]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10149cc]
cmp eax, esi
mov dword [0x10149b4], esi
mov dword [0x10149b8], esi
je 0x100542a
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push esi
push str.ShowCommonGroups
push eax
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x1c], esi
jne 0x1005437
cmp dword [0x1014970], esi
je 0x1005462
push esi
push 0x10149d4
push dword [0x10149e4]
push 0x2001f
push esi
push ebx
push esi
push str.Common_Groups
push dword [0x10149c4]
call edi
push 0x10149c0
jmp 0x103edbc
push dword [ebp - 4]
lea eax, [ebp - 0x884]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x884]
push eax
jmp 0x103bc6f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10056a6
Capabilities:
Delete registry value
Packed with generic packer
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
xor eax, eax
push edi
inc eax
xor edi, edi
xor esi, esi
cmp dword [ebp + 8], eax
je 0x1005760
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov ebx, str.Migrate_ANSI
push ebx
push dword [0x10149d8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100575d
lea eax, [ebp + 8]
push eax
push 0x20019
push edi
push str.Program_Groups
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne fcn.0100573d
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push dword [ebp + 8]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp loc.0103d241

Function at 0x1005b1c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_wcsstr]
push esi
push edi
push 0x1001874
push dword [esp + 0x14]
call ebx
test eax, eax
pop ecx
pop ecx
je 0x1005b65
add eax, 8
cmp word [eax], 0x30
mov esi, eax
jb 0x1005b4f
cmp word [esi], 0x39
ja 0x1005b4f
inc esi
inc esi
cmp word [esi], 0x30
jae 0x1005b41
jmp 0x103f48d
push 0x1001864
push dword [esp + 0x14]
call ebx
test eax, eax
pop ecx
pop ecx
je 0x1005ba5
add eax, 0xe
cmp word [eax], 0x30
mov esi, eax
jb 0x1005b8f
cmp word [esi], 0x39
ja 0x1005b8f
inc esi
inc esi
cmp word [esi], 0x30
jae 0x1005b81
mov di, word [esi]
and word [esi], 0
push eax
call fcn.010120c9
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov word [esi], di
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x1006a03
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateRectRgn]
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call esi
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x1006a27
xor eax, eax
jmp 0x1006ad8
push edi
push edi
push edi
push edi
call esi
cmp eax, edi
mov dword [ebp - 8], eax
je 0x1006ad5
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
cmp esi, edi
je 0x1006acc
mov edi, dword [sym.imp.GDI32.dll_SetRectRgn]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x1006acb
lea ecx, [esi + 0xc]
add eax, 0xc
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1006a8e
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 8]
call edi
jmp 0x103fcac
lea eax, [esi + 0x20]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1006ac5
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 8]
call edi
push 2
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 4]
call ebx
mov esi, dword [esi]
test esi, esi
jne 0x1006a53
pop ebx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x1006ade
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1006b2d
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1006b2d
push esi
mov esi, dword [sym.imp.USER32.dll_UnionRect]
lea ecx, [eax + 0x20]
push ecx
add eax, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call esi
cmp dword [0x1014984], 0
lea eax, [ebp - 0x10]
je 0x1006b20
push eax
mov eax, 0x1015730
push eax
push eax
call esi
jmp fcn.01006b2c
push 1
push eax
push dword [edi + 4]
jmp loc.010404dd

Function at 0x1006b32
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0xc]
je 0x1006ba1
push ebx
push edi
push esi
call fcn.01006a03
mov ebx, eax
test ebx, ebx
je 0x1006b62
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0xc]
jmp 0x1006b69
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edi
jne 0x1006b67
cmp dword [esp + 0x18], 0
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
mov dword [edi], eax
mov dword [esi + 0xc], edi
je 0x1006ba0
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
lea eax, [edi + 0x20]
push eax
push dword [esi + 4]
call ebx
mov eax, dword [edi]
push 1
add eax, 0x20
push eax
jmp 0x103c572
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x1006ba6
Capabilities:
Log keystrokes via polling
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
mov edi, dword [esi + 0xc]
test edi, edi
je 0x1006c60
cmp dword [0x1014a5c], ebx
jne 0x1006c60
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
not eax
and eax, 1
mov dword [0x1014994], eax
cmp dword [esi + 0x18], 0
je 0x1006bf1
cmp eax, 1
je 0x1006c60
test eax, eax
je 0x1006c03
push edi
push esi
call fcn.01006ade
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
push ebx
call fcn.010062ba
push eax
mov dword [ebp + 8], eax
movzx eax, di
movzx ecx, si
shl eax, 0x10
or eax, ecx
push eax
push 1
push ebx
push dword [0x1014a10]
call dword [sym.imp.USER32.dll_DragObject]
cmp eax, 2
jne 0x1006c40
cmp dword [0x1014994], 0
je 0x1006c57
push edi
push esi
call fcn.0100cb6d
jmp 0x1006c57
cmp dword [0x1014994], 0
je 0x1006c57
and dword [0x1014994], 0
push edi
push esi
jmp 0x103fbb4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DestroyIcon]
and dword [0x1014994], 0
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1006f40
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
xor ebx, ebx
xor edi, edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc]
lea ecx, [eax + 0x20]
push ecx
add eax, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
jge 0x1006f8e
sub edx, ecx
mov ebx, edx
jmp 0x1006f99
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jle 0x1006f99
sub ecx, eax
mov ebx, ecx
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jge 0x1006fa6
sub eax, dword [ebp - 0xc]
jmp 0x1006fb1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
jle 0x1006fb3
sub eax, dword [ebp - 4]
mov edi, eax
test ebx, ebx
jne 0x1006fbb
test edi, edi
je 0x1006fc5
push 1
push edi
push ebx
push esi
jmp 0x103c879
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1006fcc
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [esp + 4], 0xd
push ebx
push ebp
push esi
push edi
je 0x1007075
cmp dword [esp + 0x14], 0xf
jbe 0x1006fed
cmp dword [esp + 0x14], 0x12
jbe 0x1007075
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
test ax, ax
jge 0x1007001
or byte [esp + 0x15], 1
push 0x11
call esi
test ax, ax
jge 0x100700f
jmp 0x103e1b9
push 0x12
call esi
test ax, ax
jge 0x100701d
jmp 0x103f912
test byte [esp + 0x1b], 1
je 0x1007029
or byte [esp + 0x15], 8
jmp 0x103d850
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x1007169
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push esi
push 0
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
cmp dword [esi + 0xc], 0
je 0x1007212
push ebx
push dword [esp + 0x10]
call fcn.0100c50c
mov ebx, eax
test ebx, ebx
je 0x1007211
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [eax]
test edi, edi
je 0x1007207
push ebp
mov eax, dword [edi + 4]
mov eax, dword [ebx + eax*4 + 0x38]
mov ebp, dword [sym.imp.USER32.dll_CharUpperW]
add eax, ebx
mov eax, dword [eax + 0x14]
movzx eax, byte [eax + ebx]
push eax
call ebp
mov dword [esp + 0x10], eax
movzx eax, word [esp + 0x1c]
push eax
call ebp
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x10071d3
mov edi, dword [edi]
test edi, edi
jne 0x100719e
jmp fcn.01007206
push esi
call fcn.01006216
push 0
push edi
push esi
mov ebx, eax
call fcn.01006b32
push 1
add edi, 0x20
push edi
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
call edi
push 1
add ebx, 0x20
push ebx
push dword [esi + 4]
call edi
push esi
jmp loc.0103b82d

Function at 0x10078c7
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
je 0x100790f
push ebx
push edi
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x100790d
movzx eax, byte [esi]
mov ebx, dword [sym.imp.USER32.dll_CharUpperW]
push eax
jmp loc.01040b84
pop edi
pop ebx
mov ax, word [esi]
neg ax
pop esi
sbb eax, eax
not eax
and eax, dword [ebp - 4]
leave
ret 8

Function at 0x100858e
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [edi], edx
mov dword [esi], eax
mov word [ebx], dx
mov dword [ecx], edx
cmp word [eax], 0x22
sete dl
test edx, edx
mov dword [ebp + 8], edx
je 0x10085be
inc eax
inc eax
xor edx, edx
inc edx
cmp word [eax], 0x5c
jne 0x10085d0
cmp word [eax + 2], 0x5c
jne 0x10085d0
mov dword [ecx], edx
cmp word [eax], 0
je 0x100861e
mov dword [ebp + 0x10], edx
mov cx, word [eax]
cmp cx, 0x20
jne 0x10085e8
cmp dword [ebp + 8], 0
je 0x100861e
cmp cx, 0x22
je 0x100861e
cmp cx, 0x5c
je 0x10085fa
cmp cx, 0x3a
jne 0x1008606
lea ecx, [eax + 2]
mov dword [esi], ecx
jmp 0x103f399
cmp word [eax], 0x2e
jne 0x100860e
mov dword [edi], eax
inc dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
cmp word [eax], 0
jne 0x10085d9
mov eax, dword [edi]
cmp eax, dword [esi]
jae 0x1008627
and dword [edi], 0
pop edi
pop esi
pop ebx
pop ebp
ret 0x14