joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41425c
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.0042b95c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
je 0x4142b4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48e158]
mov dl, 1
mov eax, dword [0x413cdc]
call fcn.0041c8e4
call fcn.0042a99c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00413e64
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 0x417d0c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x417db5
test eax, edx
je 0x417db8
push 0
push 0
cmp word [eax - 0xa], 2
je 0x417d35
push edx
mov edx, eax
mov eax, esp
call fcn.0042bad4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x417d4b
push eax
lea eax, [esp + 8]
call fcn.0042bad4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x417d5a
movzx eax, word [eax]
sub eax, ecx
jmp 0x417d81
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x417d9b
add ecx, 4
js 0x417d72
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x417d98
push eax
mov eax, ecx
mov edx, 2
call fcn.0042b0f8
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x417d7f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x417d81
xor eax, eax
ret
test eax, eax
je 0x417dc8
test edx, edx
jne 0x417d1c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41beb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x41bee9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0042ba0c
jmp 0x41bef2
mov eax, ebx
mov edx, esi
call fcn.0042b8d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41befc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x41bf1e
movzx eax, word [esp]
jmp 0x41bf20
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41c6a8
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 0x41c7cd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041c4bc
mov esi, eax
mov eax, dword [0x48e06c]
cmp byte [eax], 0
je 0x41c775
mov eax, dword [0x48e074]
call fcn.004297e4
call fcn.004295e8
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 [0x41c684]
call fcn.0042d080
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 0x41c7e8
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x41c7b1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x48dee4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48e2f4]
call fcn.0042d174
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 0x41c7d4
lea eax, [ebp - 4]
mov edx, dword [0x41c684]
call fcn.0042d08c
ret

Function at 0x41d3f8
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 0x41d4ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0042b924
lea eax, [ebp - 4]
call fcn.0042c328
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0042b95c
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41d4b8
mov eax, ebx
call fcn.004293f8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41d4b1
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.0042b95c
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x41d49b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41d4e0
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x41d49b
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 0x41d4b8
mov eax, dword [ebp - 0x10]
call fcn.00429414
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d4d5
lea eax, [ebp - 4]
call fcn.0042b8c0
ret
Function at 0x41e187
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.0042b3f8
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 0x41e1aa
mov eax, edi
add eax, eax
call fcn.004293f8
mov esi, eax
jmp 0x41e1ac
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 0x41e1e5
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 0x41e1cf
mov eax, esp
cmp esi, eax
je 0x41e1f2
mov eax, esi
call fcn.00429414
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 0x41e22c
cmp bl, 0
je 0x41e228
cmp bl, 0x41
jl 0x41e223
cmp bl, 0x5a
jg 0x41e223
or bl, 0x20
xor al, bl
inc esi
jmp 0x41e207
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41e16c

Function at 0x429d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x486854]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x429e28
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x429e08
xor eax, eax
push ebp
push 0x429e01
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 0x429e60
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429e08
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
movzx eax, word [0x486854]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x486854], ax
mov esp, ebp
pop ebp
ret

Function at 0x42ae4c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4909a0], 0
je 0x42aead
cmp word [0x490c7c], 0xd7b2
jne 0x42ae75
cmp dword [0x490c84], 0
jbe 0x42ae75
mov eax, 0x490c78
call dword [0x490c94]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x42aed8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x486860], 0
jne 0x42aec9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x42b058
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 [0x486840], 0
je 0x42b07e
mov edx, esi
mov eax, ebx
call dword [0x486840]
jmp 0x42b08d
mov eax, 8
call fcn.004293f8
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4909a1], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x42b020
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 0x4345a2
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4345dd
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4345c4
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
push esp
and al, 0xc
jb 0x4345d5
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4345df
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4345ba
xor eax, eax
pop edi
pop esi
ret
Function at 0x439a80
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 0x439bb9
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 [0x413d50]
call fcn.00413e8c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x439b8f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, SysStringLen
mov eax, dword [ebp - 0xc]
call fcn.00413f2c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0042bab8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x439bd4
call fcn.0042bd8c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00413f90
test al, al
je 0x439b79
lea ecx, [ebp - 4]
mov edx, 0x439c48
mov eax, dword [ebp - 0xc]
call fcn.004141dc
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0041e9cc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x439b72
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x439c60
mov eax, dword [ebp - 8]
push eax
call fcn.004041e4
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4875fc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439b79
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 0x439b96
mov eax, dword [ebp - 0xc]
call fcn.00429fc0
ret

Function at 0x439cc4
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 0x439d0b
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x439cee
add bx, 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x439cff
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x439d0b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x43c688
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 0x43c68e
ret
Function at 0x446ba0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongW
mov edi, eax
test bl, bl
je 0x446bc1
test edi, 0x40000
je 0x446bdb
test bl, bl
jne 0x446c5c
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x446c5c
push esi
call sub.USER32.DLL_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.USER32.DLL_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x446c0e
push 0
push esi
call sub.USER32.DLL_ShowWindow
test bl, bl
je 0x446c23
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongW
jmp 0x446c32
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x446c43
cmp byte [esp + 2], 0
je 0x446c5c
cmp byte [esp + 2], 0
je 0x446c54
push 6
push esi
call sub.USER32.DLL_ShowWindow
jmp 0x446c5c
push 5
push esi
call sub.USER32.DLL_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x446f08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.USER32.DLL_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x446f2e
mov eax, esp
push eax
push 0x446ed0
call sub.USER32.DLL_EnumWindows
jmp 0x446f41
mov eax, esp
push eax
push 0x446eb0
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.USER32.DLL_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x447004
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x447058]
test si, 4
je 0x447019
or bl, 1
test si, 8
je 0x447023
or bl, 4
test si, 1
je 0x44702d
or bl, 8
test si, 2
je 0x447037
or bl, 0x10
test si, 0x10
je 0x447041
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x447050
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44705c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x447098]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x447076
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x447085
or bl, 4
test esi, 0x20000000
je 0x447090
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f5cc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f5de
add esp, 0xfffffff0
call fcn.0042a3f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411b6c
mov eax, dword [0x48e0d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f9e0
mov eax, dword [0x48e0d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f9ec
mov eax, ebx
call fcn.0044f9f8
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x408688]
call fcn.00429f90
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x408688]
call fcn.00429f90
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x408688]
call fcn.00429f90
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x408688]
call fcn.00429f90
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x408688]
call fcn.00429f90
mov dword [ebx + 0x74], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44a92c
push eax
push 0
push 0
mov eax, dword [0x48e0c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x43bc40]
call fcn.0043d6c0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x43bc40]
call fcn.0043d6c0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x43bc40]
call fcn.0043d6c0
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x43bc40]
call fcn.0043d6c0
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.0044fef0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fdc8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fdc8
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fdc8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fdc8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f731
call fcn.0042a450
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44fb68
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44fd15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44fcf6
mov dl, 1
mov eax, dword [0x408b00]
call fcn.0040cf90
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.0042b8d0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44fce5
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0046963c
test al, al
je 0x44fcd8
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x44fd24
lea eax, [ebp - 0x394]
call fcn.00419180
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x44fcd8
xor eax, eax
push ebp
push 0x44fcd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x44fd94
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x44fcba
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.0042bab8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44fcba
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.0042bab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fcd8
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44fbdb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0040cd7c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fd1c
lea eax, [ebp - 0x3a0]
call fcn.0042b8c0
ret

Function at 0x450704
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x493558]
cmp byte [eax + 0xa9], 0
jne 0x450776
cmp dword [0x493570], 0
jne 0x450736
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x4879d4]
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExW
mov dword [0x493570], eax
cmp dword [0x49356c], 0
jne 0x450751
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x49356c], eax
cmp dword [0x493574], 0
jne 0x450776
push esp
push 0
push 0
mov eax, dword [0x487ad8]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x493574], eax
pop edx
ret
Function at 0x45098c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4509a3
add esp, 0xfffffff0
call fcn.0042a3f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411b6c
mov eax, dword [0x48e05c]
cmp byte [eax], 0
jne 0x4509d0
push 0
call sub.OLE32.DLL_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x48e0d8]
cmp word [eax + 2], 0
jne 0x4509ea
mov eax, dword [0x48e0d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045264c
mov eax, dword [0x48e0dc]
cmp word [eax + 2], 0
jne 0x450a04
mov eax, dword [0x48e0dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045285c
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x43bc40]
call fcn.0043d6c0
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x452ce0
mov dl, 1
mov eax, dword [0x408688]
call fcn.00429f90
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x408688]
call fcn.00429f90
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x43c498]
call fcn.00443124
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x450be0
mov eax, dword [0x48e058]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00443528
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452f90
mov dl, 1
mov eax, dword [0x408688]
call fcn.00429f90
mov dword [ebx + 0x94], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x48e058]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00418fcc
test eax, eax
je 0x450b12
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00418dcc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00418fb4
test eax, eax
je 0x450b2a
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.USER32.DLL_CharNextW
push eax
call sub.USER32.DLL_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.0042bab8
push ebx
push 0x4522bc
call fcn.00446fe8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x48e05c]
cmp byte [eax], 0
jne 0x450b7b
mov eax, ebx
call fcn.00450d54
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.004531b8
mov eax, ebx
call fcn.00453d7c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450bd8
call fcn.0042a450
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret