joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f8bd
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x5ca17a
call fcn.0042735d
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.00492030
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00492030
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00492030
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00492030
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00492030
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00492030
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.0042fb35
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00499b1d
lea eax, [ebp - 0x218]
push eax
call fcn.00499b3f
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0049218a
add esp, 0x24
test eax, eax
jne 0x42f9c1
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0042f5e0
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.004020b0
push esi
push 1
jmp 0x42fb22
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00499b1d
lea eax, [ebp - 0x830]
push 0x5de6a0
push eax
call fcn.004a3d4d
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.00499b1d
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.004a3d4d
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.00499b1d
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.004a3d4d
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x42faff
cmp dword [ebp - 0xc5c], 0
je 0x42faff
test ecx, ecx
je 0x42faff
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.00405460
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42facf
lea eax, [ebp - 0x420]
push eax
call fcn.0042f556
pop ecx
cmp word [ebp - 0x420], 0
jne 0x42fadd
xor eax, eax
jmp 0x42faea
lea eax, [ebp - 0x420]
push eax
call fcn.00499b3f
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00404c50
jmp 0x42fb0e
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0042f5e0
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.004020b0
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00427fb1
mov eax, edi
call fcn.00427318
ret
Function at 0x430a4b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x430d7b
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str..del
push esi
call fcn.004913e4
pop ecx
pop ecx
test eax, eax
je 0x430db3
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x430e42
push edi
xor edi, edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00492030
add esp, 0xc
lea eax, [ebp - 0x20c]
test edi, edi
jne 0x430de7
push esi
push str._s.del
push eax
call fcn.00405460
add esp, 0xc
jmp 0x430df7
push edi
push esi
push str._s.del_d
push eax
call fcn.00405460
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430e21
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x430e21
cmp edi, 0xa
jge 0x430e41
inc edi
jmp 0x430db6
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004a3d7e
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00426a9d
mov esp, ebp
pop ebp
ret

Function at 0x4350e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x4350ec
mov dword [edx*4 + 0x658bf8], ecx
inc edx
cmp edx, 0x100
jb 0x4350e7
mov esi, 0x800
jmp 0x435135
mov ecx, dword [edx*4 + 0x6587f8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x658bf8]
mov dword [edx*4 + 0x658bf8], ecx
inc edx
cmp edx, esi
jb 0x435119
mov dword [0x65abf8], 0x431122
call fcn.004354f7
mov ecx, dword [0x65abf8]
test eax, eax
mov edx, 0x4311bb
cmove ecx, edx
mov dword [0x65abf8], ecx
pop esi
ret

