joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f590
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b55e4]
cmp byte [eax + 0xc], 0
je 0x44f6fd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f6f6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b6b70], 0
jne 0x44f5e4
push 0x44f704
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44f70c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b70], eax
cmp dword [0x4b3ce0], 0
jne 0x44f6df
push 0x44f71c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b3ce0], eax
cmp dword [0x4b3ce0], 0
je 0x44f6df
push 0x44f728
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b74], eax
push 0x44f738
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b78], eax
push 0x44f74c
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b7c], eax
push 0x44f764
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b80], eax
push 0x44f77c
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b84], eax
push 0x44f790
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b88], eax
push 0x44f7a8
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b8c], eax
push 0x44f7c0
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b90], eax
push 0x44f7dc
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b94], eax
push 0x44f7e8
mov eax, dword [0x4b3ce0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b6b98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f6fd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x453a40
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.004041a0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x453a8f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404410
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b204
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b254]
test si, 4
je 0x45b218
or bl, 1
test si, 8
je 0x45b222
or bl, 4
test si, 1
je 0x45b22c
or bl, 8
test si, 2
je 0x45b236
or bl, 0x10
test si, 0x10
je 0x45b240
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b24f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45b258
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b290]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b271
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b280
or bl, 4
test esi, 0x20000000
je 0x45b28b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x461938
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46194a
add esp, 0xfffffff0
call fcn.004036d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423a14
mov eax, dword [0x4b5194]
mov dword [eax + 4], ebx
mov dword [eax], 0x461cdc
mov eax, dword [0x4b51a4]
mov dword [eax + 4], ebx
mov dword [eax], 0x461ce8
mov eax, ebx
call fcn.00461cf4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4164fc]
call fcn.00403340
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4164fc]
call fcn.00403340
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4164fc]
call fcn.00403340
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4164fc]
call fcn.00403340
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4164fc]
call fcn.00403340
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, 0x45e110
push eax
push 0
push 0
mov eax, dword [0x4b5360]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425ac8]
call fcn.00427284
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425ac8]
call fcn.00427284
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425ac8]
call fcn.00427284
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004621a4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462038
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462038
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462038
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461a87
call fcn.0040372c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461e1c
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 0x461fc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461fa8
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00403340
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461f97
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.0044f8f0
test al, al
je 0x461f8a
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, 0x461fd8
lea eax, [ebp - 0x254]
call fcn.004094e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461f8a
xor eax, eax
push ebp
push 0x461f83
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 - 0x214]
push eax
push 0
push 0
push 0x462010
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461f6c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404410
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 0x461f6c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461f8a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461e8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b394
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 0x461fce
lea eax, [ebp - 0x260]
call fcn.004041a0
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b6bbc]
cmp byte [eax + 0xa5], 0
jne 0x4629b5
cmp dword [0x4b6bd4], 0
jne 0x462976
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x462900
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b6bd4], eax
cmp dword [0x4b6bd0], 0
jne 0x462991
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b6bd0], eax
cmp dword [0x4b6bd8], 0
jne 0x4629b5
push esp
push 0
push 0
push 0x4628a4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b6bd8], eax
pop edx
ret
Function at 0x462aac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x462ac3
add esp, 0xfffffff0
call fcn.004036d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423a14
mov eax, dword [0x4b5348]
cmp word [eax + 2], 0
jne 0x462aeb
mov eax, dword [0x4b5348]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046422c
mov eax, dword [0x4b5424]
cmp word [eax + 2], 0
jne 0x462b05
mov eax, dword [0x4b5424]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464424
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4164fc]
call fcn.00403340
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4164fc]
call fcn.00403340
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], 0xff000018
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 [0x4265a8]
call fcn.0042de0c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462c8c
mov eax, dword [0x4b5218]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e1dc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4649d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b5218]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040cd9c
test eax, eax
je 0x462bfa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ec8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cdc4
test eax, eax
je 0x462c0e
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, pe_nt_image_headers32
call fcn.00404410
mov eax, dword [0x4b5088]
cmp byte [eax], 0
jne 0x462c42
mov eax, ebx
call fcn.00462db4
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.00464bb0
mov eax, ebx
call fcn.00465574
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462c82
call fcn.0040372c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463034
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b6bbc]
cmp dword [eax + 0x30], 0
je 0x4630de
cmp dword [ebx + 0x94], 0
jne 0x4630d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462fc4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4630d8
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 0x46309e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4630d8
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.00418fa0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4630ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463c40
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 0x463c75
push pe_nt_image_headers32
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.00404290
jmp 0x463c82
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464d8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464dcd
mov eax, esi
call fcn.0044af0c
test al, al
je 0x464dcd
mov eax, dword [ebx + 0x84]
call fcn.0044ac08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464dcd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ac08
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x480220
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48039a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x123], 0x12
cmp word [ebx + 0x1ba], 0
je 0x480271
mov byte [ebp - 1], 1
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x1bc]
call dword [ebx + 0x1b8]
cmp byte [ebp - 1], 0
je 0x48037c
mov eax, ebx
call fcn.00482c68
test eax, eax
je 0x48037c
mov eax, ebx
call fcn.00482c68
test byte [eax + 0x2f4], 8
jne 0x48037c
mov al, byte [ebx + 0x50]
cmp al, 4
je 0x480371
mov byte [ebx + 0x99], al
mov byte [ebx + 0x50], 4
cmp byte [ebx + 0x51], 0
jne 0x4802dd
mov al, byte [ebx + 0x99]
cmp al, 2
je 0x4802dd
cmp al, 1
je 0x4802dd
cmp al, 3
je 0x4802dd
mov eax, ebx
call fcn.00482c68
lea edx, [ebp - 0x14]
call fcn.00443dc4
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x89]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x64], 0
je 0x480325
lea edx, [ebp - 0x18]
mov eax, dword [0x4b5408]
mov eax, dword [eax]
call fcn.00463c40
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xb4]
mov ecx, 0x3f
call fcn.00408f48
mov eax, dword [0x4b5408]
mov eax, dword [eax]
call fcn.00463a54
push 0
mov eax, dword [0x4b5408]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x480361
mov eax, ebx
call fcn.00482c68
test eax, eax
je 0x480352
mov eax, ebx
call fcn.00482c68
lea edx, [ebp - 0x1c]
call fcn.00444424
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xb4]
mov ecx, 0x3f
call fcn.00408f48
push 0
mov eax, ebx
call fcn.00482c8c
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0x9c]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x480378
mov eax, ebx
call fcn.0047fbc0
mov byte [ebx + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4803a1
lea eax, [ebp - 0x1c]
call fcn.004041a0
lea eax, [ebp - 0x18]
call fcn.004041a0
ret

Function at 0x48a1bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48a1e3
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48a1f5
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x48a201
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.0048a04c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48a24e
xor eax, eax
push ebp
push 0x48a247
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.0048a07c
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a24e
ret
cmp byte [ebp - 0xd], 2
je 0x48a201
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4929b4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
lea eax, [ebx + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x497714
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x49773e
cmp dword [ebx + 0x64], 0
jne 0x49773e
cmp dword [ebx + 0x6c], 0
jne 0x49773e
mov esi, edi
jmp 0x4977cc
cmp esi, 0xffffffff
jne 0x497749
dec esi
jmp 0x4977cc
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x4977cc
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00496d7c
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x497794
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x497799
mov word [edx], 0
dec eax
test eax, eax
jne 0x49777a
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x4977c0
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x4977c5
mov word [edx], 0
dec eax
test eax, eax
jne 0x4977a6
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x49782a
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0049749c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x497815
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x49782a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x49771e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4b0524
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4b055c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b053a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b0549
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b0558
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x4b0ecc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4b0ed4
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4b10c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
mov edx, 0x44
call fcn.00407150
mov dword [ebp - 0x48], 0x44
lea edx, [ebp - 0x60]
mov eax, dword [esi + 0x30c]
call fcn.00473f70
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
call fcn.00404428
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 4]
call fcn.00408d28
lea edx, [ebp - 0x64]
mov eax, dword [esi + 0x30c]
call fcn.00473f70
mov eax, dword [ebp - 0x64]
xor edx, edx
call fcn.00404b4c
je 0x4b0f88
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
call fcn.00404660
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [esi + 0x30c]
call fcn.00473f70
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
call fcn.00404428
mov eax, dword [ebp - 0x68]
call fcn.00404660
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4b0fa6
push 0
push 0x4b10d4
push 0x4b10dc
mov eax, esi
call fcn.0044ac08
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x4b1065
mov dword [esi + 0x358], 5
push 0
push 0x3e8
push 1
mov eax, esi
call fcn.0044ac08
push eax
call sub.GearNtKe.dll_OldSetTimer
mov eax, dword [esi + 0x30c]
call fcn.00473be0
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4b1035
mov eax, dword [esi + 0x30c]
call fcn.00473be0
lea ecx, [ebp - 0x70]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [esi + 0x30c]
call fcn.00473f70
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
call fcn.00404428
mov eax, dword [ebp - 0x74]
pop edx
call fcn.004085ac
test eax, eax
jne 0x4b102f
mov eax, dword [esi + 0x30c]
call fcn.00473be0
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
dec ebx
cmp ebx, 0xffffffff
jne 0x4b0fde
lea edx, [ebp - 0x80]
mov eax, dword [esi + 0x30c]
call fcn.00473f70
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call fcn.00404428
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [esi + 0x30c]
call fcn.00473be0
xor edx, edx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x60]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b10cc
lea eax, [ebp - 0x80]
call fcn.00404880
lea eax, [ebp - 0x7c]
call fcn.004041a0
lea eax, [ebp - 0x78]
call fcn.00404880
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004041c4
lea eax, [ebp - 0x6c]
call fcn.00404880
lea eax, [ebp - 0x68]
call fcn.004041a0
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00404898
lea eax, [ebp - 0x5c]
call fcn.004041a0
lea eax, [ebp - 4]
call fcn.004041a0
ret
Function at 0x4b20c8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov eax, 0x4b1dd8
call fcn.00406468
mov edi, dword [0x4b5408]
push 0x4b21a8
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete bl
push 4
push 0
push 0
push 0xf001f
push esi
call sub.kernel32.dll_MapViewOfFile
mov edx, dword [0x4b5468]
mov dword [edx], eax
test bl, bl
je 0x4b214a
push 0
push 0
push 0x8005
mov eax, dword [0x4b5468]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x4b5468]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetForegroundWindow
jmp 0x4b219d
mov eax, dword [edi]
call fcn.00464094
mov eax, dword [edi]
mov edx, 0x4b21c4
call fcn.00463c8c
mov ecx, dword [0x4b5174]
mov eax, dword [edi]
mov edx, dword [0x4b08a8]
call fcn.004640ac
mov ecx, dword [0x4b50c8]
mov eax, dword [edi]
mov edx, dword [0x4ae6e4]
call fcn.004640ac
mov ecx, dword [0x4b551c]
mov eax, dword [edi]
mov edx, dword [0x4a8cd4]
call fcn.004640ac
mov eax, dword [edi]
call fcn.0046412c
pop edi
pop esi
pop ebx
call fcn.0040402c
add byte [eax], al
add byte [ecx - 0x4c26341c], dh
ffree st(2)
salc
mov ecx, 0xcaedcfb2
std
mov esi, 0xdd
add bh, bh
invalid