joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4510a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534d6b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2124
call fcn.005012e0
mov eax, dword [0x58a06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2124], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2134], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x2018], ecx
mov dword [ebp - 0x212c], edi
mov dword [ebp - 0x2128], ebx
call fcn.00451950
test eax, eax
js 0x451557
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x2014]
push str.SMDB
push eax
call esi
test eax, eax
jne 0x45112e
lea esi, [eax + 8]
jmp 0x451177
push 0x553090
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x451147
mov esi, 0x4008
jmp 0x451177
push 0x553094
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x45115e
lea esi, [eax + 0x13]
jmp 0x451177
push 0x553098
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x451552
lea esi, [eax + 0x11]
mov ecx, dword [ebp - 0x2124]
call fcn.00452350
mov ecx, dword [ebp - 0x2124]
lea eax, [ebp - 0x2014]
push eax
call fcn.00451950
test eax, eax
js 0x451557
cmp esi, 0x13
ja 0x4513be
je 0x451375
cmp esi, 8
je 0x45133a
cmp esi, 0x11
jne 0x451536
lea ebx, [ebp - 0x2014]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4511c6
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x201c], ebx
test bl, 1
jne 0x45127b
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
lea eax, [ebp - 0x2120]
push 0x104
push 0
sar esi, 1
push eax
mov dword [ebp - 0x2130], esi
call fcn.00504db0
add esp, 0xc
mov dword [ebp - 0x2120], 0
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp esi, 0x100
jbe 0x451260
push esi
lea ecx, [ebp - 0x2120]
call fcn.00450b80
mov eax, dword [ebp - 0x2120]
jmp 0x45126c
lea eax, [ebp - 0x211c]
mov dword [ebp - 0x2120], eax
test eax, eax
jne 0x451285
lea ecx, [ebp - 0x2120]
call fcn.00450b60
mov eax, 0x80004005
jmp 0x451557
push esi
push 0
push eax
call fcn.00504db0
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x4512f7
nop word [eax + eax]
movzx edx, word [ebp + edi*2 - 0x2014]
mov esi, edi
shr esi, 1
add esi, dword [ebp - 0x2120]
lea eax, [edx - 0x30]
cmp eax, 0x36
ja case.0x4512c1.58
movzx eax, byte [eax + 0x451590]
jmp dword [eax*4 + 0x451580]
sub dl, 0x30
jmp 0x4512d9
sub dl, 0x37
jmp 0x4512d9
sub dl, 0x57
jmp 0x4512d9
xor dl, dl
mov eax, edi
mov ecx, 4
and eax, 1
inc edi
shl eax, 2
sub ecx, eax
shl dl, cl
or byte [esi], dl
cmp edi, ebx
jl 0x4512a0
mov esi, dword [ebp - 0x2130]
mov eax, dword [ebp - 0x212c]
push esi
push dword [ebp - 0x2120]
push 3
push 0
push dword [ebp - 0x2128]
push dword [eax]
invalid
invalid
jo 0x4512c5
invalid
Function at 0x451b10
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534dbb
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.005012e0
mov eax, dword [0x58a06c]
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 eax, ecx
mov dword [ebp - 0x2264], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
movq qword [ebp - 0x2260], xmm0
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2268], ecx
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
push ebx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00451950
mov esi, eax
test esi, esi
js 0x45232e
cmp word [ebx], 0x7d
je 0x45231b
nop dword [eax]
push str.Delete
push ebx
mov dword [ebp - 0x2254], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x5530a4
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x451be3
test edi, edi
je 0x451ce5
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.00451950
mov esi, eax
test esi, esi
js 0x45231b
cmp dword [ebp + 0x10], 0
je 0x451ce5
movzx ecx, word [ebx]
mov eax, ebx
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2230], 0
test cx, cx
je 0x451c44
mov edx, ecx
cmp dx, 0x5c
je 0x451c3c
push eax
call dword [0x53e590]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x451c23
jmp 0x451c44
test eax, eax
jne 0x452306
mov esi, 0x5573b4
nop dword [eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x451c9e
add esi, 4
cmp esi, str.RegOpenKeyTransactedW
jl 0x451c50
mov eax, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2238]
push ebx
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], 0
call fcn.00451720
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2230], 0
test edi, edi
je 0x451cdb
mov edi, dword [ebp - 0x2264]
mov ecx, edi
push ebx
call fcn.00451950
mov esi, eax
test esi, esi
js 0x45231b
push ebx
mov ecx, edi
call fcn.004515d0
mov esi, eax
test esi, esi
js 0x45231b
invalid
test esp, ecx
Function at 0x452af0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
push edi
mov edi, ecx
cmp ebx, 1
jae 0x452b10
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452b13
sub ecx, edx
xor eax, eax
nop
mov byte [ebp + eax - 0x108], al
inc eax
cmp eax, 0x100
jb 0x452b20
push esi
test ecx, ecx
jle 0x452b98
xor edx, edx
xor esi, esi
nop dword [eax + eax]
mov al, byte [edx + edi]
mov byte [ebp + esi - 0x208], al
lea eax, [edx + 1]
xor edx, edx
inc esi
cmp eax, ecx
cmovl edx, eax
cmp esi, 0x100
jb 0x452b40
xor edi, edi
xor esi, esi
mov dl, byte [ebp + esi - 0x108]
movzx eax, byte [ebp + esi - 0x208]
add eax, edi
movzx ecx, dl
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x108]
mov byte [ebp + esi - 0x108], al
inc esi
mov byte [ebp + edi - 0x108], dl
cmp esi, 0x100
jb 0x452b61
lea esi, [ebx + 1]
mov dword [ebp + 8], 0
push esi
call fcn.005008e0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 8], edi
call fcn.00504db0
sub dword [ebp - 4], edi
add esp, 0x10
mov esi, edi
xor edi, edi
lea eax, [edi + 1]
movzx edi, al
lea esi, [esi + 1]
mov eax, dword [ebp + 8]
mov cl, byte [ebp + edi - 0x108]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [ebp + 8], eax
movzx eax, byte [ebp + eax - 0x108]
mov byte [ebp + edi - 0x108], al
mov eax, dword [ebp + 8]
mov byte [ebp + eax - 0x108], cl
movzx eax, byte [ebp + edi - 0x108]
mov ecx, dword [ebp - 4]
add eax, edx
movzx eax, al
movzx eax, byte [ebp + eax - 0x108]
xor al, byte [ecx + esi - 1]
mov byte [esi - 1], al
sub ebx, 1
jne 0x452bc0
mov eax, dword [ebp - 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452c30
Capabilities:
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x58a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
push 0xf0000000
push 1
push 0x54e374
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push 0x54e374
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], 2
call esi
test eax, eax
jne 0x452c97
push eax
push 1
push 0x54e374
push 0x54e374
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x452daf
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0x18
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x208
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], 0x6601
mov dword [ebp - 0x14], 8
mov dword [ebp - 0xc], ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
push 0
test eax, eax
je 0x452da6
mov edi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
lea eax, [ebp - 0x30]
push eax
push 4
push dword [ebp - 0x20]
call edi
test eax, eax
je 0x452d9b
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 4
push eax
push 8
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
add dword [ebx - 0x113e2b8b], ecx
invalid
test esi, esi
je 0x452d9b
push 0
push dword [ebp - 0x3c]
push 1
push dword [ebp - 0x20]
call edi
test eax, eax
je 0x452d9b
push dword [ebx]
call fcn.005008e0
push esi
push dword [ebp - 0x38]
mov ebx, eax
mov dword [ebp - 0x28], esi
push ebx
xor edi, edi
call fcn.00504830
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
push edi
push edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x452d9b
nop
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
add edi, ecx
mov eax, dword [eax]
cmp edi, eax
je 0x452dc2
ja 0x452d9b
mov eax, dword [ebp - 0x38]
lea esi, [edi + ebx]
push ecx
add eax, edi
push eax
push esi
call fcn.00504830
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x452d60
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005000f2
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add dword [ebx - 0x3c7403b3], ecx
Function at 0x45acc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53579b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x58a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x24], 0
je 0x45ae09
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00504db0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x45ae09
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push 0x553e80
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x45ad5e
push 0
lea eax, [ebp - 0x218]
push eax
call dword [0x53e2ec]
push str.LiShi.xml
lea eax, [ebp - 0x218]
push eax
call edi
mov eax, dword [esi + 0x24]
push 0x553f74
mov dword [ebp - 0x21c], 0
mov edi, dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00514341
xor esi, esi
mov dword [ebp - 0x228], fcn.004c0136
add esp, 0xc
test eax, eax
cmove esi, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x45adf5
mov dword [ebp - 0x224], 0x562974
mov dword [ebp - 0x220], esi
sub esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
call fcn.004c0327
push esi
call fcn.00515654
add esp, 4
mov dword [ebp - method.pugi::xml_writer.virtual_0], vtable.pugi::xml_writer.0
mov dword [ebp - 4], 2
test esi, esi
je 0x45ae09
push esi
call fcn.004c0136
add esp, 4
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.005000f2
mov esp, ebp
pop ebp
ret
Function at 0x45c240
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535945
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x58a06c]
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 esi, edx
mov edi, ecx
test esi, esi
je 0x45c41c
mov eax, 0xaaaaaaab
mul esi
mov eax, esi
shr edx, 1
lea ebx, [edx + edx*2]
sub eax, ebx
mov dword [ebp - 0x30], eax
je 0x45c294
add ebx, 3
mov dword [ebp - 0x20], ebx
jmp 0x45c299
mov ebx, esi
mov dword [ebp - 0x20], esi
push ebx
call fcn.005008e0
push ebx
push 0
push eax
mov dword [ebp - 0x1c], eax
call fcn.00504db0
push esi
push edi
push dword [ebp - 0x1c]
call fcn.00504830
lea ecx, [ebx*4]
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
mov dword [ebp - 0x24], eax
lea esi, [eax + 1]
push esi
call fcn.005008e0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x2c], edi
call fcn.00504db0
add esp, 0x2c
call fcn.00401d90
mov ecx, eax
test ecx, ecx
je 0x45c43a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004061e0
test al, al
jne 0x45c325
push 0x40
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea ecx, [ebp - 0x14]
call fcn.004062c0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test ebx, ebx
je 0x45c3d1
mov ebx, dword [ebp - 0x1c]
lea ecx, [edi + 2]
mov eax, 0xfffffffe
sub eax, ebx
mov dword [ebp - 0x28], eax
lea edx, [ebx + 2]
nop word [eax + eax]
mov ah, byte [edx]
movzx edi, byte [edx - 2]
mov bl, byte [edx - 1]
mov byte [ebp - 0x15], ah
mov eax, edi
shr eax, 2
cmp eax, dword [esi - 0xc]
jg 0x45c444
mov al, byte [eax + esi]
and edi, 3
mov byte [ecx - 2], al
movzx ebx, bl
mov eax, ebx
shl edi, 4
shr eax, 4
add eax, edi
cmp eax, dword [esi - 0xc]
jg 0x45c444
mov al, byte [eax + esi]
and ebx, 0xf
movzx edi, byte [ebp - 0x15]
mov byte [ecx - 1], al
mov eax, edi
shr eax, 6
lea eax, [eax + ebx*4]
cmp eax, dword [esi - 0xc]
jg 0x45c444
mov al, byte [eax + esi]
and edi, 0x3f
mov byte [ecx], al
cmp edi, dword [esi - 0xc]
jg 0x45c444
mov al, byte [edi + esi]
add edx, 3
mov byte [ecx + 1], al
add ecx, 4
mov eax, dword [ebp - 0x28]
add eax, edx
cmp eax, dword [ebp - 0x20]
jb 0x45c350
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45c3ee
cmp eax, 1
mov eax, dword [ebp - 0x24]
jne 0x45c3e9
mov word [eax + edi - 2], 0x3d3d
jmp 0x45c3ee
mov byte [eax + edi - 1], 0x3d
push dword [ebp - 0x1c]
call fcn.005005bb
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45c418
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x45c41e
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.005000f2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404aa0
push 0x80070057
call fcn.00404aa0
int3
Function at 0x47e212
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [0x53e5e0]
jmp 0x47e2bf
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x47e2c3
cmp dword [ebp - 0x1c], 0x10
jne 0x47e290
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x47e290
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea ecx, [ebp - 0x20]
call fcn.00484bfd
test al, al
jne 0x47e2b0
lea eax, [ebp - 0x20]
push eax
call dword [0x53e500]
lea eax, [ebp - 0x20]
push eax
call dword [0x53e504]
cmp dword [ebp - 0x1c], 0x12
je 0x47e2c3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47e25d
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
jne 0x47e2de
push dword [ebp - 0x18]
call dword [0x53e5a4]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47e6c8
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x47e6eb
or esi, 1
push 2
call edi
test ax, ax
jns 0x47e6f7
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x47e703
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x47e70f
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x482e34
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [0x58ee54], 0
push esi
push edi
mov edi, ecx
jne 0x482e5c
call dword [sym.imp.USER32.dll_GetFocus]
push dword [edi + 0xa8]
call dword [0x53e5e0]
mov eax, dword [edi + 0x108]
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x482f61
test eax, eax
je 0x482ed8
and dword [esp + 0x24], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x17
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call fcn.00483447
mov eax, dword [edi + 0x108]
and dword [edi + 0x108], 0
mov dword [edi + 0x10c], eax
test esi, esi
je 0x482f61
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
cmp eax, edi
jne 0x482f61
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x170]
test al, al
je 0x482f61
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x482f61
and dword [esp + 0x24], 0
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c0]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call fcn.00483447
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48b84b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edi, dword [ebp + 8]
test al, al
jne 0x48b887
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x48b887
mov ecx, dword [esi + 0x6c8]
push edi
test ecx, ecx
je 0x48b9ca
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x48b9d1
cmp dword [edi], 0x13
jne 0x48b8cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48b9d1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.0048b1ba
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x48b9d1
xor eax, eax
push eax
push eax
push eax
push str.dbclick
push esi
call fcn.00483447
jmp 0x48b9d1
mov ecx, dword [esi + 0x6c8]
test ecx, ecx
je 0x48b93b
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x48b93b
cmp dword [edi], 0xf
jne 0x48b93b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48b9d1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
add dword [ecx + 0x8000], edi
lea esi, [esi + 0x6b8]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x48b931
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x48b9d1
push 1
call dword [edi + 0x14]
jmp 0x48b9d1
cmp dword [edi], 0xd
je 0x48b8ec
cmp dword [edi], 0xe
jne 0x48b968
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48b9d1
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
jmp 0x48b8c4
cmp dword [edi], 0x10
jne 0x48b987
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48b9d1
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x48b95d
cmp dword [edi], 9
je 0x48b9d1
cmp dword [edi], 0xb
jne 0x48b9af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48b9d1
or dword [esi + 0x6c4], 8
mov ecx, esi
call fcn.0048b1ba
jmp 0x48b9d1
cmp dword [edi], 0xa
jne 0x48b9c9
mov eax, dword [esi + 0x6c4]
test al, 8
je 0x48b9d1
and eax, 0xfffffff7
mov dword [esi + 0x6c4], eax
jmp 0x48b9a6
push edi
mov ecx, esi
call fcn.0048b455
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48c5c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edi, dword [ebp + 8]
test al, al
jne 0x48c608
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x48c608
mov ecx, dword [esi + 0x840]
push edi
test ecx, ecx
jne 0x48c7ca
mov ecx, esi
call fcn.00475d97
jmp 0x48c7d8
cmp dword [edi], 0x13
jne 0x48c650
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48c7d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.0048b1ba
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x48c7d8
xor eax, eax
push eax
push eax
push eax
push str.dbclick
push esi
call fcn.00483447
jmp 0x48c7d8
cmp dword [edi], 3
push 0xd
pop ebx
jne 0x48c67f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48c67f
cmp word [edi + 0x14], bx
jne 0x48c67f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.0048b1ba
jmp 0x48c7d8
cmp dword [edi], ebx
jne 0x48c6d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48c7d8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x830]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x48c6c8
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x48c7d8
push 1
call dword [edi + 0x14]
jmp 0x48c7d8
mov ecx, dword [esi + 0x840]
test ecx, ecx
je 0x48c6ef
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x48c6ef
cmp dword [edi], 0xf
je 0x48c683
cmp dword [edi], 0xe
jne 0x48c71b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48c7d8
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
jmp 0x48c645
cmp dword [edi], 0x10
jne 0x48c73e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48c7d8
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x48c710
cmp dword [edi], 9
je 0x48c7d8
cmp dword [edi], 0xb
jne 0x48c766
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x48c7d8
or dword [esi + 0x83c], 8
jmp 0x48c673
cmp dword [edi], 0xa
jne 0x48c783
mov eax, dword [esi + 0x83c]
test al, 8
je 0x48c7d8
and eax, 0xfffffff7
mov dword [esi + 0x83c], eax
jmp 0x48c673
cmp dword [edi], 0x1b
jne 0x48c79a
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x48c710
cmp dword [edi], 0x14
jne 0x48c7bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
test al, al
je 0x48c7bf
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
jmp 0x48c710
mov ecx, dword [esi + 0x840]
push edi
test ecx, ecx
je 0x48c7d1
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x48c7d8
mov ecx, esi
call fcn.004707f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48e506
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x80c], edi
je 0x48e573
cmp dword [ebp + 8], 0x100
jne 0x48e562
cmp word [ebp + 0xc], 0xd
jne 0x48e562
cmp byte [esi + 0x812], 0
je 0x48e546
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x48e562
cmp byte [esi + 0x813], 0
jne 0x48e562
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x48e55e
push edi
push edi
push edi
push str.return
push esi
call fcn.00483447
xor eax, eax
jmp 0x48e576
mov eax, dword [esi + 0x80c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10