Function at 0x4355ae
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x4355c0
xor eax, eax
jmp 0x4355e7
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.004a1718
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x4355de
xor eax, eax
jmp 0x4355e6
push dword [ebx]
call fcn.004a1903
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x43563a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x43564c
xor eax, eax
jmp 0x435673
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.004a41d9
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x43566a
xor eax, eax
jmp 0x435672
push dword [ebx]
call fcn.004a1903
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x436201
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x436222
xor eax, eax
jmp 0x436377
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
mov edx, dword [ebp + 8]
push ebx
or ebx, 0xffffffff
add ecx, edx
mov dword [ebp - 8], ecx
add edx, edi
mov dword [ebp - 4], edx
cmp edx, ecx
jae 0x43624e
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x43624b
inc edx
cmp edx, ecx
jb 0x43623e
mov dword [ebp - 4], edx
mov edi, edx
sub edi, dword [ebp + 8]
cmp edx, ecx
jae 0x43635b
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x436286
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test al, al
je 0x4362c3
cmp al, 0xff
je 0x4362c3
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x436354
dec ecx
shl esi, cl
and esi, 7
je 0x436266
movzx eax, byte [esi + 0x5de7b8]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x5de7b0], 0
mov al, byte [ecx + 4]
je 0x4362ad
test al, al
je 0x4362ad
cmp al, 0xff
jne 0x436266
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
jmp 0x436235
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 0x10]
shl ebx, 8
or ebx, eax
cmp dword [ebp + 0x18], 0
je 0x4362f0
add ebx, edi
add ebx, edx
jmp 0x4362f4
sub ebx, edi
sub ebx, edx
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x43632a
movzx eax, byte [esi + 0x5de7b8]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x436319
cmp al, 0xff
jne 0x43632a
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp + 0xc]
jmp 0x4362e4
mov edx, dword [ebp - 4]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x4362b8
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4373f4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x4374d5
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x437418
inc edx
cmp edx, 2
jg 0x437456
cmp al, 0x7f
ja 0x437456
movzx eax, al
mov al, byte [eax + 0x5de988]
cmp al, 0x7f
je 0x437456
cmp al, 0x40
jae 0x437431
test edx, edx
jne 0x437456
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x43740b
test ecx, ecx
je 0x4374d5
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x43745b
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x437458
push 0xffffffffffffffee
pop eax
jmp 0x4374d7
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x4374cf
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x5de988]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x4374c0
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x4374ab
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x4374b8
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x4374c0
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x437470
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x438f73
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x438f96
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x439033
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.00438b89
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x438fb9
push ebx
call fcn.004a14cc
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x43900f
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x64a420]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x438fe4
call fcn.004a14cc
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x43900f
push esi
push 1
push eax
call fcn.004a1718
push ebx
mov esi, eax
call fcn.004a14cc
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x439018
push dword [ebp - 4]
call dword [0x64a424]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x439032
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00438f1e
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4504c6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 8]
call fcn.0045066b
test eax, eax
jne 0x4505d8
mov ecx, dword [0x66b2a4]
test ecx, ecx
je 0x4504f4
call fcn.0044080f
mov esi, eax
jmp 0x4504f6
xor esi, esi
push ebx
push 0x2800
call fcn.00499986
mov edi, eax
mov dword [esp], 0x5000
call fcn.00499986
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push 0x5e2908
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00450a94
add esp, 0x1c
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x450557
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00499981
pop ecx
test esi, esi
je 0x450593
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x450593
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.srccoreSObjectFactory.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x4505cc
mov ebx, 0x2800
push ebx
call fcn.00499986
push 0x3d
push str.srccoreSObjectFactory.cpp
push str.SOUI::SObjectFactoryMgr::CreateObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.00450a75
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00499981
pop ecx
push edi
call fcn.00499981
pop ecx
xor eax, eax
pop ebx
jmp 0x4505f4
mov ecx, dword [edi + 8]
push esi
call fcn.004502d8
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.0045089d
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x451001
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x5dc5b0
push dword [ebp + 8]
call fcn.004a1428
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x45105e
push ebx
push edi
push esi
call fcn.004a5f10
push eax
call fcn.004a6046
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x45103d
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x451053
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.004a1718
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.004a14cc
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x4510b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.00451bcb
mov ebx, eax
test ebx, ebx
je 0x451127
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x45110b
cmp dword [ebp + 0x14], edi
jae 0x4510f0
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x45110b
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45110b
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x45110f
xor eax, eax
jmp 0x451126
push edi
push eax
push dword [ebp + 0x10]
call fcn.00491ab0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x45399c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x16c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x4539c2
call fcn.004493b0
jmp 0x4539ee
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00448858
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x4539ee
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x45d33c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x78
pop ecx
mov ax, word [edi + 0x20c]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x20c], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x45d3e2
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
xor edx, edx
mov dword [ebp - 4], ecx
inc edx
mov eax, dword [edi]
push 0
push ecx
push edx
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x45d3aa
mov ecx, edi
call fcn.0045eae3
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, bx
jl 0x45d385
cmp si, bx
jge 0x45d3e2
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, esi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.004489fa
test bx, bx
je 0x45d421
mov ecx, edi
call fcn.004193e3
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45f4ae
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x64a3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00492030
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x45f509
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x45f51d
cmp byte [ebp - 6], 1
jne 0x45f51d
cmp dword [ebp - 0x11c], 6
jne 0x45f51d
xor eax, eax
inc eax
jmp 0x45f51f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00426a9d
mov esp, ebp
pop ebp
ret
Function at 0x46b286
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x5cd39e
call fcn.00427329
mov esi, ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00445427
mov dword [ebp - 0x64], 0x5e6d24
mov dword [ebp - 0x5c], 0x5e6d38
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x3c], ebx
jne 0x46b47f
cmp dword [ebp + 0x10], ebx
je 0x46b2f4
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x46b43f
cmp dword [esi + 0x260], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x46b30b
cmp dword [esi + 0x25c], 0
je 0x46b32d
push 0x11
call ebx
test ax, ax
jns 0x46b32d
cmp edi, 0xffffffff
je 0x46b44d
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], eax
jmp 0x46b2e9
cmp dword [esi + 0x260], 0
jne 0x46b343
cmp dword [esi + 0x25c], 0
je 0x46b3d6
push 0x10
call ebx
test ax, ax
jns 0x46b3d6
cmp edi, 0xffffffff
je 0x46b44d
xor eax, eax
mov ecx, edi
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 8], eax
mov edx, eax
cmovg ecx, eax
cmp ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, esi
cmove edx, edi
xor ebx, ebx
mov dword [ebp + 0x10], edx
call fcn.0046afa8
test eax, eax
jle 0x46b44d
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x268]
add eax, edi
mov ecx, dword [eax + 8]
cmp ebx, dword [ebp + 0x10]
jl 0x46b3b1
cmp ebx, dword [ebp - 0x10]
jg 0x46b3b1
mov dword [eax + 8], 1
jmp 0x46b3b5
and dword [eax + 8], 0
cmp ecx, dword [eax + 8]
je 0x46b3c2
push ebx
mov ecx, esi
call fcn.0046b92c
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.0046afa8
cmp ebx, eax
jl 0x46b393
mov edi, dword [ebp + 0xc]
jmp 0x46b44d
or dword [esi + 0x21c], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.0046afa8
test eax, eax
jle 0x46b42a
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x268]
cmp ebx, edi
je 0x46b415
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x46b415
and dword [eax + ecx + 8], 0
test edx, edx
je 0x46b415
push ebx
mov ecx, esi
call fcn.0046b92c
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.0046afa8
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x46b3ef
cmp edi, 0xffffffff
je 0x46b44d
imul eax, edi, 0xc
add eax, dword [esi + 0x268]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x21c], edi
call fcn.0046b92c
push esi
lea ecx, [ebp - 0x38]
call fcn.00445427
mov dword [ebp - 0x38], 0x5e6da8
mov dword [ebp - 0x30], 0x5e6dbc
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
call fcn.00427303
ret 0xc
Function at 0x46e97a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x46e9db
sub eax, 1
je 0x46e9bd
sub eax, 3
je 0x46e9bd
test dword [edi + 0x36c], 0x2000
je 0x46e9f6
push esi
call fcn.004a62c4
pop ecx
test eax, eax
jne 0x46e9f6
cmp esi, 0x2d
je 0x46e9f6
cmp esi, 0x2e
je 0x46e9f6
cmp esi, 0x2c
je 0x46e9f6
jmp 0x46ea11
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46e9f6
test dword [edi + 0x36c], 0x1000
jmp 0x46e9f4
test byte [edi + 0x370], 0x80
jne 0x46e9f6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46ea11
mov eax, dword [edi + 0x37c]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x46ecb5
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x5cd73d
call fcn.00427329
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00445427
mov dword [ebp - 0x38], 0x5e73fc
mov dword [ebp - 0x30], 0x5e7410
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
cmp byte [ebp - 0x10], bl
jne 0x46ed24
cmp edi, 0xd
jne 0x46ed29
test dword [esi + 0x36c], 0x1000
jne 0x46ed29
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46ed29
mov dword [esi + 0x10], ebx
jmp 0x46ed43
mov eax, dword [esi + 0x37c]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
call fcn.00427303
ret 0xc