joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bdd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x44
mov eax, dword [0x4fe928]
cmp eax, 2
push ebx
push esi
push edi
mov esi, edx
sete byte [esp + 0xf]
jne 0x41be20
movzx edx, cx
mov ecx, edx
and ecx, 0xffffff80
je 0x41bdfb
mov eax, 0x30
mov word [esp + 0x30], ax
test ecx, ecx
lea eax, [esp + 0x30]
lea edi, [esp + 0x32]
push 0xa
cmovne eax, edi
push eax
push edx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [0x4fe928]
jmp 0x41be23
movzx ebx, cx
test esi, esi
jle 0x41bed5
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x41be8d
call edi
mov ecx, dword [0x4f90f4]
sub eax, dword [0x4fe694]
cmp eax, dword [ecx + 0xd8]
jbe 0x41be8d
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call ebp
test eax, eax
je 0x41be86
mov edx, 1
mov dword [0x4f90ec], 0
or ecx, 0xffffffff
call fcn.004018f0
mov dword [0x4f90ec], 1
call edi
mov dword [0x4fe694], eax
cmp byte [esp + 0x13], 0
je 0x41be9f
lea ecx, [esp + 0x34]
call fcn.0041bee0
jmp 0x41beaa
mov dl, byte [esp + 0x58]
mov ecx, ebx
call fcn.0041a620
cmp dword [0x4fe928], 2
mov eax, dword [0x4f90f4]
jne 0x41bebd
mov ecx, dword [eax + 0x60]
jmp 0x41bec0
mov ecx, dword [eax + 0x5c]
call fcn.0041e000
sub esi, 1
je 0x41bed4
mov eax, dword [0x4fe928]
jmp 0x41be38
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x41ddf0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword fs:[0x24]
cmp dword [0x4fe928], 1
push ebp
push esi
mov byte [esp + 0xb], dl
mov esi, ecx
mov dword [esp + 0x10], eax
jne 0x41df68
xor al, al
mov ebp, 1
cmp dword [0x4fba08], 0
push ebx
movzx ebx, al
cmovne ebx, ebp
cmp dword [0x4fba04], 0
mov dword [esp + 0x10], ebx
je 0x41de3b
or ebx, 2
mov dword [esp + 0x10], ebx
test bl, bl
je 0x41de50
mov cl, byte [0x4fe91d]
mov dl, 1
not cl
and cl, bl
call fcn.00414160
mov eax, dword [0x4fe910]
xor edx, edx
mov ecx, dword [0x4fc568]
push edi
xor edi, edi
test eax, eax
je 0x41df07
xor esi, esi
xor ebx, ebx
nop dword [eax]
cmp dword [esi + ecx], ebp
jne 0x41dee5
cmp word [esi + ecx + 4], 0
jne 0x41dee5
cmp word [esi + ecx + 6], 0
jne 0x41dee5
push 0x1c
lea eax, [ebx + ecx]
push eax
mov eax, edi
sub eax, edx
push eax
call dword [sym.imp.USER32.dll_SendInput]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4fc568]
mov dword [0x4f90ec], 0
cmp dword [0x4fd2ec], eax
je 0x41dec3
mov eax, dword [esi + ecx + 0x10]
test eax, eax
js 0x41dec3
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41dece
mov ecx, dword [esi + ecx + 0x10]
mov edx, ebp
call fcn.004018f0
mov eax, dword [0x4fe910]
lea edx, [edi + 1]
mov ecx, dword [0x4fc568]
lea ebx, [esi + 0x1c]
mov dword [0x4f90ec], ebp
inc edi
add esi, 0x1c
cmp edi, eax
jb 0x41de70
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x41df07
lea eax, [edx*8]
sub eax, edx
push 0x1c
lea eax, [ecx + eax*4]
push eax
push edx
jmp 0x41df0b
push 0x1c
push ecx
push eax
call dword [sym.imp.USER32.dll_SendInput]
pop edi
test bl, bl
je 0x41dfeb
mov al, byte [0x4fe91d]
and al, bl
test al, 1
je 0x41df59
mov cl, 1
call fcn.0041eb60
mov bl, al
xor bl, byte [esp + 0xf]
mov dl, bl
and bl, al
and dl, byte [esp + 0xf]
not dl
and dl, byte [0x4fc3dc]
or dl, bl
mov byte [0x4fc3dc], dl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [esp + 0x10]
mov dword [0x4fbbc0], eax
mov cl, bl
mov dl, 1
pop ebx
pop esi
pop ebp
add esp, 0xc
jmp fcn.00414160
push 0
push 0
mov dword [0x4fe918], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x41bf70
push 1
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4fb9c8], eax
test eax, eax
je 0x41dfec
mov byte [0x4fba9f], 1
mov ebp, 1
nop
mov edx, ebp
mov dword [0x4f90ec], 0
mov ecx, 0x8000012f
call fcn.004018f0
cmp dword [0x4fb9c8], 0
mov dword [0x4f90ec], ebp
jne 0x41dfa0
mov eax, dword [0x4fab58]
mov byte [0x4fba9f], 0
mov ecx, dword [eax]
mov eax, dword [0x4fe910]
cmp dword [ecx + eax*8 - 8], 0
jne 0x41dfec
mov eax, dword [ecx + eax*8 - 4]
mov dword [esi], eax
pop esi
pop ebp
add esp, 0xc
ret
pop ebx
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x41e210
Capabilities:
Get graphical window text

