joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fdb4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042f920
xor eax, eax
push ebp
push 0x42fe29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042f8d0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041e5f0
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42fe13
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fe30
mov eax, dword [ebp - 4]
call fcn.0042f8f0
ret

Function at 0x42fe38
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042f920
xor eax, eax
push ebp
push 0x42fead
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042f8d0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42fe97
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42feb4
mov eax, dword [ebp - 4]
call fcn.0042f8f0
ret

Function at 0x432b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x583760
cmp dword [edi], 0
jne 0x432c0c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x58375c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x57c7f8
mov ecx, 2
call fcn.0040282c
mov edx, 0x432b68
lea eax, [esi + 5]
call fcn.00432b88
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00432b88
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x432be1
mov dword [0x58375c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x432d30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x432d80]
test si, 4
je 0x432d44
or bl, 1
test si, 8
je 0x432d4e
or bl, 4
test si, 1
je 0x432d58
or bl, 8
test si, 2
je 0x432d62
or bl, 0x10
test si, 0x10
je 0x432d6c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432d7b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x432d84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x432dbc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432d9d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432dac
or bl, 4
test esi, 0x20000000
je 0x432db7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4394e8
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 0x43968d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40f5f4]
call fcn.00402f78
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403c0c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x439663
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.0044b808
test al, al
je 0x439656
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x43969c
lea eax, [ebp - 0x254]
call fcn.00409f94
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x439656
xor eax, eax
push ebp
push 0x43964f
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 0x4396d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x439638
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e38
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x439638
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439656
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x439559
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00413808
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439694
lea eax, [ebp - 0x260]
call fcn.00403c0c
ret
Function at 0x439e44
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x583730]
cmp byte [eax + 0x95], 0
jne 0x439eb5
cmp dword [0x58376c], 0
jne 0x439e76
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x439e00
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x58376c], eax
cmp dword [0x583768], 0
jne 0x439e91
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x583768], eax
cmp dword [0x583770], 0
jne 0x439eb5
push esp
push 0
push 0
push 0x439da4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x583770], eax
pop edx
ret

Function at 0x439fac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x439fc3
add esp, 0xfffffff0
call fcn.004032d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004186f8
mov byte [ebx + 0x30], 0
mov dl, 1
mov eax, dword [0x40f0c8]
call fcn.00402f78
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40f0c8]
call fcn.00402f78
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41a558]
call fcn.00421e48
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x43a138
mov eax, dword [0x58196c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004221ec
mov eax, dword [ebx + 0x88]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43bbc4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x58196c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040c7c8
test eax, eax
je 0x43a0b6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004098e0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c7f0
test eax, eax
je 0x43a0ca
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403e38
mov eax, dword [0x581690]
cmp byte [eax], 0
jne 0x43a0fb
mov eax, ebx
call fcn.0043a22c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43a12d
call fcn.0040332c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a4b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x583730]
cmp dword [eax + 0x2c], 0
je 0x43a557
cmp dword [ebx + 0x84], 0
jne 0x43a551
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43a41c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x43a551
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 0x43a51a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43a551
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00410e4c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43a529
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x43af68
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x43af9d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x2c]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403cf0
jmp 0x43afa7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403ca4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43bf08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x43bf40
mov eax, esi
call fcn.00447548
test al, al
je 0x43bf40
mov eax, dword [ebx + 0x74]
call fcn.00447120
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43bf40
push 0
mov eax, dword [ebx + 0x74]
call fcn.00447120
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x43f134
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x5837ac], 0
sete dl
or al, dl
jne 0x43f278
mov eax, dword [0x5837b0]
mov bx, 0xffff
call fcn.00403184
mov eax, dword [0x5837ac]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x43f247
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x5837ac]
call fcn.00410e4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x43f23f
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x43f23f
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43f23f
mov eax, dword [ebp - 0x10]
call fcn.00447120
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f23f
push ebp
call fcn.0043f0f0
pop ecx
test al, al
jne 0x43f23f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x43f1fb
mov eax, dword [ebp - 0x10]
call fcn.00445a64
dec eax
jle 0x43f23f
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00403184
cmp byte [ebp - 0x15], 0
je 0x43f23f
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43f23f
mov edx, dword [ebp - 0x10]
mov eax, dword [0x5837b0]
call fcn.0043e98c
inc edi
dec esi
jne 0x43f18e
mov eax, dword [0x5837b0]
cmp dword [eax + 8], 0
jle 0x43f25f
mov eax, dword [0x5837b0]
call fcn.0043ea1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f278
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0043efa8
pop ecx
test al, al
jne 0x43f278
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444b7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x444bad
je 0x444c07
sub eax, 7
je 0x444bce
dec eax
je 0x444bf8
sub eax, 0x17
je 0x444c88
jmp 0x444cc6
add eax, 0xffffff00
sub eax, 9
jb 0x444c74
add eax, 0xffffff09
sub eax, 0xb
jb 0x444c5e
jmp 0x444cc6
mov eax, ebx
call fcn.00432eac
mov edi, eax
test edi, edi
je 0x444d26
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xcc]
test al, al
je 0x444d2f
jmp 0x444d26
test byte [ebx + 0x44], 0x20
jne 0x444d2f
jmp 0x444d26
mov edx, esi
mov eax, ebx
call fcn.004423e4
cmp dword [esi + 0xc], 0xffffffff
jne 0x444d2f
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407948
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00440e78
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00444a00
test eax, eax
je 0x444d2f
mov dword [esi + 0xc], 1
jmp 0x444d2f
mov edx, esi
mov eax, ebx
call fcn.00444ac4
test al, al
jne 0x444d2f
jmp 0x444d26
mov eax, ebx
call fcn.00441a58
test al, al
jne 0x444d2f
jmp 0x444d26
mov eax, ebx
call fcn.00447120
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x444d26
cmp dword [0x57c9d4], 0
je 0x444d26
mov eax, dword [0x57c9d4]
cmp ebx, dword [eax + 0x24]
jne 0x444d26
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x57c9d4]
call fcn.00442300
jmp 0x444d26
mov eax, dword [0x583774]
cmp byte [eax + 0x20], 0
je 0x444d26
mov eax, dword [0x583774]
cmp dword [eax + 0x1c], 0
je 0x444d26
mov eax, dword [esi]
mov edx, dword [0x583774]
cmp eax, dword [edx + 0x1c]
jne 0x444d26
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00432dc0
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00403184
jmp 0x444d2f
mov edx, esi
mov eax, ebx
call fcn.004423e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445234
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x445250
cmp dword [esi + 4], 0
je 0x44527d
test byte [ebx + 0x45], 1
jne 0x44526f
mov eax, ebx
call fcn.004441ac
test eax, eax
jne 0x44526f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44538d
mov edx, esi
mov eax, ebx
call fcn.00444eac
jmp 0x44538d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x445386
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00447120
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00442300
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00445234
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00447120
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44538d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c540
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.00403c0c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c5a1
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x44c5a1
cmp byte [ebp - 0x102], 0
je 0x44c5a1
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403e38
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456398
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x582064]
cmp dword [eax], 2
je 0x4563b2
push 0
push 1
call sub.user32.dll_ExitWindowsEx
mov al, 1
pop ebp
ret
call fcn.00456318
test al, al
je 0x4563c6
push 0
push 9
call sub.user32.dll_ExitWindowsEx
mov al, 1
pop ebp
ret

Function at 0x4564a4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040403c
xor eax, eax
push ebp
push 0x4564fd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00456468
mov eax, dword [ebp - 4]
call fcn.0040404c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4564e1
test al, 0x10
jne 0x4564e5
xor ebx, ebx
jmp 0x4564e7
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456504
lea eax, [ebp - 4]
call fcn.00403c0c
ret

Function at 0x45683c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403ca4
mov eax, dword [ebp - 4]
call fcn.00403e88
mov edi, eax
test edi, edi
jle 0x4568a2
mov ebx, 1
mov eax, dword [ebp - 8]
call fcn.00404058
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x45686b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x456cc8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
push ebp
call fcn.00456c84
pop ecx
mov edx, eax
mov eax, ebx
call fcn.004041b8
mov eax, dword [ebx]
call fcn.0040404c
mov esi, eax
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00403e88
mov dword [ebp - 8], eax
cmp ebx, dword [ebp - 8]
jg 0x456e67
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x456d15
call fcn.00402ee8
inc ebx
movzx eax, byte [eax + ebx - 1]
shr eax, 2
and eax, 0x3f
inc eax
mov edx, 0x456e78
dec eax
cmp eax, dword [edx - 4]
jb 0x456d32
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi], al
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jg 0x456d7c
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x456d4f
call fcn.00402ee8
inc ebx
movzx eax, byte [eax + ebx - 1]
shl eax, 4
and eax, 0x30
lea edx, [ebx + 1]
mov ecx, dword [ebp - 4]
dec edx
cmp edx, dword [ecx - 4]
jb 0x456d6c
call fcn.00402ee8
inc edx
movzx edx, byte [ecx + edx - 1]
shr edx, 4
and edx, 0xf
or eax, edx
jmp 0x456d96
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x456d8a
call fcn.00402ee8
inc ebx
movzx eax, byte [eax + ebx - 1]
shl eax, 4
and eax, 0x30
inc eax
mov edx, 0x456e78
dec eax
cmp eax, dword [edx - 4]
jb 0x456da7
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 1], al
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jg 0x456e13
lea eax, [ebx + 1]
mov edx, dword [ebp - 4]
dec eax
cmp eax, dword [edx - 4]
jb 0x456dc8
call fcn.00402ee8
inc eax
movzx eax, byte [edx + eax - 1]
shl eax, 2
and eax, 0x3c
lea edx, [ebx + 2]
cmp edx, dword [ebp - 8]
jg 0x456df8
mov ecx, dword [ebp - 4]
dec edx
cmp edx, dword [ecx - 4]
jb 0x456dea
call fcn.00402ee8
inc edx
movzx edx, byte [ecx + edx - 1]
shr edx, 6
and edx, 3
or eax, edx
inc eax
mov edx, 0x456e78
dec eax
cmp eax, dword [edx - 4]
jb 0x456e09
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 2], al
jmp 0x456e17
mov byte [esi + 2], 0x3d
lea eax, [ebx + 2]
cmp eax, dword [ebp - 8]
jg 0x456e54
mov edx, dword [ebp - 4]
dec eax
cmp eax, dword [edx - 4]
jb 0x456e2d
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
and al, 0x3f
and eax, 0xff
inc eax
mov edx, 0x456e78
dec eax
cmp eax, dword [edx - 4]
jb 0x456e4a
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 3], al
jmp 0x456e58
mov byte [esi + 3], 0x3d
add ebx, 3
add esi, 4
cmp ebx, dword [ebp - 8]
jle 0x456d07
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret