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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov bl, byte [ebp + 0xc]
mov bh, cl
or byte [ebp + 8], bl
mov al, bh
dec al
mov dword [esp + 8], edx
push esi
push edi
cmp al, 5
ja 0x419fc5
cmp bh, 3
jne 0x419fcd
mov al, bh
add al, 0x66
cmp al, 5
ja 0x419fd4
mov byte [esp + 0xf], 1
jmp 0x419fd9
mov byte [esp + 0xf], 0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
test esi, esi
jle 0x41a10c
mov bl, byte [esp + 0xf]
nop dword [eax + eax]
cmp dword [0x4fe348], 0
jne 0x41a056
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4f898c]
sub eax, dword [0x4fe0dc]
cmp eax, dword [ecx + 0xb8]
jbe 0x41a05c
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x41a04b
mov edx, 1
mov dword [0x4f8984], 0
or ecx, 0xffffffff
call fcn.004018a0
mov dword [0x4f8984], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fe0dc], eax
mov ecx, dword [0x4f898c]
cmp byte [ebp + 0x18], 0
jne 0x41a0b0
mov al, byte [ecx + 0xd6]
test al, al
je 0x41a078
movzx eax, al
mov esi, 0xffc3d44d
sub esi, eax
jmp 0x41a07d
mov esi, 0xffc3d44f
cmp dword [0x4fe348], 0
je 0x41a08d
mov al, byte [0x4fe33c]
jmp 0x41a094
xor cl, cl
call fcn.0041d080
mov cl, byte [ebp + 8]
mov dl, al
push esi
push 1
push 0
push edi
call fcn.0041c950
mov ecx, dword [0x4f898c]
add esp, 0x10
mov esi, dword [ebp + 0x10]
test bl, bl
je 0x41a0da
test edi, edi
jne 0x41a0da
push dword [ebp + 0x28]
movzx eax, byte [ecx + 0xcf]
mov cl, bh
push dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
push eax
push 1
push dword [ebp + 0x24]
call fcn.0041b730
add esp, 0x14
jmp 0x41a0fd
movzx eax, byte [ecx + 0xd6]
mov dl, bh
mov ecx, 0xffc3d44d
sub ecx, eax
push ecx
mov ecx, dword [ebp + 0x14]
push 1
push edi
push dword [esp + 0x1c]
call fcn.0041a5e0
add esp, 0x10
sub esi, 1
mov dword [ebp + 0x10], esi
jne 0x419ff0
mov bl, byte [ebp + 0xc]
cmp byte [ebp + 0x18], 0
jne 0x41a148
cmp dword [0x4fe348], 0
je 0x41a122
mov al, byte [0x4fe33c]
jmp 0x41a129
xor cl, cl
call fcn.0041d080
not bl
and bl, al
and bl, 0xcc
je 0x41a148
push 0xffc3d44d
push 0
push 1
push edi
mov dl, bl
xor cl, cl
call fcn.0041c950
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a150
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x34
cmp dword [0x4fe348], 2
push ebx
mov bl, cl
sete bh
push esi
mov esi, edx
mov byte [esp + 8], bl
jne 0x41a19b
movzx eax, byte [esp + 0x10]
and cl, 0x80
mov edx, 0x30
cmovne eax, edx
lea edx, [esp + 0x11]
mov byte [esp + 0x10], al
test cl, cl
lea eax, [esp + 0x10]
cmovne eax, edx
push 0xa
push eax
movzx eax, bl
push eax
call fcn.004c3fb8
add esp, 0xc
jmp 0x41a1bb
push 1
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x14]
push eax
push 8
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x41a26f
test esi, esi
jle 0x41a26f
mov bl, byte [esp + 0x40]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4fe348], 0
jne 0x41a22f
call edi
mov ecx, dword [0x4f898c]
sub eax, dword [0x4fe0dc]
cmp eax, dword [ecx + 0xb8]
jbe 0x41a22f
push 0
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
call ebp
test eax, eax
je 0x41a228
mov edx, 1
mov dword [0x4f8984], 0
or ecx, 0xffffffff
call fcn.004018a0
mov dword [0x4f8984], 1
call edi
mov dword [0x4fe0dc], eax
test bh, bh
je 0x41a23e
lea ecx, [esp + 0x18]
call fcn.0041a280
jmp 0x41a249
mov ecx, dword [esp + 0x14]
mov dl, bl
call fcn.00418920
cmp dword [0x4fe348], 2
mov eax, dword [0x4f898c]
jne 0x41a25c
mov ecx, dword [eax + 0x60]
jmp 0x41a25f
mov ecx, dword [eax + 0x5c]
call fcn.0041c540
sub esi, 1
jne 0x41a1d5
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x41c330
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword fs:[0x24]
cmp dword [0x4fe348], 1
push ebp
push esi
mov byte [esp + 0xb], dl
mov esi, ecx
mov dword [esp + 0x10], eax
jne 0x41c4a8
xor al, al
mov ebp, 1
cmp dword [0x4fb988], 0
push ebx
movzx ebx, al
cmovne ebx, ebp
cmp dword [0x4fb984], 0
mov dword [esp + 0x10], ebx
je 0x41c37b
or ebx, 2
mov dword [esp + 0x10], ebx
test bl, bl
je 0x41c390
mov cl, byte [0x4fe33d]
mov dl, 1
not cl
and cl, bl
call fcn.00412b00
mov eax, dword [0x4fe330]
xor edx, edx
mov ecx, dword [0x4fc460]
push edi
xor edi, edi
test eax, eax
je 0x41c447
xor esi, esi
xor ebx, ebx
nop dword [eax]
cmp dword [esi + ecx], ebp
jne 0x41c425
cmp word [esi + ecx + 4], 0
jne 0x41c425
cmp word [esi + ecx + 6], 0
jne 0x41c425
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 [0x4fc460]
mov dword [0x4f8984], 0
cmp dword [0x4fda50], eax
je 0x41c403
mov eax, dword [esi + ecx + 0x10]
test eax, eax
js 0x41c403
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41c40e
mov ecx, dword [esi + ecx + 0x10]
mov edx, ebp
call fcn.004018a0
mov eax, dword [0x4fe330]
lea edx, [edi + 1]
mov ecx, dword [0x4fc460]
lea ebx, [esi + 0x1c]
mov dword [0x4f8984], ebp
inc edi
add esi, 0x1c
cmp edi, eax
jb 0x41c3b0
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x41c447
lea eax, [edx*8]
sub eax, edx
push 0x1c
lea eax, [ecx + eax*4]
push eax
push edx
jmp 0x41c44b
push 0x1c
push ecx
push eax
call dword [sym.imp.USER32.dll_SendInput]
pop edi
test bl, bl
je 0x41c52b
mov al, byte [0x4fe33d]
and al, bl
test al, 1
je 0x41c499
mov cl, 1
call fcn.0041d080
mov bl, al
xor bl, byte [esp + 0xf]
mov dl, bl
and bl, al
and dl, byte [esp + 0xf]
not dl
and dl, byte [0x4fc2d4]
or dl, bl
mov byte [0x4fc2d4], dl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [esp + 0x10]
mov dword [0x4fbb04], eax
mov cl, bl
mov dl, 1
pop ebx
pop esi
pop ebp
add esp, 0xc
jmp fcn.00412b00
push 0
push 0
mov dword [0x4fe338], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x41a310
push 1
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4fb948], eax
test eax, eax
je 0x41c52c
mov byte [0x4fc2c5], 1
mov ebp, 1
nop
mov edx, ebp
mov dword [0x4f8984], 0
mov ecx, 0x8000012f
call fcn.004018a0
cmp dword [0x4fb948], 0
mov dword [0x4f8984], ebp
jne 0x41c4e0
mov eax, dword [0x4fa380]
mov byte [0x4fc2c5], 0
mov ecx, dword [eax]
mov eax, dword [0x4fe330]
cmp dword [ecx + eax*8 - 8], 0
jne 0x41c52c
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 0x41c750
Capabilities:
Get graphical window text

Disassembly:
push edi
mov edi, dword [0x4fb980]
test edi, edi
je 0x41c83c
mov ax, word [esp + 8]
push esi
imul esi, dword [0x4fb9f4], 0x70
mov byte [esi + edi + 5], cl
mov byte [esi + edi], dl
mov word [esi + edi + 2], ax
mov byte [esi + edi + 4], 0x69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [0x4fb980]
mov ecx, edx
mov dword [0x4fb9f0], edx
sub ecx, dword [0x4fe268]
mov dword [0x4fe268], edx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4f1540]
imul ecx, dword [0x4fb9f4], 0x70
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4f1484]
movss dword [ecx + eax + 8], xmm0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4fb980]
test esi, esi
je 0x41c812
cmp esi, dword [0x4fb9ec]
je 0x41c802
imul edx, dword [0x4fb9f4], 0x70
push 0x64
add edx, 0xc
add eax, edx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x4fb9f4]
jmp 0x41c823
mov edx, dword [0x4fb9f4]
imul ecx, edx, 0x70
mov byte [ecx + eax + 0xc], 0
jmp 0x41c823
mov edx, dword [0x4fb9f4]
imul ecx, edx, 0x70
mov dword [ecx + eax + 0xc], 0x412f4e
inc edx
mov dword [0x4fb9ec], esi
xor eax, eax
cmp edx, dword [0x4f8990]
pop esi
cmovge edx, eax
mov dword [0x4fb9f4], edx
pop edi
ret

Function at 0x41c840
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 0x41c86a
cmp edi, 2
jne 0x41c93e
cmp esi, edi
je 0x41c93e
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x41c89a
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 1
call fcn.0041a5e0
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 2
call fcn.0041a5e0
add esp, 0x10
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4fda50]
sete bh
jne 0x41c8ef
mov edx, 1
mov dword [0x4f8984], 0
or ecx, 0xffffffff
call fcn.004018a0
mov dword [0x4f8984], 1
cmp bl, 0x14
jne 0x41c93e
cmp edi, 2
jne 0x41c93e
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x41c93e
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, edi
call fcn.0041a5e0
add esp, 0x10
test bh, bh
je 0x41c93e
lea edx, [edi - 1]
mov dword [0x4f8984], 0
or ecx, 0xffffffff
call fcn.004018a0
mov dword [0x4f8984], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x41d080
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4fb988], 0
je 0x41d095
test cl, cl
jne 0x41d095
mov al, byte [0x4fc2d6]
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
mov edi, 0x8000
or cl, 0x20
and ax, di
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
push 0xa2
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 1
and ax, di
movzx ebx, cl
movzx ecx, dl
push 0xa3
cmove ebx, ecx
call esi
mov cl, bl
or cl, 2
and ax, di
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
push 0xa4
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 4
and ax, di
movzx ebx, cl
movzx ecx, dl
push 0xa5
cmove ebx, ecx
call esi
mov cl, bl
or cl, 8
and ax, di
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
push 0x5b
mov dword [esp + 0x10], edx
call esi
mov edx, dword [esp + 0xc]
mov cl, dl
or cl, 0x40
and ax, di
movzx ebx, cl
movzx ecx, dl
push 0x5c
cmove ebx, ecx
call esi
mov cl, bl
or cl, 0x80
and ax, di
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
cmp dword [0x4fb988], 0
mov dword [esp + 0xc], edx
je 0x41d1d2
mov cl, byte [0x4fc2d6]
mov bl, dl
not bl
and bl, cl
je 0x41d1d2
mov dl, byte [0x4fc2d4]
mov al, bl
not al
and byte [0x4fc2d5], al
and cl, al
and dl, al
mov byte [0x4fc2d6], cl
mov ecx, 0x4fc2d8
mov byte [0x4fc2d4], dl
call fcn.0041d1e0
mov ecx, dword [0x4fc424]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x41d1d2
test byte [ecx + 8], bl
mov eax, 0
cmovne ecx, eax
mov dword [0x4fc424], ecx
pop edi
pop esi
mov al, dl
pop ebx
pop ecx
ret
Function at 0x41d640
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 + 0x4f8a0c], al
je 0x41d7b6
inc edi
cmp edi, 0x6d
jl 0x41d653
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 0x41d74f
push ebp
push 0x100
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004c22a0
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
lea eax, [esp + 0x20]
add esp, 0xc
mov byte [esp + 0x12], 0
push esi
push 0
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0x6e
call ebp
movzx ecx, byte [esp + 0x14]
cmp eax, 2
movzx edx, byte [esp + 0x12]
lea eax, [esp + 0x14]
movzx edi, byte [esp + 0x11]
cmove edx, ecx
push esi
push 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x28], edx
push eax
push 0
push edi
call ebp
mov dword [esp + 0x20], eax
test eax, eax
jns 0x41d6f9
push esi
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0x6e
call ebp
mov eax, dword [esp + 0x1c]
test al, al
je 0x41d73e
push 1
push esi
lea edx, [esp + 0x1a]
mov cl, al
call fcn.0041d9e0
add esp, 8
mov byte [esp + 0x13], al
test al, al
je 0x41d73e
mov dl, byte [esp + 0x12]
lea ecx, [esp + 0x24]
call fcn.0041d1e0
push esi
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
movzx eax, byte [esp + 0x23]
push 0
push eax
call ebp
movzx eax, byte [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x20], ecx
pop ebp
cmovne ecx, eax
jmp 0x41d75e
push esi
movzx edi, al
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
mov cl, al
mov byte [ebx], cl
test cl, cl
je 0x41d774
pop edi
pop esi
mov byte [ebx + 1], 0
mov eax, ebx
pop ebx
add esp, 0x114
ret
cmp byte [esp + 0x128], 0
je 0x41d7a7
cmp byte [esp + 0xd], 0
je 0x41d7a7
push edi
push str.vk_02X
push dword [esp + 0x12c]
push ebx
call fcn.004aba90
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x114
ret
pop edi
pop esi
mov byte [ebx], 0
mov eax, ebx
pop ebx
add esp, 0x114
ret
mov esi, dword [esp + 0x124]
dec esi
push esi
push dword [edi*8 + 0x4f8a08]
push ebx
call fcn.004cc440
add esp, 0xc
mov byte [esi + ebx], 0
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x114
ret
Function at 0x41d8d0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov bl, byte [edi]
test bl, bl
je 0x41d9d9
cmp byte [edi + 1], 0
jne 0x41d8fb
push 1
push dword [esp + 0x20]
mov cl, bl
call fcn.0041d9e0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
movzx eax, bl
test eax, 0xffffff80
je 0x41d909
xor eax, eax
jmp 0x41d914
push 2
push eax
call fcn.004c7451
add esp, 8
mov cl, bl
and cl, 0xdf
test eax, eax
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
cmp dl, 0x56
jne 0x41d982
mov bl, byte [edi + 1]
movzx eax, bl
test eax, 0xffffff80
je 0x41d93a
xor eax, eax
jmp 0x41d945
push 2
push eax
call fcn.004c7451
add esp, 8
mov cl, bl
and cl, 0xdf
test eax, eax
movzx edx, cl
movzx ecx, bl
cmove edx, ecx
cmp dl, 0x4b
jne 0x41d982
push 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [edi + 2]
push eax
call fcn.004c4d25
mov ecx, dword [esp + 0x18]
add esp, 0xc
xor ebx, ebx
movzx edx, al
cmp byte [ecx], bl
pop edi
cmove ebx, edx
pop esi
mov al, bl
pop ebx
pop ecx
ret
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
push edi
push dword [esi*8 + 0x4f8a08]
call fcn.004c408e
add esp, 8
test eax, eax
je 0x41d9cd
inc esi
cmp esi, 0x6d
jl 0x41d990
cmp byte [esp + 0x14], 0
jne 0x41d9d9
xor edx, edx
mov ecx, edi
call fcn.0041d7e0
movzx ecx, ax
test cx, cx
je 0x41d9d9
pop edi
pop esi
pop ebx
add esp, 4
jmp fcn.0041e2b0
mov al, byte [esi*8 + 0x4f8a0c]
pop edi
pop esi
pop ebx
pop ecx
ret
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret

Function at 0x41d9e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, ecx
push edi
mov edi, edx
cmp bl, 0xa
jne 0x41d9f2
pop edi
mov al, 0xd
pop ebx
pop ecx
ret
push ebp
push dword [esp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov edx, eax
mov dword [esp + 0xc], eax
shr edx, 8
cmp dl, 0xff
jne 0x41da67
cmp al, 0xff
jne 0x41da67
cmp byte [esp + 0x18], 0
je 0x41da70
movzx ebp, bl
test ebp, 0xffffff80
jne 0x41da70
push 0x103
push ebp
call fcn.004c7451
add esp, 8
test eax, eax
je 0x41da70
push esi
push 2
push ebp
call fcn.004c7451
push 1
push ebp
mov esi, eax
call fcn.004c7451
add esp, 0x10
mov cl, bl
test eax, eax
movzx eax, bl
setne dl
and cl, 0xdf
test esi, esi
movzx ecx, cl
pop esi
cmove ecx, eax
mov bl, cl
jmp 0x41da6b
mov ebx, dword [esp + 0xc]
test dl, 0x38
je 0x41da77
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret
test edi, edi
je 0x41dab7
mov al, dl
and al, 6
cmp al, 6
jne 0x41da88
or byte [edi], 8
jmp 0x41daa6
test dl, 2
je 0x41da97
mov al, byte [edi]
test al, 3
jne 0x41da97
or al, 1
mov byte [edi], al
test dl, 4
je 0x41daa6
mov al, byte [edi]
test al, 0xc
jne 0x41daa6
or al, 4
mov byte [edi], al
test dl, 1
je 0x41dab7
mov cl, byte [edi]
test cl, 0x30
jne 0x41dab7
or cl, 0x10
mov byte [edi], cl
pop ebp
pop edi
mov al, bl
pop ebx
pop ecx
ret
Function at 0x41de90
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
movzx esi, cl
mov bl, dl
lea eax, [esi - 0x13]
cmp eax, 0x92
ja case.0x41deac.20
movzx eax, byte [eax + 0x41e14c]
jmp dword [eax*4 + 0x41e0e0]
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_MapVirtualKeyA]
movzx ecx, ax
test cx, cx
jne 0x41e09d
pop esi
xor eax, eax
pop ebx
ret
add esi, 0xfffffffd
cmp esi, 0xb4
ja case.0x41e0b3.4
movzx eax, byte [esi + 0x41e1ec]
jmp dword [eax*4 + 0x41e1e0]
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 0x41e2b0
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, ecx
movzx edx, bx
mov eax, edx
cmp edx, 0x11c
ja 0x41e328
je 0x41e324
sub eax, 0x1d
cmp eax, 0x36
ja case.0x41e339.286
movzx eax, byte [eax + 0x41e3dc]
jmp dword [eax*4 + 0x41e390]
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.0x41e339.286
movzx eax, byte [eax + 0x41e43c]
jmp dword [eax*4 + 0x41e414]
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 0x41e381
movzx eax, dl
push 1
or eax, 0xe000
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
jne 0x41e38d
push 1
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
pop ebx
ret
Function at 0x420080
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x42013d
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 + 0x4e6230]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e6230]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e6230]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e6230]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e6230]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e6230]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e6230]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e6230]
sub edi, 1
jne 0x420096
pop edi
test esi, esi
je 0x42015b
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e6230]
sub esi, 1
jne 0x420141
not ecx
mov eax, ecx
pop esi
ret

Function at 0x420570
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
test byte [esi], 1
jne 0x4205a3
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 0x42059c
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 0x4205c8
ja 0x4205c4
cmp ebp, ecx
jbe 0x4205c8
mov edi, ecx
sub edi, ebx
mov ecx, dword [esi + 4]
push edi
add ecx, ebx
push ecx
push edx
call fcn.004c2440
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