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

Disassembly:
mov eax, 0x4ebafc
call fcn.0047b598
sub esp, 0x10
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [edi + 0x54], ebx
jle 0x44b1b7
push esi
mov eax, dword [edi + 0x50]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
lea eax, [eax + esi*4]
push eax
call fcn.004dc3e3
mov eax, dword [0x52ba98]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push esi
lea eax, [ebp - 0x18]
push str.Search_d
push eax
mov byte [ebp - 4], 1
call fcn.004d64b3
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x20006
push ebx
push str.SoftwarePPStream_recent_
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x44b190
mov esi, dword [ebp - 0x18]
push 0x104
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004dca9e
push eax
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.004dcaed
cmp esi, ebx
jne 0x44b17f
cmp dword [ebp - 0x10], ebx
je 0x44b190
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x44b190
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004dc66e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004dc66e
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x54]
jl 0x44b0eb
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44b1c5
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4ebb28
call fcn.0047b598
sub esp, 0x4c
mov eax, dword [0x52ba98]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push str.Search_d
push eax
call fcn.004d64b3
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x20006
push ebx
push str.SoftwarePPStream_recent_
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x44b251
push ebx
push ebx
push 1
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
jne 0x44b244
cmp dword [ebp - 0x10], ebx
je 0x44b251
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x44b251
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 7
jl 0x44b1ed
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x4c]
call fcn.004d7eb6
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1009
push dword [edi + 0x1c]
call esi
lea ecx, [ebp - 0x30]
call fcn.0041bd7c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041bd7c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0041bd7c
push 0x80a2
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0041bdbe
push 0x80a3
lea ecx, [ebp - 0x28]
call fcn.0041bdbe
push 0x80a1
lea ecx, [ebp - 0x20]
call fcn.0041bdbe
push 0x28
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0047b7a0
add esp, 0xc
mov dword [ebp - 0x58], 0x11
push ebx
push ebx
push 0x1004
push dword [edi + 0x1c]
call esi
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
call fcn.004dca9e
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x44], eax
call fcn.004dcaed
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1007
push dword [edi + 0x1c]
call esi
push ebx
push ebx
push 0x1004
push dword [edi + 0x1c]
call esi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x54], eax
call fcn.004dca9e
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], eax
call fcn.004dcaed
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1007
push dword [edi + 0x1c]
call esi
push ebx
push ebx
push 0x1004
push dword [edi + 0x1c]
call esi
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x54], eax
call fcn.004dca9e
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], eax
call fcn.004dcaed
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1007
push dword [edi + 0x1c]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0041bdaa
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041bdaa
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.0041bdaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004dc66e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44f15f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
lea eax, [ebp - 0x25c]
push edi
push eax
mov esi, bind
push str..htm
push esi
call fcn.0042c99c
add esp, 0xc
test eax, eax
jne 0x44f270
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x25c]
push str._shellopencommand
push eax
call edi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
call fcn.0042c99c
add esp, 0xc
test eax, eax
jne 0x44f270
push ebx
lea eax, [ebp - 0x25c]
push 0x528064
push eax
call fcn.0047ccc7
mov esi, eax
xor ebx, ebx
pop ecx
cmp esi, ebx
pop ecx
jne 0x44f20a
lea eax, [ebp - 0x25c]
push 0x526f70
push eax
call fcn.0047dbf0
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x44f20a
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x25d]
jmp 0x44f20c
mov byte [esi], bl
push 0x525894
push esi
call edi
push dword [ebp + 8]
push esi
call edi
push 0x44
lea eax, [ebp - 0x54]
pop esi
push esi
push ebx
push eax
call fcn.0047b7a0
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x54], esi
call fcn.0047b7a0
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x25c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop ebx
je 0x44f270
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
jmp 0x44f272
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x45ce60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.004544a0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x45ce92
mov dword [esp + 0x2c], 0
jmp 0x45cead
mov ecx, ebp
call fcn.004544a0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.004544a0
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.004544b0
cmp eax, esi
jae 0x45ceed
mov ecx, ebp
call fcn.004544b0
mov dword [esp + 0x10], eax
jmp 0x45cef1
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.00454340
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x45cf5d
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x45cf58
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.00455cc0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x45cf4b
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.00456030
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x45cf18
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x45cf06
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x4609a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4609d0
push esi
call fcn.00460ea0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4609c9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x460a53
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x460a3f
mov eax, dword [esi + 8]
test eax, eax
je 0x4609f4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x460a3b
cmp eax, 2
je 0x460a3f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4609e7
cmp eax, 3
je 0x460a1a
cmp eax, 1
jne 0x4609e7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4609e7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4609e7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00460a80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x460a73
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00460a80
add esp, 4
pop esi
ret
Function at 0x47be55
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x47be75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00480898
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x47be98
test byte [esp + 8], 2
je 0x47be98
call fcn.0048090b
mov dword [eax], 0xd
call fcn.00480914
mov dword [eax], 5
jmp 0x47be71
xor eax, eax
ret
Function at 0x49119f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5013e0
push 0x47dc78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
jne 0x4911ec
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
je 0x4911ec
xor eax, eax
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
jmp 0x491200
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x493f1a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4ee118
call fcn.0047b598
sub esp, 0x150
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [ebx]
lea ecx, [ebp - 0x15c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x494005
test byte [ebp - 0x15c], 0x10
push edi
mov edi, dword [ebp - 0x13c]
je 0x493f5d
mov edi, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.004dcbe4
pop ecx
mov dword [esi + 0x5dc], eax
mov ebx, dword [ebx]
push 0
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004b9e75
and dword [ebp - 4], 0
push edi
push dword [esi + 0x5dc]
lea ecx, [ebp - 0x1c]
call fcn.004ba05b
lea ecx, [ebp - 0x1c]
call fcn.004ba0dc
push 3
push edi
push dword [esi + 0x5dc]
call fcn.004b95ff
add esp, 0xc
mov dword [esi + 0x5d8], eax
test eax, eax
jne 0x493fe2
xor ecx, ecx
test edi, edi
jbe 0x493fcb
mov eax, dword [esi + 0x5dc]
xor byte [eax + ecx], 0x50
add eax, ecx
inc ecx
cmp ecx, edi
jb 0x493fba
push 3
push edi
push dword [esi + 0x5dc]
call fcn.004b95ff
add esp, 0xc
mov dword [esi + 0x5d8], eax
mov eax, dword [esi + 0x5d8]
xor ecx, ecx
test eax, eax
setne cl
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
mov esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.004b9eb4
mov eax, esi
pop edi
jmp 0x494007
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x497ebe
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [0x53c2fc], 1
call fcn.00498009
test byte [esp + 0x14], 1
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
je 0x497f00
call ebp
push eax
push 0
call ebx
push eax
push 0x49819f
push 4
call edi
mov dword [esi + 4], eax
test byte [esp + 0x14], 2
je 0x497f1b
call ebp
push eax
push 0
call ebx
push eax
push 0x498201
push 0xc
call edi
mov dword [esi + 8], eax
test byte [esp + 0x14], 4
je 0x497f36
call ebp
push eax
push 0
call ebx
push eax
push 0x498266
push 5
call edi
mov dword [esi + 0xc], eax
test byte [esp + 0x14], 8
je 0x497f51
call ebp
push eax
push 0
call ebx
push eax
push 0x4982a6
push 0xb
call edi
mov dword [esi + 0x10], eax
test byte [esp + 0x14], 0x10
je 0x497f6c
call ebp
push eax
push 0
call ebx
push eax
push 0x4982d5
push 3
call edi
mov dword [esi + 0x14], eax
test byte [esp + 0x14], 0x20
je 0x497f87
call ebp
push eax
push 0
call ebx
push eax
push 0x49835d
push 2
call edi
mov dword [esi + 0x18], eax
test byte [esp + 0x14], 0x40
je 0x497fa2
call ebp
push eax
push 0
call ebx
push eax
push 0x498392
push 7
call edi
mov dword [esi + 0x1c], eax
test byte [esp + 0x14], 0x80
je 0x497fbd
call ebp
push eax
push 0
call ebx
push eax
push 0x4983c7
push 0xffffffffffffffff
call edi
mov dword [esi + 0x20], eax
test byte [esp + 0x15], 1
je 0x497fd8
call ebp
push eax
push 0
call ebx
push eax
push 0x498413
push 0xa
call edi
mov dword [esi + 0x24], eax
test byte [esp + 0x15], 2
je 0x497ff3
call ebp
push eax
push 0
call ebx
push eax
push 0x49843f
push 6
call edi
mov dword [esi + 0x28], eax
push dword [esp + 0x1c]
lea ecx, [esi + 0x2c]
call fcn.00490210
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x49902b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4ee470
call fcn.0047b598
push ecx
push esi
mov esi, ecx
push 0x3e8
mov dword [ebp - 0x10], esi
call fcn.004b38d8
and dword [ebp - 4], 0
push str.Pictures
lea ecx, [esi + 8]
mov dword [esi], vtable.CResPicture.0
call fcn.00490210
push str.Picture
lea ecx, [esi + 0xc]
call fcn.00490210
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x30], 0
mov dword [esi + 0x10], 0x41c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4a1cea
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4f00ee
call fcn.0047b598
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0049970e
and dword [esp + 0x1c], 0
mov ebp, 0x49b1f3
mov ebx, fcn.0049b114
push ebp
push ebx
mov edi, 0x148
push 2
lea eax, [esi + 0x210]
push edi
push eax
call fcn.0047eca2
push ebp
push ebx
push 4
lea eax, [esi + 0x4a0]
push edi
push eax
mov byte [esp + 0x30], 1
call fcn.0047eca2
push ebp
push ebx
push 4
lea eax, [esi + 0x9c0]
push edi
push eax
mov byte [esp + 0x30], 2
call fcn.0047eca2
mov ecx, dword [esp + 0x14]
mov dword [esi], vtable.SkinComboBox.0
mov dword [esi + 0x208], 0x1f4
mov dword [esi + 0x20c], 0x64
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4a6d94
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4f139e
call fcn.0047b598
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0049970e
and dword [esp + 0x1c], 0
mov ebp, 0x49b1f3
mov ebx, fcn.0049b114
push ebp
push ebx
mov edi, 0x148
push 2
lea eax, [esi + 0x210]
push edi
push eax
call fcn.0047eca2
push ebp
push ebx
push 4
lea eax, [esi + 0x4a0]
push edi
push eax
mov byte [esp + 0x30], 1
call fcn.0047eca2
push ebp
push ebx
push 4
lea eax, [esi + 0x9c0]
push edi
push eax
mov byte [esp + 0x30], 2
call fcn.0047eca2
mov ecx, dword [esp + 0x14]
mov dword [esi], vtable.SkinDatetime.0
mov dword [esi + 0x208], 0x1f4
mov dword [esi + 0x20c], 0x64
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4a8768
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x5333dc], 0xffffffff
jne 0x4a8834
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4a8834
mov eax, dword [ebp - 0x84]
dec eax
je 0x4a87fa
dec eax
jne 0x4a8834
mov eax, dword [ebp - 0x90]
push 3
pop ecx
sub eax, ecx
je 0x4a8834
dec eax
je 0x4a87f2
dec eax
je 0x4a87cc
mov dword [0x5333dc], 6
jmp 0x4a8834
mov eax, dword [ebp - 0x8c]
sub eax, 0
je 0x4a87e6
dec eax
jne 0x4a87c0
mov dword [0x5333dc], 5
jmp 0x4a8834
mov dword [0x5333dc], 4
jmp 0x4a8834
mov dword [0x5333dc], ecx
jmp 0x4a8834
cmp dword [ebp - 0x8c], 0
je 0x4a882d
cmp dword [ebp - 0x8c], 0xa
je 0x4a8821
cmp dword [ebp - 0x8c], 0x5a
jne 0x4a8834
mov dword [0x5333dc], 2
jmp 0x4a8834
mov dword [0x5333dc], 1
jmp 0x4a8834
and dword [0x5333dc], 0
mov eax, dword [0x5333dc]
leave
ret
Function at 0x4a922a
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
push 0x18
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call edi
push dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], eax
push eax
call esi
push ebx
mov dword [ebp - 0xc], eax
call edi
push dword [ebp - 0x2c]
mov edi, eax
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x1c], eax
call esi
xor ebx, ebx
push 0xcc0020
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 8], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push ebx
push ebx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0xc]
push dword [ebp - 4]
call esi
cmp dword [ebp - 4], ebx
je 0x4a92c6
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4a92c6
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
lea ecx, [eax - 1]
mov dword [ebp + 8], ecx
je 0x4a9368
mov eax, dword [ebp - 0x2c]
lea ebx, [eax - 1]
test eax, eax
je 0x4a9358
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.GDI32.dll_GetPixel]
cmp dword [ebp + 0xc], eax
je 0x4a9353
xor edx, edx
mov ecx, eax
mov dl, ah
shr ecx, 0x10
cmp al, dl
jne 0x4a9302
cmp dl, cl
je 0x4a9353
movzx ecx, cl
mov dword [ebp - 0x10], ecx
fild dword [ebp - 0x10]
movzx ecx, dl
fmul qword [0x503638]
mov dword [ebp - 0x10], ecx
fild dword [ebp - 0x10]
movzx eax, al
fmul qword [0x503630]
mov dword [ebp - 0x10], eax
faddp st(1)
fild dword [ebp - 0x10]
fmul qword [str.333333]
faddp st(1)
call fcn.0047c4e0
movzx eax, al
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
push ecx
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.GDI32.dll_SetPixelV]
mov eax, ebx
dec ebx
jmp 0x4a92dd
mov eax, dword [ebp + 8]
dec dword [ebp + 8]
test eax, eax
jne 0x4a92d7
xor ebx, ebx
push dword [ebp - 8]
push edi
call esi
cmp edi, ebx
je 0x4a937f
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4a937f
xor edi, edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x4a939b
push dword [ebp - 8]
call esi
cmp dword [ebp - 0xc], ebx
je 0x4a93a5
push dword [ebp - 0xc]
call esi
cmp edi, ebx
je 0x4a93b0
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x4a93c1
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x1c]
leave
ret
Function at 0x4aef74
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
cmp ecx, dword [esi + 0xc0]
lea eax, [esi + 0xc0]
je 0x4af048
push ebx
xor ebx, ebx
mov dword [eax], ecx
mov eax, dword [0x53c404]
cmp ecx, ebx
push edi
jne 0x4aefd9
cmp eax, ebx
je 0x4aefad
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x53c404], ebx
mov ecx, esi
xor edi, edi
call fcn.004aee4a
test eax, eax
jle 0x4af02e
mov eax, dword [esi + 0x90]
push 0x20
push ebx
mov ecx, dword [eax + edi*4]
call fcn.004adac7
mov ecx, esi
inc edi
call fcn.004aee4a
cmp edi, eax
jl 0x4aefba
jmp 0x4af02e
cmp eax, ebx
je 0x4aefe4
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x4af04c
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ecx, esi
mov dword [0x53c404], eax
mov dword [0x53c3fc], esi
xor edi, edi
call fcn.004aee4a
test eax, eax
jle 0x4af02e
mov eax, dword [esi + 0x90]
push ebx
push 0x20
mov ecx, dword [eax + edi*4]
call fcn.004adac7
mov ecx, esi
inc edi
call fcn.004aee4a
cmp edi, eax
jl 0x4af011
mov ecx, esi
call fcn.004ae99b
or dword [esi + 0xf4], 0xffffffff
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.004aec08
pop edi
pop ebx
pop esi
ret 4
Function at 0x4af141
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4f1b8c
call fcn.0047b598
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov esi, dword [ecx + 0xa8]
mov edi, dword [sym.imp.USER32.dll_GetMenuItemCount]
and dword [ebp - 4], 0
push esi
mov dword [ebp - 0x2c], esi
call edi
and dword [ebp - 0x10], 0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x18], 1
jle 0x4af19d
push dword [ebp - 0x10]
push esi
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, 0xff00
jae 0x4af199
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x4af17e
jmp 0x4af19d
and dword [ebp - 0x18], 0
push esi
call edi
mov ebx, 0x400
cmp dword [ebp - 0x10], eax
jge 0x4af1ba
push ebx
push dword [ebp - 0x10]
push esi
call dword [sym.imp.USER32.dll_RemoveMenu]
push esi
call edi
jmp 0x4af1a5
mov eax, dword [ebp - 0x20]
push 0
push 0
push 0x229
push dword [eax + 0xc4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x28], eax
mov eax, dword [0x5308bc]
mov dword [ebp - 0x14], 0xff00
mov dword [ebp - 0x1c], eax
mov edi, dword [sym.imp.USER32.dll_InsertMenuA]
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push dword [eax + 0xc4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
mov dword [ebp - 0x24], eax
cmp eax, ecx
je 0x4af2b5
cmp dword [ebp - 0x18], ecx
je 0x4af227
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
push ecx
push ecx
push 0xc00
push eax
push esi
call edi
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0xfeff]
cmp ecx, 0xa
jge 0x4af291
lea eax, [ebp - 0x12c]
push 0xff
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x14]
add eax, 0xffff0101
push eax
lea eax, [ebp - 0x1c]
push str._d__s
push eax
call fcn.00490255
add esp, 0x10
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
push esi
call edi
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], eax
jne 0x4af29e
push 0x408
push dword [ebp - 0x10]
push esi
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x4af29e
push str.More_Windows...
push eax
push ebx
push dword [ebp - 0x10]
push esi
call edi
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, 0xffff0101
cmp eax, 0xa
jle 0x4af1ee
and dword [ebp - 0x2c], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0048ffe3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc