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

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, bl
push esi
push eax
call ebp
and al, 1
movsx esi, al
neg esi
sbb esi, esi
add esi, 2
cmp edi, 1
je 0x4100c9
cmp edi, 2
jne 0x410195
cmp esi, edi
je 0x410195
cmp bl, 0x90
jne 0x4100f0
push 0xffc3d44d
push 0
push 0
push 0
push 0x90
push 1
call fcn.0040e2a0
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.0040e2a0
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4a2bbc]
sete al
mov byte [esp + 0xb], al
test al, al
je 0x410146
push 1
push 0xffffffffffffffff
mov dword [0x49d328], 0
call fcn.00401340
add esp, 8
mov dword [0x49d328], 1
cmp bl, 0x14
jne 0x410195
cmp edi, 2
jne 0x410195
push 0x14
call ebp
test al, 1
je 0x410195
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push edi
call fcn.0040e2a0
add esp, 0x18
cmp byte [esp + 0xb], 0
je 0x410195
push 1
push 0xffffffffffffffff
mov dword [0x49d328], 0
call fcn.00401340
add esp, 8
mov dword [0x49d328], 1
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x410850
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4a0b68], 0
je 0x410866
cmp byte [esp + 4], 0
jne 0x410866
mov al, byte [0x4a0a35]
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 0x410883
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x410897
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x4108ab
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x4108bf
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x4108d3
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x4108e7
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x4108f8
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x410909
or bl, 0x80
cmp dword [0x4a0b68], 0
je 0x410946
mov al, bl
not al
and al, byte [0x4a0a35]
je 0x410946
mov cl, byte [0x4a0a37]
not al
and byte [0x4a0a35], al
and byte [0x4a0a36], al
and cl, al
mov al, cl
mov byte [0x4a0a37], cl
mov ecx, 0x4a0a58
call fcn.00410950
pop esi
mov al, bl
pop ebx
ret

Function at 0x410d10
Capabilities:
Get keyboard layout

Disassembly:
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x410d25
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x410d27
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
xor eax, eax
call fcn.00410d50
xor ecx, ecx
add esp, 4
cmp eax, 3
sete al
ret
Function at 0x410ff0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp al, 0xa
jne 0x410ff7
mov al, 0xd
ret
push ecx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov edx, eax
shr edx, 8
cmp dl, 0xff
jne 0x411013
cmp al, 0xff
jne 0x411013
xor al, al
ret
test esi, esi
je 0x411059
mov cl, dl
and cl, 6
cmp cl, 6
jne 0x411026
or byte [esi], 8
jmp 0x411048
test dl, 2
je 0x411037
mov cl, byte [esi]
test cl, 3
jne 0x411037
or cl, 1
mov byte [esi], cl
test dl, 4
je 0x411048
mov cl, byte [esi]
test cl, 0xc
jne 0x411048
or cl, 4
mov byte [esi], cl
test dl, 1
je 0x411059
mov cl, byte [esi]
test cl, 0x30
jne 0x411059
or cl, 0x10
mov byte [esi], cl
ret

Function at 0x411260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, eax
mov byte [esi], 0
test bl, bl
jne 0x41128a
test di, di
je 0x411335
mov ecx, edi
call fcn.004115c0
mov byte [esp + 0x10], al
jmp 0x4112a1
test di, di
jne 0x4112aa
mov eax, dword [esp + 0x10]
push eax
xor bl, bl
call fcn.00411340
add esp, 4
movzx edi, ax
mov bl, byte [esp + 0x10]
test di, di
je 0x4112c7
cmp bl, 0x9c
jb 0x4112b4
cmp bl, 0x9f
jbe 0x4112c7
push ebp
movzx ecx, di
push esi
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jne 0x411335
xor eax, eax
lea esp, [esp]
cmp byte [eax*8 + 0x49e10c], bl
je 0x4112fb
inc eax
cmp eax, 0x6d
jl 0x4112d0
movzx eax, bl
push eax
call fcn.004786b1
add esp, 4
test eax, eax
je 0x41131f
pop edi
pop ebp
mov byte [esi], bl
mov byte [esi + 1], 0
mov eax, esi
pop ebx
ret
cmp eax, 0x6d
jge 0x4112df
mov edx, dword [eax*8 + 0x49e108]
lea edi, [ebp - 1]
push edi
push edx
push esi
call fcn.0047a8e0
add esp, 0xc
mov byte [edi + esi], 0
pop edi
pop ebp
mov eax, esi
pop ebx
ret
lea edi, [ebp - 1]
push edi
push str.not_found
push esi
call fcn.0047a8e0
mov byte [edi + esi], 0
add esp, 0xc
pop edi
pop ebp
mov eax, esi
pop ebx
ret

Function at 0x4115c0
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x411618
je 0x411615
sub eax, 0x1d
cmp eax, 0x36
ja case.0x411629.286
movzx eax, byte [eax + 0x411694]
jmp dword [eax*4 + 0x41164c]
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, 0xd
ret
sub eax, 0x11d
cmp eax, 0x28
ja case.0x411629.286
movzx edx, byte [eax + 0x4116e4]
jmp dword [edx*4 + 0x4116cc]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x90
ret
mov al, 0x6f
ret
movzx eax, cl
push 1
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
ret
Function at 0x411710
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49f988], eax
mov edx, 1
mov eax, 0x49f988
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, 0x4a0344
jl 0x411724
mov dword [0x49d318], 1
mov dword [0x4a2504], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4a2504], 0
push esi
mov esi, 0x49f988
jne 0x41177e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00411710
add esp, 4
mov dword [0x49d318], 0x270
mov dword [0x49f984], esi
mov ecx, 0xe3
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 0x411793
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 0x4117c8
mov ecx, dword [esi]
mov eax, dword [0x49f988]
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 0x411830
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49d318]
jne 0x41183d
call fcn.00411760
mov eax, dword [0x49f984]
mov ecx, dword [eax]
add eax, 4
mov dword [0x49f984], 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 0x411880
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49d318]
jne 0x41188d
call fcn.00411760
mov eax, dword [0x49f984]
mov ecx, dword [eax]
add eax, 4
mov dword [0x49f984], 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
shr eax, 1
ret

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