Disassembly:
push edi
mov edi, dword [0x4fba00]
test edi, edi
je 0x41e31a
mov ax, word [esp + 8]
push esi
imul esi, dword [0x4fba78], 0xd4
mov byte [esi + edi + 6], cl
mov byte [esi + edi], dl
mov word [esi + edi + 2], ax
mov eax, 0x69
mov word [esi + edi + 4], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [0x4fba00]
mov ecx, edx
mov dword [0x4fba74], edx
sub ecx, dword [0x4fe6f4]
mov dword [0x4fe6f4], edx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4f32c0]
imul ecx, dword [0x4fba78], 0xd4
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4f31cc]
movss dword [ecx + eax + 8], xmm0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4fba00]
test esi, esi
je 0x41e2e5
cmp esi, dword [0x4fba70]
je 0x41e2d0
imul edx, dword [0x4fba78], 0xd4
push 0x64
add edx, 0xc
add eax, edx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x4fba78]
jmp 0x41e301
mov edx, dword [0x4fba78]
imul ecx, edx, 0xd4
xor edi, edi
mov word [ecx + eax + 0xc], di
jmp 0x41e301
mov edx, dword [0x4fba78]
imul ecx, edx, 0xd4
mov dword [ecx + eax + 0xc], 0x2f004e
mov dword [ecx + eax + 0x10], 0x41
inc edx
mov dword [0x4fba70], esi
xor eax, eax
cmp edx, dword [0x4f90f8]
pop esi
cmovge edx, eax
mov dword [0x4fba78], edx
pop edi
ret

