joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471d20
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 [0x4d4bd8], 0
je 0x471e6f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4d3204]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x471e6f
mov eax, dword [0x4d4bdc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d4bd8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x471e3e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d4bd8]
call fcn.0041b3b0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x471e36
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x471e36
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x471e36
mov eax, dword [ebp - 0x14]
call fcn.0047a9f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x471e36
push ebp
call fcn.00471cdc
pop ecx
test al, al
jne 0x471e36
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x471df2
mov eax, dword [ebp - 0x14]
call fcn.004794e8
dec eax
jle 0x471e36
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.004039f0
cmp byte [ebp - 1], 0
je 0x471e36
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x471e36
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d4bdc]
call fcn.004714a8
inc edi
dec ebx
jne 0x471d85
mov eax, dword [0x4d4bdc]
cmp dword [eax + 8], 0
jle 0x471e56
mov eax, dword [0x4d4bdc]
call fcn.00471538
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x471e6f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00471b44
pop ecx
test al, al
jne 0x471e6f
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
Function at 0x475450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x47549c
mov eax, esi
call fcn.0045c1f8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47549c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x47549c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4755db
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4754dc
cmp eax, 0x108
ja 0x4754dc
mov eax, esi
call fcn.0045c1f8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4755d2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4755db
jmp 0x4755d2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4755bb
cmp eax, 0x20a
ja 0x4755bb
test byte [esi + 0x50], 0x80
jne 0x47550e
sub eax, 0x203
je 0x47550b
sub eax, 3
je 0x47550b
sub eax, 3
jne 0x47550e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x475522
dec eax
je 0x475537
dec eax
je 0x475554
dec eax
je 0x475537
jmp 0x47555b
mov ecx, ebx
mov eax, dword [0x4d3204]
mov eax, dword [eax]
mov edx, esi
call fcn.00465b78
jmp 0x4755d2
cmp byte [esi + 0x5d], 1
jne 0x47554d
mov eax, esi
mov si, 0xffed
call fcn.004039f0
jmp 0x4755db
or word [esi + 0x54], 1
jmp 0x4755d2
and word [esi + 0x54], 0xfffe
jmp 0x4755d2
mov eax, dword [0x4d4b94]
cmp byte [eax + 0x20], 0
je 0x4755d2
mov eax, dword [0x4d4b94]
cmp dword [eax + 0x1c], 0
je 0x4755d2
mov eax, dword [ebx]
mov edx, dword [0x4d4b94]
cmp eax, dword [edx + 0x1c]
jne 0x4755d2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045c13c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004039f0
jmp 0x4755db
cmp eax, 0xb00b
jne 0x4755d2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00473d70
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478b48
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 + 0x1f8], 0
je 0x478b64
cmp dword [esi + 4], 0
je 0x478b91
test byte [ebx + 0x55], 1
jne 0x478b83
mov eax, ebx
call fcn.004776e8
test eax, eax
jne 0x478b83
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x478ca1
mov edx, esi
mov eax, ebx
call fcn.0047866c
jmp 0x478ca1
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 0x478c9a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0047a9f0
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.00475384
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00478b48
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.0047a9f0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478ca1
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 0x47c068
Capabilities:
Check for time delay via gettickcount
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4d33f8]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x47c241
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00474200
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00475428
mov eax, dword [esi]
call fcn.00462af4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x47c0da
mov eax, dword [esi]
call fcn.00462af4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00462b00
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x47c0fe
mov eax, dword [esi]
call fcn.00462b00
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00462ae8
cmp eax, dword [ebp - 0x18]
jle 0x47c114
mov eax, dword [esi]
call fcn.00462ae8
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00462adc
cmp eax, dword [ebp - 0xc]
jle 0x47c12a
mov eax, dword [esi]
call fcn.00462adc
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0047a9f0
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x47c1f1
mov eax, ebx
call fcn.00404914
cmp eax, 0x64
jge 0x47c1f1
cmp dword [0x4d20e0], 0
je 0x47c1f1
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x47c1f1
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x47c1b4
mov bl, 2
jmp 0x47c1cf
lea edx, [ebp - 0x20]
mov eax, dword [0x4d4b94]
call fcn.0047f300
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x47c1cd
xor ebx, ebx
jmp 0x47c1cf
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4d21e8]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0047a9f0
push eax
call dword [0x4d20e0]
mov eax, dword [0x4d3204]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.004780ec
push 4
mov eax, dword [ebp - 4]
call fcn.0047a9f0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c248
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x47f410
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d342c]
cmp byte [eax + 0xc], 0
je 0x47f57d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47f576
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d4be8], 0
jne 0x47f464
push 0x47f584
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x47f58c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4be8], eax
cmp dword [0x4d2210], 0
jne 0x47f55f
push 0x47f59c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d2210], eax
cmp dword [0x4d2210], 0
je 0x47f55f
push 0x47f5a8
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4bec], eax
push 0x47f5b8
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4bf0], eax
push 0x47f5cc
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4bf4], eax
push 0x47f5e4
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4bf8], eax
push 0x47f5fc
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4bfc], eax
push 0x47f610
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4c00], eax
push 0x47f628
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4c04], eax
push 0x47f640
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4c08], eax
push 0x47f65c
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4c0c], eax
push 0x47f668
mov eax, dword [0x4d2210]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4c10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f57d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x480140
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x418058]
call fcn.0040539c
xor eax, eax
push ebp
push 0x480284
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d221c], 0
jne 0x480193
mov ecx, dword [0x4d2e58]
mov dl, 1
mov eax, dword [0x408778]
call fcn.0040ddc0
call fcn.00403fc0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040309c
mov eax, ebx
call fcn.00404fc4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x480294
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]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406330
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404fd4
test eax, eax
jle 0x48022b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x480224
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004048dc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004048c4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409720
test eax, eax
jne 0x480224
mov ebx, 0x15
jmp 0x480230
mov ebx, 0x10
jmp 0x480230
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4d221c]
call fcn.0048003c
mov eax, dword [ebp - 8]
call fcn.0048003c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48028b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404668
lea eax, [ebp - 0x10]
mov edx, dword [0x418058]
call fcn.0040546c
ret

Function at 0x481f94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00407958
cmp ax, 0xffff
jne 0x481fb5
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
mov dword [ebp - 8], ebx
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x482036
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x482036
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x481ffc
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x481fef
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x482036
cmp dword [ebp + 8], 0
jle 0x482036
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.0042eecc
mov esi, eax
test esi, esi
jle 0x48202d
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407974
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x482c24
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x482c88
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004048c4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409e54
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482c8f
lea eax, [ebp - 0xc]
call fcn.00404644
ret

Function at 0x482d08
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x482d64
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x482d33
call fcn.0040f310
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402990
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x482d64
call fcn.0040f310
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x4908c8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x4d2ef8]
cmp byte [eax], 0
jne 0x4908f6
mov ecx, 0xb7
mov edx, 0x490944
mov eax, 0x49097c
call fcn.004045a0
mov eax, ebx
call fcn.00404d88
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x490935
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404f2c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x490990
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x4d2ef8]
cmp byte [eax], 0
jne 0x4909b1
mov ecx, 0xc3
mov edx, 0x4909c8
mov eax, 0x490a00
call fcn.004045a0
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret
Function at 0x498358
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x498361
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x498476
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, 0x49848c
call fcn.004046dc
mov eax, ebx
call fcn.00404914
mov edi, eax
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004046dc
cmp edi, 0x10
jge 0x4983bb
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.0040491c
mov eax, dword [ebp - 0x10]
call fcn.00404914
lea eax, [ebp - 8]
call fcn.00404644
lea eax, [ebp - 0xc]
call fcn.00404644
mov ebx, 1
mov eax, esi
shr eax, 8
mov edx, dword [ebp - 0x10]
xor al, byte [edx + ebx - 1]
mov edi, eax
and edi, 0xff
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4984a8
call fcn.0040aba4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.0040491c
add esi, edi
imul eax, esi, 0x1ec
add eax, 0x6ab1
mov esi, eax
inc ebx
cmp ebx, 0x11
jne 0x4983d0
xor ebx, ebx
lea eax, [ebp - 0x24]
push eax
lea edx, [ebx + ebx*2]
add edx, 2
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00404b74
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.0040491c
inc ebx
cmp ebx, 0xc
jne 0x498420
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404698
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49847d
lea eax, [ebp - 0x24]
call fcn.00404644
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404668
ret

Function at 0x4984dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x498596
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 4
call fcn.00402794
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, dword [0x4d5014]
call fcn.0040a304
cmp dword [ebp - 0xc], 0
jne 0x498530
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0
push 0
call sub.kernel32.dll_GetVolumeInformationA
jmp 0x498572
mov eax, dword [ebp - 0xc]
call fcn.00404914
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0040e9b8
test al, al
jne 0x498553
lea eax, [ebp - 0xc]
mov edx, 0x4985b0
call fcn.0040491c
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404b14
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov esi, dword [ebx]
mov edx, 4
mov eax, ebx
call fcn.004027b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49859d
lea eax, [ebp - 0xc]
call fcn.00404644
ret
Function at 0x498c3c
Capabilities:
Enumerate files on windows
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd28
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c0], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b04
mov eax, dword [ebp - 8]
call fcn.00404b04
xor eax, eax
push ebp
push 0x498e07
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2c0]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404960
mov eax, dword [ebp - 0x2c0]
call fcn.00404b14
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x498dd9
xor eax, eax
push ebp
push 0x498dd2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x290]
call fcn.0040a6b4
mov eax, dword [ebp - 0x10]
mov edx, 0x498e1c
call fcn.00404a60
je 0x498da3
mov eax, dword [ebp - 0x10]
mov edx, 0x498e28
call fcn.00404a60
je 0x498da3
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404960
push 0x4600
push 0x160
lea eax, [ebp - 0x17c]
push eax
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404b14
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x29c]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov ebx, eax
mov eax, dword [ebp - 0x2a0]
mov edx, eax
neg eax
add ebx, eax
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x2a8]
call fcn.00498b10
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x2d8], ebx
mov byte [ebp - 0x2d4], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 0x2cc], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 0x2c4], 0xb
lea edx, [ebp - 0x2d8]
mov ecx, 2
mov eax, 0x498e34
call fcn.0040aba4
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2bc]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x498cc5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498dd9
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498e0e
lea eax, [ebp - 0x2c0]
call fcn.00404644
lea eax, [ebp - 0x1c]
call fcn.00404644
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404668
ret