Disassembly:
push ecx
dec dword [0x49d318]
jne 0x4118de
call fcn.00411760
mov ecx, dword [0x49f984]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x49f984], 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 0x411925
fadd qword [0x497ba0]
fmul qword [0x497bf8]
pop ecx
ret
Function at 0x412180
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x412189
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x4121aa
cmp dword [0x4a2c08], 0
je 0x4121aa
mov dword [esp + 4], 1
mov ecx, 0x4a2bfc
jmp fcn.00403c50
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x4121be
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x414720
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x49d334]
add eax, 4
imul eax, eax, 0xd8
push ebx
push esi
push edi
push eax
call fcn.00476de3
xor ebx, ebx
add esp, 4
mov dword [0x49f628], eax
cmp eax, ebx
jne 0x414757
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x49d3c8]
push 0x403290
mov edi, eax
push 0x4ef6d80
mov ecx, 0x36
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a0a38]
push 0xe
push ecx
mov dword [0x49d3c8], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [ebp + 8]
cmp dword [esi], ebx
jne 0x414798
mov dword [esp + 0xc], 1
jmp 0x414845
mov edx, dword [0x49d3c8]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xc4], bl
call edi
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0xb8], 0x64
cmp byte [0x4a0b7b], bl
jne 0x4147ea
mov eax, dword [0x4a0a38]
push 0x403190
push 0x64
push 0xb
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne cl
mov byte [0x4a0b7b], cl
mov byte [esi + 0x4cd], 1
call edi
mov ecx, dword [esi]
push ebx
mov edi, 1
add dword [0x4a0b94], edi
push ebx
push edi
mov dword [esi + 0x4ec], eax
mov dword [esi + 0x4e8], eax
call fcn.004217a0
sub dword [0x4a0b94], edi
mov dword [esp + 0xc], eax
cmp byte [0x4a0b7b], bl
je 0x41483f
mov edx, dword [0x4a0a38]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41483f
mov byte [0x4a0b7b], bl
mov byte [esi + 0x4cd], bl
mov eax, dword [0x49d3c8]
push 1
push ebx
mov byte [eax + 0xc4], 1
mov esi, eax
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa0], ebx
mov dword [eax + 0xa4], ebx
mov byte [eax + 0xce], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x50], 0x63
mov byte [eax + 0xc0], bl
mov dword [eax + 0x4c], 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 ecx, 0x36
mov edi, 0x49f708
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a13a4]
push 0xffffffffffffffff
push 0x4900b0
mov byte [eax + 0xc4], 1
mov dword [eax + 0xb8], ebx
mov word [eax + 0xc5], 1
mov dword [eax + 0x2c], SysReAllocString
call fcn.004668b0
mov eax, dword [0x49e4e0]
cmp word [eax], bx
jne 0x41491f
cmp dword [0x4a24a8], ebx
jne 0x41491f
cmp dword [0x4a0b68], ebx
jne 0x41491f
cmp dword [0x4a0b6c], ebx
jne 0x41491f
cmp byte [0x4a0b5b], bl
jne 0x41491f
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
push ebx
and eax, 7
push ebx
add eax, 2
push eax
mov ecx, 0x4a2c18
call fcn.00414960
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414960
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48c
mov eax, dword [ebp + 8]
push ebx
mov dword [ecx + 0x488], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
cmp eax, ebx
je 0x41498e
mov byte [esp + 0x13], 1
cmp byte [eax], bl
je 0x414992
mov byte [esp + 0x13], bl
cmp eax, ebx
je 0x4149fb
cmp byte [eax], bl
je 0x4149fb
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
mov esi, 0x400
lea edi, [esp + 0xa0]
call fcn.00463ff0
mov ecx, dword [0x4a30cc]
mov eax, dword [0x4a0a38]
add esp, 8
push 0x10000
push ecx
mov edx, edi
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x4a0a38]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4149f4
mov edx, dword [0x4a0a38]
push edx
mov byte [0x4a0a34], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call fcn.00409470
cmp dword [ecx + 0x484], ebx
je 0x414b41
cmp byte [0x4a332a], bl
jne 0x414b41
mov esi, dword [0x4a13a4]
cmp byte [esi + 0x17], bl
jne 0x414a21
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x414a2e
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x414a3a
mov eax, dword [esi + 8]
jmp 0x414a4a
cmp al, 2
jne 0x414a45
call fcn.00401000
jmp 0x414a4a
mov eax, 0x4a2ba4
push 0x7f
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0047a8e0
mov eax, dword [0x49d3c8]
inc dword [0x4a0b94]
add eax, 0xd8
mov edi, eax
mov byte [esp + 0xa3], bl
mov ecx, 0x36
mov esi, 0x49f708
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x49d3c8], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4a2c18
call fcn.00414620
mov dword [0x4a30f0], ebx
mov dword [0x4a30f4], ebx
cmp dword [0x4a0bbc], ebx
je 0x414ab1
push 0x4a13a8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x484]
mov ecx, dword [0x49d3c8]
mov esi, dword [ecx + 0x9c]
mov edi, dword [0x49d328]
push ebx
push ebx
mov dword [ecx + 0x9c], eax
mov ecx, dword [eax + 4]
push 1
mov dword [0x49d328], ebx
mov byte [0x4a332a], 1
call fcn.004217a0
mov edx, dword [0x49d3c8]
mov dword [edx + 0x9c], esi
cmp eax, ebx
jne 0x414b0a
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00414b60
mov byte [0x4a332a], bl
cmp byte [esp + 0x13], bl
je 0x414b24
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00414b60
lea eax, [esp + 0x18]
call fcn.004030b0
mov dword [0x49d328], edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov edx, dword [0x49d3c8]
push eax
push ecx
mov dword [0x49d328], ebx
mov byte [edx + 0xce], bl
call fcn.00414b60
int3
Function at 0x41a640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x49d350]
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 word [esp + 0x1e], 0x3f2e
mov byte [esp + 0x20], 0
mov edi, ebp
test ebp, ebp
je 0x41a6ab
mov dl, byte [ebp]
test dl, dl
je 0x41a6ab
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41a6fe
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41a697
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41a691
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a6b0
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41a6d0
mov al, byte [edi]
cmp al, 0x20
je 0x41a6cb
cmp al, 9
jne 0x41a6d0
dec edi
cmp edi, ebp
ja 0x41a6c1
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41a705
cmp byte [esp + 0x30], 0
je 0x41a6f3
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.00429900
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41a6d0
dec edi
jmp 0x41a6bd
push esi
push ebp
push ebx
call fcn.0047a8e0
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x427020
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4a0b94]
sub esp, 0x84
push ebx
push esi
push edi
cmp eax, dword [0x49d334]
jl 0x42704a
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [0x4a13a4]
cmp byte [esi + 0x17], 0
jne 0x427059
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x427066
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x427072
mov eax, dword [esi + 8]
jmp 0x427082
cmp al, 2
jne 0x42707d
call fcn.00401000
jmp 0x427082
mov eax, 0x4a2ba4
push 0x7f
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0047a8e0
mov eax, dword [0x49d3c8]
inc dword [0x4a0b94]
add eax, 0xd8
mov edi, eax
mov byte [esp + 0x9b], 0
mov ecx, 0x36
mov esi, 0x49f708
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x49d3c8], eax
push edi
mov eax, 0x4a2c18
mov dword [esi + 0x2c], edi
call fcn.00414620
mov dword [0x4a30f0], edi
mov dword [0x4a30f4], edi
cmp dword [0x4a0bbc], edi
je 0x4270ee
push 0x4a13a8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xc6], 0
jne 0x427109
mov byte [esi + 0xc6], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4a30fc], edi
je 0x427119
cmp dword [0x4a30f8], edi
jne 0x427122
cmp byte [esi + 0xc6], 0
je 0x42715a
cmp byte [esi + 0xc6], 0
mov byte [esi + 0xc4], 0
jne 0x42715a
cmp dword [0x4a30fc], edi
jge 0x427142
mov dword [esi + 0xb8], eax
jmp 0x42715a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb4], eax
mov edx, dword [0x4a30fc]
mov dword [esi + 0xb8], edx
mov eax, dword [ebp + 0xc]
mov edi, dword [0x4a3088]
mov ebx, dword [0x4a30c0]
mov dword [0x4a3088], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
push 0
push 0xffffffffffffffff
push 0
push ecx
mov dword [0x4a3104], eax
mov dword [0x4a3100], eax
mov dword [0x4a30c0], eax
call fcn.0044f1f0
mov esi, eax
cmp esi, 1
jne 0x4271a4
mov edx, dword [ebp + 8]
push edx
call fcn.00425cf0
mov esi, eax
mov ecx, dword [0x4a13a4]
dec dword [0x4a0b94]
sub dword [0x49d3c8], 0xd8
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
mov dword [0x4a3088], edi
mov dword [0x4a30c0], ebx
call fcn.004668b0
push 0
mov eax, 0x4a2c18
call fcn.00414620
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x429bb0
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 ebp, ebp
cmp eax, ebp
je 0x429bdf
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x429be7
mov byte [esp + 0xa0], 0
push 0x7f
lea edx, [esp + 0x25]
push ebp
push edx
mov byte [esp + 0x2c], 0
call fcn.004812e0
mov esi, dword [0x4a30a4]
add esp, 0xc
cmp esi, ebp
je 0x429c2e
cmp byte [esi + 0x11], 0
je 0x429c27
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
push 0x493d04
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00464030
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebp
jne 0x429c06
cmp byte [esp + 0x20], 0
je 0x429c7d
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429c40
sub eax, edx
cmp eax, 0x7b
jbe 0x429c6e
mov esi, 0x7f
sub esi, eax
push esi
lea ebx, [esp + eax + 0x24]
push 0x491b90
push ebx
call fcn.0047a8e0
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x429c7d
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x429c7d
mov byte [eax - 1], 0
mov edx, dword [0x49f628]
cmp byte [edx + 0xce], 0
je 0x429c9d
cmp byte [0x4a30e5], 0
mov dword [esp + 0x14], 1
je 0x429ca1
mov dword [esp + 0x14], ebp
mov eax, dword [0x4a0b94]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x429dac
mov dword [esp + 0x10], 0x49588a
mov dword [esp + 0x18], ebp
cmp dword [0x4a0b6c], ebp
mov ebp, 0x491228
je 0x429cd5
mov ebp, 0x491224
cmp dword [0x4a0b68], 0
mov esi, 0x491228
je 0x429ce8
mov esi, 0x491224
push 1
call fcn.00410850
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00410be0
mov ecx, dword [0x4a0b94]
mov edx, dword [0x4a0b98]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4a0b90]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4a30ac]
push ecx
mov ecx, dword [0x4a30b0]
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.00463ff0
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.00408980
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x429d70
sub eax, ecx
add edi, eax
cmp dword [0x4a14b4], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x429d8e
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00463ff0
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 0x429cc3
Function at 0x42f4e0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov ecx, dword [0x4a13a4]
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
mov ecx, dword [0x4a09d8]
push 1
push 0
push 0xffffffffffffffff
push 0
mov dword [esp + 0x2c], ecx
call fcn.004668b0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0043b7d0
mov esi, eax
test esi, esi
jne 0x42f542
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push esi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
test edi, edi
je 0x42f579
cmp edi, dword [0x4a2bbc]
je 0x42f579
call fcn.00468640
test al, al
jne 0x42f579
mov ecx, dword [0x4a2bbc]
push 1
push edi
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x18], eax
test bl, bl
je 0x42f59b
mov edx, dword [0x4a2bbc]
push 0
push edi
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42f534
lea ecx, [esp + 0x20]
push 0xfc
mov edx, ecx
push edx
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x42f534
lea eax, [esp + 0xc]
push eax
push 0x42f640
push esi
mov dword [esp + 0x20], 0
mov byte [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [esp + 0x10], 0
je 0x42f534
mov ecx, dword [esp + 0x14]
push ecx
push 0x490080
mov eax, 0x101
lea ecx, [esp + 0x28]
call fcn.00464030
mov ecx, dword [0x4a13a4]
add esp, 8
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
mov ecx, dword [esp + 0x1c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10