joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410c70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
movzx edi, bl
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
movsx esi, al
neg esi
sbb esi, esi
add esi, 2
cmp ebp, 1
je 0x410c9b
cmp ebp, 2
jne 0x410d71
cmp esi, ebp
je 0x410d71
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x410ccc
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.0040ef10
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.0040ef10
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4ad238]
sete al
mov byte [esp + 0x10], al
test al, al
je 0x410d22
push 1
push 0xffffffffffffffff
mov dword [0x4a7884], 0
call fcn.00401350
add esp, 8
mov dword [0x4a7884], 1
cmp bl, 0x14
jne 0x410d71
cmp ebp, 2
jne 0x410d71
push 0x14
call edi
test al, 1
je 0x410d71
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.0040ef10
add esp, 0x18
cmp byte [esp + 0x10], 0
je 0x410d71
push 1
push 0xffffffffffffffff
mov dword [0x4a7884], 0
call fcn.00401350
add esp, 8
mov dword [0x4a7884], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x411480
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4ab35c], 0
je 0x411496
cmp byte [esp + 4], 0
jne 0x411496
mov al, byte [0x4ab229]
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call esi
mov ecx, 0x8000
test cx, ax
je 0x4114b3
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x4114c7
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x4114db
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x4114ef
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x411503
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x411517
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x411528
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x411539
or bl, 0x80
cmp dword [0x4ab35c], 0
je 0x411576
mov al, bl
not al
and al, byte [0x4ab229]
je 0x411576
mov cl, byte [0x4ab22b]
not al
and byte [0x4ab229], al
and byte [0x4ab22a], al
and cl, al
mov al, cl
mov byte [0x4ab22b], cl
mov ecx, 0x4ab250
call fcn.00411580
pop esi
mov al, bl
pop ebx
ret

Function at 0x411970
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x4119ae
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
push eax
call edi
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x30
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x4119ae
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4119ae
push 0
push eax
call edi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
pop edi
pop esi
add esp, 0x34
ret
Function at 0x411aa0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push esi
lea eax, [esp + 0xc]
push eax
push 0xa
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov esi, eax
xor edx, edx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
test esi, esi
jle 0x411b64
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_VkKeyScanExA]
push edi
mov edi, edi
mov edi, dword [esp + edx*4 + 0x18]
xor eax, eax
jmp 0x411ae0
mov ecx, dword [eax*8 + 0x4acb38]
test ecx, ecx
je 0x411af7
cmp ecx, edi
je 0x411b54
inc eax
cmp eax, 0xa
jl 0x411ae0
jmp 0x411afe
mov ebx, eax
cmp eax, 0xa
jl 0x411b03
mov ebx, 9
mov dword [ebx*8 + 0x4acb3c], 0
mov esi, 0x20
push edi
push esi
call ebp
movzx eax, ax
cmp ax, 0xffff
je 0x411b2f
and eax, 0x600
mov ecx, 0x600
cmp ax, cx
je 0x411b3a
inc esi
cmp esi, 0xff
jle 0x411b13
jmp 0x411b45
mov dword [ebx*8 + 0x4acb3c], 3
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [ebx*8 + 0x4acb38], edi
inc edx
mov dword [esp + 0x10], edx
cmp edx, esi
jl 0x411ad0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x30
ret

Function at 0x411c60
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x110
push esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
mov al, byte [esp + 0x118]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x411d50
push ebx
push ebp
push 0x100
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0048e850
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
add esp, 0xc
push esi
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x6e
xor bl, bl
call ebp
cmp eax, 2
jne 0x411cbe
mov bl, byte [esp + 0x10]
movzx ecx, byte [esp + 0x120]
push esi
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push ecx
call ebp
mov dword [esp + 0x18], eax
test eax, eax
jns 0x411cf3
push esi
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0x6e
call ebp
test bl, bl
je 0x411d30
push edi
push 1
push esi
lea edi, [esp + 0x1b]
call fcn.00411f00
add esp, 8
mov bl, al
pop edi
test bl, bl
je 0x411d30
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x1c]
call fcn.00411580
push esi
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
movzx eax, bl
push 0
push eax
call ebp
cmp dword [esp + 0x18], 0
pop ebp
pop ebx
je 0x411d46
movsx eax, byte [esp + 8]
pop esi
add esp, 0x110
ret
xor eax, eax
pop esi
add esp, 0x110
ret
push esi
movzx ecx, al
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
pop esi
add esp, 0x110
ret
Function at 0x411f00
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp bl, 0xa
jne 0x411f0a
mov al, 0xd
pop ecx
ret
mov eax, dword [esp + 8]
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
mov dl, cl
cmp al, 0xff
jne 0x411f6d
cmp cl, 0xff
jne 0x411f6d
cmp byte [esp + 0x10], 0
je 0x411f71
movzx esi, bl
test esi, 0xffffff80
jne 0x411f71
push 0x103
push esi
call fcn.004868be
add esp, 8
test eax, eax
je 0x411f71
mov al, bl
call fcn.00409460
push 1
push esi
mov byte [esp + 0xf], al
call fcn.004868be
mov dl, byte [esp + 0xf]
add esp, 8
test eax, eax
setne al
test al, 0x38
je 0x411f76
xor al, al
pop esi
pop ecx
ret
test edi, edi
je 0x411fb7
mov cl, al
and cl, 6
cmp cl, 6
jne 0x411f89
or byte [edi], 8
jmp 0x411fa9
test al, 2
je 0x411f99
mov cl, byte [edi]
test cl, 3
jne 0x411f99
or cl, 1
mov byte [edi], cl
test al, 4
je 0x411fa9
mov cl, byte [edi]
test cl, 0xc
jne 0x411fa9
or cl, 4
mov byte [edi], cl
test al, 1
je 0x411fb7
mov al, byte [edi]
test al, 0x30
jne 0x411fb7
or al, 0x10
mov byte [edi], al
mov al, dl
pop esi
pop ecx
ret

Function at 0x412690
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x4126ed
je 0x4126ea
sub eax, 0x1d
cmp eax, 0x36
ja case.0x4126fe.286
movzx eax, byte [eax + 0x412798]
jmp dword [eax*4 + 0x41274c]
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, 0xc
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, 0x23
ret
mov al, 0x21
ret
mov al, 0x22
ret
mov al, 0x13
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x4126fe.286
movzx edx, byte [eax + 0x4127f8]
jmp dword [edx*4 + 0x4127d0]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x5b
ret
mov al, 0x5c
ret
mov al, 0x90
ret
mov al, 0x6f
ret
mov al, 0x5d
ret
mov al, 0x2c
ret
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
test ebx, 0x100
je 0x412740
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x412748
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

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

Disassembly:
mov dword [0x4aa178], eax
mov edx, 1
mov eax, 0x4aa178
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4aab34
jl 0x412850
mov dword [0x4a73c4], 1
mov dword [0x4acb8c], 1
pop edi
ret
Function at 0x412890
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4acb8c], 0
push esi
mov esi, 0x4aa178
jne 0x4128aa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00412840
mov dword [0x4a73c4], 0x270
mov dword [0x4aa170], esi
mov ecx, 0xe3
nop
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x4128c0
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x4128f5
mov ecx, dword [esi]
mov eax, dword [0x4aa178]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

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

Disassembly:
dec dword [0x4a73c4]
jne 0x41296d
call fcn.00412890
mov eax, dword [0x4aa170]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4aa170], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

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

Disassembly:
push ecx
dec dword [0x4a73c4]
jne 0x4129be
call fcn.00412890
mov ecx, dword [0x4aa170]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4aa170], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
jns 0x412a05
fadd qword [0x4a1bf0]
fmul qword [0x4a1c30]
pop ecx
ret

Function at 0x413430
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x413439
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x41345a
cmp dword [0x4ad8fc], 0
je 0x41345a
mov dword [esp + 4], 1
mov ecx, 0x4ad8f0
jmp fcn.004043d0
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x41346e
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x415b80
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4a7890]
add eax, 4
imul eax, eax, 0xf0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.00485539
xor ebx, ebx
add esp, 4
mov dword [0x4a9de0], eax
cmp eax, ebx
jne 0x415bb3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4a7918]
push 0x403870
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ab22c]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4a7918], eax
call edi
cmp dword [ebp], ebx
jne 0x415bf4
mov dword [esp + 0x14], 1
jmp 0x415c9e
mov edx, dword [0x4a7918]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xcc], bl
call esi
mov ecx, dword [0x4a7918]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
cmp byte [0x4ab384], bl
jne 0x415c42
mov eax, dword [0x4ab22c]
push 0x403770
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4ab384], cl
mov byte [ebp + 0x605], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4ab39c], esi
push ebx
push esi
mov dword [ebp + 0x61c], eax
mov dword [ebp + 0x618], eax
call fcn.004241f0
sub dword [0x4ab39c], esi
mov dword [esp + 0x14], eax
cmp byte [0x4ab384], bl
je 0x415c98
mov edx, dword [0x4ab22c]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x415c98
mov byte [0x4ab384], bl
mov byte [ebp + 0x605], bl
mov eax, dword [0x4a7918]
cmp dword [eax + 0xe0], ebx
lea ecx, [eax + 0xe0]
je 0x415cca
mov eax, dword [eax + 0xe4]
push eax
push ecx
call fcn.0042db10
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a7918]
add esp, 8
push 1
push ebx
mov byte [eax + 0xcc], 1
mov esi, eax
push 0xffffffffffffffff
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa8], ebx
mov byte [eax + 0xd8], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xc8], bl
mov dword [eax + 0x48], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xe0], ebx
mov byte [eax + 0xe8], bl
mov ecx, 0x3c
mov edi, 0x4a9ed8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4aba2c]
push 0x4998b4
push ecx
mov byte [eax + 0xcc], 1
mov dword [eax + 0xc0], ebx
mov word [eax + 0xcd], 1
mov dword [eax + 0x2c], CreateStatusWindowA
call fcn.00475240
mov edx, dword [0x4a8a2c]
cmp word [edx], bx
jne 0x415da9
cmp dword [0x4acb2c], ebx
jne 0x415da9
cmp dword [0x4ab35c], ebx
jne 0x415da9
cmp dword [0x4ab360], ebx
jne 0x415da9
cmp byte [0x4ab380], bl
jne 0x415da9
mov edx, dword [esp + 0x14]
neg edx
sbb edx, edx
push ebx
and edx, 7
add edx, 2
push 0x4ad290
xor eax, eax
call fcn.00415df0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x41be40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4a7367]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], al
mov dword [esp + 0xe], 0x3e3c0928
mov dword [esp + 0x12], 0x2d2b3d3a
mov dword [esp + 0x16], 0x7e212f2a
mov dword [esp + 0x1a], 0x5b5e7c26
mov dword [esp + 0x1e], 0x7b3f2e
mov edi, ebp
test ebp, ebp
je 0x41beaa
mov dl, byte [ebp]
test dl, dl
je 0x41beaa
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41befe
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41be96
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41be90
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41beb0
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41bed0
mov al, byte [edi]
cmp al, 0x20
je 0x41becb
cmp al, 9
jne 0x41bed0
dec edi
cmp edi, ebp
ja 0x41bec1
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41bf05
cmp byte [esp + 0x30], 0
je 0x41bef3
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042d940
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41bed0
dec edi
jmp 0x41bebd
push esi
push ebp
push ebx
call fcn.00488320
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42a810
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4ab39c]
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4a7890]
jl 0x42a839
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 8
mov esi, dword [0x4aba2c]
cmp byte [esi + 0x17], 0
jne 0x42a848
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42a855
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42a86e
test byte [esi + 0x15], 4
je 0x42a869
mov eax, esi
call fcn.0042dec0
mov eax, dword [esi + 8]
jmp 0x42a87e
cmp al, 2
jne 0x42a879
call fcn.00401000
jmp 0x42a87e
mov eax, 0x4acb37
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00488320
mov eax, dword [0x4a7918]
inc dword [0x4ab39c]
add eax, 0xf0
mov edi, eax
mov byte [esp + 0xbb], 0
mov ecx, 0x3c
mov esi, 0x4a9ed8
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x4a7918], eax
push edi
mov eax, 0x4ad290
mov dword [esi + 0x2c], edi
call fcn.00415a80
mov dword [0x4ad898], edi
mov dword [0x4ad89c], edi
cmp dword [0x4ab3c8], edi
je 0x42a8ea
push 0x4aba30
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xce], 0
jne 0x42a905
mov byte [esi + 0xce], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4ad8a4], edi
je 0x42a915
cmp dword [0x4ad8a0], edi
jne 0x42a91e
cmp byte [esi + 0xce], 0
je 0x42a956
cmp byte [esi + 0xce], 0
mov byte [esi + 0xcc], 0
jne 0x42a956
cmp dword [0x4ad8a4], edi
jge 0x42a93e
mov dword [esi + 0xc0], eax
jmp 0x42a956
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xbc], eax
mov edx, dword [0x4ad8a4]
mov dword [esi + 0xc0], edx
mov eax, dword [0x4ad818]
mov ecx, dword [0x4ad870]
mov edx, dword [0x4ad874]
mov ebp, dword [0x4ad81c]
mov esi, dword [esp + 0xbc]
mov edi, eax
mov ebx, ecx
mov dword [esp + 0x1c], edx
mov dword [0x4ad81c], eax
mov dword [0x4ad874], ecx
mov dword [0x4ad818], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ad8ac], eax
mov dword [0x4ad8a8], eax
mov dword [0x4ad870], eax
mov eax, dword [esp + 0xb8]
cmp byte [eax], 5
jne 0x42a9ba
mov esi, dword [eax + 0xc]
call fcn.0042a7a0
mov esi, eax
jmp 0x42a9f7
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
push edx
xor eax, eax
push str.call
push ecx
lea edx, [eax + 1]
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], esi
call fcn.0046ac50
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a9f7
mov esi, dword [esp + 0x14]
neg esi
sbb esi, esi
add esi, 4
mov eax, dword [0x4a7918]
mov ecx, dword [eax + 0xa4]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
mov dword [0x4ab3b0], ecx
mov dword [0x4ad818], edi
mov dword [0x4ad870], ebx
mov dword [0x4ad81c], ebp
mov dword [0x4ad874], edx
call fcn.00403620
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 8
Function at 0x42dd90
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2000
call fcn.00491b50
cmp dword [esp + 0x2008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2018]
mov ebx, ecx
je 0x42deaf
test ebx, ebx
jne 0x42ddc8
mov eax, dword [esp + 0x200c]
mov ebx, dword [eax + 0x370]
test ebx, ebx
je 0x42ddd2
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42dddf
mov ecx, dword [eax + 0x16c]
movzx eax, word [eax + 0x170]
mov edx, dword [esp + 0x2014]
mov ecx, dword [ecx*4 + 0x4aa174]
push esi
push edi
push edx
movzx eax, ax
push eax
push ecx
push str._s___d__:___Warning:__s_n
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.00472490
add esp, 0x10
cmp byte [ebp], 0
lea edi, [esp + eax + 0x10]
je 0x42de2c
push ebp
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.00472490
add esp, 8
mov esi, dword [esp + 0x2018]
cmp esi, 3
jne 0x42de5b
call fcn.00485a47
add eax, 0x20
push eax
lea edx, [esp + 0x14]
push edx
call fcn.004879ef
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, 2
jne 0x42dead
test ebx, ebx
jne 0x42de80
mov ecx, dword [esp + 0x2014]
mov ebx, dword [ecx + 0x370]
test ebx, ebx
je 0x42de9f
mov ecx, dword [esp + 0x201c]
push ebp
push 1
push ecx
mov ecx, ebx
call fcn.0042d690
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
mov edx, dword [esp + 0x201c]
push ebp
push edx
call fcn.0042d940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
Function at 0x42e2b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
cmp eax, ebx
je 0x42e2df
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42e2e6
mov byte [esp + 0xa0], bl
mov esi, dword [0x4ad854]
mov byte [esp + 0x20], bl
cmp esi, ebx
je 0x42e38b
cmp byte [esi + 0x11], bl
je 0x42e339
mov edx, dword [esi]
push edx
call fcn.0046db30
add esp, 4
sub eax, ebx
je 0x42e31d
dec eax
je 0x42e316
mov eax, str.Object
jmp 0x42e322
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x42e322
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
push eax
push 0x49dae4
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.004724d0
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x42e2f8
cmp byte [esp + 0x20], bl
je 0x42e38b
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42e350
sub eax, edx
cmp eax, 0x7b
jbe 0x42e37d
mov esi, 0x7f
sub esi, eax
push esi
lea ebp, [esp + eax + 0x24]
push 0x49bac0
push ebp
call fcn.00488320
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x42e38b
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x42e38b
mov byte [eax - 1], bl
mov edx, dword [0x4a9de0]
cmp byte [edx + 0xd8], bl
je 0x42e3a9
mov dword [esp + 0x14], 1
cmp byte [0x4ad895], bl
je 0x42e3ad
mov dword [esp + 0x14], ebx
mov eax, dword [0x4ab39c]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42e4bc
mov dword [esp + 0x10], 0x499869
mov dword [esp + 0x18], ebx
mov ebp, 0x49aa78
cmp dword [0x4ab360], ebx
je 0x42e3e1
mov ebp, 0x49aa74
mov esi, 0x49aa78
cmp dword [0x4ab35c], ebx
je 0x42e3f3
mov esi, 0x49aa74
push 1
call fcn.00411480
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00411840
mov ecx, dword [0x4ab39c]
mov edx, dword [0x4ab3a0]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4ab398]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4ad85c]
push ecx
mov ecx, dword [0x4ad860]
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push ebp
push esi
lea edx, [esp + 0xcc]
push edx
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
mov esi, 0xfffe
call fcn.00472490
mov esi, dword [esp + 0x50]
add edi, eax
mov eax, esi
sub eax, edi
add esp, 0x34
add eax, 0xfffe
push eax
push edi
call fcn.00409210
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42e480
sub eax, ecx
add edi, eax
cmp dword [0x4abb3c], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42e49e
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00472490
add esp, 4
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
dec eax
mov dword [esp + 0x18], eax
jmp 0x42e3cf
Function at 0x434400
Capabilities:
Log keystrokes

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
call fcn.00441520
mov edi, eax
test edi, edi
je 0x43442e
mov esi, dword [esp + 0x1c]
push edi
call fcn.00476c50
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x434479
mov ecx, dword [0x4a7918]
cmp byte [ecx + 0xe8], 0
jne 0x43445c
mov edx, dword [0x4aba2c]
push 1
push 0
push 0xffffffffffffffff
push 0x49afb8
push edx
call fcn.00475240
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x499869
push 0
push 0x49afb8
call fcn.0042d3d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x4344b1
cmp ebp, dword [0x4ad238]
je 0x4344b1
mov esi, edi
call fcn.00477110
test al, al
jne 0x4344b1
mov eax, dword [0x4ad238]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x4344ef
mov edx, dword [0x4aba2c]
push 1
push 0
push 0xffffffffffffffff
push 0x4998b4
push edx
call fcn.00475240
mov eax, dword [0x4a7918]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x4344ef
push 1
push eax
call fcn.00401350
add esp, 8
test bl, bl
je 0x434503
mov ecx, dword [0x4ad238]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10