joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49eca0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8c38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x653510]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x49ee4e
cmp ebx, 7
jb 0x49ee4e
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x49eda8
test esi, esi
je 0x49ed0c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.004ff260
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49ed5b
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.0040fa90
mov eax, esi
jmp 0x49ee50
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0040fa90
mov eax, esi
jmp 0x49ee50
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.00526b60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x49edd0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x10], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 0x30]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x49ee16
lea eax, [ebp - 0x2c]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 0x2c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x49ee18
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x49ee3b
mov ecx, esi
call fcn.0049e7a0
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.0049e740
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x49ee3d
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x49ee4a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x49ee50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e98
mov esp, ebp
pop ebp
ret 8

Function at 0x49fad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x10], 0
jne 0x49fadf
xor eax, eax
pop ebp
ret 4
pop ebp
jmp fcn.0049e360
Function at 0x4b97a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x4b989f
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4b989f
mov eax, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x4b9877
push edi
mov edi, esi
shr edi, 3
nop
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
sub edi, 1
jne 0x4b97d0
pop edi
test esi, esi
je 0x4b989a
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x602870]
sub esi, 1
jne 0x4b9880
not eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop esi
pop ebp
ret

Function at 0x4b98b0
Capabilities:
Check os version
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0
cmp al, 6
mov dword [ebp - 4], 0
mov ecx, 0x5f8cb0
lea eax, [ebp - 4]
push 0x18
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
cmovae esi, ecx
push esi
push str.SMTContainer
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4b98fd
push 8
push 0x18
push esi
push str.SMTContainer
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b9910
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x653510]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
jne 0x4b993c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e98
mov esp, ebp
pop ebp
ret
test ecx, ecx
mov dword [ebp - 0x40], 0x208
push ebx
push esi
mov esi, 0x20
mov dword [ebp - 0x3c], 0x6610
cmovne esi, dword [ebp + 0x10]
mov edx, str.vc8v7vghw7v278vn2v8239vh29vh890m
cmovne edx, ecx
mov ebx, 0x10
test eax, eax
mov ecx, str.aqkeezgxijvlm2op
cmovne ebx, dword [ebp + 0x18]
cmovne ecx, eax
cmp esi, 0x20
mov dword [ebp - 0x50], ecx
mov eax, 0x20
cmova esi, eax
mov dword [ebp - 0x38], eax
cmp esi, 0x10
ja 0x4b9996
mov dword [ebp - 0x3c], 0x660e
mov dword [ebp - 0x38], 0x10
push esi
push edx
xorps xmm0, xmm0
lea eax, [ebp - 0x34]
push 0x20
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.004b9d30
add esp, 0x10
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
mov eax, 0x10
cmp eax, esi
push 0
sbb eax, eax
and eax, 0x10
push 0
add eax, 0x1c
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x4b9a47
test eax, eax
je 0x4b9a47
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
lea ecx, [ebp - 0x48]
push 0
push ecx
push 4
push eax
mov dword [ebp - 0x48], 1
call esi
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 1
push eax
push 3
push dword [ebp - 0x44]
call esi
mov eax, 0x10
cmp ebx, 0x10
xorps xmm0, xmm0
cmova ebx, eax
push ebx
push dword [ebp - 0x50]
movups xmmword [ebp - 0x14], xmm0
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004b9d30
add esp, 0x10
lea eax, [ebp - 0x14]
push 0
push eax
push 1
push dword [ebp - 0x44]
call esi
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00464e98
mov esp, ebp
pop ebp
ret
Function at 0x4bc0c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d93cb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x653510]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004bb8a0
mov ecx, dword [edi + 0x14]
mov edx, 0x40000080
movups xmm0, xmmword [ebp - 0xa8]
push 0
sub esp, 0x10
cmp byte [ecx + 0x5a1], 0
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, 0x400000a0
cmove eax, edx
push eax
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.00475ab0
push eax
mov ecx, edi
call fcn.0047c260
cmp byte [ebp + 0xc], 0
je 0x4bc15c
push dword [ebp + 0x10]
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
mov esi, dword [edi + 0x14]
mov ecx, esi
call fcn.004ba2c0
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.00475540
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x14]
push 0
push dword [eax + 0x59c]
push 0xc5
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
cmp byte [ecx + 0x5a1], 0
je 0x4bc1c0
movzx eax, word [ecx + 0x5a2]
push 0
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0047da90
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0047d5b0
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.0047cd50
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x14]
xor ecx, ecx
push 0
cmp byte [eax + 0x5a0], 1
sete cl
push ecx
push 0xcf
push dword [edi + 4]
call esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x7bc]
or ecx, eax
push ecx
push 0xfffffffffffffff0
mov ecx, edi
call fcn.0047c5c0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e98
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bc2e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x653510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1c], 0
je 0x4bc34e
cmp dword [esi + 0x14], 0
je 0x4bc34e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00465320
mov ebx, esp
test ebx, ebx
je 0x4bc34e
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1d4
call fcn.0047d860
mov ecx, dword [esi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x20]
mov ecx, eax
call fcn.0047a440
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e98
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d26d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9f20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x653510]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x4d2715
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4d2734
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4d2723
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 4]
and edi, edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], edi
mov ecx, dword [eax + edi*8]
mov dword [ebp + 0xc], ecx
cmp ecx, esi
je 0x4d2755
mov esi, dword [eax + edi*8 + 4]
mov esi, dword [esi]
mov edx, dword [ebx + 0x10]
cmp esi, ecx
je 0x4d27f6
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4d276f
mov eax, dword [esi + 8]
cmp dword [ebx + 0x14], 8
mov edi, ebx
jb 0x4d2779
mov edi, dword [ebx]
mov ecx, dword [ebp + 0xc]
cmp edx, dword [esi + 0x18]
jne 0x4d2758
mov ecx, dword [ebx + 0x10]
mov edx, ecx
test ecx, ecx
je 0x4d27a1
sub edi, eax
nop dword [eax]
mov cx, word [edi + eax]
cmp cx, word [eax]
jne 0x4d27ee
add eax, 2
sub edx, 1
jne 0x4d2790
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
add edx, 4
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea eax, [edi + 8]
dec dword [edx + 4]
push eax
push edx
call fcn.004d2cf0
push 0x20
push edi
call fcn.00464ea9
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
jmp 0x4d2755
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4d2823
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x4d2841
mov dword [ecx], edi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx*8 + 4], edi
jmp 0x4d2864
cmp eax, esi
jne 0x4d2849
mov dword [ecx], edi
jmp 0x4d2864
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4d2864
mov eax, dword [edx + 0xc]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.004d4d00
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d28c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9f40
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x653510]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x4d2905
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4d2924
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4d2913
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 4]
and edi, edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], edi
mov ecx, dword [eax + edi*8]
mov dword [ebp + 0xc], ecx
cmp ecx, esi
je 0x4d2945
mov esi, dword [eax + edi*8 + 4]
mov esi, dword [esi]
mov edx, dword [ebx + 0x10]
cmp esi, ecx
je 0x4d29e6
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4d295f
mov eax, dword [esi + 8]
cmp dword [ebx + 0x14], 8
mov edi, ebx
jb 0x4d2969
mov edi, dword [ebx]
mov ecx, dword [ebp + 0xc]
cmp edx, dword [esi + 0x18]
jne 0x4d2948
mov ecx, dword [ebx + 0x10]
mov edx, ecx
test ecx, ecx
je 0x4d2991
sub edi, eax
nop dword [eax]
mov cx, word [edi + eax]
cmp cx, word [eax]
jne 0x4d29de
add eax, 2
sub edx, 1
jne 0x4d2980
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
add edx, 4
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea eax, [edi + 8]
dec dword [edx + 4]
push eax
push edx
call fcn.004d2cf0
push 0x20
push edi
call fcn.00464ea9
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
jmp 0x4d2945
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4d2a13
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x4d2a31
mov dword [ecx], edi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx*8 + 4], edi
jmp 0x4d2a54
cmp eax, esi
jne 0x4d2a39
mov dword [ecx], edi
jmp 0x4d2a54
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4d2a54
mov eax, dword [edx + 0xc]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.004d4d00
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d5290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov esi, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
push edi
mov dword [ebp - 8], ecx
jb 0x4d52ae
mov esi, dword [eax]
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x4d52d1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4d52c0
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
and ecx, edx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x10], esi
lea eax, [ecx*8]
add ecx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [eax + esi]
mov edi, dword [esi + ecx*4]
inc ecx
mov dword [ebp - 4], edi
lea ecx, [esi + ecx*4]
mov dword [ebp - 0xc], ecx
nop dword [eax + eax]
cmp edi, edx
jne 0x4d5308
mov ecx, edx
jmp 0x4d530c
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4d53e2
mov ecx, dword [ebp + 0xc]
mov esi, ecx
cmp dword [ecx + 0x14], 8
jb 0x4d5321
mov esi, dword [ecx]
cmp dword [eax + 0x1c], 8
lea ebx, [eax + 8]
jb 0x4d532d
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0x18]
cmp edi, dword [ebp - 8]
jne 0x4d5369
test edi, edi
je 0x4d5351
sub ebx, esi
nop dword [eax + eax]
mov cx, word [ebx + esi]
cmp cx, word [esi]
jne 0x4d5369
add esi, 2
sub edi, 1
jne 0x4d5340
mov esi, eax
mov dword [ebp - 0x18], esi
mov esi, dword [ebp + 0xc]
nop dword [eax]
cmp dword [ebp - 4], edx
jne 0x4d5373
mov ecx, edx
jmp 0x4d537f
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
jmp 0x4d5300
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + ecx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4d53c8
cmp dword [eax + 0x1c], 8
lea ecx, [eax + 8]
jb 0x4d538f
mov ecx, dword [eax + 8]
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x4d5399
mov edi, dword [esi]
mov esi, dword [ebp - 8]
cmp esi, dword [eax + 0x18]
mov esi, dword [ebp + 0xc]
jne 0x4d53c8
mov ebx, dword [esi + 0x10]
test ebx, ebx
jbe 0x4d53c4
sub edi, ecx
mov dword [ebp - 0xc], edi
mov di, word [edi + ecx]
cmp di, word [ecx]
jne 0x4d53c8
mov edi, dword [ebp - 0xc]
add ecx, 2
sub ebx, 1
jne 0x4d53b0
mov eax, dword [eax]
jmp 0x4d5360
mov esi, dword [ebp - 0x18]
cmp esi, eax
je 0x4d53e2
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], esi
pop esi
mov dword [ecx + 4], eax
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d5400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4d541b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4d5437
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4d5426
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x4d5470
cmp eax, edi
jne 0x4d5468
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x4d5478
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4d5478
cmp eax, edi
jne 0x4d547b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
add edx, 4
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea eax, [edi + 8]
dec dword [edx + 4]
push eax
push edx
call fcn.004d2cf0
push 0x20
push edi
call fcn.00464ea9
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d7110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
movzx eax, word [edi + 0xc]
sub eax, 0x41
je 0x4d7172
sub eax, 2
je 0x4d7153
sub eax, 0x15
jne 0x4d71c2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d71c2
push 0
push edi
push dword [ebp + 0xc]
push str.cutkey
jmp 0x4d71b7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d71c2
push 0
push edi
push dword [ebp + 0xc]
push str.copykey
jmp 0x4d71b7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d71c2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 2
push eax
mov eax, dword [esi + 0x14]
push 0xffffffffffffffff
push 0x102b
mov dword [ebp - 0x30], 2
push dword [eax + 0x558]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
push dword [ebp + 0xc]
push str.selectallkey
push dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
call fcn.0047a440
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4d7e40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.00485690
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d7e8e
mov ecx, dword [ebx + 0x55c]
mov eax, 5
push edi
xor edi, edi
cmp byte [ebp + 8], 0
cmovne edi, eax
push edi
call fcn.0047c5c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4e5d70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 1
jne 0x4e5db0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebx
mov ecx, dword [esi + 0x1c]
mov edi, eax
call fcn.004832b0
call ebx
sub eax, edi
xor ecx, ecx
mov edi, dword [esi + 0x28]
sub edi, eax
cmp eax, dword [esi + 0x28]
cmovl ecx, edi
push ecx
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x24], 1
je 0x4e5d81
pop edi
pop ebx
pop esi
ret