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

Disassembly:
mov eax, dword [0x4e6710]
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [0x4e8a50]
test eax, eax
je 0x425a61
cmp dword [eax + 4], 0
jne 0x425ab6
mov eax, dword [eax]
test eax, eax
jne 0x425a55
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x425bff
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x425a93
mov ecx, dword [0x4e6710]
mov dword [eax], ecx
mov dword [0x4e6710], eax
test eax, eax
je 0x425bff
mov ebx, dword [eax + 4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x424780
mov dword [esp + 0x18], ebx
mov ecx, dword [ebx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x10]
call fcn.00425c50
test eax, eax
je 0x425bf8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
test eax, eax
je 0x425bff
push 0x2c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x425bf8
mov ecx, dword [esp + 0x14]
mov dl, byte [esi + 0x14]
mov ebx, dword [esp + 0x10]
and dl, 0xf8
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x1c]
mov al, cl
and al, 1
mov dword [esi], ebx
or dl, al
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x20]
and eax, 0xf
mov byte [esi + 0x14], dl
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
test ecx, ecx
je 0x425b83
mov eax, dword [edi - 5]
mov dword [esi + 0xc], eax
mov ax, word [edi - 1]
mov word [esi + 0x10], ax
mov al, byte [edi + 1]
mov byte [esi + 0x12], al
jmp 0x425b8e
mov eax, dword [edi]
mov dword [esi + 0xc], eax
mov al, byte [edi + 4]
mov byte [esi + 0x10], al
and dl, 1
lea edi, [ebx - 5]
movzx eax, dl
cmove edi, ebx
lea ebx, [eax*2 + 5]
lea eax, [esp + 0xc]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x425bff
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x425bcf
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x28
mov ecx, ebx
call fcn.004259d0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret
Function at 0x425fb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4e8b30], ecx
mov eax, 1
nop dword [eax + eax]
mov ecx, dword [eax*4 + 0x4e8b2c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
mov dword [eax*4 + 0x4e8b30], ecx
inc eax
cmp eax, 0x270
jl 0x425fc0
mov dword [0x4e4b2c], 1
mov dword [0x4e94f0], 1
ret

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

Disassembly:
cmp dword [0x4e94f0], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x4e8b30
jne 0x42601f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.00425fb0
mov eax, dword [0x4e8b30]
mov ebx, 0xe3
mov dword [0x4e4b2c], 0x270
mov dword [0x4e94f4], 0x4e8b30
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 0x426040
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 0x426080
mov eax, dword [0x4e8b30]
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 0x4260f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4e4b2c], 1
jne 0x4260fe
call fcn.00426000
mov eax, dword [0x4e94f4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4e94f4], 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 0x426140
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4e4b2c], 1
jne 0x42614e
call fcn.00426000
mov eax, dword [0x4e94f4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4e94f4], 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 + 0x4dcc00]
mulsd xmm0, qword [0x4dca68]
ret

Function at 0x426980
Capabilities:
Write clipboard data

Disassembly:
cmp byte [ecx + 0x17], 0
jne 0x426989
mov ecx, dword [ecx + 0xc]
cmp byte [ecx + 0x17], 2
jne 0x4269a2
cmp dword [0x4e88b4], 0
je 0x4269a2
mov ecx, 0x4e88a8
jmp fcn.00405f10
mov al, byte [ecx + 0x15]
and al, 0x86
cmp byte [esp + 4], 0
mov byte [ecx + 0x15], al
je 0x4269b6
or al, 1
mov byte [ecx + 0x15], al
mov eax, 1
ret 4
Function at 0x42ab30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4e30f8]
push ebx
push ebp
add eax, 4
mov ebx, ecx
imul eax, eax, 0x108
push esi
push edi
push eax
push dword [0x4e5868]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
mov dword [0x4e5868], eax
test eax, eax
jne 0x42ab62
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4e30fc]
mov edi, eax
push 0x404990
push 0x4ef6d80
push 0xe
push dword [0x4e5ba8]
mov ecx, 0x42
mov dword [0x4e30fc], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
call esi
cmp dword [ebx + 0x60c], 0
jne 0x42aba3
mov ebp, 1
jmp 0x42ac67
mov eax, dword [0x4e30fc]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [eax + 0xec], 0
call edi
cmp byte [0x4e5865], 0
mov ecx, dword [0x4e30fc]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x42abf0
push 0x4048f0
push 0x64
push 0xb
push dword [0x4e5ba8]
call esi
test eax, eax
setne byte [0x4e5865]
mov byte [ebx + 0xaf5], 1
call edi
inc dword [0x4e5b94]
push str.Auto_execute
mov dword [ebx + 0xb14], eax
mov dword [ebx + 0xb10], eax
call fcn.0040bda0
mov ecx, dword [ebx + 0x60c]
push 0
push 0
push 1
call fcn.0043e9f0
sub dword [0x4e4acc], 0xc
mov ebp, eax
dec dword [0x4e5b94]
cmp byte [0x4e5865], 0
je 0x42ac60
push 0xb
push dword [0x4e5ba8]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4e5865]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x4e5865], cl
mov byte [ebx + 0xaf5], 0
mov ebx, dword [0x4e30fc]
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x42acbd
cmp dword [eax + 8], 6
jne 0x42ac8b
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 0x42aca2
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.004b6495
mov dword [ebx + 0x104], 0
add esp, 8
mov ebx, dword [0x4e30fc]
mov ecx, ebx
call fcn.00404a50
push 1
push 0
mov byte [ebx + 0xec], 1
mov ecx, 0x42
mov esi, ebx
mov edi, 0x4e5870
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4e5b90]
push 0xffffffffffffffff
push 0x4b9cc4
mov word [ebx + 0xec], 0x101
mov dword [ebx + 0xe0], 0
mov byte [ebx + 0xee], 0
mov dword [ebx + 0x2c], connect
call fcn.004a05c0
cmp word [0x4e66f8], 0
jne 0x42ad5a
cmp dword [0x4e66e0], 0
jne 0x42ad5a
cmp dword [0x4e5bc8], 0
jne 0x42ad5a
cmp dword [0x4e5bc4], 0
jne 0x42ad5a
cmp byte [0x4e5bb9], 0
jne 0x42ad5a
test ebp, ebp
mov ecx, 2
mov eax, 9
cmove eax, ecx
mov ecx, 0x4e7d50
push 0
push eax
call fcn.0042b020
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x42af20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x818
cmp dword [0x4e5c14], 0
push esi
push edi
mov esi, ecx
jne 0x42afaa
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 0x42afc4
mov edx, dword [edi]
lea ecx, [esp + 0x10]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42af9a
test ax, ax
je 0x42af96
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x42af9a
add ecx, 4
add edx, 4
test ax, ax
jne 0x42af74
xor eax, eax
jmp 0x42af9f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42afc4
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 [0x4e5bdc]
push str._restart
jmp 0x42afff
push dword [esi + 0xadc]
lea eax, [esp + 0x21c]
push str._restart___s_
push 0x304
push eax
call fcn.0049c640
add esp, 0x10
lea eax, [esp + 0x218]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x4e5bdc]
push eax
push dword [esi + 0xae8]
mov ecx, 0x4e7d50
call fcn.00448b80
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42b020
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x124
cmp byte [0x4e9cfe], 0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0xab0], eax
jne 0x42b1cd
cmp byte [ebx + 0xaf4], 0
je 0x42b1cd
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4e5b90]
push 0
push 1
mov dword [0x4e9fa8], eax
call fcn.00401670
push 0x7f
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
inc dword [0x4e5b94]
xor eax, eax
mov word [esp + 0x13a], ax
add esp, 0xc
mov eax, dword [0x4e30fc]
mov ecx, 0x42
add eax, 0x108
mov esi, 0x4e5870
mov edi, eax
mov dword [0x4e30fc], eax
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x4e7d50
mov dword [eax + 0x2c], 0
call fcn.0042aa30
cmp dword [0x4e5ba4], 0
xorps xmm0, xmm0
movlpd qword [0x4e8850], xmm0
je 0x42b0db
push 0x4e5980
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [0x4e30f4]
push str.OnExit
mov dword [0x4e30f4], 0
mov byte [0x4e9cfe], 1
call fcn.0040bda0
mov ecx, dword [ebx + 0xaa4]
mov eax, 1
mov dword [esp + 0xc], eax
mov byte [0x4e4ef0], 0
test ecx, ecx
je 0x42b135
call fcn.00401730
test eax, eax
mov eax, dword [esp + 0xc]
je 0x42b135
xor ecx, ecx
movzx eax, al
cmp byte [0x4e4ef0], cl
cmove eax, ecx
mov dword [esp + 0xc], eax
mov byte [0x4e4ef0], 1
test al, al
je 0x42b196
mov dword [esp + 0x18], 0
call fcn.0045d540
mov dword [esp + 0x10], eax
lea ecx, [ebx + 0xa70]
mov eax, dword [0x4e9fa8]
cdq
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [ebx + 0xaa4], eax
mov dword [esp + 0x28], 1
sete al
mov dword [esp + 0x24], edx
push eax
push 2
lea eax, [esp + 0x18]
push eax
call fcn.0048f970
mov edx, dword [esp + 0xc]
movzx ecx, dl
xor edx, edx
cmp eax, 3
cmove ecx, edx
mov al, cl
sub dword [0x4e4acc], 0xc
test al, al
mov eax, dword [ebp + 8]
mov byte [0x4e9cfe], 0
jne 0x42b219
cmp eax, 3
je 0x42b219
lea ecx, [esp + 0x30]
call fcn.00404750
mov dword [0x4e30f4], esi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [0x4e4ef0], 0
jne 0x42b209
cmp eax, 9
jne 0x42b209
mov eax, dword [0x4e7400]
mov ecx, dword [0x4e9fa8]
pop edi
pop esi
cmp word [eax], 0
mov eax, 8
mov byte [0x4e4ef0], 1
cmovne ecx, dword [ebp + 0xc]
mov dword [0x4e9fa8], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov byte [0x4e4ef0], 0
push eax
call fcn.0042b230
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.0042b230
int3
Function at 0x42eafd
Capabilities:
Get keyboard layout

Disassembly:
ret
Function at 0x4336b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
mov word [esp + 0xc], ax
mov ebx, ebp
mov ax, word [0x4e4330]
mov word [esp + 0xe], ax
mov dword [esp + 0x10], 0x90028
mov dword [esp + 0x14], 0x3e003c
mov dword [esp + 0x18], 0x3d003a
mov dword [esp + 0x1c], 0x2d002b
mov dword [esp + 0x20], 0x2f002a
mov dword [esp + 0x24], 0x7e0021
mov dword [esp + 0x28], 0x7c0026
mov dword [esp + 0x2c], 0x5b005e
mov dword [esp + 0x30], 0x3f002e
mov dword [esp + 0x34], 0x7b
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
push edi
test ebp, ebp
je 0x433775
movzx eax, word [ebp]
test ax, ax
je 0x43378b
mov esi, eax
nop word [eax + eax]
lea eax, [esp + 0x14]
mov edx, 0x20
nop dword [eax]
cmp si, dx
je 0x433785
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x433750
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x433740
mov esi, dword [esp + 0x10]
xor ebx, ebx
test ebx, ebx
je 0x43378b
cmp ebx, ebp
lea edi, [ebx - 2]
cmovbe edi, ebx
jmp 0x4337a5
mov esi, dword [esp + 0x10]
jmp 0x433777
mov ecx, ebp
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433790
sub ecx, edx
lea edi, [ebp - 2]
sar ecx, 1
lea edi, [edi + ecx*2]
cmp edi, ebp
jbe 0x4337c4
nop dword [eax]
movzx eax, word [edi]
cmp eax, 0x20
je 0x4337bd
cmp eax, 9
jne 0x4337c4
sub edi, 2
cmp edi, ebp
ja 0x4337b0
mov ebx, edi
sub ebx, ebp
sar ebx, 1
inc ebx
cmp ebx, 0xfd
jbe 0x4337f3
cmp byte [esp + 0x4c], 0
je 0x4337e7
push ebp
push str.This_line_does_not_contain_a_recognized_action.
mov ecx, esi
call fcn.00447cc0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
mov esi, dword [esp + 0x44]
push ebx
push ebp
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
xor eax, eax
mov word [esi + ebx*2], ax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
Function at 0x43bd00
Capabilities:
Encrypt data using chaskey

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
movzx eax, word [ebp]
cmp eax, 0x41
je 0x43bd17
cmp eax, 0x61
jne 0x43bd2d
cmp word [ebp + 2], 0x5f
jne 0x43bd2d
add ebp, 4
mov ecx, 0x4e4350
mov edi, 0xa3
jmp 0x43bd37
mov ecx, 0x4e4870
mov edi, 6
mov dword [esp + 0x10], ecx
xor ebx, ebx
nop dword [eax]
lea eax, [edi + ebx]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push dword [ecx + esi*8]
lea eax, [ecx + esi*8]
push ebp
mov dword [esp + 0x1c], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x43bd67
lea ebx, [esi + 1]
jmp 0x43bd6c
jns 0x43bd7e
lea edi, [esi - 1]
mov ecx, dword [esp + 0x10]
cmp ebx, edi
jle 0x43bd40
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
shr ebx, 0x1f
ror ebx, 0x1c
shl esi, 0x13
not edi
call fcn.004b6e53
invalid
jecxz 0x43bdaf
jmp 0x43bd9f
Function at 0x4474c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xcc
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], 0
mov dword [esp + 4], eax
mov edx, ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0x2c], str.What
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x44], 0
push esi
mov esi, 8
test eax, eax
jne 0x447560
movzx ecx, byte [edx]
lea eax, [ecx*8]
sub eax, ecx
mov eax, dword [eax*2 + 0x4e35a0]
movzx ecx, word [edx + 2]
mov dword [esp + 0x40], eax
mov eax, dword [0x4e6714]
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0x4d6844
mov dword [esp + 0x68], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], str.Line
mov dword [esp + 0x88], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], str.Message
mov dword [esp + 0xa8], 0
test eax, eax
je 0x447629
cmp word [eax], 0
je 0x447629
mov esi, 0xa
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb0], str.Extra
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc0], eax
mov edx, esi
lea ecx, [esp + 8]
call fcn.0048c720
pop esi
add esp, 0xcc
ret 0xc
Function at 0x447cc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x400c
call fcn.004b7400
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x648]
test ecx, ecx
je 0x447cf5
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004478f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ebx, 0x4d6b98
test eax, eax
mov esi, 0x4b9c10
cmovne ebx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
cmovne esi, eax
cmp byte [0x4e8847], 0
je 0x447d7c
cmp byte [0x4e8844], 0
jne 0x447d7c
mov ecx, dword [edi + 0x248]
mov eax, dword [0x4e6714]
push ebx
push dword [edi + 0x24c]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push dword [eax + ecx*4]
push str._s___d__:____s_n
push 2
call edi
add esp, 4
push eax
call fcn.004493a0
add esp, 0x14
cmp word [esi], 0
je 0x447ef6
push esi
push str._____Specifically:__s_n
push 2
call edi
add esp, 4
push eax
call fcn.004493a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x24c]
lea eax, [esp + 0x1c]
push str.Error_at_line__u
push 0x2000
push eax
call fcn.0049c640
add eax, eax
lea edx, [esp + 0x28]
add edx, eax
mov ecx, 0x2000
sar eax, 1
add esp, 0x10
sub ecx, eax
mov dword [esp + 0x10], edx
cmp dword [edi + 0x248], 0
je 0x447df4
mov edx, dword [edi + 0x248]
mov eax, dword [0x4e6714]
push dword [eax + edx*4]
mov edx, dword [esp + 0x14]
push str._in_include_file___s_
push ecx
push edx
call fcn.0049c640
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
add esp, 0x10
lea edx, [edx + eax*2]
mov eax, edx
mov dword [esp + 0x10], edx
sub eax, ecx
mov ecx, 0x2000
sar eax, 1
sub ecx, eax
push 0x4d6bc4
push ecx
push edx
call fcn.0049c640
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
add esp, 0xc
lea ecx, [ecx + eax*2]
mov eax, ecx
mov dword [esp + 0x10], ecx
sub eax, edx
mov edx, 0x2000
sar eax, 1
sub edx, eax
cmp word [esi], 0
je 0x447e7d
mov ecx, esi
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447e30
sub ecx, dword [esp + 0x14]
mov eax, 0x4d0c40
sar ecx, 1
cmp ecx, 0x64
mov ecx, 0x4b9c10
cmovbe eax, ecx
push eax
push esi
push str.Line_Text:___1.100s_s_nError:
push edx
push dword [esp + 0x20]
call fcn.0049c640
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
add esp, 0x14
lea ecx, [ecx + eax*2]
mov eax, ecx
sub eax, edx
mov edx, 0x2000
sar eax, 1
sub edx, eax
cmp byte [edi + 0xaf6], 0
mov eax, str.The_script_was_not_reloaded__the_old_version_will_remain_in_effect.
mov esi, str.The_program_will_exit.
cmove eax, esi
push eax
push ebx
push str._s_n_n_s
push edx
push ecx
call fcn.0049c640
add esp, 0x14
cmp dword [0x4e4b04], 0
je 0x447ede
push str.stderr
lea eax, [esp + 0x1c]
mov ecx, 0x4e4ac8
push eax
call fcn.0040adc0
cmp dword [0x4e4b04], 2
je 0x447ef6
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0
xorps xmm3, xmm3
lea ecx, [esp + 0x20]
mov edx, 0x10000
call fcn.004a2130
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44e620
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
push dword [ebp + 0x18]
mov esi, ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0045c310
mov edi, eax
test edi, edi
je 0x44e71f
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.004a1f30
mov ebx, eax
test ebx, ebx
je 0x44e71f
push 0
push edi
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
test esi, esi
je 0x44e69c
cmp esi, dword [0x4e7484]
je 0x44e69c
mov ecx, edi
call fcn.004a2410
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
test al, al
jne 0x44e6a2
push 1
push esi
push dword [0x4e7484]
call edi
test eax, eax
setne byte [esp + 0xf]
jmp 0x44e6a2
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x44e6ff
mov ecx, dword [0x4e5b90]
push 1
push 0
push 0xffffffffffffffff
push 0x4b9cc4
call fcn.004a05c0
mov eax, dword [0x4e30fc]
cmp dword [eax + 0x58], 0xffffffff
jle 0x44e6ff
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4e7484], eax
jne 0x44e6f1
mov ecx, dword [0x4e30fc]
mov edx, 1
mov ecx, dword [ecx + 0x58]
call fcn.00401a20
jmp 0x44e6ff
mov eax, dword [0x4e30fc]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0xf], 0
je 0x44e711
push 0
push esi
push dword [0x4e7484]
call edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x4e30fc]
test byte [eax + 0x100], 1
jne 0x44e74c
mov ecx, dword [0x4e5b90]
push 1
push 0
push 0xffffffffffffffff
push 0x4cffc4
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4b9c10
push 0
push 0x4cffc4
mov ecx, esi
call fcn.00447640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14