joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ceb1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.USER32.DLL_SendMessageW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov esi, ecx
push 0xb0
push dword [esi]
mov dword [ebp - 0x10], esi
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x43cee1
xor al, al
jmp 0x43cf5b
push ebx
xor ebx, ebx
push ebx
push ebx
push 0xe
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0x43cf58
cmp edi, dword [ebp - 8]
jb 0x43cf58
cmp edi, dword [ebp - 4]
jb 0x43cf58
xor ecx, ecx
push 2
lea esi, [edi + 1]
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420bfa
pop ecx
push eax
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push 0xd
push dword [eax]
call dword [sym.imp.USER32.DLL_SendMessageW]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x43cf4d
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x43cf3c
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea eax, [esi + eax*2]
push eax
call fcn.00408f96
mov bl, 1
push esi
call fcn.00420c6e
pop ecx
mov al, bl
jmp 0x43cf5a
xor al, al
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x43d8f9
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 1
push dword [esi]
mov dword [ebp - 4], esi
call fcn.0043ec4e
mov edi, dword [sym.imp.USER32.DLL_MapVirtualKeyW]
xor ebx, ebx
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 1
push eax
cmp dword [ebp + 8], ebx
jge 0x43d951
push 0x25
push 0x100
push dword [esi]
mov esi, dword [sym.imp.USER32.DLL_PostMessageW]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x43d979
push 0x27
push 0x100
push dword [esi]
mov esi, dword [sym.imp.USER32.DLL_PostMessageW]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
mov edi, dword [ebp - 4]
push 0x101
push dword [edi]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push dword [edi]
call fcn.0043ec4e
pop edi
pop esi
mov al, 1
pop ebx
leave
ret 4

Function at 0x43e137
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp byte [ebp + 0xc], 1
jne 0x43e162
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SendMessageTimeoutW]
test eax, eax
je 0x43e17b
push 1
jmp 0x43e163
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.DLL_AttachThreadInput]
pop esi
pop ebp
ret 8
Function at 0x43edfe
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.0040d4dd
push dword [ebx]
call fcn.00401237
test al, al
je 0x43ee20
xor al, al
jmp 0x43ee9c
mov ecx, ebx
call fcn.0043eea3
test eax, eax
mov ecx, 0x7fff
cmove eax, ecx
mov dword [ebp - 8], eax
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420bfa
pop ecx
mov edi, eax
push edi
push esi
push 0xd
push dword [ebx]
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, eax
jle 0x43ee93
push edi
call fcn.00422ee0
pop ecx
push edi
cmp eax, dword [ebp - 8]
jne 0x43ee8b
lea ecx, [ebp - 0x18]
call fcn.0043ec0b
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0040d532
lea ecx, [ebp - 0x18]
call fcn.00406ea2
jmp 0x43ee93
mov ecx, dword [ebp + 8]
call fcn.00408f96
push edi
call fcn.00420c6e
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x443b82
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [ebx]
push edi
mov edi, dword [ebp + 8]
lea eax, [ecx + 4]
mov esi, dword [ecx + edi]
mov dword [ebx], eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
mov dword [ebp + 8], esi
neg ecx
or ecx, eax
push ecx
call fcn.00420bfa
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
push esi
push ecx
mov edi, eax
push edi
call fcn.00420590
mov ecx, dword [ebp + 8]
add dword [ebx], esi
xor eax, eax
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x443bdd
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x443bd4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x444042
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esi], eax
mov word [esi + 4], ax
cmp dword [edi + 0x20], eax
je 0x4440e5
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.DLL_GetKeyboardState]
test eax, eax
je 0x4441ca
mov eax, 0x80
cmp byte [ebp - 0x60], al
je 0x44408a
cmp byte [ebp - 0xf0], al
jne 0x444093
cmp byte [edi + 0x1a], 0
jne 0x444093
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0x4440a2
cmp byte [edi + 0x1b], 0
jne 0x4440a2
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0x4440b4
cmp byte [edi + 0x1c], 0
jne 0x4440b4
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0x4440c6
cmp byte [edi + 0x1d], 0
jne 0x4440c6
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0x4441ca
cmp byte [edi + 0x1e], 0
jne 0x4441ca
mov byte [esi + 4], 1
jmp 0x4441ca
push ebx
push 0xa0
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov ebx, dword [sym.imp.USER32.DLL_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x444112
push 0xa0
call ebx
mov ecx, 0x8000
test cx, ax
je 0x44411b
cmp byte [edi + 0x1a], 0
jne 0x44411b
mov byte [esi], 1
push 0xa1
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x444141
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x44414b
cmp byte [edi + 0x1b], 0
jne 0x44414b
mov byte [esi + 1], 1
push 0x11
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x44416b
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
je 0x444175
cmp byte [edi + 0x1c], 0
jne 0x444175
mov byte [esi + 2], 1
push 0x12
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x444195
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
je 0x44419f
cmp byte [edi + 0x1d], 0
jne 0x44419f
mov byte [esi + 3], 1
push 0x5b
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4441bf
push 0x5b
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4441c9
cmp byte [edi + 0x1e], 0
jne 0x4441c9
mov byte [esi + 4], 1
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x444dee
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
movzx edi, al
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.DLL_GetKeyState]
mov bx, ax
and bl, 1
cmp byte [ebp + 0xc], bl
je 0x444e4f
push esi
mov esi, dword [sym.imp.USER32.DLL_MapVirtualKeyW]
push ecx
push 0
push 0
push edi
call esi
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0044566e
mov ecx, dword [ebp - 4]
call fcn.00444026
push ecx
push 2
push 0
push edi
call esi
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0044566e
mov ecx, dword [ebp - 4]
call fcn.0044400b
pop esi
pop edi
mov al, bl
pop ebx
leave
ret 8

Function at 0x444e57
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, word [edi + 8]
cmp dword [esi + 0x20], 0
mov bl, byte [edi]
mov bh, byte [edi + 7]
mov byte [ebp - 8], bl
mov byte [ebp - 4], bh
mov dword [ebp - 0xc], eax
je 0x444f42
cmp bl, 0x14
je 0x444f42
cmp bl, 0x90
je 0x444f42
cmp bl, 0x91
je 0x444f42
mov ecx, edi
call fcn.00444315
test al, al
je 0x444f29
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.DLL_GetKeyboardState]
test eax, eax
je 0x444ed3
movzx eax, bl
or byte [ebp + eax - 0x128], 0x80
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.DLL_SetKeyboardState]
mov ecx, dword [ebp + 8]
movzx edi, bh
shl edi, 0x10
or edi, 1
call fcn.00444255
cmp al, 1
jne 0x444eee
or edi, 0x1000000
cmp byte [esi + 0x17], 0
jne 0x444eff
cmp byte [esi + 0x1d], 0
jne 0x444eff
cmp bl, 0x12
jne 0x444f1d
cmp byte [esi + 0x16], 0
jne 0x444f1d
cmp byte [esi + 0x1c], 0
jne 0x444f1d
or edi, 0x20000000
movzx eax, bl
push edi
push eax
push 0x104
jmp 0x444f37
movzx eax, bl
push edi
push eax
push 0x100
jmp 0x444f37
mov eax, dword [ebp - 0xc]
movzx eax, ax
push 1
push eax
push 0x102
push dword [esi + 0x20]
call dword [sym.imp.USER32.DLL_PostMessageW]
jmp 0x444f9e
mov ecx, edi
call fcn.00444315
test al, al
je 0x444f6e
mov ecx, edi
call fcn.00444255
push ecx
mov ecx, esi
cmp al, 1
jne 0x444f5f
push 1
jmp 0x444f61
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0044566e
jmp 0x444f9e
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x24], ax
movzx eax, word [edi + 8]
mov word [ebp - 0x22], ax
push 0x1c
xor ecx, ecx
lea eax, [ebp - 0x28]
inc ecx
push eax
push ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 4
call dword [sym.imp.USER32.DLL_SendInput]
mov ecx, esi
call fcn.00444026
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x444fac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov bl, byte [edi]
cmp dword [esi + 0x20], 0
mov bh, byte [edi + 7]
mov byte [ebp - 4], bl
mov byte [ebp - 8], bh
je 0x445087
cmp bl, 0x14
je 0x445087
cmp bl, 0x90
je 0x445087
cmp bl, 0x91
je 0x445087
mov ecx, edi
call fcn.00444315
test al, al
je 0x4450e3
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.DLL_GetKeyboardState]
test eax, eax
je 0x445025
movzx eax, bl
xor byte [ebp + eax - 0x124], 0x80
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.DLL_SetKeyboardState]
mov ecx, dword [ebp + 8]
movzx edi, bh
shl edi, 0x10
or edi, 0xc0000001
call fcn.00444255
cmp al, 1
jne 0x445043
or edi, 0x1000000
cmp byte [esi + 0x17], 0
jne 0x445054
cmp byte [esi + 0x1d], 0
jne 0x445054
cmp bl, 0x12
jne 0x445072
cmp byte [esi + 0x16], 0
jne 0x445072
cmp byte [esi + 0x1c], 0
jne 0x445072
or edi, 0x20000000
movzx eax, bl
push edi
push eax
push 0x105
jmp 0x44507c
movzx eax, bl
push edi
push eax
push 0x101
push dword [esi + 0x20]
call dword [sym.imp.USER32.DLL_PostMessageW]
jmp 0x4450e3
mov ecx, edi
call fcn.00444315
test al, al
je 0x4450b3
mov ecx, edi
call fcn.00444255
push ecx
mov ecx, esi
cmp al, 1
jne 0x4450a4
push 3
jmp 0x4450a6
push 2
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0044566e
jmp 0x4450e3
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
xor eax, eax
mov word [ebp - 0x20], ax
movzx eax, word [edi + 8]
mov word [ebp - 0x1e], ax
push 0x1c
xor ecx, ecx
lea eax, [ebp - 0x24]
inc ecx
push eax
push ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 6
call dword [sym.imp.USER32.DLL_SendInput]
mov ecx, esi
call fcn.0044400b
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44510e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [esi], 0
mov edi, ecx
jne 0x44513f
cmp byte [esi + 1], 0
jne 0x44513f
cmp byte [esi + 2], 0
jne 0x44513f
cmp byte [esi + 3], 0
jne 0x44513f
cmp byte [esi + 4], 0
je 0x4452ed
cmp dword [edi + 0x20], 0
push ebx
je 0x445275
push dword [edi + 0x20]
call dword [sym.imp.USER32.DLL_GetParent]
test eax, eax
je 0x445275
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.DLL_GetKeyboardState]
test eax, eax
je 0x4451c9
cmp byte [esi], 0
mov al, byte [ebp - 0xf0]
mov ecx, 0x80
je 0x445187
or al, cl
or byte [ebp - 0x60], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 1], 0
je 0x445198
or al, cl
or byte [ebp - 0x5f], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 2], 0
je 0x4451a4
or byte [ebp - 0xef], cl
cmp byte [esi + 3], 0
je 0x4451b0
or byte [ebp - 0xee], cl
cmp byte [esi + 4], 0
je 0x4451bc
or byte [ebp - 0xa5], cl
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.DLL_SetKeyboardState]
cmp byte [esi], 0
mov ebx, dword [sym.imp.USER32.DLL_PostMessageW]
jne 0x4451da
cmp byte [esi + 1], 0
je 0x4451f1
movzx eax, byte [edi + 0x26]
shl eax, 0x10
or eax, 1
push eax
push 0x10
push 0x100
push dword [edi + 0x20]
call ebx
cmp byte [esi + 2], 0
je 0x44520e
movzx eax, byte [edi + 0x24]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push 0x100
push dword [edi + 0x20]
call ebx
mov al, byte [esi + 3]
test al, al
je 0x445252
cmp byte [esi + 2], 0
jne 0x445237
cmp byte [edi + 0x1c], 0
jne 0x445237
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
jmp 0x44524d
test al, al
je 0x445252
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 1
push eax
push 0x12
push 0x100
push dword [edi + 0x20]
call ebx
cmp byte [esi + 4], 0
je 0x4452e5
movzx eax, byte [edi + 0x29]
shl eax, 0x10
or eax, 1
push eax
push 0x5b
push 0x100
push dword [edi + 0x20]
call ebx
jmp 0x4452e5
xor ebx, ebx
cmp byte [esi], bl
je 0x44528e
movzx eax, byte [edi + 0x27]
push ecx
push ebx
push eax
push 0xa0
mov ecx, edi
call fcn.0044566e
cmp byte [esi + 1], bl
je 0x4452a6
movzx eax, byte [edi + 0x28]
push ecx
push ebx
push eax
push 0xa1
mov ecx, edi
call fcn.0044566e
cmp byte [esi + 2], bl
je 0x4452bb
movzx eax, byte [edi + 0x24]
push ecx
push ebx
push eax
push 0x11
mov ecx, edi
call fcn.0044566e
cmp byte [esi + 3], bl
je 0x4452d0
movzx eax, byte [edi + 0x25]
push ecx
push ebx
push eax
push 0x12
mov ecx, edi
call fcn.0044566e
cmp byte [esi + 4], bl
je 0x4452e5
movzx eax, byte [edi + 0x29]
push ecx
push ebx
push eax
push 0x5b
mov ecx, edi
call fcn.0044566e
mov ecx, edi
call fcn.00444026
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x4452f3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [esi], 0
mov edi, ecx
jne 0x445324
cmp byte [esi + 1], 0
jne 0x445324
cmp byte [esi + 2], 0
jne 0x445324
cmp byte [esi + 3], 0
jne 0x445324
cmp byte [esi + 4], 0
je 0x4454e0
cmp dword [edi + 0x20], 0
push ebx
je 0x445462
push dword [edi + 0x20]
call dword [sym.imp.USER32.DLL_GetParent]
test eax, eax
je 0x445462
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.DLL_GetKeyboardState]
test eax, eax
je 0x4453ae
cmp byte [esi], 0
mov al, byte [ebp - 0xf0]
mov ecx, 0x80
je 0x44536c
xor al, cl
xor byte [ebp - 0x60], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 1], 0
je 0x44537d
xor al, cl
xor byte [ebp - 0x5f], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 2], 0
je 0x445389
xor byte [ebp - 0xef], cl
cmp byte [esi + 3], 0
je 0x445395
xor byte [ebp - 0xee], cl
cmp byte [esi + 4], 0
je 0x4453a1
xor byte [ebp - 0xa5], cl
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.DLL_SetKeyboardState]
cmp byte [esi], 0
mov ebx, dword [sym.imp.USER32.DLL_PostMessageW]
jne 0x4453bf
cmp byte [esi + 1], 0
je 0x4453d8
movzx eax, byte [edi + 0x26]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x10
push 0x101
push dword [edi + 0x20]
call ebx
cmp byte [esi + 2], 0
je 0x4453f7
movzx eax, byte [edi + 0x24]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x11
push 0x101
push dword [edi + 0x20]
call ebx
mov al, byte [esi + 3]
test al, al
je 0x44543d
cmp byte [esi + 2], 0
jne 0x445420
cmp byte [edi + 0x1c], 0
jne 0x445420
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
jmp 0x445438
test al, al
je 0x44543d
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x12
push 0x101
push dword [edi + 0x20]
call ebx
cmp byte [esi + 4], 0
je 0x4454d8
movzx eax, byte [edi + 0x29]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x5b
push 0x101
push dword [edi + 0x20]
call ebx
jmp 0x4454d8
cmp byte [esi], 0
push 2
pop ebx
je 0x44547d
movzx eax, byte [edi + 0x27]
push ecx
push ebx
push eax
push 0xa0
mov ecx, edi
call fcn.0044566e
cmp byte [esi + 1], 0
je 0x445496
movzx eax, byte [edi + 0x28]
push ecx
push ebx
push eax
push 0xa1
mov ecx, edi
call fcn.0044566e
cmp byte [esi + 2], 0
je 0x4454ac
movzx eax, byte [edi + 0x24]
push ecx
push ebx
push eax
push 0x11
mov ecx, edi
call fcn.0044566e
cmp byte [esi + 3], 0
je 0x4454c2
movzx eax, byte [edi + 0x25]
push ecx
push ebx
push eax
push 0x12
mov ecx, edi
call fcn.0044566e
cmp byte [esi + 4], 0
je 0x4454d8
movzx eax, byte [edi + 0x29]
push ecx
push ebx
push eax
push 0x5b
mov ecx, edi
call fcn.0044566e
mov ecx, edi
call fcn.0044400b
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x4454e6
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
test esi, esi
js 0x445572
jne 0x4454fa
push 0
jmp 0x44556c
cmp esi, 0xf
jae 0x44556b
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
je 0x44556b
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x4b7560]
movsd qword [ebp - 0x28], xmm0
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.0041f3d1
movsd xmm1, qword [ebp - 0x20]
divsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x28]
comisd xmm0, xmm1
ja 0x445526
jmp 0x445572
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov byte [esi + 0xa], al
mov eax, dword [ebp + 8]
mov dword [esi], 0xff
mov word [esi + 8], ax
test ax, ax
jne 0x4456e6
xor al, al
jmp 0x44572b
push eax
call dword [sym.imp.USER32.DLL_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
je 0x4456e2
push ebx
mov ebx, eax
mov byte [esi], al
movzx eax, al
push 0
push eax
sar ebx, 8
call dword [sym.imp.USER32.DLL_MapVirtualKeyW]
mov byte [esi + 7], al
test bl, 1
je 0x445716
mov byte [esi + 1], 1
test bl, 2
je 0x44571f
mov byte [esi + 3], 1
test bl, 4
pop ebx
je 0x445729
mov byte [esi + 4], 1
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x44734e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.0044711f
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
leave
ret 8
Function at 0x4474f0
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
mov esi, edx
lea edx, [ebp - 0x438]
call fcn.00403955
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.00403955
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
pop esi
test eax, eax
jne 0x447567
cmp byte [ebp + 8], al
je 0x447563
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422cf3
pop ecx
pop ecx
test eax, eax
je 0x44755f
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
lea ecx, [ebp - 0x438]
call fcn.0044870a
test al, al
je 0x447563
lea ecx, [ebp - 0x22c]
call fcn.0044870a
test al, al
je 0x447611
cmp byte [ebp + 8], 0
je 0x447563
lea eax, [ebp - 0x438]
push 0x4b47b4
push eax
call fcn.00422404
lea eax, [ebp - 0x438]
push eax
call fcn.004223eb
xor ecx, ecx
mov word [ebp + eax*2 - 0x436], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.004223eb
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
add esp, 0x10
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.DLL_SHFileOperationW]
neg eax
sbb al, al
inc al
leave
ret
lea ecx, [ebp - 0x22c]
call fcn.00447864
test al, al
je 0x447563
lea ecx, [ebp - 0x22c]
call fcn.0044870a
test al, al
jmp 0x44758d
Function at 0x447636
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call fcn.00431140
push ebx
push esi
mov esi, edx
xor ebx, ebx
lea edx, [ebp - 0x640]
mov byte [ebp - 1], bl
call fcn.00403955
lea edx, [ebp - 0x850]
mov ecx, esi
call fcn.00403955
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x640]
call fcn.0044869d
lea ecx, [ebp - 0x640]
mov byte [ebp - 3], al
call fcn.0044870a
mov esi, 0x4b47b4
test al, al
je 0x44769b
lea eax, [ebp - 0x640]
push esi
push eax
call fcn.00422404
pop ecx
pop ecx
lea ecx, [ebp - 0x850]
call fcn.0044870a
test al, al
je 0x4476b9
lea eax, [ebp - 0x850]
push esi
push eax
call fcn.00422404
pop ecx
pop ecx
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0xca8]
push eax
lea eax, [ebp - 0xeb0]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.0042346d
add esp, 0x14
lea eax, [ebp - 0xaa0]
push eax
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x447854
cmp al, 1
jne 0x447854
test byte [ebp - 0xaa0], 0x10
jne 0x447826
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x10b8]
push eax
lea edx, [ebp - 0xca8]
lea ecx, [ebp - 0xa74]
call fcn.00447e2b
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00422433
lea eax, [ebp - 0xeb0]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00422404
lea eax, [ebp - 0xa74]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00422404
add esp, 0x18
lea ecx, [ebp - 0x430]
call fcn.004031ad
test al, al
je 0x4477b9
cmp byte [ebp + 8], bl
je 0x447849
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
lea eax, [ebp - 0x430]
push eax
je 0x4477da
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [ebp + 0xc], 1
lea eax, [ebp - 0x430]
jne 0x44780f
cmp byte [ebp - 3], bl
jne 0x4477ed
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x44781e
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x447857
jmp 0x447822
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x447849
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x44781e
push ebx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x447849
mov byte [ebp - 1], 1
lea eax, [ebp - 0xaa0]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x447705
mov al, bl
mov byte [ebp - 2], al
jmp 0x447705
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x447860
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
pop esi
pop ebx
leave
ret