joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a1b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a1e3
push esi
call fcn.0043d2b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a1dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a269
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a252
mov eax, dword [esi + 8]
test eax, eax
je 0x43a207
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a24e
cmp eax, 2
je 0x43a252
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a1fa
cmp eax, 3
je 0x43a22d
cmp eax, 1
jne 0x43a1fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43a1fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a1fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a290
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a278
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a290
add esp, 4
pop esi
ret

Function at 0x4587fa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x458832
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004568ae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00456886
jmp 0x45883e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x459eed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x459f2f
call fcn.0045f99c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x459f2f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x459f26
xor eax, eax
jmp 0x459f37
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00459f3d
pop edi
pop esi
pop ebx
ret 4

Function at 0x45fecc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x45fefa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45ff18
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045fe32
jmp 0x45ff18
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45ff18
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045fe32
test edi, edi
mov eax, edi
jne 0x45ff02
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403717
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
push dword [0x65808c]
mov dword [ebp - 8], ebx
xor edi, edi
call fcn.0040929e
mov esi, eax
cmp esi, ebx
je 0x403852
mov eax, dword [esi]
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], ebx
je 0x4037b6
push dword [ebp + 8]
call fcn.00403987
jmp 0x40375a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], bl
jne 0x403752
push dword [esi + 0x14]
call fcn.00403bc5
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
push ebx
mov eax, esi
mov byte [esi + 0x1c], 1
call fcn.004035f4
pop ecx
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push 0x403669
push 0x2000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40379c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov esi, dword [esi]
mov eax, dword [esi]
push 1
push ebx
push ebx
push esi
call dword [eax + 0x30]
jmp 0x403852
test byte [ebp + 0xc], 1
je 0x4037bf
xor edi, edi
inc edi
test byte [ebp + 0xc], 2
je 0x40382b
push esi
call fcn.0040327c
lea eax, [esi + 4]
push 0xc
push eax
call fcn.00409417
pop ecx
pop ecx
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [0x6580a0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x403852
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
push dword [esi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
push dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push eax
call dword [ecx + 0x30]
jmp 0x403852
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x403852
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x403d39
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x403d51
push dword [esp + 4]
push 0x403cd2
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x403d8e
push esi
mov esi, dword [0x6580cc]
test esi, esi
je 0x403d8d
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x403d85
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x6580cc
call fcn.0040945a
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x403d5e
pop edi
pop ebx
pop esi
ret 4

Function at 0x406470
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
ret
Function at 0x408d35
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 9
call esi
test al, al
jns 0x408da3
push 0x11
call esi
test al, al
js 0x408da3
push 0x10
call esi
test al, al
js 0x408da3
push 0x12
call esi
test al, al
js 0x408da3
mov esi, dword [sym.imp.USER32.dll_GetFocus]
push 5
lea eax, [ebp - 8]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
push 4
lea eax, [ebp - 8]
push str.Rich
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x408da3
push eax
push eax
push 0x44e
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ax, 0x800
je 0x408dc7
push str.PB_WindowID
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
je 0x408dc7
dec eax
push eax
push dword [0x658c28]
call fcn.0040929e
mov eax, dword [eax + 0xc]
jmp 0x408dc9
xor eax, eax
pop esi
leave
ret 4

Function at 0x408e50
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [esi + 0x14], eax
mov dword [esp + 4], eax
jne 0x408e85
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4

Function at 0x4090f0
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov dword [esp + 4], eax
je 0x409149
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x409148
mov eax, dword [esp + 0x10]
mov ecx, dword [0x658c38]
push eax
push ecx
call fcn.0040929e
test eax, eax
je 0x409144
cmp dword [eax + 4], 0
je 0x409132
push esi
push edi
push eax
call fcn.00409150
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc
Function at 0x409150
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x409172
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x4091eb
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
sub ecx, 1
je 0x4091d8
sub ecx, 1
je 0x4091c3
sub ecx, 2
je 0x4091b0
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.00408e50
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x409218
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x40a250
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x40a275
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov edx, dword [esi + 0x180]
cmp byte [edx + 8], 0
je 0x40a2a0
mov eax, dword [esi]
mov dword [eax + 0x14], 0x30
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
mov eax, dword [esi + 0x180]
add esp, 4
cmp byte [eax + 8], 0
jne 0x40a281
xor ecx, ecx
cmp byte [esi + 0x41], cl
mov al, 1
setne cl
add ecx, 0xcd
mov dword [esi + 0x14], ecx
ret
Function at 0x40a360
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x40a38f
push esi
call fcn.00409d20
add esp, 4
cmp byte [esi + 0x40], 0
je 0x40a388
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x40a40a
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x40a3fa
mov eax, dword [esi + 8]
test eax, eax
je 0x40a3b4
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x40a3f6
cmp eax, 2
je 0x40a3fa
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40a3a5
cmp eax, 3
je 0x40a3dc
cmp eax, 1
jne 0x40a3a5
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x40a3a5
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x40a3a5
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0040a250
pop esi
ret
cmp eax, 0xcc
je 0x40a42c
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0040a250
pop esi
ret

Function at 0x40ea30
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.004112d0
push 0x54
push edi
mov dword [esp + 0x18], eax
call fcn.00411260
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x40ea76
push edi
call fcn.004112e0
mov eax, dword [edi]
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push edi
call eax
add esp, 8
mov dword [esi], fcn.0040df20
mov dword [esi + 4], fcn.0040e070
mov dword [esi + 8], fcn.0040e130
mov dword [esi + 0xc], fcn.0040e1e0
mov dword [esi + 0x10], 0x40e290
mov dword [esi + 0x14], 0x40e300
mov dword [esi + 0x18], 0x40e370
mov dword [esi + 0x1c], 0x40e650
mov dword [esi + 0x20], 0x40e790
mov dword [esi + 0x24], fcn.0040e8e0
mov dword [esi + 0x28], 0x40e9f0
mov dword [esi + 0x30], 0x3b9aca00
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x40eb51
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push ecx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x40eb51
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x40eb2c
cmp al, 0x4d
jne 0x40eb44
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
pop edi
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x7e98bf
Capabilities:
Encode data using xor

Disassembly:
test edi, edi
mov byte [esp], 0xcc
call 0x7f5c52
add byte [eax], al
push ebx
je 0x7e9923
je 0x7e9936
dec eax
popal
outsb dx, byte [esi]
ljmp 0x2434:0xffe63966
dec edx
sbb cl, ch

Function at 0x7eae28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
push 0xf2ce7998
add ecx, edx
lea esp, [esp + 0x18]
je 0x7e8a42
sbb si, 0x5d07
xadd si, dx
shl si, 6
bswap si
mov esi, dword [eax + 0x3c]
shrd dx, sp, cl
add esi, eax
sub dx, 0x7512
cmc
mov edx, dword [esi + 0x78]
cmp bx, 0xe5c4
stc
push ebp
stc
test edx, edx
push 0x64d7c5db
pushal
pushfd
jmp 0x7f8d47
lea esp, [esp + 0x2c]
je 0x7e8a42
add ch, cl
stc
clc
add edx, eax
sub cx, 0x20ee
mov ecx, dword [esi + 0x7c]
jmp 0x7f9c2b
jnp 0x7e9da0
pushfd
clc
add ecx, edx
push esp
mov dword [esp + 8], ecx
or cx, di
clc
rol ch, cl
mov ecx, dword [ebp + 4]
stc
test dl, dl
cmp ecx, 0xffff
pushal
mov word [esp], ax
call fcn.007e98e8
Function at 0x7f4416
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edi + ecx*2]
mov bh, 0xc
dec edi
neg di
sar di, 3
mov edi, dword [edx + 0x1c]
stc
pushal
add edi, eax
mov dword [esp + 8], eax
mov edi, dword [edi + ecx*4]
cmc
clc
cmc
test edi, edi
call fcn.007f4685
xchg ecx, eax
rcr dword [esi - 0x3bf27f78], 0x40
nop
dec ebx
add esp, ecx
pop esi
adc al, 0x6c
xor eax, 0x224206b4
push edi
xor eax, 0xc7547468
dec ecx
add al, byte [eax]
xchg esp, eax
mov ebp, 0xe87b81ad
std
mov dl, 0x64
sub dh, ch
out dx, al
jno 0x7f4417
cmp dword [eax - 0x65f16998], edi
xor byte [0x3051394d], dl
wait
daa
fstp xword [edx - 0x4ac915a9]
pop edx
dec eax
and ah, byte [edi]
push 0xd730c5c9
call fcn.0083bfa3
int 0xa4
stosb byte es:[edi], al
jg 0x7f448b
add byte [ebp + 0x73], al
je 0x7f4503
jae 0x7f4504
jb 0x7f4501
outsd dx, dword [esi]
jns 0x7f44d7
jne 0x7f4508
jae 0x7f4507
jb 0x7f449a
add byte [eax], al
inc esp
jae 0x7f4514
jb 0x7f4511
jns 0x7f44fb
imul ebp, dword [esi + 0x64], 0xd500776f
inc esp
dec ebx
adc eax, dword [ecx + 0x1475d25b]
inc edi
sbb al, byte [edx + 0x7c700011]
mov edx, 0xcf4e5a55
ljmp 0xd8c6
iretd
cmp al, 0x66
std
dec ecx
mov ss, esp
fnstcw word [eax - 0x77]
aam 0xd9
js 0x7f448e
mov dword [ecx], ebp
add al, dh
sub dword [eax], eax
invalid
jp 0x7f4523
ror byte [0x240c68e0], 1
stc
push ss
dec esp
inc ecx
pop esp
vmaxps ymm6, ymm1, ymm4
pop ebp
aas
enter 0x52f7, 0xfffffffffffffff0
xor eax, 0x31785104
js 0x7f4556
sti
push eax
sti
ror byte [edx - 0x5a6390d4], 1
and ch, byte [eax - 0xd]
mov byte [0xc683676f], al
add ch, al
push edx
std
invalid
aaa
add al, byte [eax]
add byte [eax], al
add byte [eax + 0x6f], dl
jae 0x7f45d4
push ecx
jne 0x7f45cc
je 0x7f45b2
jae 0x7f45db
popal
add byte gs:[bp - 0x93d], al
sal byte [ebx + 0x3c9e802], 1
add byte [eax], al
mov eax, 0x6060ffff
test dword [eax + eax], eax
jg 0x7f4626
push 0xc700c5c6
call fcn.0083bfa3
pop esi
inc esp
out dx, eax
inc ecx
add dword [eax], eax
add cl, ch
inc esi
push ebp
invalid
movnti dword [edi], eax
salc
inc esi
adc al, 4
sbb dl, byte [esi]
pop eax
loopne 0x7f463c
fadd dword [ebx - 0x4d]
rcr byte gs:[edx], cl
mov bl, 0x30
adc al, 0xbb
in eax, dx
cmp eax, 0x273c88e1
fimul dword [eax + esi*8 - 0xb]
push ss
mov edi, 0xbe0db7d
jp 0x7f4592
sbb dword [eax], edx
invalid
or ebp, esp
pop ebx
into
push ebp
pop esp
dec edi
int1
mov esi, 0x68737b60
mov ch, 0x1b
popfd
das
pop eax
invalid
or al, 0x12
insb byte es:[edi], dx
fucomp st(0)
movsb byte es:[edi], byte [esi]
and al, 0x5a
jmp 0x7f469e
je 0x7f46f7
imul ebp, dword [esi + 0x64], 0x6752776f
outsb dx, byte [esi]
add byte [eax - 0x56], ah
push eax
pushfd
push dword [esp + 8]
lea esp, [esp + 0x38]
jmp fcn.007f8f79
lodsb al, byte [esi]
invalid

Function at 0x7f9bf8
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp], 0x40
jmp 0x7f5c39
Function at 0x11ad0
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x22
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x11b05
mov eax, dword [ebp - 0x10]
jmp 0x11b5d
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x11b2b
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [ebp - 0x10]
jmp 0x11b5d
call fcn.000119e0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x11b52
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
mov eax, dword [ebp - 0x10]
jmp 0x11b5d
mov edx, dword [ebp - 4]
mov dword [0x17a3c], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x11ca0
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
call fcn.00012590
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0xc], cl
cmp byte [ebp - 0xc], 0xe
je 0x11ccb
jmp 0x11cf8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x222188
je 0x11cdf
jmp 0x11cf8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 1
je 0x11cef
jmp 0x11cf8
mov eax, dword [ebp - 4]
push eax
call fcn.00011bb0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], 0
xor dl, dl
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x11ea0
Capabilities:
Create device object
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
push ecx
push 0
push 0
push 0x40
lea edx, [ebp - 0x10]
push edx
call sub.ntoskrnl.exe_ObReferenceObjectByName
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x11f07
push str.MyAttach:_Couldnt_get_the_MyTest_Device_Object_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x1200b
mov ecx, dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x12008
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2c]
push eax
push 0
push 0x24
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x11f63
push str.MyAttach:_Couldnt_create_the_MyFilter_Filter_Device_Object_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x1200b
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStack]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x11f9d
push str.MyAttach:_Couldnt_attach_to_MyTest_Device_Object_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
jmp 0x1200b
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x28]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00011e40
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0x30]
add eax, 1
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x30], al
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
and eax, 0x2014
mov ecx, dword [ebp - 0x1c]
or eax, dword [ecx + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x11f19
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 8
Function at 0x12bc0
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], 0
jmp 0x12bdf
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x12c62
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
mov byte [ebp - 0x29], al
mov byte [ebp - 0x35], 1
mov cl, byte [ebp - 0x35]
call dword [sym.imp.HAL.dll_KfLowerIrql]
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov cl, byte [ebp - 0x29]
call dword [sym.imp.HAL.dll_KfRaiseIrql]
mov byte [ebp - 0x35], al
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xc], eax
jmp 0x12c7b
mov eax, dword [ebp - 0x34]
mov esp, ebp
pop ebp
ret 4
Function at 0x14170
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00014130
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x141b7
cmp dword [ebp + 8], 0xb
jne 0x141b7
call dword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
cmp eax, 4
jne 0x141b7
call dword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
push eax
push 0x179b8
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10