joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5576a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5577cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00556070
xor eax, eax
push ebp
push 0x5577a5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00556678
test al, al
je 0x557787
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00557578
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0042f048
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x557787
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0042fb30
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00555fd0
test al, al
je 0x557783
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0042fb30
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0042fb90
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00557578
pop ecx
inc edi
dec ebx
jne 0x55772b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5577ac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00556070
pop eax
jmp eax
Function at 0x5577dc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x557a34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00556070
xor eax, eax
push ebp
push 0x557a08
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00556678
test al, al
je 0x5579ea
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0042f048
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x5579ea
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0042fb30
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00555fd0
test al, al
je 0x5579de
mov eax, dword [ebp - 4]
call fcn.0042fb30
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0042fb90
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005570d8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5579de
xor eax, eax
push ebp
push 0x5579d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.00556070
xor eax, eax
push ebp
push 0x5579b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042fb30
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0042fb90
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00556074
mov eax, dword [ebp - 4]
call fcn.0042fb30
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0042fb90
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005570d8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x557992
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.005576a0
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.005577dc
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557999
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
pop eax
jmp eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x557867
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557a0f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00556070
pop eax
jmp eax
Function at 0x564ab8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x564abe
ret

Function at 0x56b8b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.0056b744
lea edx, [ebp - 0x22]
mov ecx, 0x16
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x22], 0x9ac6cdd7
jne 0x56b8f6
lea eax, [ebp - 0x22]
call fcn.00568778
cmp ax, word [ebp - 0xe]
je 0x56b8fb
call fcn.00567710
sub dword [ebp - 8], 0x16
mov eax, dword [ebp - 8]
call fcn.0042b90c
mov dword [ebp - 0xc], eax
mov ebx, dword [esi + 0x30]
xor eax, eax
push ebp
push 0x56ba25
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [esi + 0x30]
movzx edx, word [ebp - 0x14]
mov word [eax + 0x18], dx
cmp word [ebp - 0x14], 0
jne 0x56b941
mov word [ebp - 0x14], 0x60
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x18]
movsx edx, word [ebp - 0x1c]
sub eax, edx
push eax
call sub.KERNEL32.DLL_MulDiv
mov dword [ebx + 0xc], eax
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x16]
movsx edx, word [ebp - 0x1a]
sub eax, edx
push eax
call sub.KERNEL32.DLL_MulDiv
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x34], 8
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.007087dc
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x56b9b2
call fcn.00567710
lea eax, [ebp - 0xa0]
push eax
push 0x6c
mov eax, dword [ebx + 8]
push eax
call fcn.007086b0
mov dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
push eax
call fcn.00708632
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.007087dc
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x56ba06
call fcn.00567710
mov byte [esi + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56ba2c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0042b928
pop eax
jmp eax
Function at 0x581f24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x72fab4], 0
je 0x582065
push 0x11
call fcn.00708a02
test ax, 0x8000
setne al
mov edx, dword [0x7274ac]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x582065
mov eax, dword [0x72fab8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x72fab4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x582034
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x72fab4]
call fcn.004d3f54
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x58202c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x58202c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x58202c
mov eax, dword [ebp - 0x14]
call fcn.0058eab4
push eax
call fcn.00708b28
test eax, eax
je 0x58202c
push ebp
call fcn.00581ee0
pop ecx
test al, al
jne 0x58202c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.0042d5ac
test al, al
je 0x58202c
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.0042d5ac
cmp byte [ebp - 1], 0
je 0x58202c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.004375b4
test al, al
je 0x58202c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x72fab8]
call fcn.0058165c
inc edi
dec ebx
jne 0x581f89
mov eax, dword [0x72fab8]
cmp dword [eax + 8], 0
jle 0x58204c
mov eax, dword [0x72fab8]
call fcn.00581710
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x582065
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00581d48
pop ecx
test al, al
jne 0x582065
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x58b0b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call fcn.00708a50
call fcn.00437b10
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00584618
test ebx, ebx
jne 0x58b10b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0058af68
mov ebx, eax
test ebx, ebx
je 0x58b201
cmp esi, ebx
je 0x58b134
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x58b149
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x58b181
add eax, 0xffffff5f
sub eax, 2
jb 0x58b199
dec eax
sub eax, 2
jb 0x58b1ad
dec eax
sub eax, 2
jb 0x58b1a3
jmp 0x58b1b7
add eax, 0xfffffdff
sub eax, 2
jb 0x58b199
dec eax
sub eax, 2
jb 0x58b1ad
dec eax
sub eax, 2
jb 0x58b1a3
jmp 0x58b1b7
mov byte [esp + 0x120], 0
jmp 0x58b1bf
mov byte [esp + 0x120], 2
jmp 0x58b1bf
mov byte [esp + 0x120], 1
jmp 0x58b1bf
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call fcn.00708a1a
lea eax, [esp + 0x14]
call fcn.0067e7c8
mov esi, eax
call fcn.00580ce0
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.005862c0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x58b203
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x5f7bcf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xc
mov esi, dword [esp + 0x20]
test esi, esi
je 0x5f7c42
mov eax, dword [esi + 0x3c]
mov edx, esi
add edx, dword [esi + eax + 0x78]
mov dword [esp + 8], edx
mov edi, dword [edx + 0x20]
mov ebp, dword [edx + 0x18]
invalid
test ebp, ebp
je 0x5f7c46
mov ebx, 0
mov eax, esi
jmp 0x5f7c3a
mov eax, 0
jmp 0x5f7c3a

