joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbc9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4bbcab
pop dword [ebp - 0x48]
mov eax, 0x21bc2e5d
add eax, 0xde8f8e4e
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x90365
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0xc2191fb
sub ecx, 0xc21460d
mov edi, eax
mov ebx, 0xc55d2cc1
sub ebx, 0xc50088c1
add ebx, dword [ebp - 0x48]
mov edx, 0x4fd972aa
add edx, 0xcfa5cac6
sub dword [ebp - 0x28], ecx
mov esi, dword [ebx]
xor dword [ebp - 0x28], 0xdb1977b8
add esi, edx
add dword [ebp - 0x30], 0x667b1fa0
mov dword [edi], esi
xor dword [ebp - 8], 0x1ac710e9
add edi, 0x9091d1a4
add edi, 0x6f6e2e60
add ebx, 0x83e4b6b6
sub ebx, 0x83e4b6b2
loop 0x4bbd05
add eax, 0x1228b
xor ebx, ebx
add ebx, eax
add eax, 0xf3878409
sub eax, 0xf3878404
mov ecx, 0x9852526d
sub ecx, 0x9812526d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x4cb795
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x549689
call fcn.00528c47
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call main
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x552bc8
call main
cmp eax, 0xffffffff
jne 0x4cb849
push 0
push 0x55a858
lea ecx, [ebp - 0x4d0]
call main
cmp eax, 0xffffffff
jne 0x4cb849
push 0
push 0x554a24
lea ecx, [ebp - 0x4d0]
call main
cmp eax, 0xffffffff
jne 0x4cb849
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call main
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
jne 0x4cb825
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00401fd0
jmp 0x4cb878
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call main
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401fd0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4cb86f
mov ebx, dword [ebp - 0x4cc]
jmp 0x4cb878
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00401fd0
mov eax, ebx
call fcn.00528bf6
ret
Function at 0x40148c
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40149e
mov eax, dword [0x4e008b]
shl eax, 2
mov dword [0x4e008f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004c0654
pop edx
call fcn.004c05b8
call fcn.004c0694
push 0
call fcn.004c1aa0
pop ecx
push 0x4e0034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4e0093], eax
push 0
jmp fcn.004c72ac
Function at 0x417a90
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov dword [ebp - 4], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
mov eax, 0x4e7584
call fcn.004c0e00
mov dword [ebp - 0x14], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.004de4a0
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 8
push 0
call sub.OLE32.DLL_CoInitialize
test eax, eax
jl 0x417bbe
lea edx, [ebp - 0x3c]
push edx
push 0x4f0508
push 1
push 0
push 0x4f0518
call sub.OLE32.DLL_CoCreateInstance
test eax, eax
jl 0x417bb9
mov eax, dword [ebp - 0x38]
call fcn.0040c478
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x50]
push 0x4e1d50
mov eax, dword [ebp - 0x3c]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push 5
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea edx, [ebp - 0x40]
push edx
push 0x4f0528
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x417bb0
mov word [ebp - 0x20], 0x14
lea edx, [ebp - 4]
lea eax, [ebp - 8]
call fcn.004ded58
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x20
mov word [ebp - 0x20], 0x2c
mov edx, 0x4e1d51
lea eax, [ebp - 0xc]
call fcn.004ded20
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004dedfc
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004dedcc
push 1
lea eax, [ebp - 8]
call fcn.00417bdc
push eax
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x40]
push eax
mov edx, dword [eax]
call dword [edx + 8]
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004dedcc
mov word [ebp - 0x20], 8
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
call sub.OLE32.DLL_CoUninitialize
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004de604
mov ecx, dword [ebp - 0x30]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42d97c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, 0x4ee198
call fcn.004c0e00
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x30], 0x100
push dword [ebp - 0x30]
call fcn.004c04c8
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42d9f1
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x100
jbe 0x42d9f1
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004c04e8
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x42d9f1
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
cmp dword [ebp - 0x30], 0
je 0x42da0e
cmp dword [ebp - 0x34], 0
je 0x42da0e
mov edx, dword [ebp - 0x34]
jmp 0x42da13
mov edx, 0x4ede0c
lea eax, [ebp - 4]
call fcn.004de468
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x20
push dword [ebp - 0x34]
call fcn.004c04d8
pop ecx
mov word [ebp - 0x18], 0x2c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004de634
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x38
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004de604
pop eax
mov word [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x42da91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434e40
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x434d8c
call sub.USER32.DLL_EnumWindows
ret

Function at 0x434f64
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x434fe1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004349b0
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x434f89
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434608
cmp dword [ebp - 4], 0
je 0x434fcb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004bd83c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434fe8
lea eax, [ebp - 4]
call fcn.004bd38c
ret

Function at 0x441b1c
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.004bd38c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441b6b
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004bd5f4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447aa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447d00
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x447b03
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00447568
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.004afa4c
cmp al, 1
jne 0x447b03
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00447880
test al, al
je 0x447c8f
cmp dword [ebp - 8], 0
jge 0x447b21
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00447568
mov eax, dword [ebp - 0x210]
call fcn.004bd644
cmp ebx, eax
jge 0x447b6b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00447568
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4f4fcc]
and eax, 0xff
bt dword [edx], eax
jae 0x447b6b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x447b7f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00447a7c
cmp ebx, dword [ebp - 8]
je 0x447c81
lea eax, [ebp - 0x108]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x447bab
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004bca3c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ef604]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.USER32.DLL_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x447c6e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004bca3c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ef604]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.004789d8
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004bca3c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ef604]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004789d8
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447c75
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x447ce2
cmp dword [ebp - 8], 0
jge 0x447c9a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00447568
mov eax, dword [ebp - 0x218]
call fcn.004bd644
cmp eax, dword [ebp - 8]
jg 0x447cd4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00447568
mov eax, dword [ebp - 0x21c]
call fcn.004bd644
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00447a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447d07
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004bd3b0
ret
Function at 0x4525d4
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 0x4525da
ret

Function at 0x45501c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x45506d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x455054
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x455044
jmp 0x45506d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x455055
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45e280]
test si, 4
je 0x45e244
or bl, 1
test si, 8
je 0x45e24e
or bl, 4
test si, 1
je 0x45e258
or bl, 8
test si, 2
je 0x45e262
or bl, 0x10
test si, 0x10
je 0x45e26c
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45e27b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e284
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45e2bc]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45e29d
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45e2ac
or bl, 4
test esi, 0x20000000
je 0x45e2b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x464bf8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x464c0a
add esp, 0xfffffff0
call fcn.004bcba4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a6b3c
mov eax, dword [0x4f4f20]
mov dword [eax + 4], ebx
mov dword [eax], 0x464f9c
mov eax, dword [0x4f4f24]
mov dword [eax + 4], ebx
mov dword [eax], 0x464fa8
mov eax, ebx
call fcn.00464fb4
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x49c610]
call fcn.004bc810
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x49c610]
call fcn.004bc810
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x49c610]
call fcn.004bc810
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x49c610]
call fcn.004bc810
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x49c610]
call fcn.004bc810
mov dword [ebx + 0x7c], 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, 0x46147c
push eax
push 0
push 0
mov eax, dword [0x4f4f0c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x451a08]
call fcn.0045311c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x451a08]
call fcn.0045311c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x451a08]
call fcn.0045311c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046541c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4652f8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4652f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4652f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464d47
call fcn.004bcbfc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4650dc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x465287
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x465268
mov dl, 1
mov eax, dword [0x49cbfc]
call fcn.004bc810
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004bd38c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x465257
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.0047d5e4
test al, al
je 0x46524a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x465298
lea eax, [ebp - 0x254]
call fcn.004ac950
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x46524a
xor eax, eax
push ebp
push 0x465243
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4652d0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x46522c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004bd5f4
mov edx, dword [ebp - 0x260]
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 0x46522c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004bd5f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46524a
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46514d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004a113c
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 0x46528e
lea eax, [ebp - 0x260]
call fcn.004bd38c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f5394]
cmp byte [eax + 0xa5], 0
jne 0x465c2d
cmp dword [0x4f53ac], 0
jne 0x465bee
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x465b78
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4f53ac], eax
cmp dword [0x4f53a8], 0
jne 0x465c09
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4f53a8], eax
cmp dword [0x4f53b0], 0
jne 0x465c2d
push esp
push 0
push 0
push 0x465b1c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4f53b0], eax
pop edx
ret
Function at 0x465d54
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x465d6b
add esp, 0xfffffff0
call fcn.004bcba4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a6b3c
mov eax, dword [0x4f4f28]
cmp word [eax + 2], 0
jne 0x465d93
mov eax, dword [0x4f4f28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467430
mov eax, dword [0x4f4f2c]
cmp word [eax + 2], 0
jne 0x465dad
mov eax, dword [0x4f4f2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467628
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x49c610]
call fcn.004bc810
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x49c610]
call fcn.004bc810
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], SafeArrayPutElement
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x452488]
call fcn.0045a514
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x465f34
mov eax, dword [0x4f5178]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0045a8e4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x467ba8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f5178]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004aff64
test eax, eax
je 0x465ea2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004ac298
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004aff8c
test eax, eax
je 0x465eb6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004bd5f4
mov eax, dword [0x4f5180]
cmp byte [eax], 0
jne 0x465eea
mov eax, ebx
call fcn.0046605c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00467d84
mov eax, ebx
call fcn.00468734
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465f2a
call fcn.004bcbfc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4662d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f5394]
cmp dword [eax + 0x30], 0
je 0x46637a
cmp dword [ebx + 0x94], 0
jne 0x466374
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466260
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x466374
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x46633a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x466374
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0049ed7c
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x466349
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x466e58
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x466e8d
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004bd47c
jmp 0x466e9a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004bd3e0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x467f60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467fa1
mov eax, esi
call fcn.00478cdc
test al, al
je 0x467fa1
mov eax, dword [ebx + 0x84]
call fcn.004789d8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x467fa1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004789d8
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x46fe58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4f5438], 0
je 0x46ffa7
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4f4d8c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x46ffa7
mov eax, dword [0x4f543c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4f5438]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x46ff76
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4f5438]
call fcn.0049ed7c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x46ff6e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x46ff6e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x46ff6e
mov eax, dword [ebp - 0x14]
call fcn.004789d8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x46ff6e
push ebp
call fcn.0046fe14
pop ecx
test al, al
jne 0x46ff6e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x46ff2a
mov eax, dword [ebp - 0x14]
call fcn.0047756c
dec eax
jle 0x46ff6e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004bca3c
cmp byte [ebp - 1], 0
je 0x46ff6e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x46ff6e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4f543c]
call fcn.0046f5dc
inc edi
dec ebx
jne 0x46febd
mov eax, dword [0x4f543c]
cmp dword [eax + 8], 0
jle 0x46ff8e
mov eax, dword [0x4f543c]
call fcn.0046f66c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46ffa7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046fc7c
pop ecx
test al, al
jne 0x46ffa7
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret