joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000edea
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov byte [ecx], al
ret

Function at 0x100125da
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
push 0x2b
mov dword [ebp - 8], esi
mov dword [esi], 0xb7e15163
lea eax, [esi + 4]
pop ecx
mov edx, dword [eax - 4]
sub edx, 0x61c88647
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x100125f4
xor edi, edi
xor ecx, ecx
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
mov dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 8
jb 0x1001260c
mov dword [ebp + 8], edi
xor ecx, ecx
jmp 0x10012628
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
push 0x2c
xor edx, edx
pop ebx
div ebx
mov eax, dword [ebp + 8]
push 0x20
and eax, 7
lea edx, [esi + edx*4]
mov esi, dword [edx]
add esi, ecx
add edi, esi
mov esi, edi
shr esi, 0x1d
shl edi, 3
or edi, esi
lea esi, [ebp + eax*4 - 0x28]
add ecx, edi
mov dword [edx], edi
mov eax, dword [esi]
mov dword [ebp - 4], ecx
and dword [ebp - 4], 0x1f
add eax, ecx
pop ecx
mov ebx, eax
sub ecx, dword [ebp - 4]
shr ebx, cl
mov ecx, dword [ebp - 4]
shl eax, cl
or ebx, eax
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x84
mov ecx, ebx
mov dword [esi], ecx
jb 0x10012625
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c6a0
Capabilities:
Query environment variable

Disassembly:
push esi
push edi
push 0
push 0
push dword [esp + 0x14]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
jne 0x40c6f8
mov edi, dword [esi + 4]
test edi, edi
je 0x40c720
mov eax, dword [edi + 0x10]
add eax, 0xffffffff
mov dword [edi + 0x10], eax
jne 0x40c6e6
mov eax, dword [edi + 4]
test eax, eax
je 0x40c6db
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0x14
push edi
call fcn.004b7428
add esp, 8
pop edi
mov dword [esi + 4], 0
mov eax, esi
mov byte [esi + 8], 0
pop esi
ret 4
push 0
mov ecx, esi
call fcn.0040cc00
mov ecx, dword [esi + 4]
push edi
call fcn.0040ca60
mov eax, dword [esi + 4]
push edi
push dword [eax]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [esi + 4]
mov dword [ecx + 8], eax
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x40d2c0
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp byte [0x4e9670], 0
push esi
je 0x40d353
mov esi, dword fs:[0x24]
cmp dword [0x4e82ec], esi
je 0x40d2e9
push dword [0x4e8b60]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esp + 8]
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d2f3
sub ecx, edi
sar ecx, 1
push 3
push ecx
push edx
mov ecx, 0x4e8b78
call fcn.0043b890
pop edi
test eax, eax
jne 0x40d32e
cmp dword [0x4e82ec], esi
je 0x40d329
push dword [0x4e8b60]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
or eax, 0xffffffff
pop esi
ret
push 1
push 0
push 0xffffffffffffffff
push dword [esp + 0x18]
mov ecx, eax
call fcn.004a1950
cmp dword [0x4e82ec], esi
je 0x40d353
push dword [0x4e8b60]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
ret
Function at 0x412a30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push ebx
mov al, dl
mov byte [esp + 0xa], cl
xor dl, dl
mov byte [esp + 9], al
cmp dword [0x4e6a08], 0
movzx ebx, dl
mov edx, 1
push ebp
push esi
cmovne ebx, edx
cmp dword [0x4e6a04], 0
push edi
je 0x412a67
or bl, 2
cmp cl, bl
je 0x412c71
test bl, bl
jne 0x412ab0
test al, al
jne 0x412ab0
push 0x4e74fc
push 0
push 0
push 0x412ce0
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4e9894], eax
test eax, eax
je 0x412b49
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov al, byte [esp + 0x15]
mov cl, byte [esp + 0x16]
movzx edi, al
xor esi, esi
xor edi, 1
movzx ebp, cl
nop dword [eax + eax]
push edi
push ebp
push 0x417
push dword [0x4e74fc]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x412ae5
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x412ac0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor al, al
mov byte [esp + 0x17], al
call esi
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, eax
mov cl, byte [esp + 0x16]
mov al, byte [esp + 0x15]
test cl, cl
je 0x412b56
push 1
push 0x417
push 0x417
push 0
lea eax, [esp + 0x2c]
push eax
call ebp
test eax, eax
je 0x412b8b
cmp dword [esp + 0x24], 0
je 0x412b63
mov byte [esp + 0x17], 1
call fcn.00413040
test al, al
jne 0x412b63
mov al, byte [esp + 0x15]
test al, al
jne 0x412c44
xor cl, cl
mov byte [esp + 0x16], cl
jmp 0x412b03
call fcn.00413060
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
je 0x412b70
call fcn.00413040
test al, al
jne 0x412b8b
cmp byte [esp + 0x15], 0
jne 0x412c3d
jmp 0x412bbe
lea eax, [esp + 0x18]
push eax
push dword [0x4e9894]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x18], 0x103
jne 0x412ba3
call esi
sub eax, edi
cmp eax, 0x1f4
ja 0x412b63
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x412afb
push dword [0x4e9894]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4e9894], 0
call fcn.00413060
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov al, bl
and al, 1
cmp dword [0x4e6a08], 0
je 0x412be7
test al, al
jne 0x412c01
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4e988c], eax
jmp 0x412c01
test al, al
je 0x412c01
push dword [0x4e988c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4e988c], 0
and bl, 2
cmp dword [0x4e6a04], 0
je 0x412c23
test bl, bl
jne 0x412c3d
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4e9890], eax
jmp 0x412c3d
test bl, bl
je 0x412c3d
push dword [0x4e9890]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4e9890], 0
cmp byte [esp + 0x17], 0
je 0x412c71
push 0
push 0
xorps xmm3, xmm3
mov dword [0x4e40ec], 0
mov edx, 0x10000
mov ecx, str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
call fcn.004a3500
add esp, 8
mov dword [0x4e40ec], 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bb60
Capabilities:
Get graphical window text

Disassembly:
push edi
mov edi, dword [0x4e6a00]
test edi, edi
je 0x41bc72
mov ax, word [esp + 8]
push esi
imul esi, dword [0x4e6a78], 0xd4
mov byte [esi + edi + 6], cl
mov byte [esi + edi], dl
mov word [esi + edi + 2], ax
mov eax, 0x69
mov word [esi + edi + 4], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [0x4e6a00]
mov ecx, edx
mov dword [0x4e6a74], edx
sub ecx, dword [0x4e96f4]
mov dword [0x4e96f4], edx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4de180]
imul ecx, dword [0x4e6a78], 0xd4
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4de0b4]
movss dword [ecx + eax + 8], xmm0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x41bc35
mov eax, dword [0x4e6a00]
cmp edi, dword [0x4e6a70]
je 0x41bc20
imul edx, dword [0x4e6a78], 0xd4
push 0x64
add edx, 0xc
add eax, edx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [0x4e6a78]
jmp 0x41bc59
mov esi, dword [0x4e6a78]
imul ecx, esi, 0xd4
xor edx, edx
mov word [ecx + eax + 0xc], dx
jmp 0x41bc59
mov esi, dword [0x4e6a78]
mov ecx, dword [0x4e6a00]
mov eax, dword [0x4d07fc]
imul edx, esi, 0xd4
mov dword [edx + ecx + 0xc], eax
mov eax, dword [0x4d0800]
mov dword [edx + ecx + 0x10], eax
inc esi
mov dword [0x4e6a70], edi
xor eax, eax
cmp esi, dword [0x4e40f8]
cmovge esi, eax
mov dword [0x4e6a78], esi
pop esi
pop edi
ret

Function at 0x41bc80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov bl, cl
push edi
movzx ebp, bl
mov edi, edx
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
movzx esi, ax
xor esi, 0xffffffff
and esi, 1
inc esi
cmp edi, 1
je 0x41bcaa
cmp edi, 2
jne 0x41bd81
cmp esi, edi
je 0x41bd81
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41bcdd
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 1
call fcn.00419e30
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 2
call fcn.00419e30
add esp, 0x10
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4e82ec]
sete bh
jne 0x41bd32
mov edx, 1
mov dword [0x4e40ec], 0
or ecx, 0xffffffff
call fcn.004019f0
mov dword [0x4e40ec], 1
cmp bl, 0x14
jne 0x41bd81
cmp edi, 2
jne 0x41bd81
push ebp
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x41bd81
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, edi
call fcn.00419e30
add esp, 0x10
test bh, bh
je 0x41bd81
lea edx, [edi - 1]
mov dword [0x4e40ec], 0
or ecx, 0xffffffff
call fcn.004019f0
mov dword [0x4e40ec], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x421cc0
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], edx
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x421cec
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x28]
mov esi, ebx
and esi, 1
mov eax, ebx
mov ecx, esi
or ecx, 2
and al, 2
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 4
and al, 4
cmove edx, ecx
mov ecx, ebx
mov eax, edx
or eax, 0x10
and ecx, 0x10
cmove eax, edx
mov edx, 0x81000000
mov ebp, eax
or ebp, 0x20
and bl, 0x20
cmove ebp, eax
test ecx, ecx
mov eax, 0x41000000
cmove eax, edx
or ebp, eax
test esi, esi
jne 0x421d40
or ebp, 0x800000
push 0
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], ecx
cmp eax, 0x28
jbe 0x421e1b
mov eax, dword [edi + 0x18]
or eax, dword [edi + 0x1c]
jne 0x421e1b
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
push eax
push eax
push dword [edi + 0x64]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x18]
push 0
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [edi + 0x64]
call ebx
push 0
push 0
push 0x24
push dword [edi + 0x64]
call esi
push 0
lea eax, [esp + 0x1c]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x64]
call ebx
mov eax, 0x54ad
cmp word [esp + 0x14], ax
jne 0x421e10
cmp dword [edi + 0x54], 0
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x34]
jb 0x421e10
ja 0x421dcd
cmp dword [edi + 0x50], ecx
jbe 0x421e10
push 0
push 0
push eax
push dword [edi + 0x64]
call esi
push 0
lea eax, [esp + 0x1c]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0x64]
call ebx
mov eax, dword [esp + 0x20]
cmp eax, 0x5a4d
je 0x421e0a
cmp eax, 0x454e
je 0x421e0a
cmp eax, 0x454c
je 0x421e0a
cmp eax, 0x4550
jne 0x421e10
or ebp, 0x400000
push 0
push 0
push 0
push dword [edi + 0x64]
call esi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
sub ecx, 0xd53e8000
mov ebx, dword [esp + 0x24]
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
mov dword [ebx + 0x10], ebp
call fcn.004b8280
mov ecx, dword [esp + 0x3c]
mov dword [ebx], eax
sub ecx, 0xd53e8000
mov eax, dword [esp + 0x40]
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004b8280
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 4], eax
sub ecx, 0xd53e8000
mov eax, dword [esp + 0x30]
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004b8280
mov dword [ebx + 8], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
movzx ecx, word [esp + 0x14]
movzx eax, word [esp + 0x18]
pop edi
shl ecx, 0x10
pop esi
or ecx, eax
xor eax, eax
pop ebp
mov dword [ebx + 0xc], ecx
pop ebx
add esp, 0x4c
ret
Function at 0x423990
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
mov ecx, esi
cmp dword [esi], 0
jge 0x4239eb
mov edx, 0x8b1f
call fcn.004244d0
mov edx, 0x808
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 4]
mov ecx, esi
call fcn.004244d0
movzx edx, word [edi + 6]
mov ecx, esi
call fcn.004244d0
mov edx, 0xb02
mov ecx, esi
call fcn.004244d0
mov eax, dword [edi + 0x20]
lea edx, [edi + 0x48]
inc eax
mov ecx, esi
push eax
call fcn.00424590
add esp, 4
pop edi
pop esi
pop ebx
ret
mov edx, 0x4034b50
call fcn.004244d0
mov edx, 0x403
mov ecx, esi
call fcn.004244d0
mov edx, 0x2d
mov ecx, esi
call fcn.004244d0
movzx edx, word [edi + 0x30]
mov ecx, esi
call fcn.004244d0
movzx edx, word [edi + 2]
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 4]
mov ecx, esi
call fcn.004244d0
movzx edx, word [edi + 6]
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 8]
mov ecx, esi
call fcn.004244d0
movzx edx, word [edi + 0xa]
mov ecx, esi
call fcn.004244d0
or edx, 0xffffffff
mov ecx, esi
call fcn.004244d0
or edx, 0xffffffff
mov ecx, esi
call fcn.004244d0
or edx, 0xffffffff
mov ecx, esi
call fcn.004244d0
or edx, 0xffffffff
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 0x20]
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 0x24]
mov ecx, esi
add edx, 0x14
call fcn.004244d0
push dword [edi + 0x20]
lea edx, [edi + 0x48]
mov ecx, esi
call fcn.00424590
add esp, 4
mov edx, 1
mov ecx, esi
call fcn.004244d0
mov edx, 0x10
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 0x18]
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 0x18]
mov ecx, esi
mov eax, dword [edi + 0x1c]
shrd edx, eax, 0x10
call fcn.004244d0
mov eax, dword [edi + 0x18]
mov cl, 0x20
mov edx, dword [edi + 0x1c]
call fcn.004b8550
mov edx, eax
mov ecx, esi
call fcn.004244d0
movzx edx, word [edi + 0x1e]
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 0x10]
mov ecx, esi
mov eax, dword [edi + 0x14]
shrd edx, eax, 0x10
call fcn.004244d0
mov eax, dword [edi + 0x10]
mov cl, 0x20
mov edx, dword [edi + 0x14]
call fcn.004b8550
mov edx, eax
mov ecx, esi
call fcn.004244d0
movzx edx, word [edi + 0x16]
mov ecx, esi
call fcn.004244d0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x423b41
mov edx, dword [edi + 0x40]
mov ecx, esi
push eax
call fcn.00424590
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x426bf0
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, ecx
mov dword [ebp - 4], eax
push esi
mov esi, edx
push edi
test eax, eax
je 0x426d75
cmp dword [eax + 0x18], 0
jne 0x426d75
cmp dword [eax + 0x3c], 0
je 0x426d75
cmp dword [eax + 0x1c], 0
je 0x426d75
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426c30
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
test ecx, eax
je 0x426ce2
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426c60
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
lea ecx, [eax + 8]
cmp eax, ecx
sbb edx, edx
and edx, ecx
mov ecx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426c84
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
lea ecx, [eax + 8]
cmp edx, 0x400
ja 0x426cc1
cmp eax, ecx
sbb eax, eax
and eax, ecx
call fcn.004b83a0
mov edi, esp
test edi, edi
je 0x426ce4
mov dword [edi], 0xcccc
add edi, 8
jmp 0x426ce4
cmp eax, ecx
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x426ce4
mov dword [edi], 0xdddd
add edi, 8
jmp 0x426ce4
xor edi, edi
mov edx, edi
mov ecx, ebx
sub edx, ebx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x426cf0
mov ecx, ebx
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x426d04
mov eax, dword [ebp - 4]
push 0
push 0
push 0
push dword [eax + 0x3c]
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
sub ebx, edi
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx + ecx - 2], ax
test ax, ax
jne 0x426d40
test edi, edi
je 0x426d69
add edi, 0xfffffff8
cmp dword [edi], 0xdddd
jne 0x426d69
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427f20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4e9938], ecx
mov eax, 1
nop dword [eax + eax]
mov ecx, dword [eax*4 + 0x4e9934]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
mov dword [eax*4 + 0x4e9938], ecx
inc eax
cmp eax, 0x270
jl 0x427f30
mov dword [0x4e5b5c], 1
mov dword [0x4e9934], 1
ret

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

Disassembly:
cmp dword [0x4e9934], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x4e9938
jne 0x427f8f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.00427f20
mov eax, dword [0x4e9938]
mov ebx, 0xe3
mov dword [0x4e5b5c], 0x270
mov dword [0x4ea2f8], 0x4e9938
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 0x427fb0
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 0x427ff0
mov eax, dword [0x4e9938]
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 0x428060
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4e5b5c], 1
jne 0x42806e
call fcn.00427f70
mov eax, dword [0x4ea2f8]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ea2f8], 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 0x4280b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4e5b5c], 1
jne 0x4280be
call fcn.00427f70
mov eax, dword [0x4ea2f8]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ea2f8], 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 + 0x4de180]
mulsd xmm0, qword [0x4ddfe8]
ret

Function at 0x4288f0
Capabilities:
Write clipboard data

Disassembly:
cmp byte [ecx + 0x17], 0
jne 0x4288f9
mov ecx, dword [ecx + 0xc]
cmp byte [ecx + 0x17], 2
jne 0x428912
cmp dword [0x4e96e4], 0
je 0x428912
mov ecx, 0x4e96d8
jmp fcn.004061f0
mov al, byte [ecx + 0x15]
and al, 0x86
cmp byte [esp + 4], 0
mov byte [ecx + 0x15], al
je 0x428926
or al, 1
mov byte [ecx + 0x15], al
mov eax, 1
ret 4
Function at 0x42ca20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4e40f0]
push ebx
push ebp
add eax, 4
imul eax, eax, 0x108
push esi
push edi
push eax
push dword [0x4e68ac]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
mov dword [0x4e68ac], eax
test eax, eax
jne 0x42ca50
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4e40f4]
mov edi, eax
push 0x404b20
push 0x4ef6d80
push 0xe
push dword [0x4e69e8]
mov ecx, 0x42
mov dword [0x4e40f4], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
call edi
cmp dword [0x4e9188], 0
jne 0x42ca91
mov ebp, 1
jmp 0x42cb53
mov eax, dword [0x4e40f4]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [eax + 0xec], 0
call esi
cmp byte [0x4e68a5], 0
mov ecx, dword [0x4e40f4]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x42cade
push 0x4049f0
push 0x64
push 0xb
push dword [0x4e69e8]
call edi
test eax, eax
setne byte [0x4e68a5]
mov byte [0x4e9671], 1
call esi
inc dword [0x4e69d0]
push str.Auto_execute
mov dword [0x4e9694], eax
mov dword [0x4e9690], eax
call fcn.0040c090
mov ecx, dword [0x4e9188]
push 0
push 0
push 1
call fcn.0043f280
sub dword [0x4e5aec], 0xc
mov ebp, eax
dec dword [0x4e69d0]
cmp byte [0x4e68a5], 0
je 0x42cb4c
push 0xb
push dword [0x4e69e8]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4e68a5]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x4e68a5], cl
mov byte [0x4e9671], 0
mov ebx, dword [0x4e40f4]
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x42cba9
cmp dword [eax + 8], 6
jne 0x42cb77
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x104]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x42cb8e
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebx + 0x104]
add esp, 4
push 0x10
push eax
call fcn.004b7428
mov dword [ebx + 0x104], 0
add esp, 8
mov ebx, dword [0x4e40f4]
mov ecx, ebx
call fcn.00404be0
push 1
push 0
mov byte [ebx + 0xec], 1
mov ecx, 0x42
mov esi, ebx
mov edi, 0x4e68b0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4e69cc]
push 0xffffffffffffffff
push 0x4bacf8
mov word [ebx + 0xec], 0x101
mov dword [ebx + 0xe0], 0
mov byte [ebx + 0xee], 0
mov dword [ebx + 0x2c], SysReAllocString
call fcn.004a1950
cmp word [0x4e755c], 0
mov esi, 1
jne 0x42cc46
cmp dword [0x4e7544], 0
jne 0x42cc46
cmp dword [0x4e6a08], 0
jne 0x42cc46
cmp dword [0x4e6a04], 0
jne 0x42cc46
cmp byte [0x4e69f9], 0
jne 0x42cc46
test ebp, ebp
mov ecx, 6
push 0
cmove ecx, esi
push ecx
mov ecx, 0x4e8b78
call fcn.0042cf00
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x42ce00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10230
call fcn.004b8370
cmp dword [0x4e6a54], 0
push esi
push edi
mov esi, ecx
jne 0x42ce8e
push 0x104
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0xc], 1
mov edi, eax
jne 0x42cea8
mov edx, dword [edi]
lea ecx, [esp + 0x10]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42ce7e
test ax, ax
je 0x42ce7a
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x42ce7e
add ecx, 4
add edx, 4
test ax, ax
jne 0x42ce58
xor eax, eax
jmp 0x42ce83
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42cea8
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x4e6a1c]
push str._restart
jmp 0x42cee3
push dword [esi + 0xae0]
lea eax, [esp + 0x21c]
push str._restart___s_
push 0x8010
push eax
call fcn.0049d580
add esp, 0x10
lea eax, [esp + 0x218]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x4e6a1c]
push eax
push dword [esi + 0xaec]
mov ecx, 0x4e8b78
call fcn.00449960
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4