Function at 0x5f7cd6
Capabilities:
Access peb ldr_data

Disassembly:
push edi
push esi
push ebx
sub esp, 4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jmp 0x5f7d05

Function at 0x5f7d25
Capabilities:
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.005f7cd6
mov esi, eax
mov eax, dword [0x715a33]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.005f7cd6
mov ebx, eax
mov edi, dword [0x715a3f]
cmp dword [edi], 0
je 0x5f7d9b
mov ebp, dword [esp + 0x1c]
mov dword [esp], ebp
call fcn.005f7b55
cmp byte [edi], al
je 0x5f7d85
cmp byte [edi + 1], al
jne 0x5f7ea6
mov dword [esp], ebp
call fcn.005f7c66
cmp dword [edi + 4], eax
je 0x5f7d9b
cmp dword [edi + 8], eax
jne 0x5f7eb3
mov dword [esp + 0x18], 0
mov eax, dword [0x715a47]
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
sub esp, 8
mov edx, dword [0x715a37]
test edx, edx
je 0x5f7de9
mov edx, 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov dword [esp], 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x5f7e08
Capabilities:
Terminate process

Disassembly:
pop edx
jno 0x5f7e0b
mov eax, dword [0x715a23]
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
sub esp, 0x10
mov eax, dword [0x715a2b]
add esi, eax
mov ecx, dword [esi + 4]
mov eax, dword [0x715a23]
cmp eax, 8
jbe 0x5f7e59
mov edx, 8
mov eax, ecx
add eax, dword [esi + edx]
mov dword [ebx + edx], eax
mov eax, dword [0x715a27]
add edx, eax
mov eax, dword [0x715a23]
cmp eax, edx
ja 0x5f7e41
mov eax, dword [0x715a0f]
mov dword [ebx + 8], eax
mov eax, dword [0x715a23]
lea edx, [esp + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
sub esp, 0x10
mov eax, dword [0x715a4b]
mov edx, dword [0x715a4b]
add eax, dword [ebx + 0xc]
add eax, ebx
add ebx, edx
mov dword [esp], ebx
call eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x61f900
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0042efa4
xor eax, eax
push ebp
push 0x61fa43
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call fcn.00708ba0
test eax, eax
je 0x61fa14
xor edx, edx
push ebp
push 0x61fa0d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x61f94d
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x61f9e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x61f9cf
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x61f990
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0042fb30
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.0042bd90
call fcn.00708936
mov eax, dword [ebp - 8]
push eax
push 0xd
call fcn.00708c1e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61f9d6
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
pop eax
jmp eax
mov ecx, dword [0x727a88]
mov dl, 1
mov eax, dword [0x4411f0]
call fcn.0044fae8
call fcn.0042e67c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61fa4a
lea eax, [ebp - 4]
call fcn.0042eeb0
pop eax
jmp eax

Function at 0x62ba08
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d1], 0
jne 0x62bada
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d0], 1
xor eax, eax
push ebp
push 0x62bab4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
call fcn.0058eab4
push eax
call fcn.00708cb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
xor edx, edx
call fcn.00583dec
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d1], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2ec], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x174]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.005841e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.00589764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62babb
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d0], 0
pop eax
jmp eax
pop ebx
pop ecx
pop ebp
ret
Function at 0x62c534
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d1], 0
je 0x62c61c
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d0], 1
xor eax, eax
push ebp
push 0x62c5f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov dl, 5
call fcn.00583dec
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
call fcn.0058eab4
push eax
call fcn.00708cb4
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d1], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2ec]
mov eax, dword [ebp - 4]
call fcn.005841e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov eax, dword [eax + 0x2c8]
call fcn.0067ebc4
test al, al
je 0x62c5dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, dword [ebp - 4]
call fcn.0067fa90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.00589764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62c5fd
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d0], 0
pop eax
jmp eax
pop ebx
pop ecx
pop ebp
ret

Function at 0x65567c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00655744
test eax, eax
je 0x6556ce
mov edi, dword [ebx + 8]
test edi, edi
je 0x6556aa
test edi, edi
je 0x6556aa
mov edx, esi
mov eax, edi
call fcn.00584de8
jmp 0x6556dc
push 0x100
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00655744
push eax
call fcn.00708ad4
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0042f048
jmp 0x6556dc
mov ecx, esi
mov edx, 0x6556fc
mov eax, ebx
call fcn.00655604
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0042f2a0
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x669bfc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0042eeb0
push 0
movzx eax, bl
push eax
call fcn.00708b5e
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x669c4e
push 0x100
lea eax, [esp + 4]
push eax
push ebx
call fcn.007089fc
test eax, eax
je 0x669c47
mov eax, esi
mov edx, esp
mov ecx, 0x100
call fcn.0042fbe4
jmp 0x669c4e
mov eax, esi
call fcn.0042eeb0
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x66fa94
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x66fbf9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x7225f0], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call fcn.00708a14
mov dl, 1
mov eax, dword [0x554d68]
call fcn.00555eb4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x66fbcd
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0055600c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0042fbe4
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x66fc14
call fcn.0042fd94
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0055629c
test al, al
je 0x66fbb5
lea ecx, [ebp - 4]
mov edx, 0x66fc88
mov eax, dword [ebp - 0xc]
call fcn.00556b30
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0045304c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x66fbb5
xor edx, edx
push ebp
push 0x66fbae
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x66fca0
mov eax, dword [ebp - 8]
push eax
call fcn.00439cf8
test eax, eax
je 0x66fb95
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x66fb95
call fcn.0066fa20
test eax, eax
je 0x66fb85
mov eax, dword [ebx + 0x50]
jmp 0x66fb88
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x7225f0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66fbb5
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66fbd4
mov eax, dword [ebp - 0xc]
call fcn.0042d1dc
pop eax
jmp eax

Function at 0x66fd04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x66fd4b
push 0x10
call fcn.00708a02
test ax, ax
jge 0x66fd2e
add bx, 0x2000
push 0x11
call fcn.00708a02
test ax, ax
jge 0x66fd3f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x66fd4b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x67e2e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call fcn.00708ac2
mov edi, eax
test bl, bl
je 0x67e305
test edi, 0x40000
je 0x67e31f
test bl, bl
jne 0x67e3a0
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x67e3a0
push esi
call fcn.00708b10
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call fcn.00708b28
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x67e352
push 0
push esi
call fcn.00708cb4
test bl, bl
je 0x67e367
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call fcn.00708c7e
jmp 0x67e376
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call fcn.00708c7e
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x67e387
cmp byte [esp + 2], 0
je 0x67e3a0
cmp byte [esp + 2], 0
je 0x67e398
push 6
push esi
call fcn.00708cb4
jmp 0x67e3a0
push 5
push esi
call fcn.00708cb4
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x67e644
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call fcn.00708990
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x67e66a
mov eax, esp
push eax
push 0x67e60c
call fcn.00708972
jmp 0x67e67d
mov eax, esp
push eax
push 0x67e5ec
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call fcn.0070896c
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x67e740
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov si, ax
test bl, 4
je 0x67e752
or si, 1
test bl, 8
je 0x67e75b
or si, 4
test bl, 1
je 0x67e764
or si, 8
test bl, 2
je 0x67e76d
or si, 0x10
test bl, 0x10
je 0x67e776
or si, 0x20
push 0x12
call fcn.00708a02
test ax, ax
jge 0x67e786
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x67e78c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov bx, ax
push 0x10
call fcn.00708a02
test ax, ax
jge 0x67e7a5
or bx, 1
push 0x11
call fcn.00708a02
test ax, ax
jge 0x67e7b5
or bx, 4
test esi, 0x20000000
je 0x67e7c1
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret