joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f134
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 0x43f164
xor al, al
jmp 0x43f1de
push ebx
xor ebx, ebx
push ebx
push ebx
push 0xe
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0x43f1db
cmp edi, dword [ebp - 8]
jb 0x43f1db
cmp edi, dword [ebp - 4]
jb 0x43f1db
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.0042302a
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 0x43f1d0
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x43f1bf
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.00412228
mov bl, 1
push esi
call fcn.0042309e
pop ecx
mov al, bl
jmp 0x43f1dd
xor al, al
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x43fb74
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.00440ec6
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 0x43fbcc
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 0x43fbf4
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.00440ec6
pop edi
pop esi
mov al, 1
pop ebx
leave
ret 4

Function at 0x4403b1
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp byte [ebp + 0xc], 1
jne 0x4403dc
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 0x4403f5
push 1
jmp 0x4403dd
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 0x441076
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
mov dword [ebp - 8], ebx
call fcn.0040e3ef
push dword [ebx]
call fcn.00421fdc
test al, al
je 0x44109b
xor al, al
jmp 0x441117
mov ecx, ebx
call fcn.0044111e
mov ebx, eax
test ebx, ebx
jne 0x4410ad
mov ebx, 0x7fff
xor ecx, ecx
push 2
lea esi, [ebx + 1]
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042302a
pop ecx
mov edi, eax
mov eax, dword [ebp - 8]
push edi
push esi
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x44110e
push edi
call fcn.00425310
pop ecx
push edi
cmp eax, ebx
jne 0x441106
lea ecx, [ebp - 0x18]
call fcn.00440e83
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004125f8
lea ecx, [ebp - 0x18]
call fcn.004125d5
jmp 0x44110e
mov ecx, dword [ebp + 8]
call fcn.00412228
push edi
call fcn.0042309e
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x445fad
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.0042302a
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
push esi
push ecx
mov edi, eax
push edi
call fcn.004229c0
mov ecx, dword [ebp + 8]
add dword [ebx], esi
xor eax, eax
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x446008
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x445fff
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44649a
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 0x44653d
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x446622
mov eax, 0x80
cmp byte [ebp - 0x60], al
je 0x4464e2
cmp byte [ebp - 0xf0], al
jne 0x4464eb
cmp byte [edi + 0x1a], 0
jne 0x4464eb
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0x4464fa
cmp byte [edi + 0x1b], 0
jne 0x4464fa
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0x44650c
cmp byte [edi + 0x1c], 0
jne 0x44650c
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0x44651e
cmp byte [edi + 0x1d], 0
jne 0x44651e
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0x446622
cmp byte [edi + 0x1e], 0
jne 0x446622
mov byte [esi + 4], 1
jmp 0x446622
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 0x44656a
push 0xa0
call ebx
mov ecx, 0x8000
test cx, ax
je 0x446573
cmp byte [edi + 0x1a], 0
jne 0x446573
mov byte [esi], 1
push 0xa1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x446599
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4465a3
cmp byte [edi + 0x1b], 0
jne 0x4465a3
mov byte [esi + 1], 1
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4465c3
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4465cd
cmp byte [edi + 0x1c], 0
jne 0x4465cd
mov byte [esi + 2], 1
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4465ed
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4465f7
cmp byte [edi + 0x1d], 0
jne 0x4465f7
mov byte [esi + 3], 1
push 0x5b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x446617
push 0x5b
call ebx
mov ecx, 0x8000
test cx, ax
je 0x446621
cmp byte [edi + 0x1e], 0
jne 0x446621
mov byte [esi + 4], 1
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x4467be
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10c
cmp byte [eax], 0
push esi
mov esi, ecx
je 0x4467d6
mov byte [esi + 0x14], 1
cmp byte [eax + 2], 0
je 0x4467e0
mov byte [esi + 0x16], 1
cmp byte [eax + 3], 0
je 0x4467ea
mov byte [esi + 0x17], 1
xor eax, eax
cmp byte [esi + 0x14], al
je 0x4467f9
cmp byte [esi + 0x1a], al
je 0x4467f9
mov byte [esi + 0x14], al
cmp byte [esi + 0x15], al
je 0x446806
cmp byte [esi + 0x1b], al
je 0x446806
mov byte [esi + 0x15], al
cmp byte [esi + 0x16], al
je 0x446813
cmp byte [esi + 0x1c], al
je 0x446813
mov byte [esi + 0x16], al
cmp byte [esi + 0x17], al
je 0x446820
cmp byte [esi + 0x1d], al
je 0x446820
mov byte [esi + 0x17], al
cmp byte [esi + 0x18], al
je 0x44682d
cmp byte [esi + 0x1e], al
je 0x44682d
mov byte [esi + 0x18], al
cmp dword [esi + 0x20], eax
je 0x4468af
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4469e7
mov cl, byte [esi + 0x1a]
mov dl, byte [esi + 0x1b]
test cl, cl
sete al
dec al
and byte [ebp - 0x6c], al
test dl, dl
sete al
dec al
and byte [ebp - 0x6b], al
test cl, cl
jne 0x446872
test dl, dl
sete al
dec al
and byte [ebp - 0xfc], al
cmp byte [esi + 0x1c], 0
sete al
dec al
and byte [ebp - 0xfb], al
cmp byte [esi + 0x1d], 0
sete al
dec al
and byte [ebp - 0xfa], al
test cl, cl
sete al
dec al
and byte [ebp - 0xb1], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x4469e7
push ebx
push edi
lea ecx, [ebp - 0xc]
call fcn.00446416
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call ebx
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4468e7
push 0xa0
call edi
mov ecx, 0x8000
test cx, ax
je 0x446905
cmp byte [esi + 0x1a], 0
jne 0x446905
push 0xa0
lea ecx, [ebp - 0xc]
call fcn.00447b41
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.004473c4
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x446927
push 0xa1
call edi
mov ecx, 0x8000
test cx, ax
je 0x446945
cmp byte [esi + 0x1b], 0
jne 0x446945
push 0xa1
lea ecx, [ebp - 0xc]
call fcn.00447b41
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.004473c4
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x446961
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x44697c
cmp byte [esi + 0x1c], 0
jne 0x44697c
push 0x11
lea ecx, [ebp - 0xc]
call fcn.00447b41
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.004473c4
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x446998
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
je 0x4469b3
cmp byte [esi + 0x1d], 0
jne 0x4469b3
push 0x12
lea ecx, [ebp - 0xc]
call fcn.00447b41
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.004473c4
push 0x5b
call ebx
mov ebx, 0x8000
test bx, ax
jne 0x4469ca
push 0x5b
call edi
test bx, ax
je 0x4469e5
cmp byte [esi + 0x1e], 0
jne 0x4469e5
push 0x5b
lea ecx, [ebp - 0xc]
call fcn.00447b41
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.004473c4
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x447206
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 0x447267
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.00447a7f
mov ecx, dword [ebp - 4]
call fcn.0044647f
push ecx
push 2
push 0
push edi
call esi
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00447a7f
mov ecx, dword [ebp - 4]
call fcn.00446466
pop esi
pop edi
mov al, bl
pop ebx
leave
ret 8

Function at 0x44726f
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 0x44735a
cmp bl, 0x14
je 0x44735a
cmp bl, 0x90
je 0x44735a
cmp bl, 0x91
je 0x44735a
mov ecx, edi
call fcn.0044676d
test al, al
je 0x447341
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4472eb
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.004466ad
cmp al, 1
jne 0x447306
or edi, 0x1000000
cmp byte [esi + 0x17], 0
jne 0x447317
cmp byte [esi + 0x1d], 0
jne 0x447317
cmp bl, 0x12
jne 0x447335
cmp byte [esi + 0x16], 0
jne 0x447335
cmp byte [esi + 0x1c], 0
jne 0x447335
or edi, 0x20000000
movzx eax, bl
push edi
push eax
push 0x104
jmp 0x44734f
movzx eax, bl
push edi
push eax
push 0x100
jmp 0x44734f
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 0x4473b6
mov ecx, edi
call fcn.0044676d
test al, al
je 0x447386
mov ecx, edi
call fcn.004466ad
push ecx
mov ecx, esi
cmp al, 1
jne 0x447377
push 1
jmp 0x447379
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00447a7f
jmp 0x4473b6
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.0044647f
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4473c4
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 0x44749f
cmp bl, 0x14
je 0x44749f
cmp bl, 0x90
je 0x44749f
cmp bl, 0x91
je 0x44749f
mov ecx, edi
call fcn.0044676d
test al, al
je 0x4474fb
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x44743d
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.004466ad
cmp al, 1
jne 0x44745b
or edi, 0x1000000
cmp byte [esi + 0x17], 0
jne 0x44746c
cmp byte [esi + 0x1d], 0
jne 0x44746c
cmp bl, 0x12
jne 0x44748a
cmp byte [esi + 0x16], 0
jne 0x44748a
cmp byte [esi + 0x1c], 0
jne 0x44748a
or edi, 0x20000000
movzx eax, bl
push edi
push eax
push 0x105
jmp 0x447494
movzx eax, bl
push edi
push eax
push 0x101
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4474fb
mov ecx, edi
call fcn.0044676d
test al, al
je 0x4474cb
mov ecx, edi
call fcn.004466ad
push ecx
mov ecx, esi
cmp al, 1
jne 0x4474bc
push 3
jmp 0x4474be
push 2
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00447a7f
jmp 0x4474fb
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.00446466
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x447526
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 0x447557
cmp byte [esi + 1], 0
jne 0x447557
cmp byte [esi + 2], 0
jne 0x447557
cmp byte [esi + 3], 0
jne 0x447557
cmp byte [esi + 4], 0
je 0x447705
cmp dword [edi + 0x20], 0
push ebx
je 0x44768d
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x44768d
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4475e1
cmp byte [esi], 0
mov al, byte [ebp - 0xf0]
mov ecx, 0x80
je 0x44759f
or al, cl
or byte [ebp - 0x60], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 1], 0
je 0x4475b0
or al, cl
or byte [ebp - 0x5f], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 2], 0
je 0x4475bc
or byte [ebp - 0xef], cl
cmp byte [esi + 3], 0
je 0x4475c8
or byte [ebp - 0xee], cl
cmp byte [esi + 4], 0
je 0x4475d4
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 0x4475f2
cmp byte [esi + 1], 0
je 0x447609
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 0x447626
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 0x44766a
cmp byte [esi + 2], 0
jne 0x44764f
cmp byte [edi + 0x1c], 0
jne 0x44764f
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
jmp 0x447665
test al, al
je 0x44766a
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 0x4476fd
movzx eax, byte [edi + 0x29]
shl eax, 0x10
or eax, 1
push eax
push 0x5b
push 0x100
push dword [edi + 0x20]
call ebx
jmp 0x4476fd
xor ebx, ebx
cmp byte [esi], bl
je 0x4476a6
movzx eax, byte [edi + 0x27]
push ecx
push ebx
push eax
push 0xa0
mov ecx, edi
call fcn.00447a7f
cmp byte [esi + 1], bl
je 0x4476be
movzx eax, byte [edi + 0x28]
push ecx
push ebx
push eax
push 0xa1
mov ecx, edi
call fcn.00447a7f
cmp byte [esi + 2], bl
je 0x4476d3
movzx eax, byte [edi + 0x24]
push ecx
push ebx
push eax
push 0x11
mov ecx, edi
call fcn.00447a7f
cmp byte [esi + 3], bl
je 0x4476e8
movzx eax, byte [edi + 0x25]
push ecx
push ebx
push eax
push 0x12
mov ecx, edi
call fcn.00447a7f
cmp byte [esi + 4], bl
je 0x4476fd
movzx eax, byte [edi + 0x29]
push ecx
push ebx
push eax
push 0x5b
mov ecx, edi
call fcn.00447a7f
mov ecx, edi
call fcn.0044647f
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x44770b
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 0x44773c
cmp byte [esi + 1], 0
jne 0x44773c
cmp byte [esi + 2], 0
jne 0x44773c
cmp byte [esi + 3], 0
jne 0x44773c
cmp byte [esi + 4], 0
je 0x4478f8
cmp dword [edi + 0x20], 0
push ebx
je 0x44787a
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x44787a
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4477c6
cmp byte [esi], 0
mov al, byte [ebp - 0xf0]
mov ecx, 0x80
je 0x447784
xor al, cl
xor byte [ebp - 0x60], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 1], 0
je 0x447795
xor al, cl
xor byte [ebp - 0x5f], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 2], 0
je 0x4477a1
xor byte [ebp - 0xef], cl
cmp byte [esi + 3], 0
je 0x4477ad
xor byte [ebp - 0xee], cl
cmp byte [esi + 4], 0
je 0x4477b9
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 0x4477d7
cmp byte [esi + 1], 0
je 0x4477f0
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 0x44780f
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 0x447855
cmp byte [esi + 2], 0
jne 0x447838
cmp byte [edi + 0x1c], 0
jne 0x447838
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
jmp 0x447850
test al, al
je 0x447855
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 0x4478f0
movzx eax, byte [edi + 0x29]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x5b
push 0x101
push dword [edi + 0x20]
call ebx
jmp 0x4478f0
cmp byte [esi], 0
push 2
pop ebx
je 0x447895
movzx eax, byte [edi + 0x27]
push ecx
push ebx
push eax
push 0xa0
mov ecx, edi
call fcn.00447a7f
cmp byte [esi + 1], 0
je 0x4478ae
movzx eax, byte [edi + 0x28]
push ecx
push ebx
push eax
push 0xa1
mov ecx, edi
call fcn.00447a7f
cmp byte [esi + 2], 0
je 0x4478c4
movzx eax, byte [edi + 0x24]
push ecx
push ebx
push eax
push 0x11
mov ecx, edi
call fcn.00447a7f
cmp byte [esi + 3], 0
je 0x4478da
movzx eax, byte [edi + 0x25]
push ecx
push ebx
push eax
push 0x12
mov ecx, edi
call fcn.00447a7f
cmp byte [esi + 4], 0
je 0x4478f0
movzx eax, byte [edi + 0x29]
push ecx
push ebx
push eax
push 0x5b
mov ecx, edi
call fcn.00447a7f
mov ecx, edi
call fcn.00446466
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x4478fe
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 0x447983
jne 0x447912
push 0
jmp 0x44797d
cmp esi, 0xf
jae 0x44797c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x44797c
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jns 0x447935
fadd qword [0x4b8a00]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fstp qword [ebp - 0x28]
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.00421164
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x44793e
jmp 0x447983
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
leave
ret 4

Function at 0x447ad3
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 0x447af7
xor al, al
jmp 0x447b3c
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
je 0x447af3
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 0x447b27
mov byte [esi + 1], 1
test bl, 2
je 0x447b30
mov byte [esi + 3], 1
test bl, 4
pop ebx
je 0x447b3a
mov byte [esi + 4], 1
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x449787
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.00449558
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 0x44992e
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20020
call fcn.004333f0
push esi
lea eax, [ebp - 0x20020]
mov esi, edx
push eax
mov edx, 0x7fff
call fcn.0044a806
lea eax, [ebp - 0x10020]
push eax
mov edx, 0x7fff
mov ecx, esi
call fcn.0044a806
pop ecx
pop ecx
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
pop esi
test eax, eax
jne 0x4499b7
cmp byte [ebp + 8], al
je 0x4499b3
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call fcn.00425123
pop ecx
pop ecx
test eax, eax
je 0x4499af
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
lea ecx, [ebp - 0x20020]
call fcn.0044abb2
test al, al
je 0x4499b3
lea ecx, [ebp - 0x10020]
call fcn.0044abb2
test al, al
je 0x449a61
cmp byte [ebp + 8], 0
je 0x4499b3
lea eax, [ebp - 0x20020]
push 0x4b5764
push eax
call fcn.00424834
lea eax, [ebp - 0x20020]
push eax
call fcn.0042481b
xor ecx, ecx
mov word [ebp + eax*2 - 0x2001e], cx
lea eax, [ebp - 0x10020]
push eax
call fcn.0042481b
xor ecx, ecx
mov word [ebp + eax*2 - 0x1001e], cx
lea eax, [ebp - 0x20020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10020]
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 - 0x10020]
call fcn.00449cc1
test al, al
je 0x4499b3
lea ecx, [ebp - 0x10020]
call fcn.0044abb2
test al, al
jmp 0x4499dd