joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4122c0
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x412318
je 0x412315
sub eax, 0x1d
cmp eax, 0x36
ja case.0x412329.286
movzx eax, byte [eax + 0x412394]
jmp dword [eax*4 + 0x41234c]
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.0x412329.286
movzx edx, byte [eax + 0x4123e4]
jmp dword [edx*4 + 0x4123cc]
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_MapVirtualKeyW]
ret

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

Disassembly:
mov dword [0x4c2e38], eax
mov edx, 1
mov eax, 0x4c2e38
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, 0x4c37f4
jl 0x412420
mov dword [0x4c03c4], 1
mov dword [0x4c5954], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4c5954], 0
push esi
mov esi, 0x4c2e38
jne 0x41247a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00412410
mov dword [0x4c03c4], 0x270
mov dword [0x4c2e34], 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 0x412490
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 0x4124c5
mov ecx, dword [esi]
mov eax, dword [0x4c2e38]
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 0x412530
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4c03c4]
jne 0x41253d
call fcn.00412460
mov eax, dword [0x4c2e34]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c2e34], 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 0x412580
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4c03c4]
jne 0x41258e
call fcn.00412460
mov ecx, dword [0x4c2e34]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4c2e34], 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 0x4125d5
fadd qword [0x4bae40]
fmul qword [0x4bae88]
pop ecx
ret
Function at 0x415530
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4c03e0]
add eax, 4
imul eax, eax, 0x108
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.0048a814
xor ebx, ebx
add esp, 4
mov dword [0x4c2a20], eax
cmp eax, ebx
jne 0x415563
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4c040c]
push 0x4033c0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c3ee8]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4c040c], eax
call edi
cmp dword [ebp], ebx
jne 0x4155a4
mov dword [esp + 0x14], 1
jmp 0x41564e
mov edx, dword [0x4c040c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xe8], bl
call esi
mov ecx, dword [0x4c040c]
mov dword [ecx + 0xd8], eax
mov dword [ecx + 0xdc], 0x64
cmp byte [0x4c403b], bl
jne 0x4155f2
mov eax, dword [0x4c3ee8]
push 0x4032c0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4c403b], cl
mov byte [ebp + 0xaa1], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4c4054], esi
push ebx
push esi
mov dword [ebp + 0xabc], eax
mov dword [ebp + 0xab8], eax
call fcn.00425e70
sub dword [0x4c4054], esi
mov dword [esp + 0x14], eax
cmp byte [0x4c403b], bl
je 0x415648
mov edx, dword [0x4c3ee8]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x415648
mov byte [0x4c403b], bl
mov byte [ebp + 0xaa1], bl
mov eax, dword [0x4c040c]
cmp dword [eax + 0xfc], ebx
lea ecx, [eax + 0xfc]
je 0x41567a
mov eax, dword [eax + 0x100]
push eax
push ecx
call fcn.0042f3e0
mov dword [esp + 0x1c], eax
mov eax, dword [0x4c040c]
add esp, 8
push 1
push ebx
mov byte [eax + 0xe8], 1
mov esi, eax
push 0xffffffffffffffff
mov dword [eax + 0xb4], ebx
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xc0], ebx
mov dword [eax + 0xc4], ebx
mov byte [eax + 0xf4], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xe4], 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 + 0xfc], ebx
mov byte [eax + 0x104], bl
mov ecx, 0x42
mov edi, 0x4c2b30
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c46ec]
push 0x49e8dc
push ecx
mov byte [eax + 0xe8], 1
mov dword [eax + 0xdc], ebx
mov word [eax + 0xe9], 1
mov dword [eax + 0x2c], SysStringLen
call fcn.004742b0
mov edx, dword [0x4c15c4]
cmp word [edx], bx
jne 0x415759
cmp dword [0x4c58f0], ebx
jne 0x415759
cmp dword [0x4c4018], ebx
jne 0x415759
cmp dword [0x4c401c], ebx
jne 0x415759
cmp byte [0x4c400b], bl
jne 0x415759
mov ecx, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
push ebx
and ecx, 7
add ecx, 2
push 0x4c6048
xor eax, eax
call fcn.004157a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x4157a0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x90c
push ebx
push ebp
mov ebp, dword [esp + 0x918]
xor ebx, ebx
push esi
push edi
mov dword [ebp + 0xa5c], ecx
cmp eax, ebx
je 0x4157c7
mov byte [esp + 0x17], 1
cmp word [eax], bx
je 0x4157cb
mov byte [esp + 0x17], bl
cmp eax, ebx
je 0x415835
cmp word [eax], bx
je 0x415835
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
mov esi, 0x400
lea edi, [esp + 0x120]
call fcn.004717a0
mov edx, dword [0x4c6ad0]
mov ecx, dword [0x4c3ee8]
add esp, 8
push 0x10000
push edx
mov eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [0x4c3ee8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41582e
mov eax, dword [0x4c3ee8]
push eax
mov byte [0x4c3ee4], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call fcn.00409aa0
cmp dword [ebp + 0xa58], ebx
je 0x41596a
cmp byte [0x4c6ed2], bl
jne 0x41596a
mov esi, dword [0x4c46ec]
cmp byte [esi + 0x17], bl
jne 0x41585b
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x415868
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x415881
test byte [esi + 0x15], 4
je 0x41587c
mov eax, esi
call fcn.0042f790
mov eax, dword [esi + 8]
jmp 0x415891
cmp al, 2
jne 0x41588c
call fcn.00401000
jmp 0x415891
mov eax, 0x4c5ff0
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0048d334
mov eax, dword [0x4c040c]
inc dword [0x4c4054]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x122], dx
mov ecx, 0x42
mov esi, 0x4c2b30
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4c040c], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4c6048
call fcn.00415430
mov dword [0x4c6af0], ebx
mov dword [0x4c6af4], ebx
cmp dword [0x4c4080], ebx
je 0x4158fb
push 0x4c46f0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [0x4c03d4]
mov ecx, dword [ebp + 0xa58]
mov dword [0x4c03d4], ebx
mov byte [0x4c6ed2], 1
call fcn.00401220
test eax, eax
jne 0x41592b
mov eax, dword [esp + 0x924]
push eax
push ebp
call fcn.00415990
mov byte [0x4c6ed2], bl
cmp byte [esp + 0x17], bl
je 0x415945
mov ecx, dword [esp + 0x924]
push ecx
push ebp
call fcn.00415990
lea edx, [esp + 0x18]
push edx
call fcn.00403180
add esp, 4
pop edi
mov dword [0x4c03d4], esi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x90c
ret 8
mov ecx, dword [esp + 0x924]
mov eax, dword [0x4c040c]
push ecx
push ebp
mov dword [0x4c03d4], ebx
mov byte [eax + 0xf4], bl
call fcn.00415990
int3
Function at 0x41bc80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4c03fc]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
push esi
mov word [esp + 0xc], ax
xor edx, edx
push edi
lea ebx, [esp + 0x10]
mov eax, ebp
mov word [esp + 0x12], cx
mov dword [esp + 0x14], 0x90028
mov dword [esp + 0x18], 0x3e003c
mov dword [esp + 0x1c], 0x3d003a
mov dword [esp + 0x20], 0x2d002b
mov dword [esp + 0x24], 0x2f002a
mov dword [esp + 0x28], 0x7e0021
mov dword [esp + 0x2c], 0x7c0026
mov dword [esp + 0x30], 0x5b005e
mov dword [esp + 0x34], 0x3f002e
mov word [esp + 0x38], dx
call fcn.00409160
test eax, eax
je 0x41bd08
cmp eax, ebp
jbe 0x41bd23
sub eax, 2
jmp 0x41bd23
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41bd10
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 2]
mov edi, eax
cmp eax, ebp
jbe 0x41bd44
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x41bd3d
cmp eax, 9
jne 0x41bd44
sub edi, 2
cmp edi, ebp
ja 0x41bd30
mov esi, edi
sub esi, ebp
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x41bd75
cmp byte [esp + 0x4c], 0
je 0x41bd69
mov ecx, dword [esp + 0x40]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042f1f0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov ebx, dword [esp + 0x44]
push esi
push ebp
push ebx
call fcn.0048d334
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2], ax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x42c1e0
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4c4054]
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4c03e0]
jl 0x42c209
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov esi, dword [0x4c46ec]
cmp byte [esi + 0x17], 0
jne 0x42c218
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42c225
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42c23e
test byte [esi + 0x15], 4
je 0x42c239
mov eax, esi
call fcn.0042f790
mov eax, dword [esi + 8]
jmp 0x42c24e
cmp al, 2
jne 0x42c249
call fcn.00401000
jmp 0x42c24e
mov eax, 0x4c5ff0
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0048d334
mov eax, dword [0x4c040c]
inc dword [0x4c4054]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x122], dx
mov ecx, 0x42
mov esi, 0x4c2b30
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x4c040c], eax
push edi
mov eax, 0x4c6048
mov dword [esi + 0x2c], edi
call fcn.00415430
mov dword [0x4c6af0], edi
mov dword [0x4c6af4], edi
cmp dword [0x4c4080], edi
je 0x42c2bc
push 0x4c46f0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or eax, 0xffffffff
cmp byte [esi + 0xea], 0
jne 0x42c2d7
mov byte [esi + 0xea], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4c6afc], edi
je 0x42c2e7
cmp dword [0x4c6af8], edi
jne 0x42c2f0
cmp byte [esi + 0xea], 0
je 0x42c31f
cmp byte [esi + 0xea], 0
mov byte [esi + 0xe8], 0
jne 0x42c31f
cmp dword [0x4c6afc], edi
jl 0x42c319
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xd8], eax
mov eax, dword [0x4c6afc]
mov dword [esi + 0xdc], eax
mov eax, dword [0x4c6a8c]
mov ebp, dword [0x4c6a90]
mov ecx, dword [0x4c6ac4]
mov edx, dword [0x4c6ac8]
mov edi, eax
mov dword [0x4c6a90], eax
mov eax, dword [esp + 0x124]
mov ebx, ecx
mov dword [esp + 0x14], edx
mov dword [0x4c6ac8], ecx
mov dword [0x4c6a8c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x120]
push 0
push 0xffffffffffffffff
push 0
push ecx
mov dword [0x4c6b04], eax
mov dword [0x4c6b00], eax
mov dword [0x4c6ac4], eax
call fcn.00459680
mov esi, eax
cmp esi, 1
jne 0x42c393
mov edx, dword [esp + 0x120]
push edx
call fcn.0042a830
mov esi, eax
mov eax, dword [0x4c040c]
mov ecx, dword [eax + 0xc0]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov dword [0x4c4070], ecx
mov dword [0x4c6a8c], edi
mov dword [0x4c6ac4], ebx
mov dword [0x4c6a90], ebp
mov dword [0x4c6ac8], edx
call fcn.00403180
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
Function at 0x42f660
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4000
call fcn.00495db0
cmp dword [esp + 0x4008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x4018]
mov ebx, ecx
je 0x42f783
test ebx, ebx
jne 0x42f698
mov eax, dword [esp + 0x400c]
mov ebx, dword [eax + 0x628]
test ebx, ebx
je 0x42f6a2
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42f6af
mov ecx, dword [eax + 0x264]
movzx eax, word [eax + 0x268]
mov edx, dword [esp + 0x4014]
mov ecx, dword [ecx*4 + 0x4c3ed8]
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.004717a0
add esp, 0x10
cmp word [ebp], 0
lea edi, [esp + eax*2 + 0x10]
je 0x42f700
lea eax, [esp + 0x10]
mov edx, edi
sub edx, eax
sar edx, 1
push ebp
push str._____Specifically:__s_n
sub esi, edx
call fcn.004717a0
add esp, 8
mov esi, dword [esp + 0x4018]
cmp esi, 3
jne 0x42f72f
call fcn.0048ad28
add eax, 0x20
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0048c617
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x42f781
test ebx, ebx
jne 0x42f754
mov ecx, dword [esp + 0x4014]
mov ebx, dword [ecx + 0x628]
test ebx, ebx
je 0x42f773
mov eax, dword [esp + 0x401c]
push ebp
push 1
push eax
mov ecx, ebx
call fcn.0042ef30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
mov edx, dword [esp + 0x401c]
push ebp
push edx
call fcn.0042f1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
Function at 0x42faa0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3d8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x42fac7
push 0x64
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42fad1
xor edx, edx
mov word [esp + 0x120], dx
xor eax, eax
push 0xfe
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.00493490
mov esi, dword [0x4c6aa8]
add esp, 0xc
test esi, esi
je 0x42fb1d
cmp byte [esi + 0x11], 0
je 0x42fb16
mov edx, dword [esi]
mov eax, dword [edx]
push eax
push 0x4a5eb0
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.004717e0
add esp, 8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x42faf5
cmp word [esp + 0x20], 0
je 0x42fb78
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42fb30
sub eax, edx
sar eax, 1
cmp eax, 0x7b
jbe 0x42fb66
mov esi, 0x7f
sub esi, eax
push esi
lea edi, [esp + eax*2 + 0x24]
push 0x4a1984
push edi
call fcn.0048d334
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
jmp 0x42fb78
cmp word [esp + eax*2 + 0x1e], 0x20
lea eax, [esp + eax*2 + 0x20]
jne 0x42fb78
xor edx, edx
mov word [eax - 2], dx
mov eax, dword [0x4c2a20]
cmp byte [eax + 0xf4], 0
je 0x42fb97
cmp byte [0x4c6ae9], 0
mov dword [esp + 0x14], 1
je 0x42fb9f
mov dword [esp + 0x14], 0
mov eax, dword [0x4c4054]
mov dword [esp + 0x18], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42fcbd
mov dword [esp + 0x18], 0x49e828
xor ebp, ebp
cmp dword [0x4c401c], 0
mov edi, 0x4a0948
je 0x42fbd2
mov edi, 0x4a0940
cmp dword [0x4c4018], 0
mov esi, 0x4a0948
je 0x42fbe5
mov esi, 0x4a0940
push 1
call fcn.004113c0
mov bl, al
add esp, 4
lea eax, [esp + 0x1e8]
call fcn.00411750
mov ecx, dword [0x4c4050]
mov edx, dword [0x4c4054]
push eax
mov eax, dword [0x4c4058]
sub eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [0x4c6ab0]
push ecx
mov ecx, dword [0x4c6ab4]
push ebp
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push edi
mov edi, dword [esp + 0x414]
push esi
lea edx, [esp + 0x14c]
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.004717a0
lea esi, [edi + eax*2]
mov eax, esi
mov ebx, edi
sub eax, ebx
sar eax, 1
mov ecx, 0xfffe
add esp, 0x34
sub ecx, eax
push ecx
push esi
call fcn.00408eb0
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42fc72
sub eax, edx
sar eax, 1
cmp dword [0x4c4900], 0
lea edi, [esi + eax*2]
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42fc97
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
mov edx, edi
sub edx, ebx
sar edx, 1
mov esi, 0xfffe
push eax
sub esi, edx
call fcn.004717a0
add esp, 4
lea eax, [edi + eax*2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3d8
ret 4
lea ebp, [eax - 1]
jmp 0x42fbbf
Function at 0x435b90
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x218
push ebx
push ebp
mov ebp, dword [0x4c3e88]
push esi
push edi
mov ecx, ebp
call fcn.00412a60
mov eax, dword [esp + 0x234]
mov ecx, dword [esp + 0x23c]
mov edx, dword [esp + 0x230]
push eax
mov eax, dword [esp + 0x23c]
call fcn.00443b70
mov esi, eax
test esi, esi
je 0x435c70
push 0
push esi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
test edi, edi
je 0x435c0a
cmp edi, dword [0x4c6004]
je 0x435c0a
call fcn.00476120
test al, al
jne 0x435c0a
mov ecx, dword [0x4c6004]
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 + 0x1c], eax
test bl, bl
je 0x435c2c
mov edx, dword [0x4c6004]
push 0
push edi
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x435c70
lea ecx, [esp + 0x20]
push 0xfc
mov edx, ecx
push edx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x435c70
lea eax, [esp + 0x10]
push eax
push 0x435d20
push esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x20], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [esp + 0x14], 0
jne 0x435cc8
mov ecx, dword [0x4c040c]
cmp byte [ecx + 0x104], 0
jne 0x435ca3
mov edx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12cc
push edx
call fcn.004742b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x14
mov ecx, dword [esp + 0x22c]
push 0x49e828
push 0
push 0x4a12cc
call fcn.0042ec70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x14
mov eax, dword [esp + 0x18]
push eax
push 0x49e884
mov eax, 0x101
lea ecx, [esp + 0x28]
call fcn.004717e0
mov ecx, dword [0x4c46ec]
add esp, 8
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push ecx
call fcn.004742b0
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
push ebp
call fcn.004742b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x14
Function at 0x435db0
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.00443b70
mov edi, eax
test edi, edi
je 0x435dde
mov esi, dword [esp + 0x1c]
push edi
call fcn.00475be0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x435e29
mov ecx, dword [0x4c040c]
cmp byte [ecx + 0x104], 0
jne 0x435e0c
mov edx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12cc
push edx
call fcn.004742b0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x49e828
push 0
push 0x4a12cc
call fcn.0042ec70
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 0x435e61
cmp ebp, dword [0x4c6004]
je 0x435e61
mov esi, edi
call fcn.00476120
test al, al
jne 0x435e61
mov eax, dword [0x4c6004]
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 0x435e9f
mov edx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push edx
call fcn.004742b0
mov eax, dword [0x4c040c]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x435e9f
push 1
push eax
call fcn.00401290
add esp, 8
test bl, bl
je 0x435eb3
mov ecx, dword [0x4c6004]
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
Function at 0x436d10
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00431040
mov ebx, eax
test ebx, ebx
jne 0x436d43
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042ef30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x436d4f
jmp dword [eax*4 + 0x436f48]
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x436d6a
push eax
call fcn.00453f80
add esp, 4
jmp 0x436d70
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4c46ec]
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00453f80
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436de8
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436de8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, ebx
mov eax, dword [0x4c46ec]
push 0x18
push 0
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push ecx
call fcn.004742b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx edx, word [edi]
push edx
call fcn.0048c78b
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x436e26.67
movzx eax, byte [eax + 0x436f78]
jmp dword [eax*4 + 0x436f5c]
mov esi, 0x40
jmp 0x436e55
mov esi, 0x4000
jmp 0x436e55
mov esi, 0x20
jmp 0x436e55
mov esi, 0x8000
jmp 0x436e55
mov esi, 0x80
jmp 0x436e55
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x436e69
push eax
call fcn.00453f80
add esp, 4
jmp 0x436e6f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x436de8
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436de8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x436dbc
mov edx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push edx
call fcn.004742b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [edi], 0
je 0x436ee9
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00412a20
fmul qword [0x4bae68]
call fcn.00498ee0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x436ef0
mov byte [esp + 0x13], 1
xor edi, edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.00453f80
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x436f0d
test esi, esi
jne 0x436dcb
jmp 0x436f11
test esi, esi
je case.0x436e26.67
cmp byte [esp + 0x13], 0
jne 0x436f2f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x436dcb
push 1
push 0x64
call fcn.00401290
add esp, 8
jmp 0x436ef0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8