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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edi, dword [ebp + 8]
test al, al
jne 0x461d40
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x461d40
mov ecx, dword [esi + 0x840]
push edi
test ecx, ecx
jne 0x461f02
mov ecx, esi
call fcn.0044b74c
jmp 0x461f10
cmp dword [edi], 0x13
jne 0x461d88
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461f10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.00460900
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x461f10
xor eax, eax
push eax
push eax
push eax
push str.dbclick
push esi
call fcn.00416e1c
jmp 0x461f10
cmp dword [edi], 3
push 0xd
pop ebx
jne 0x461db7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461db7
cmp word [edi + 0x14], bx
jne 0x461db7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.00460900
jmp 0x461f10
cmp dword [edi], ebx
jne 0x461e0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461f10
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x830]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x461e00
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x461f10
push 1
call dword [edi + 0x14]
jmp 0x461f10
mov ecx, dword [esi + 0x840]
test ecx, ecx
je 0x461e27
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x461e27
cmp dword [edi], 0xf
je 0x461dbb
cmp dword [edi], 0xe
jne 0x461e53
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461f10
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x9c]
jmp 0x461d7d
cmp dword [edi], 0x10
jne 0x461e76
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461f10
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x461e48
cmp dword [edi], 9
je 0x461f10
cmp dword [edi], 0xb
jne 0x461e9e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x461f10
or dword [esi + 0x83c], 8
jmp 0x461dab
cmp dword [edi], 0xa
jne 0x461ebb
mov eax, dword [esi + 0x83c]
test al, 8
je 0x461f10
and eax, 0xfffffff7
mov dword [esi + 0x83c], eax
jmp 0x461dab
cmp dword [edi], 0x1b
jne 0x461ed2
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x461e48
cmp dword [edi], 0x14
jne 0x461ef7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
test al, al
je 0x461ef7
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
jmp 0x461e48
mov ecx, dword [esi + 0x840]
push edi
test ecx, ecx
je 0x461f09
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x461f10
mov ecx, esi
call fcn.0041e18b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4623c1
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x830
jmp fcn.0045d95c
Function at 0x46d781
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4d0018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x10], eax
test eax, eax
je 0x46d898
lea eax, [ebp - 0xa4]
push eax
call fcn.0046d8a9
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000080
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, ebx
push dword [eax + 0xa8]
call fcn.00421085
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46d898
mov ecx, dword [ebx + 0x10]
push 1
mov eax, dword [ecx]
push dword [ecx + 0x6c0]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00417b0a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [eax + 4]
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push 0
movzx ecx, byte [eax + 0x8fe]
movzx eax, byte [eax + 0x8fc]
shl ecx, 8
or ecx, eax
push ecx
push 0x401
push dword [ebx + 4]
call esi
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.0046dd94
mov ecx, dword [ebx + 0x10]
push 0xffffffffffffffff
add ecx, 0x2c4
push dword [eax]
call fcn.00425362
lea ecx, [ebp - 0x94]
call fcn.00425295
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x17c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ecc2
leave
ret 4

Function at 0x46dce0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d0018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x26
ja 0x46dd85
je 0x46dd30
sub esi, 0x21
je 0x46dd30
sub esi, 1
je 0x46dd30
sub esi, 1
je 0x46dd30
sub esi, 1
je 0x46dd30
sub esi, 1
jne 0x46dd36
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00481670
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0042524c
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ecc2
leave
ret 0xc
sub esi, 0x27
je 0x46dd30
sub esi, 1
je 0x46dd30
sub esi, 5
jmp 0x46dd29
Function at 0x47164d
Capabilities:
Enumerate files on windows

Disassembly:
push 0x504
mov eax, 0x49f326
call fcn.0047f7dc
mov ebx, ecx
mov dword [ebp - 0x50c], ebx
mov eax, dword [ebx]
call dword [eax + 0x40]
push 0x4d0aa8
lea ecx, [ebp - 0x120]
call fcn.00425270
push dword [ebx + 0x6b8]
lea ecx, [ebp - 0x120]
call fcn.004252a5
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x120]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x47169a
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
je 0x4716c1
push 0x4ac4cc
lea ecx, [ebp - 0x120]
call fcn.004252a5
push 0x4ac53c
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x120]
call fcn.00425454
lea ecx, [ebp - 0x508]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x2b8]
mov ebx, eax
call fcn.00425295
cmp ebx, 0xffffffff
je 0x4718bf
jmp 0x4718a9
lea eax, [ebp - 0x4dc]
push 0x4ac544
push eax
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
je 0x4718a9
lea eax, [ebp - 0x4dc]
push 0x4ac548
push eax
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
je 0x4718a9
test byte [ebp - 0x508], 0x10
jne 0x4718a9
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x98]
xor eax, eax
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x4dc]
push 0xffffffffffffffff
push eax
call fcn.00425362
push 0x2e
lea ecx, [ebp - 0x98]
call fcn.00425692
mov edx, eax
test edx, edx
js 0x471899
mov ecx, dword [ebp - 0x98]
xor edi, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x471790
sub ecx, esi
lea eax, [ebp - 0x1a8]
sar ecx, 1
sub ecx, edx
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004255f5
mov byte [ebp - 4], 2
push 0x4bcc98
push dword [ebp - 0x1a8]
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
je 0x4717ff
push 0x4bcca0
push dword [ebp - 0x1a8]
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
je 0x4717ff
push 0x4bcca8
push dword [ebp - 0x1a8]
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
jne 0x47188e
push 0x34
call fcn.0047eed2
pop ecx
mov ecx, eax
call fcn.0047318d
mov edi, eax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x120]
mov dword [ebp - 0x510], edi
push eax
call fcn.00425270
push dword [ebp - 0x98]
lea ecx, [ebp - 0x230]
call fcn.004252a5
push dword [ebp - 0x230]
mov ecx, edi
call fcn.00472d2c
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00425295
test esi, esi
jne 0x471882
mov ecx, dword [ebp - 0x50c]
add ecx, 0x744
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x471873
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x47188e
lea edx, [ebp - 0x510]
push edx
push eax
call fcn.00441670
jmp 0x47188e
test edi, edi
je 0x47188e
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [ebp - 0x1a8]
call fcn.00425295
xor eax, eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], al
call fcn.00425295
lea eax, [ebp - 0x508]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x471702
lea ecx, [ebp - 0x120]
call fcn.00425295
call fcn.0047f79a
ret
Function at 0x474883
Capabilities:
Enumerate files on windows

Disassembly:
push 0x4f0
mov eax, 0x49f4bb
call fcn.0047f7dc
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push str.imagepath
push esi
call fcn.00489fb2
pop ecx
pop ecx
mov ecx, ebx
test eax, eax
jne 0x474ac7
mov eax, dword [ebx]
call dword [eax + 0x2bc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
push edi
lea eax, [ebp - 0x118]
mov ecx, 0x4d0aa8
push eax
call fcn.00425454
xor eax, eax
xor edi, edi
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x118]
mov ecx, edx
mov dword [ebp - 0x4f8], eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4748ea
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
je 0x474911
push 0x4ac4cc
lea ecx, [ebp - 0x118]
call fcn.004252a5
push 0x4ac53c
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x118]
call fcn.00425454
lea ecx, [ebp - 0x4f4]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x220]
mov esi, eax
call fcn.00425295
cmp esi, 0xffffffff
je 0x474aba
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x474aa8
lea eax, [ebp - 0x4c8]
push 0x4ac544
push eax
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
je 0x474aa8
lea eax, [ebp - 0x4c8]
push 0x4ac548
push eax
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
je 0x474aa8
test byte [ebp - 0x4f4], 0x10
jne 0x474aa8
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x94]
xor eax, eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x4c8]
push 0xffffffffffffffff
push eax
call fcn.00425362
push 0x2e
lea ecx, [ebp - 0x94]
call fcn.00425692
mov edx, eax
test edx, edx
js 0x474a98
mov ecx, dword [ebp - 0x94]
lea eax, [ecx + 2]
mov dword [ebp - 0x4fc], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x4f8]
jne 0x4749ea
sub ecx, dword [ebp - 0x4fc]
lea eax, [ebp - 0x19c]
sar ecx, 1
sub ecx, edx
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.004255f5
push 0x4bcc98
push dword [ebp - 0x19c]
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
je 0x474a59
push 0x4bcca0
push dword [ebp - 0x19c]
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
je 0x474a59
push 0x4bcca8
push dword [ebp - 0x19c]
call fcn.00489fb2
pop ecx
pop ecx
test eax, eax
jne 0x474a8d
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x118]
call fcn.00425454
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebx]
push dword [eax]
call dword [edx + 0x2b8]
lea ecx, [ebp - 0x2a4]
call fcn.00425295
lea ecx, [ebp - 0x19c]
call fcn.00425295
xor eax, eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], al
call fcn.00425295
lea eax, [ebp - 0x4f4]
push eax
push esi
call edi
test eax, eax
jne 0x474958
lea ecx, [ebp - 0x118]
call fcn.00425295
jmp 0x474ace
push edi
push esi
call fcn.004740dd
call fcn.0047f79a
ret 8
Function at 0x47b8b7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [esi]
call dword [eax + 0x280]
mov ebx, dword [ebp + 8]
cmp al, bl
je 0x47b9fd
mov ecx, dword [esi + 0x6e0]
mov eax, ecx
or ecx, 2
and eax, 0xfffffffd
test bl, bl
cmove ecx, eax
mov dword [esi + 0x6e0], ecx
mov ecx, dword [esi + 0xff8]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x47b9fd
mov esi, dword [ecx + 0x830]
push edi
mov edi, esi
neg edi
lea eax, [esi - 0x808]
sbb edi, edi
and edi, eax
je 0x47b9fc
mov eax, dword [ecx + 0x834]
test eax, eax
je 0x47b9fc
mov ecx, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ecx + 0xffc]
sub ecx, edx
je 0x47b9dd
sub ecx, 1
je 0x47b9d1
sub ecx, 1
je 0x47b952
sub ecx, 1
jne 0x47b9fc
test bl, bl
je 0x47b9a5
cmp dword [edi + 0x818], edx
je 0x47b977
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x47b977
test esi, esi
mov eax, 0x808
cmove esi, eax
jmp 0x47b984
lea esi, [edi + 0x808]
mov ecx, esi
call fcn.0047e8f4
push ebx
mov ebx, dword [ebp + 8]
mov ecx, esi
push dword [ebx + 0x834]
call fcn.0047e946
mov eax, dword [ebx + 0x834]
xor ecx, ecx
mov dword [edi + 0xad0], eax
jmp 0x47b9bc
push edx
lea esi, [edi + 0x808]
push eax
mov ecx, esi
call fcn.0047e946
xor ecx, ecx
mov dword [edi + 0xad0], ecx
mov eax, dword [edi + 0x808]
push ecx
push ecx
push ecx
push str.selectchanged
mov ecx, esi
call dword [eax + 8]
jmp 0x47b9d4
mov byte [eax + 1], bl
mov ecx, edi
call fcn.0041dfde
jmp 0x47b9fc
lea ecx, [eax + 0x114]
test ecx, ecx
je 0x47b9f8
cmp dword [ecx + 4], edx
jle 0x47b9f8
mov ecx, edi
mov byte [eax + 2], bl
call fcn.0041e07e
jmp 0x47b9fc
mov byte [eax + 2], 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x47befa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edx, dword [ebp + 8]
test al, al
jne 0x47bf3b
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x47bf3b
mov ecx, dword [esi + 0xa0]
push edx
test ecx, ecx
je 0x47c065
mov eax, dword [ecx]
call dword [eax + 0x1c4]
jmp 0x47c06c
mov edi, dword [esi + 0x830]
lea eax, [edi - 0x808]
neg edi
sbb edi, edi
and edi, eax
je 0x47c064
xor ebx, ebx
cmp dword [esi + 0x834], ebx
je 0x47c064
cmp dword [edx], 0xd
jne 0x47bfe1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x47c06c
cmp dword [edi + 0x818], ebx
je 0x47bf8d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x47bf98
lea ecx, [edi + 0x808]
call fcn.0047e8f4
mov ecx, dword [esi + 0x830]
push 1
push dword [esi + 0x834]
call fcn.0047e946
mov ecx, dword [esi + 0x830]
mov eax, dword [esi + 0x834]
push ebx
mov dword [ecx + 0x2c8], eax
mov ecx, dword [esi + 0x830]
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [edi + 0x808]
mov eax, dword [ecx]
push ebx
push ebx
push str.selectchanged
call dword [eax + 8]
jmp 0x47c06c
cmp dword [edx], 0x13
jne 0x47c026
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x47c06c
mov ecx, dword [esi + 0x834]
push 1
cmp byte [ecx + 2], bl
sete al
mov byte [ecx + 2], al
mov ecx, dword [esi + 0x830]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x9c]
push ebx
push ebx
push esi
push str.dbclick
push edi
call fcn.00416e1c
jmp 0x47c06c
cmp dword [edx], 0xb
jne 0x47c04e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x47c06c
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
mov ecx, esi
call fcn.0041dfde
jmp 0x47c06c
cmp dword [edx], 0xa
jne 0x47c064
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x47c06c
push ebx
jmp 0x47c03b
push edx
mov ecx, esi
call fcn.0046a244
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47d811
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edx, dword [ebx + 4]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x2c], eax
test edx, edx
jne 0x47d89a
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0047d8e0
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x10]
sub esp, 0x10
mov eax, 0x40000009
cmp dword [ebx + 0x2c], 1
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
lea edx, [eax - 9]
push 0
cmovne eax, edx
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, ebx
push dword [eax + 0xa8]
call fcn.00421085
mov ecx, dword [ebx + 0x10]
push 1
mov eax, dword [ecx]
push dword [ecx + 0x840]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00417b0a
push dword [eax + 4]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
lea eax, [ecx + 0x830]
mov esi, eax
lea edi, [ebx + 0x1a]
push eax
push 0
push 0x1002
movsd dword es:[edi], dword [esi]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebx + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 8
Function at 0x406c46
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x406c48
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x12
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x97
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x75
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdc
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xbb
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x90
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x19
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xc9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe5
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
sub byte [esi + ebx], 0x57
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x7d
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x9e
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x1c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x25
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x19
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf4
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xbd
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xc0
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xb4
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x3f
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x81
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xa6
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf6
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 7
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x10011ecc
Capabilities:
Authenticate hmac

Disassembly:
sub esp, 8
push 1
call fcn.1001b399
add esp, 4
mov dword [esp + 4], eax
mov eax, 0xe3747c24
cmp eax, 0x8056dae1
je 0x10009cb9
cmp eax, 0xe3747c24
jne 0x10009c9d
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, 0x8056dae1
jmp 0x10009c9d
mov ecx, dword [esp]
call fcn.10009620
mov eax, dword [esp]
add esp, 8
jmp fcn.10009ccc
jmp 0x10009c87