joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4206a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x4ec21c]
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x4206c0
cmp dword [eax + 4], 0
jne 0x4207c4
mov eax, dword [eax]
test eax, eax
jne 0x4206b0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x42088f
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x4206f2
mov ecx, dword [0x4ec21c]
mov dword [eax], ecx
mov dword [0x4ec21c], eax
mov ebp, dword [eax + 4]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebp
mov ecx, dword [ebp]
inc dword [eax + 8]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
call fcn.00420930
test eax, eax
je 0x420888
push 0x28
call fcn.004b6720
mov esi, eax
add esp, 4
test esi, esi
je 0x420888
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
and edi, 0xf
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, edx
and eax, 1
shl edi, 3
or edi, eax
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x38]
and eax, 0xffffff80
or edi, eax
mov dword [esi + 0x24], ecx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], eax
test edx, edx
je 0x4207d4
mov eax, dword [ebx - 5]
mov dword [esi + 0xc], eax
mov ax, word [ebx - 1]
mov word [esi + 0x10], ax
mov al, byte [ebx + 1]
mov byte [esi + 0x12], al
jmp 0x4207df
test eax, eax
jne 0x420715
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [ebx]
mov dword [esi + 0xc], eax
mov al, byte [ebx + 4]
mov byte [esi + 0x10], al
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
shl edi, 0x1f
sar edi, 0x1f
test edi, edi
lea ebx, [eax - 5]
cmove ebx, eax
xor eax, eax
test edi, edi
push ecx
setne al
push 0x40
lea eax, [eax*2 + 5]
push eax
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x420830
mov ecx, ebp
call fcn.00420630
push esi
call fcn.004b6427
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov byte [ebx], 0xe9
sub eax, 5
mov dword [ebx + 1], eax
test edi, edi
je 0x42084c
mov eax, dword [esp + 0x18]
mov word [eax], 0xf9eb
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42087e
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, ebp
call fcn.00420630
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
Function at 0x4208a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
shl ecx, 0x1f
sar ecx, 0x1f
test ecx, ecx
lea edi, [eax - 5]
cmove edi, eax
xor ebx, ebx
test ecx, ecx
lea eax, [esp + 0x10]
push eax
setne bl
push 0x40
lea ebx, [ebx*2 + 5]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4208ea
push esi
call fcn.004b6427
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x420905
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x42090b
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
call fcn.004b6427
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x420cd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4ee0f8], ecx
mov eax, 1
nop dword [eax + eax]
mov ecx, dword [eax*4 + 0x4ee0f4]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
mov dword [eax*4 + 0x4ee0f8], ecx
inc eax
cmp eax, 0x270
jl 0x420ce0
mov dword [0x4ea248], 1
mov dword [0x4ee0f4], 1
ret

Function at 0x420d20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4ee0f4], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x4ee0f8
jne 0x420d3f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.00420cd0
mov eax, dword [0x4ee0f8]
mov ebx, 0xe3
mov dword [0x4ea248], 0x270
mov dword [0x4eeab8], 0x4ee0f8
nop dword [eax]
mov edi, dword [esi + 4]
mov ecx, edi
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi + 0x634]
mov dword [esi], ecx
add esi, 4
sub ebx, 1
jne 0x420d60
mov ebp, 0x18c
nop word [eax + eax]
mov ebx, dword [esi + 4]
lea esi, [esi + 4]
mov ecx, ebx
mov eax, ebx
xor ecx, edi
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, edi
mov edi, ebx
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x390]
mov dword [esi - 4], ecx
sub ebp, 1
jne 0x420da0
mov eax, dword [0x4ee0f8]
mov ecx, ebx
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, ebx
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
pop ebp
pop ebx
ret

Function at 0x420e10
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4ea248], 1
jne 0x420e1e
call fcn.00420d20
mov eax, dword [0x4eeab8]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4eeab8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x420e60
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4ea248], 1
jne 0x420e6e
call fcn.00420d20
mov eax, dword [0x4eeab8]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4eeab8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e1d60]
mulsd xmm0, qword [0x4e1bd8]
ret

Function at 0x4215e0
Capabilities:
Write clipboard data

Disassembly:
cmp byte [ecx + 0x17], 0
jne 0x4215e9
mov ecx, dword [ecx + 0xc]
cmp byte [ecx + 0x17], 2
jne 0x42160a
cmp dword [0x4ed820], 0
je 0x42160a
mov dword [esp + 4], 1
mov ecx, 0x4ed814
jmp fcn.004056b0
mov al, byte [ecx + 0x15]
and al, 0x86
cmp byte [esp + 4], 0
mov byte [ecx + 0x15], al
je 0x42161e
or al, 1
mov byte [ecx + 0x15], al
mov eax, 1
ret 4
Function at 0x423bc0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0xa4
cmp byte [0x50f2b1], 0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x5ec], eax
jne 0x423d49
cmp byte [ebx + 0x630], 0
je 0x423d49
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4eb720]
push 0
push 1
mov dword [0x50f340], eax
call fcn.00401550
push 0x7f
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004ba990
mov eax, dword [0x4e88cc]
add esp, 0xc
inc dword [0x4eb724]
add eax, 0xe8
mov byte [esp + 0xaf], 0
mov edi, eax
mov ecx, 0x3a
mov dword [0x4e88cc], eax
mov esi, 0x4eb628
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x4ed830
mov dword [eax + 0x2c], 0
call fcn.004238a0
cmp dword [0x4eb738], 0
xorps xmm0, xmm0
movlpd qword [0x4ede68], xmm0
je 0x423c89
mov eax, dword [0x4ea23c]
mov ecx, 0x4d5231
test eax, eax
je 0x423c82
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebx + 0x5e0]
mov esi, dword [0x4e88c4]
mov dword [0x4e88c4], 0
mov byte [0x50f2b1], 1
mov byte [0x4ea5da], 0
test ecx, ecx
je 0x423ccc
call fcn.00401610
test eax, eax
je 0x423ccc
cmp byte [0x4ea5da], 0
jne 0x423ccc
mov byte [0x4ea5da], 1
jmp 0x423d1d
mov byte [0x4ea5da], 1
mov dword [esp + 0x18], 0
call fcn.00456f00
mov dword [esp + 0x10], eax
lea ecx, [ebx + 0x5ac]
mov eax, dword [0x50f340]
cdq
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [ebx + 0x5e0], eax
mov dword [esp + 0x28], 1
sete al
mov dword [esp + 0x24], edx
push eax
push 2
lea eax, [esp + 0x18]
push eax
call fcn.004900e0
cmp eax, 3
jne 0x423d94
xor al, al
mov byte [0x50f2b1], al
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
jle 0x423d9e
lea ecx, [esp + 0x30]
call fcn.00404190
mov dword [0x4e88c4], esi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [0x4ea5da], 0
jne 0x423d84
cmp eax, 6
jne 0x423d84
mov eax, dword [0x4ecf08]
mov ecx, dword [0x50f340]
pop edi
pop esi
cmp byte [eax], 0
mov eax, 8
mov byte [0x4ea5da], 1
cmovne ecx, dword [ebp + 0xc]
mov dword [0x50f340], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov byte [0x4ea5da], 0
push eax
call fcn.00423db0
mov eax, dword [ebp + 8]
mov byte [0x50f2b1], 0
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.00423db0
int3
Function at 0x424470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cea0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x4ee030]
mov dword [ebp - 0x68], vtable.TextStream.0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
cmp eax, 0xffffffff
je 0x4244e3
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
neg eax
sbb al, al
and byte [ebp - 0x4e], al
mov dword [ebp - 0x68], vtable.TextMem.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0xa
mov dword [ebp - 4], 0
push str.E4847ED08866458F8DD35F94B37001C0
push 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x424654
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x424654
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x424654
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x424654
cmp dword [eax], 0x4034b50
jne 0x424621
call fcn.00404460
test al, al
je 0x42466b
xor edx, edx
nop word [eax + eax]
mov eax, dword [edx*4 + 0x4e9a0c]
lea ecx, [edx + 1]
inc edx
mov byte [eax], cl
cmp edx, 0xa
jl 0x424590
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + 8]
push 0x4e9a0c
push dword [ebp - 0x18]
call fcn.004a1910
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x424621
lea edi, [ebx + 2]
push edi
call fcn.004b6720
mov esi, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x14], 1
push ebx
push esi
push eax
call fcn.004b4620
mov eax, dword [ebp - 0x1c]
add esp, 0xc
xor ecx, ecx
push ebx
push ecx
push esi
mov word [eax + ebx], cx
call fcn.004b4390
add esp, 0xc
push esi
call fcn.004b6427
add esp, 4
mov dword [ebp - 0x18], edi
call fcn.00404460
test al, al
je 0x42466b
mov ecx, dword [0x4eb7b4]
call fcn.0041f920
mov ecx, dword [0x4eb7b0]
call fcn.0041f920
mov edi, dword [ebp - 0x10]
push 0xfde9
push 0xc
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0049b7d0
mov eax, dword [edi + 0x618]
mov ecx, edi
inc dword [0x4ecf00]
mov dword [0x4ecf04], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00424690
mov esi, eax
jmp 0x42466d
push 0
push dword [ebp + 8]
xorps xmm3, xmm3
xor edx, edx
mov ecx, str.Could_not_extract_script_from_EXE.
call fcn.004a4620
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x68]
call fcn.004225c0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43f390
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004
call fcn.004cd3a0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x43f486
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x43f3d0
mov esi, dword [edi + 0x38c]
test esi, esi
jne 0x43f3d0
mov ecx, dword [edi + 0x14c]
movzx eax, word [edi + 0x150]
jmp 0x43f3d8
movzx ecx, word [esi + 2]
movzx eax, word [esi + 4]
push dword [ebp + 0xc]
movzx eax, ax
push eax
push dword [ecx*4 + 0x4ecf04]
lea eax, [esp + 0x1c]
push str._s___d__:___Warning:__s_n
push 0x2000
push eax
call fcn.0049e100
lea ecx, [esp + 0x28]
add esp, 0x18
add ecx, eax
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x43f424
push eax
lea eax, [esp + 0x2014]
push str._____Specifically:__s_n
sub eax, ecx
push eax
push ecx
call fcn.0049e100
add esp, 0x10
lea eax, [esp + 0x10]
cmp ebx, 3
jne 0x43f445
push 0x4dc1e0
push 0
push eax
mov ecx, edi
call fcn.0043e830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp ebx, 2
jne 0x43f486
test esi, esi
jne 0x43f476
mov esi, dword [edi + 0x38c]
test esi, esi
jne 0x43f476
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0043ed90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, esi
push 1
push eax
call fcn.0043ea30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43f810
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1f4
push ebx
mov ebx, dword [esp + 0x1fc]
push ebp
push esi
push edi
mov ebp, ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x43f840
push 0x64
lea ecx, [esp + 0x9c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x43f848
mov byte [esp + 0x98], 0
mov esi, dword [0x4ede20]
mov byte [esp + 0x18], 0
test esi, esi
je 0x43f913
nop dword [eax + eax]
cmp byte [esi + 0x11], 0
je 0x43f8c2
mov eax, dword [0x50f4fc]
mov edx, dword [esi]
test al, 1
jne 0x43f887
push 0
or eax, 1
mov ecx, 0x50f500
push 0
mov dword [0x50f4fc], eax
call fcn.00422370
mov eax, dword [0x4edbc0]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x43f899
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x43f8ad
cmp ecx, dword [0x50f500]
jne 0x43f8a8
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x43f8ad
mov eax, str.Object
push eax
push 0x4de0a4
lea eax, [esp + 0x20]
push 0x7d
push eax
call fcn.0049e150
add esp, 0x10
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x43f860
cmp byte [esp + 0x18], 0
je 0x43f913
lea ecx, [esp + 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f8d7
sub ecx, edx
cmp ecx, 0x7b
jbe 0x43f907
mov esi, 0x7f
lea edi, [esp + 0x18]
sub esi, ecx
add edi, ecx
push esi
push 0x4db618
push edi
call fcn.004ba990
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x43f913
cmp byte [esp + ecx + 0x17], 0x20
jne 0x43f913
mov byte [esp + ecx + 0x17], 0
mov cl, 1
call fcn.00415420
lea edx, [esp + 0x100]
mov cl, al
call fcn.004157c0
mov ecx, dword [0x4eb620]
mov edi, eax
mov esi, dword [0x4eb724]
cmp byte [ecx + 0xd8], 0
je 0x43f94f
cmp byte [0x4ede61], 0
jne 0x43f94f
mov ecx, 1
jmp 0x43f951
xor ecx, ecx
mov eax, dword [0x4eb710]
mov edx, 0x4d9808
sub eax, ecx
mov dword [esp + 0x14], 0x4d9804
cmp dword [0x4eb758], 0
mov ecx, edx
push edi
push dword [0x4eb740]
cmovne ecx, dword [esp + 0x1c]
mov edi, 0x4d5231
cmp dword [0x4eb75c], 0
push esi
cmovne edx, dword [esp + 0x20]
cmp esi, 1
push eax
mov eax, str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmovle eax, edi
xor edi, edi
push eax
cmp esi, 1
lea eax, [esi - 1]
cmovle eax, edi
push eax
lea eax, [esp + 0x30]
push eax
push dword [0x4ede28]
lea eax, [esp + 0xb8]
push dword [0x4ede2c]
push ecx
push edx
push eax
push str.Window:__s_r_nKeybd_hook:__s_r_nMouse_hook:__s_r_nEnabled_Timers:__u_of__u___s__r_nInterrupted_threads:__d_s_r_nPaused_threads:__d_of__d___d_layers__r_nModifiers__GetKeyState___now____s_r_n
push 0xfffe
push ebx
call fcn.0049e100
add ebx, eax
mov edx, ebp
add esp, 0x3c
sub edx, ebx
add edx, 0xfffe
mov ecx, ebx
call fcn.0040b670
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f9f0
sub ecx, edx
mov eax, str._r_nPress__F5__to_refresh.
add ebx, ecx
cmp dword [0x4eb754], edi
mov ecx, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
cmove eax, ecx
sub ebp, ebx
push eax
add ebp, 0xfffe
push ebp
push ebx
call fcn.0049e100
add esp, 0xc
add eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f4
ret 8
Function at 0x446780
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push dword [esp + 0x20]
mov esi, ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00455b90
mov edi, eax
test edi, edi
je 0x446874
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004a43d0
mov ebx, eax
test ebx, ebx
je 0x446874
push 0
push edi
mov byte [esp + 0x28], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
test esi, esi
je 0x4467f6
cmp esi, dword [0x4ed7f8]
je 0x4467f6
mov ecx, edi
call fcn.004a4880
test al, al
jne 0x4467f6
push 1
push esi
push dword [0x4ed7f8]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x20]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x446853
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d5290
call fcn.004a2730
mov eax, dword [0x4e88cc]
cmp dword [eax + 0x58], 0xffffffff
jle 0x446853
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4ed7f8], eax
je 0x446840
mov eax, dword [0x4e88cc]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x446853
mov ecx, dword [0x4e88cc]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401730
cmp byte [esp + 0x20], 0
je 0x446869
push 0
push esi
push dword [0x4ed7f8]
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
mov eax, 1
pop ebx
ret 0x14
mov eax, dword [0x4e88cc]
test byte [eax + 0xe0], 1
jne 0x44689e
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9c00
call fcn.004a2730
pop edi
pop esi
pop ebx
ret 0x14
push 0x4d5231
push 0
push 0x4d9c00
mov ecx, esi
call fcn.0043e650
pop edi
pop esi
pop ebx
ret 0x14
Function at 0x448780
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [0x4eceb0]
push edi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.00455b90
mov ebx, eax
test ebx, ebx
je 0x4487b0
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
jmp 0x4487b5
mov edi, 1
push 1
push 0
lea eax, [edi - 1]
mov ecx, esi
push eax
push 0
call fcn.004a2730
cmp eax, 1
je 0x4487d3
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
mov ecx, esi
test ebx, ebx
je 0x448858
push edi
push 0
push 1
call fcn.00401550
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov ebx, eax
jne 0x4487f8
mov edi, dword [esi + 0xc]
jmp 0x4487fa
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x448812
test byte [edi + 0x15], 8
je 0x44880d
mov ecx, edi
call fcn.004013b0
add edi, 0xc
jmp 0x448817
mov edi, 0x4ef2a8
mov dword [edi], ebx
cmp byte [esi + 0x17], 0
jne 0x448824
mov edi, dword [esi + 0xc]
jmp 0x448826
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x44883e
test byte [edi + 0x15], 8
je 0x448839
mov ecx, edi
call fcn.004013b0
add edi, 0xc
jmp 0x448843
mov edi, 0x4ef2a8
cmp dword [edi], 0
jne 0x448894
push 0
push 1
mov ecx, esi
call fcn.00401550
mov byte [eax], 0
jmp 0x448894
push 0
push 1
call fcn.00401550
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x44886f
mov edi, dword [esi + 0xc]
jmp 0x448871
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x448889
test byte [edi + 0x15], 8
je 0x448884
mov ecx, edi
call fcn.004013b0
add edi, 0xc
jmp 0x44888e
mov edi, 0x4ef2a8
mov dword [edi], 0
cmp byte [esi + 0x17], 0
jne 0x44889d
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x4488be
cmp dword [0x4ed820], 0
je 0x4488be
push 1
mov ecx, 0x4ed814
call fcn.004056b0
pop edi
pop esi
pop ebx
ret 0x10
and byte [esi + 0x15], 0x86
mov eax, 1
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x448950
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8e68
call fcn.004cd3a0
push esi
mov esi, ecx
lea ecx, [esp + 4]
push edi
call fcn.00440a90
push dword [ebp + 0x14]
xor eax, eax
mov byte [esp + 0xc39], 1
push dword [ebp + 0x10]
cmp edx, 6
push dword [ebp + 0xc]
cmove eax, esi
push dword [ebp + 8]
mov dword [esp + 0xc68], eax
push dword [0x4e88cc]
call fcn.004a4a50
test eax, eax
je 0x4489af
lea eax, [esp + 8]
push eax
push 0x4a3d90
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [esi + 0x17], 0
mov edi, dword [esp + 0xc38]
jne 0x4489bf
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x4489d8
and cl, 0x3d
mov byte [esi + 0x15], cl
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov cl, byte [esi + 0x15]
mov eax, edi
and cl, 0x9b
cdq
or cl, 0x18
mov dword [esi], eax
mov dword [esi + 4], edx
mov byte [esi + 0x15], cl
jge 0x448a01
mov ecx, esi
call fcn.004013b0
and byte [esi + 0x15], 0x8f
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x4eb748], 0
je 0x448a11
mov ecx, esi
call fcn.004013b0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x449a60
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.004cd3a0
push esi
mov esi, dword [0x4eceb0]
lea eax, [esp + 4]
push edi
push 0x7fff
push eax
push dword [esp + 0x8014]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
push 1
cmp edi, 0x7fff
jb 0x449b25
push 1
lea ecx, [edi - 1]
push ecx
push 0
mov ecx, esi
call fcn.004a2730
test eax, eax
jne 0x449ab7
pop edi
pop esi
add esp, 0x8000
ret 4
push edi
push 0
push 1
mov ecx, esi
call fcn.00401550
push eax
push dword [esp + 0x8014]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x449ae2
push eax
push 1
mov ecx, esi
call fcn.00401550
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x449aeb
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x449b11
cmp dword [0x4ed820], 0
je 0x449b11
push 1
mov ecx, 0x4ed814
call fcn.004056b0
pop edi
pop esi
add esp, 0x8000
ret 4
and byte [esi + 0x15], 0x86
mov eax, 1
pop edi
pop esi
add esp, 0x8000
ret 4
push 0
test edi, edi
lea eax, [esp + 0x10]
mov ecx, 0x4d5231
cmove eax, ecx
mov ecx, esi
push edi
push eax
call fcn.004a2730
pop edi
pop esi
add esp, 0x8000
ret 4