joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4294f8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4295ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409ce8
lea eax, [ebp - 4]
call fcn.00409e5c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a528
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4295b8
mov eax, ebx
call fcn.00406f20
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4295b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a528
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42959b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4295e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42959b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4295b8
mov eax, dword [ebp - 0x10]
call fcn.00406f3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4295d5
lea eax, [ebp - 4]
call fcn.004098c0
ret

Function at 0x4295e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4296e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409ce8
lea eax, [ebp - 4]
call fcn.00409e5c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a528
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4296ce
mov eax, ebx
call fcn.00406f20
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4296c7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a528
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4296b1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4296f8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4296b1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4296ce
mov eax, dword [ebp - 0x10]
call fcn.00406f3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4296eb
lea eax, [ebp - 4]
call fcn.004098c0
ret
Function at 0x42a7a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409d9c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f100
mov edi, eax
cmp edi, 0x104
jbe 0x42a753
mov eax, edi
add eax, eax
call fcn.00406f20
mov esi, eax
jmp 0x42a755
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f100
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42a78e
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42a778
mov eax, esp
cmp esi, eax
je 0x42a79b
mov eax, esi
call fcn.00406f3c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42a7d4
cmp bl, 0
je 0x42a7d0
cmp bl, 0x41
jl 0x42a7cb
cmp bl, 0x5a
jg 0x42a7cb
or bl, 0x20
xor al, bl
inc esi
jmp 0x42a7af
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42a714

Function at 0x42b104
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.004098c0
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040a528
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42b149
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00409a48
jmp 0x42b162
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040a6bc
push ebx
mov eax, dword [esi]
call fcn.0040a528
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42bcc8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42bce8
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42bd02
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42bcfd
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42bd07
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42bd75
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42bdbe
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42bd33
inc dword [ebp - 0xc]
jmp 0x42bd4b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42bd4b
cmp dword [ebp - 0xc], 0
jle 0x42bd4b
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42bd6d
xor eax, eax
jmp 0x42bd69
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42bd68
mov eax, esi
jmp 0x42bdc1
inc eax
cmp eax, ecx
jle 0x42bd55
inc esi
cmp esi, dword [ebp - 8]
jl 0x42bd1f
jmp 0x42bdbe
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42bdbe
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42bd96
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42bdb8
xor eax, eax
jmp 0x42bdb4
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42bdb3
mov eax, esi
jmp 0x42bdc1
inc eax
cmp eax, ecx
jle 0x42bda0
inc esi
cmp esi, dword [ebp - 8]
jl 0x42bd7e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c1b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c1cf
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c1df
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42c301
test ebx, ebx
jl 0x42c301
test esi, esi
jle 0x42c301
mov eax, dword [ebp - 8]
call fcn.0040a528
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040a528
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42c29e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42c301
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c283
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c252
inc dword [ebp - 0x14]
jmp 0x42c262
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42c262
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42c26d
or eax, 0xffffffff
jmp 0x42c283
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c280
inc eax
jmp 0x42c283
or eax, 0xffffffff
test eax, eax
jl 0x42c28b
cmp esi, eax
jg 0x42c240
cmp esi, eax
jg 0x42c296
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c304
inc edx
dec dword [ebp - 0x1c]
jne 0x42c23c
jmp 0x42c301
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42c301
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c2e8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c2c7
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42c2d2
or eax, 0xffffffff
jmp 0x42c2e8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c2e5
inc eax
jmp 0x42c2e8
or eax, 0xffffffff
test eax, eax
jl 0x42c2f0
cmp esi, eax
jg 0x42c2b0
cmp esi, eax
jg 0x42c2fb
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c304
inc edx
dec dword [ebp - 0x1c]
jne 0x42c2ac
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46ec58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x46ec60
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4a75b8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a7656
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4a761a
cmp byte [ebx + 0x11], 0
jne 0x4a761a
cmp byte [ebx + 0x24], 0
jne 0x4a761a
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4a763b
lea edx, [ebp - 4]
mov eax, dword [0x7ed7cc]
call fcn.0040f06c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x47fe0c]
call fcn.0042880c
call fcn.00408f38
jmp 0x4a763b
lea edx, [ebp - 8]
mov eax, dword [0x7ed7cc]
call fcn.0040f06c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x47fe0c]
call fcn.0042880c
call fcn.00408f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a765d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409920
ret

Function at 0x4a7bbc
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4a7c0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004a7438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a7c23
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a7c2c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004a7438
dec esi
jne 0x4a7c4e
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4aa46c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x7f3e3c
cmp dword [edi], 0
jne 0x4aa4e8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x7f3e38]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x7b6764
mov ecx, 2
call fcn.004071b0
mov edx, 0x4aa444
lea eax, [esi + 5]
call fcn.004aa464
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004aa464
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4aa4bd
mov dword [0x7f3e38], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4cb9c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cbb59
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4cbb2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4cbb11
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dl, 1
call fcn.00422bb8
test al, al
je 0x4cbb11
push 0x20
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x47b558]
call fcn.0049b850
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4cbb0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0049aec0
sub ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404b78]
call fcn.0040c010
add esp, 4
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042d028
mov ebx, eax
mov dl, 1
mov eax, dword [0x47848c]
call fcn.0049ae60
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4cbaed
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 4]
test esi, esi
je 0x4cbaaa
sub esi, 4
mov esi, dword [esi]
sub esi, ebx
push esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, ebx
mov edx, dword [ebp - 4]
call fcn.0042dc48
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004cbe28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbaf4
mov eax, dword [ebp - 0xc]
call fcn.00407b18
ret
mov eax, dword [ebp - 8]
call fcn.004cb820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbb35
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 0
ret
Function at 0x4cf778
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4cf933
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409ce8
mov eax, dword [ebp - 4]
call fcn.004cf0c8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4cf7ca
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040a9ac
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d02d4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4cf8a9
xor eax, eax
push ebp
push 0x4cf8a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004cf368
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004cf968
test al, al
je 0x4cf880
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409a48
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4cf880
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040a528
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004cf2c8
test al, al
je 0x4cf87a
mov eax, dword [ebp - 8]
call fcn.0040a528
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040a590
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004cf778
dec ebx
cmp ebx, 0xffffffff
jne 0x4cf829
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf8a9
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004cf368
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp byte [0x7f3e8c], 0
je 0x4cf8e9
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040a528
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004cf354
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004cf2c8
mov ebx, eax
jmp 0x4cf910
mov eax, dword [ebp - 4]
call fcn.0040a528
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004cf354
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004cf2c8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf93a
lea eax, [ebp - 0x3c]
call fcn.004098c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409920
ret
Function at 0x4cf9d4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4cfa8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004cf968
test al, al
je 0x4cfa6e
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409a48
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4cfa6e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a528
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040a528
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040a590
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4cfa27
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfa93
lea eax, [ebp - 0x2c]
call fcn.004098c0
lea eax, [ebp - 4]
call fcn.004098c0
ret

Function at 0x4cfc48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4cfd00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004cf968
test al, al
je 0x4cfce2
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409a48
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4cfce2
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a528
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.0040a528
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040a590
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4cfc9b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfd07
lea eax, [ebp - 0x2c]
call fcn.004098c0
lea eax, [ebp - 4]
call fcn.004098c0
ret
Function at 0x4d01d4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004cf0e0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040a528
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004cf2c8
test al, al
jne 0x4d023c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7ed554]
mov dl, 1
mov eax, dword [0x4ccf30]
call fcn.00428904
call fcn.00408f38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d0248
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040a528
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004cf2c8
test al, al
jne 0x4d02a9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7edcf8]
mov dl, 1
mov eax, dword [0x4ccf30]
call fcn.00428904
call fcn.00408f38
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004cf110
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4da1d8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4da1de
ret
Function at 0x4f73b8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x7b8984
test edx, edx
jne 0x4f73d7
xor eax, eax
jmp 0x4f74f5
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4f73f4
push esi
push edx
push eax
call fcn.004f74fc
add esp, 0xc
jmp 0x4f74f5
push esi
push edx
push eax
call fcn.004f77bc
add esp, 0xc
jmp 0x4f74f5
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x504768
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 - 8]
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 [0x7f4080], 0
je 0x5048a9
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x7ed730]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x5048a9
mov eax, dword [0x7f4084]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x7f4080]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x504878
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x7f4080]
call fcn.0049691c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x504870
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x215], 0
je 0x504870
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x74]
test al, al
je 0x504870
mov eax, dword [ebp - 0x14]
call fcn.0051058c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x504870
push ebp
call fcn.00504724
pop ecx
test al, al
jne 0x504870
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.00407e44
test al, al
je 0x504870
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00407e44
cmp byte [ebp - 9], 0
je 0x504870
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.00411348
test al, al
je 0x504870
mov edx, dword [ebp - 0x14]
mov eax, dword [0x7f4084]
call fcn.00503e6c
inc edi
dec ebx
jne 0x5047cd
mov eax, dword [0x7f4084]
cmp dword [eax + 8], 0
jle 0x504890
mov eax, dword [0x7f4084]
call fcn.00503f20
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5048a9
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0050458c
pop ecx
test al, al
jne 0x5048a9
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