Function at 0x41e320
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov bl, cl
push edi
movzx ebp, bl
mov edi, edx
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
movzx esi, ax
xor esi, 0xffffffff
and esi, 1
inc esi
cmp edi, 1
je 0x41e34a
cmp edi, 2
jne 0x41e41e
cmp esi, edi
je 0x41e41e
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x41e37a
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 1
call fcn.0041c240
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 2
call fcn.0041c240
add esp, 0x10
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4fd2ec]
sete bh
jne 0x41e3cf
mov edx, 1
mov dword [0x4f90ec], 0
or ecx, 0xffffffff
call fcn.004018f0
mov dword [0x4f90ec], 1
cmp bl, 0x14
jne 0x41e41e
cmp edi, 2
jne 0x41e41e
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x41e41e
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, edi
call fcn.0041c240
add esp, 0x10
test bh, bh
je 0x41e41e
lea edx, [edi - 1]
mov dword [0x4f90ec], 0
or ecx, 0xffffffff
call fcn.004018f0
mov dword [0x4f90ec], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x41eb60
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4fba08], 0
je 0x41eb75
test cl, cl
jne 0x41eb75
mov al, byte [0x4fc3de]
pop ecx
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0xa0
call esi
mov bx, ax
shr bx, 0xb
push 0xa1
and bl, 0x10
call esi
mov cl, bl
or cl, 0x20
bt ax, 0xf
movzx edx, cl
movzx ecx, bl
cmovae edx, ecx
push 0xa2
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 1
bt ax, 0xf
movzx ebx, cl
movzx ecx, dl
push 0xa3
cmovae ebx, ecx
call esi
mov cl, bl
or cl, 2
bt ax, 0xf
movzx edx, cl
movzx ecx, bl
cmovae edx, ecx
push 0xa4
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 4
bt ax, 0xf
movzx ebx, cl
movzx ecx, dl
push 0xa5
cmovae ebx, ecx
call esi
mov cl, bl
or cl, 8
bt ax, 0xf
movzx edx, cl
movzx ecx, bl
cmovae edx, ecx
push 0x5b
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 0x40
bt ax, 0xf
movzx ebx, cl
movzx ecx, dl
push 0x5c
cmovae ebx, ecx
call esi
mov cl, bl
or cl, 0x80
bt ax, 0xf
movzx edx, cl
movzx ecx, bl
cmovae edx, ecx
cmp dword [0x4fba08], 0
mov dword [esp + 0xc], edx
je 0x41ecbb
mov cl, byte [0x4fc3de]
mov bl, dl
not bl
and bl, cl
je 0x41ecbb
mov dl, byte [0x4fc3dc]
mov al, bl
not al
and byte [0x4fc3dd], al
and cl, al
and dl, al
mov byte [0x4fc3de], cl
mov ecx, 0x4fc3e0
mov byte [0x4fc3dc], dl
call fcn.0041ecd0
mov ecx, dword [0x4fc52c]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x41ecbb
test byte [ecx + 8], bl
mov eax, 0
cmovne ecx, eax
mov dword [0x4fc52c], ecx
pop edi
pop esi
mov al, dl
pop ebx
pop ecx
ret
Function at 0x41f0c0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x288
xor eax, eax
push ebp
push esi
mov esi, edx
mov ebp, ecx
nop
mov edx, dword [eax*8 + 0x4fe8b8]
test edx, edx
je 0x41f0e5
cmp edx, ebp
je 0x41f111
inc eax
cmp eax, 0xa
jl 0x41f0d0
cmp eax, 0xa
mov ecx, 9
cmovl ecx, eax
mov dword [esp + 0xc], ecx
test esi, esi
je 0x41f136
mov dword [ecx*8 + 0x4fe8bc], esi
mov eax, esi
pop esi
mov dword [ecx*8 + 0x4fe8b8], ebp
pop ebp
add esp, 0x288
ret
test esi, esi
je 0x41f126
cmp dword [eax*8 + 0x4fe8bc], 0
jne 0x41f126
mov dword [eax*8 + 0x4fe8bc], esi
mov eax, dword [eax*8 + 0x4fe8bc]
pop esi
pop ebp
add esp, 0x288
ret
push ebx
xor ebx, ebx
push ebx
push ebp
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov dword [esp + 0xc], eax
test eax, eax
je 0x41f209
push edi
mov ecx, 0x19
lea edi, [esp + 0x18]
mov esi, str.SYSTEMCurrentControlSetControlKeyboard_Layouts_
lea eax, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
pop edi
test eax, eax
je 0x41f1a1
push ebx
push ecx
lea eax, [esp + 0x94]
push eax
push str.Layout_File
lea edx, [esp + 0x24]
call fcn.004b29c0
add esp, 0x10
test eax, eax
je 0x41f1a1
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
jmp 0x41f1a3
xor esi, esi
mov eax, dword [esp + 0xc]
cmp ebp, eax
je 0x41f1b4
push 0
push eax
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
test esi, esi
je 0x41f209
push str.KbdLayerDescriptor
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f202
call eax
cmp dword [0x4fe888], 0
mov ebx, eax
je 0x41f1f7
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4fe888]
test eax, eax
je 0x41f1f7
cmp dword [esp + 0xc], 0
je 0x41f1f7
mov ebx, dword [ebx + 0x50]
jmp 0x41f1fa
mov ebx, dword [ebx + 0x28]
not ebx
and ebx, 1
add ebx, 3
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x10]
mov eax, ebx
mov dword [ecx*8 + 0x4fe8bc], ebx
pop ebx
pop esi
mov dword [ecx*8 + 0x4fe8b8], ebp
pop ebp
add esp, 0x288
ret
Function at 0x41f230
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x114
push ebx
push esi
mov al, cl
mov ebx, edx
push edi
mov byte [esp + 0xd], al
xor edi, edi
cmp byte [edi*8 + 0x4f9174], al
je 0x41f3af
inc edi
cmp edi, 0x6d
jl 0x41f243
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
mov al, byte [esp + 0xd]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x41f341
push ebp
push 0x100
lea eax, [esp + 0x28]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
xor ebp, ebp
push esi
push ebp
push 2
push eax
lea eax, [esp + 0x34]
push eax
push ebp
push 0x6e
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp eax, 2
jne 0x41f2a8
movzx ebp, word [esp + 0x14]
movzx edi, byte [esp + 0x11]
lea eax, [esp + 0x14]
push esi
push 0
push 2
push eax
lea eax, [esp + 0x34]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
mov dword [esp + 0x20], eax
test eax, eax
jns 0x41f2e6
push esi
push 0
push 2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push 0x6e
call dword [sym.imp.USER32.dll_ToUnicodeEx]
test bp, bp
je 0x41f32e
push 1
push esi
lea edx, [esp + 0x1a]
mov ecx, ebp
call fcn.0041f5f0
add esp, 8
mov byte [esp + 0x13], al
test al, al
je 0x41f32e
mov dl, byte [esp + 0x12]
lea ecx, [esp + 0x24]
call fcn.0041ecd0
push esi
push 0
push 2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
movzx eax, byte [esp + 0x27]
push 0
push eax
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp dword [esp + 0x20], 0
pop ebp
je 0x41f33d
movzx eax, word [esp + 0x10]
jmp 0x41f351
xor eax, eax
jmp 0x41f351
push esi
movzx edi, al
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
movzx eax, ax
mov word [ebx], ax
test ax, ax
je 0x41f36b
xor eax, eax
pop edi
mov word [ebx + 2], ax
mov eax, ebx
pop esi
pop ebx
add esp, 0x114
ret
cmp byte [esp + 0x128], 0
je 0x41f39e
cmp byte [esp + 0xd], 0
je 0x41f39e
push edi
push str.vk_02X
push dword [esp + 0x12c]
push ebx
call fcn.004b1470
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x114
ret
xor eax, eax
pop edi
mov word [ebx], ax
mov eax, ebx
pop esi
pop ebx
add esp, 0x114
ret
mov esi, dword [esp + 0x124]
dec esi
push esi
push dword [edi*8 + 0x4f9170]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2], ax
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x114
ret
Function at 0x41f4d0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
movzx eax, word [edi]
mov esi, eax
test ax, ax
je 0x41f5da
cmp word [edi + 2], 0
jne 0x41f500
push 1
push dword [esp + 0x20]
mov ecx, eax
call fcn.0041f5f0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, 0xffffff80
je 0x41f511
xor eax, eax
jmp 0x41f519
push 2
push eax
call ebx
add esp, 8
mov ecx, esi
and ecx, 0xffdf
test eax, eax
movzx edx, cx
mov ecx, esi
cmove edx, ecx
cmp dx, 0x56
jne 0x41f58c
movzx eax, word [edi + 2]
mov esi, eax
test eax, 0xffffff80
je 0x41f542
xor eax, eax
jmp 0x41f54a
push 2
push eax
call ebx
add esp, 8
mov ecx, esi
and ecx, 0xffdf
test eax, eax
movzx edx, cx
mov ecx, esi
cmove edx, ecx
cmp dx, 0x4b
jne 0x41f58c
push 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [edi + 4]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ecx, dword [esp + 0x18]
add esp, 0xc
xor ebx, ebx
movzx edx, al
cmp word [ecx], bx
pop edi
cmove ebx, edx
pop esi
mov al, bl
pop ebx
pop ecx
ret
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor esi, esi
push edi
push dword [esi*8 + 0x4f9170]
call ebx
add esp, 8
test eax, eax
je 0x41f5ce
inc esi
cmp esi, 0x6d
jl 0x41f594
cmp byte [esp + 0x14], 0
jne 0x41f5da
xor edx, edx
mov ecx, edi
call fcn.0041f3e0
movzx ecx, ax
test cx, cx
je 0x41f5da
pop edi
pop esi
pop ebx
add esp, 4
jmp fcn.0041fed0
mov al, byte [esi*8 + 0x4f9174]
pop edi
pop esi
pop ebx
pop ecx
ret
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret

Function at 0x41f5f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, ecx
push edi
mov edi, edx
cmp bx, 0xa
jne 0x41f603
pop edi
mov al, 0xd
pop ebx
pop ecx
ret
push ebp
push esi
push dword [esp + 0x18]
push ebx
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx eax, ax
mov edx, eax
mov dword [esp + 0x10], eax
shr edx, 8
cmp dl, 0xff
jne 0x41f677
cmp al, 0xff
jne 0x41f677
cmp byte [esp + 0x1c], 0
je 0x41f680
movzx ebp, bx
test ebp, 0xffffff80
jne 0x41f680
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
push 0x103
push ebp
call esi
add esp, 8
test eax, eax
je 0x41f680
push 2
push ebp
call esi
push 1
push ebp
mov esi, eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 0x10
test eax, eax
mov al, bl
setne dl
and al, 0xdf
movzx ecx, al
test esi, esi
movzx eax, bl
cmove ecx, eax
mov bl, cl
jmp 0x41f67b
mov ebx, dword [esp + 0x10]
test dl, 0x38
je 0x41f688
pop esi
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret
test edi, edi
je 0x41f6c8
mov al, dl
and al, 6
cmp al, 6
jne 0x41f699
or byte [edi], 8
jmp 0x41f6b7
test dl, 2
je 0x41f6a8
mov al, byte [edi]
test al, 3
jne 0x41f6a8
or al, 1
mov byte [edi], al
test dl, 4
je 0x41f6b7
mov al, byte [edi]
test al, 0xc
jne 0x41f6b7
or al, 4
mov byte [edi], al
test dl, 1
je 0x41f6c8
mov cl, byte [edi]
test cl, 0x30
jne 0x41f6c8
or cl, 0x10
mov byte [edi], cl
pop esi
pop ebp
pop edi
mov al, bl
pop ebx
pop ecx
ret
Function at 0x41fab0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
movzx esi, cl
mov bl, dl
lea eax, [esi - 0x13]
cmp eax, 0x92
ja case.0x41facc.20
movzx eax, byte [eax + 0x41fd6c]
jmp dword [eax*4 + 0x41fd00]
mov ecx, 0x2a
xor eax, eax
movzx ecx, cx
test bl, bl
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x136
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x1d
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x11d
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x38
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x138
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x15b
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x15c
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x45
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x52
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4f
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x50
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x51
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4b
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4c
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4d
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x47
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x48
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x49
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x53
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x145
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x135
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x37
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4a
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x4e
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
xor eax, eax
mov ecx, 0x137
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, ax
test cx, cx
jne 0x41fcbd
pop esi
xor eax, eax
pop ebx
ret
add esi, 0xfffffffd
cmp esi, 0xb4
ja case.0x41fcd3.4
movzx eax, byte [esi + 0x41fe0c]
jmp dword [eax*4 + 0x41fe00]
or ecx, 0x100
xor eax, eax
test bl, bl
movzx ecx, cx
pop esi
cmove eax, ecx
pop ebx
ret
mov eax, ecx
or ecx, 0x100
test bl, bl
pop esi
cmovne eax, ecx
pop ebx
ret
Function at 0x41fed0
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, ecx
movzx edx, bx
mov eax, edx
cmp edx, 0x11c
ja 0x41ff48
je 0x41ff44
sub eax, 0x1d
cmp eax, 0x36
ja case.0x41ff59.286
movzx eax, byte [eax + 0x41fffc]
jmp dword [eax*4 + 0x41ffb0]
mov al, 0xa0
pop ebx
ret
mov al, 0xa2
pop ebx
ret
mov al, 0xa4
pop ebx
ret
mov al, 0x6a
pop ebx
ret
mov al, 0x6d
pop ebx
ret
mov al, 0x6b
pop ebx
ret
mov al, 0x2e
pop ebx
ret
mov al, 0xc
pop ebx
ret
mov al, 0x2d
pop ebx
ret
mov al, 0x26
pop ebx
ret
mov al, 0x28
pop ebx
ret
mov al, 0x25
pop ebx
ret
mov al, 0x27
pop ebx
ret
mov al, 0x24
pop ebx
ret
mov al, 0x23
pop ebx
ret
mov al, 0x21
pop ebx
ret
mov al, 0x22
pop ebx
ret
mov al, 0x13
pop ebx
ret
mov al, 0xd
pop ebx
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x41ff59.286
movzx eax, byte [eax + 0x42005c]
jmp dword [eax*4 + 0x420034]
mov al, 0xa1
pop ebx
ret
mov al, 0xa3
pop ebx
ret
mov al, 0xa5
pop ebx
ret
mov al, 0x5b
pop ebx
ret
mov al, 0x5c
pop ebx
ret
mov al, 0x90
pop ebx
ret
mov al, 0x6f
pop ebx
ret
mov al, 0x5d
pop ebx
ret
mov al, 0x2c
pop ebx
ret
test ebx, 0x100
je 0x41ffa1
movzx eax, dl
push 1
or eax, 0xe000
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x41ffad
push 1
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
pop ebx
ret
Function at 0x421e20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x421edd
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
sub edi, 1
jne 0x421e36
pop edi
test esi, esi
je 0x421efb
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
sub esi, 1
jne 0x421ee1
not ecx
mov eax, ecx
pop esi
ret

Function at 0x422300
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
test byte [esi], 1
jne 0x422333
push 0
lea eax, [esp + 8]
push eax
push dword [esp + 0x14]
push edx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42232c
mov dword [esi + 8], 7
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
pop esi
pop ecx
ret
mov ecx, dword [esi + 0x10]
xor eax, eax
push ebx
mov ebx, dword [esi + 0x18]
push ebp
push edi
mov edi, dword [esp + 0x18]
mov ebp, edi
add ebp, ebx
adc eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x14]
jb 0x422358
ja 0x422354
cmp ebp, ecx
jbe 0x422358
mov edi, ecx
sub edi, ebx
mov ecx, dword [esi + 4]
push edi
add ecx, ebx
push ecx
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, edi
add dword [esi + 0x18], edi
adc dword [esi + 0x1c], 0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret