joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4162db
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x416309
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x416310
cmp ebx, dword [eax + 4]
jae 0x416310
xor eax, eax
jmp 0x416500
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x416321
xor eax, eax
inc eax
jmp 0x4164ff
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x416337
cmp ecx, edx
jae 0x41647c
cmp dword [eax + 4], 0
je 0x416340
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x416328
cmp dword [ebp + 8], 0
je 0x416362
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x41647c
cmp eax, esi
jae 0x41647c
mov eax, dword [0x4253b0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x416387
cmp dword [esi*4 + 0x4253b8], edi
je 0x416480
inc esi
cmp esi, eax
jl 0x416375
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4164fc
cmp dword [ebp - 8], 0x1000000
jne 0x4164fc
test byte [ebp - 0xc], 0xcc
je 0x416405
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4164fc
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4164fc
cmp word [eax + 0x18], 0x10b
jne 0x4164fc
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4164fc
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x416405
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x416405
test byte [ecx + 0x27], 0x80
jne 0x41647c
push 1
push 0x4253f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x416319
mov ecx, dword [0x4253b0]
test ecx, ecx
mov edx, ecx
jle 0x416439
lea eax, [ecx*4 + 0x4253b4]
cmp dword [eax], edi
je 0x416439
dec edx
sub eax, 4
test edx, edx
jg 0x41642d
test edx, edx
jne 0x41646a
push 0xf
pop ebx
cmp ecx, ebx
jg 0x416446
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x41645e
lea eax, [edx*4 + 0x4253b8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x41644c
cmp ecx, 0x10
jge 0x41646a
inc ecx
mov dword [0x4253b0], ecx
push 0
push 0x4253f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x416319
xor eax, eax
jmp 0x4164ff
test esi, esi
jle 0x416319
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4253f8
call ebx
test eax, eax
jne 0x416319
cmp dword [esi*4 + 0x4253b8], edi
je 0x4164d6
mov eax, dword [0x4253b0]
lea esi, [eax - 1]
test esi, esi
jl 0x4164c4
cmp dword [esi*4 + 0x4253b8], edi
je 0x4164c0
dec esi
jns 0x4164b4
test esi, esi
jge 0x4164d4
cmp eax, 0x10
jge 0x4164cf
inc eax
mov dword [0x4253b0], eax
lea esi, [eax - 1]
jmp 0x4164d6
je 0x4164ee
xor ecx, ecx
test esi, esi
jl 0x4164ee
lea eax, [ecx*4 + 0x4253b8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4164dc
push 0
push 0x4253f8
call ebx
jmp 0x416319
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417cfb
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x417d29
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x417d2e
cmp eax, 1
je 0x417d2e
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x417e1d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004160f0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x417eb8
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x424edc]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x417eb8
cmp eax, 1
je 0x417ed9
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x417eb8
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x417e85
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x417eb4
xor eax, eax
inc eax
jmp 0x417ef8
cmp edi, eax
jae 0x417ebc
xor eax, eax
jmp 0x417ef8
cmp eax, esi
jae 0x417ec3
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x424edc]
jmp 0x417edc
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417f00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4240b8]
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [ebp - 4], eax
je 0x417f7f
push esi
call fcn.00417cfb
test eax, eax
pop ecx
jne 0x417f47
call fcn.00411c94
mov dword [eax], 0xf
call fcn.00411c8b
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.00410727
leave
ret
and word [ebp - 6], 0
lea eax, [ebp - 0x218]
push eax
add esi, 0x40
lea eax, [ebp - 0x214]
push eax
mov word [ebp - 0xc], si
mov esi, 0x104
push esi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], 0x3a
mov word [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x417f92
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x417f3a
inc eax
cmp eax, esi
ja 0x417f3a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x417fc9
cmp eax, dword [ebp + 0x10]
jg 0x417faa
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
call fcn.0040ee1c
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x417fde
call fcn.00411c8b
mov dword [eax], 0xc
jmp 0x417f3a
cmp eax, dword [ebp + 0x10]
jle 0x417fde
call fcn.00411c8b
mov dword [eax], 0x22
jmp 0x417f3a
lea eax, [ebp - 0x214]
push eax
push ecx
call fcn.004104bd
pop ecx
pop ecx
jmp 0x417f3c

Function at 0x418dc8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x42548c], ebx
push esi
push edi
jne 0x418e48
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x418e83
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x42548c], eax
je 0x418e83
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x425490], eax
call esi
cmp dword [0x424edc], 2
mov dword [0x425494], eax
jne 0x418e48
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x42549c], eax
je 0x418e48
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x425498], eax
mov eax, dword [0x425498]
test eax, eax
je 0x418e8d
call eax
test eax, eax
je 0x418e74
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x42549c]
test eax, eax
je 0x418e74
test byte [ebp - 8], 1
jne 0x418e8d
cmp dword [0x424ee8], 4
jb 0x418e87
or byte [ebp + 0x12], 0x20
jmp 0x418eac
xor eax, eax
jmp 0x418ebc
or byte [ebp + 0x12], 4
jmp 0x418eac
mov eax, dword [0x425490]
test eax, eax
je 0x418eac
call eax
mov ebx, eax
test ebx, ebx
je 0x418eac
mov eax, dword [0x425494]
test eax, eax
je 0x418eac
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x42548c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419387
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004160f0
mov eax, dword [0x4240b8]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.00414b3e
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x4194ba
push 2
push esi
push dword [ebp + 8]
call fcn.00414b3e
add esp, 0xc
cmp eax, ebx
je 0x4194ba
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x41945a
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0040daa0
push 0x8000
push dword [ebp + 8]
call fcn.00419991
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x419410
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00414dbf
add esp, 0xc
cmp eax, 0xffffffff
je 0x419430
sub edi, eax
test edi, edi
jg 0x419408
jmp 0x419448
call fcn.00411c94
cmp dword [eax], 5
jne 0x419445
call fcn.00411c8b
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00419991
pop ecx
pop ecx
jmp 0x4194a2
jge 0x4194a2
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414b3e
push dword [ebp + 8]
call fcn.00418989
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x4194a2
call fcn.00411c8b
mov dword [eax], 0xd
call fcn.00411c94
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.00414b3e
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4194bc
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00410727
leave
ret
Function at 0x4194c8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x41969c
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4265a0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x41969c
test cl, 0x48
je 0x419533
cmp byte [eax + 5], 0xa
je 0x419533
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x419585
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x41956d
call fcn.00411c8b
mov dword [eax], 9
call fcn.00411c94
mov dword [eax], esi
jmp 0x41957d
cmp eax, 0x6d
je 0x41969c
push eax
call fcn.00411c9d
pop ecx
or eax, 0xffffffff
jmp 0x41969e
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x419697
test eax, eax
je 0x4195ac
cmp byte [ebx], 0xa
jne 0x4195ac
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x4195b5
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x419691
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x419681
cmp al, 0xd
je 0x4195e7
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x419673
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x419601
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4195fc
add dword [ebp + 0x10], 2
jmp 0x419655
mov dword [ebp + 0x10], eax
jmp 0x41966f
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x419629
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41966f
cmp dword [ebp - 0xc], 0
je 0x41966f
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x41964a
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x419655
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x419672
cmp ebx, dword [ebp + 0xc]
jne 0x41965a
cmp byte [ebp - 1], 0xa
jne 0x41965a
mov byte [ebx], 0xa
jmp 0x419672
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00414b3e
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x419673
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x4195cb
jmp 0x419691
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x419691
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x41969e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419e4b
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x419e64
or eax, 0xffffffff
jmp 0x419ec5
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x419ec1
push 0x3d
push esi
call fcn.0040f654
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x419ec1
cmp esi, eax
je 0x419ec1
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x424efc]
sete cl
cmp eax, dword [0x424f00]
mov dword [ebp - 8], ecx
jne 0x419ea7
mov edi, eax
call fcn.00419dea
mov dword [0x424efc], eax
cmp eax, ebx
jne 0x419f00
cmp dword [ebp + 0xc], ebx
je 0x419ec9
cmp dword [0x424f04], ebx
je 0x419ec9
call fcn.004196f1
test eax, eax
je 0x419f00
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x419ed2
xor eax, eax
jmp 0x419ec4
push 4
call fcn.0040ee1c
cmp eax, ebx
pop ecx
mov dword [0x424efc], eax
je 0x419ec1
mov dword [eax], ebx
cmp dword [0x424f04], ebx
jne 0x419f00
push 4
call fcn.0040ee1c
cmp eax, ebx
pop ecx
mov dword [0x424f04], eax
je 0x419ec1
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x424efc]
call fcn.00419d9d
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x419f61
cmp dword [esi], ebx
je 0x419f61
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0040dd48
cmp dword [ebp - 8], ebx
pop ecx
jne 0x419f44
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x419fa2
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x419f3b
mov eax, edi
shl eax, 2
push eax
push dword [0x424efc]
call fcn.0041088d
cmp eax, ebx
pop ecx
pop ecx
je 0x419fa2
jmp 0x419f9d
cmp dword [ebp - 8], ebx
jne 0x41a00d
cmp edi, ebx
jge 0x419f70
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x424efc]
call fcn.0041088d
cmp eax, ebx
pop ecx
pop ecx
je 0x419ec1
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x424efc], eax
cmp dword [ebp + 0xc], ebx
je 0x419ff7
push dword [ebp - 4]
call fcn.0040dbc0
inc eax
inc eax
push eax
call fcn.0040ee1c
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x419ff7
push dword [ebp - 4]
push esi
call fcn.0040dc50
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x419ff0
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0040dd48
pop ecx
cmp dword [ebp - 8], ebx
je 0x41a005
push dword [ebp - 4]
call fcn.0040dd48
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x419ec4
push dword [ebp - 4]
call fcn.0040dd48
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x419ece
Function at 0x11960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.KeStackAttachProcess
call fcn.00011280
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0xe8
push 1
lea eax, [ebp - 1]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.000110a0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
push str.__________nCallAddr_x_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov eax, dword [ebp - 8]
mov dword [0x14008], eax
push 0x116f0
mov ecx, dword [0x14008]
push ecx
call fcn.00011000
mov esp, ebp
pop ebp
ret

Function at 0x119f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x39
call fcn.00011140
mov dword [0x14018], eax
mov byte [ebp - 8], 0x50
mov byte [ebp - 7], 0xff
mov byte [ebp - 6], 0x75
mov byte [ebp - 5], 8
mov byte [ebp - 4], 0x56
mov byte [ebp - 3], 0xe8
push 6
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x14018]
push ecx
call fcn.000110a0
mov dword [0x1400c], eax
push 6
lea edx, [ebp - 8]
push edx
mov eax, dword [0x1400c]
push eax
call fcn.000110a0
mov dword [0x1400c], eax
mov ecx, dword [0x1400c]
push ecx
call fcn.00011030
mov dword [0x14058], eax
mov edx, dword [0x14058]
add edx, 8
mov dword [0x14044], edx
push 0x119e0
mov eax, dword [0x1400c]
push eax
call fcn.00011000
mov ecx, dword [0x1400c]
push ecx
push str.HookNtDebugActiveProcessAddr_x
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x11ad0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 0x18], 0xff
mov byte [ebp - 0x17], 0x75
mov byte [ebp - 0x16], 8
mov byte [ebp - 0x15], 0x56
mov byte [ebp - 0x14], 0xe8
xor eax, eax
mov byte [ebp - 0x13], al
push 5
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [0x14018]
push edx
call fcn.000110a0
mov dword [0x1406c], eax
mov eax, dword [0x1406c]
push eax
call fcn.00011030
mov dword [0x1406c], eax
mov ecx, dword [0x1406c]
push ecx
push str.DbgkpPostFakeProcessCreateMessagesAddr_x
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov byte [ebp - 0x10], 0xff
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0xc
mov byte [ebp - 0xd], 0xff
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 8
mov byte [ebp - 0xa], 0xe8
push 7
lea edx, [ebp - 0x10]
push edx
mov eax, dword [0x1406c]
push eax
call fcn.000110a0
mov dword [0x1404c], eax
mov ecx, dword [0x1404c]
push ecx
call fcn.00011030
mov dword [0x1404c], eax
mov edx, dword [0x1404c]
push edx
push str.DbgkpPostFakeThreadMessagesAddr_x
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov byte [ebp - 8], 0x50
mov byte [ebp - 7], 0x56
mov byte [ebp - 6], 0xff
mov byte [ebp - 5], 0x75
mov byte [ebp - 4], 8
mov byte [ebp - 3], 0xe8
push 6
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x1404c]
push ecx
call fcn.000110a0
mov dword [0x14070], eax
mov edx, dword [0x14070]
push edx
push str.HookDbgkpPostFakeThreadMessagesAddr_x
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov eax, dword [0x14070]
push eax
call fcn.00011030
mov dword [0x14068], eax
mov ecx, dword [0x14068]
add ecx, 0xb
mov dword [0x14004], ecx
push 0x11ab0
mov edx, dword [0x14070]
push edx
call fcn.00011000
mov esp, ebp
pop ebp
ret
Function at 0x11c20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0xff
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0xf8
mov byte [ebp - 0xd], 0xff
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 8
mov byte [ebp - 0xa], 0xe8
push 7
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x1406c]
push ecx
call fcn.000110a0
mov dword [0x14088], eax
mov edx, dword [0x14088]
push edx
call fcn.00011030
mov dword [0x14088], eax
mov byte [ebp - 8], 0xff
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0xc
mov byte [ebp - 5], 0xff
mov byte [ebp - 4], 0x75
mov byte [ebp - 3], 8
mov byte [ebp - 2], 0xe8
push 7
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x14088]
push ecx
call fcn.000110a0
mov dword [0x14080], eax
push 0x11ab0
mov edx, dword [0x14080]
push edx
call fcn.00011000
mov eax, dword [0x14080]
push eax
push str.HookDbgkpPostFakeModuleMessagesAddr_x
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x11cf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 8], 0x53
mov byte [ebp - 7], 0x53
mov byte [ebp - 6], 0x52
mov byte [ebp - 5], 0x50
mov byte [ebp - 4], 0x51
mov byte [ebp - 3], 0xe8
push 6
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x14058]
push ecx
call fcn.000110a0
mov dword [0x1401c], eax
push 0x11ab0
mov edx, dword [0x1401c]
push edx
call fcn.00011000
mov eax, dword [0x1401c]
push eax
push str.HookDbgkpSendApiMessageAddr_x
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x11e10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00011d70
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x11e35
mov eax, dword [ebp - 0x14]
push eax
push 0x1341c
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], 0x40
mov byte [ebp - 0xa], 4
mov byte [ebp - 9], 0x8d
mov byte [ebp - 8], 0x77
mov byte [ebp - 7], 0xb8
mov byte [ebp - 6], 3
mov byte [ebp - 5], 6
mov byte [ebp - 4], 0x33
mov byte [ebp - 3], 0xc9
push 0xa
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x4800
push edx
call fcn.000110a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x11eb3
mov eax, dword [ebp - 0x10]
sub eax, 0xe
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x13428
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov byte [eax + 4], 0x70
mov edx, dword [ebp - 0x10]
push edx
push 0x13440
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
jmp 0x11ec0
push 0x1344c
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x120c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x14010], eax
call fcn.00011350
call fcn.00011630
call fcn.000114b0
call fcn.00011570
call fcn.00011fc0
call fcn.000117b0
call fcn.00011960
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0x12270
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0x12270
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0x12270
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], 0x12270
mov edx, dword [ebp + 8]
mov dword [edx + 0x70], 0x12270
mov eax, dword [ebp + 8]
push eax
call fcn.00012150
mov dword [ebp - 4], eax
push 0x134dc
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], 0x12020
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x12150
Capabilities:
Create device object
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x134ec
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push 0x22
lea edx, [ebp - 0x14]
push edx
push 0x14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x121df
cmp dword [ebp - 0x18], 0xc000009a
jne 0x1219e
push 0x13508
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
cmp dword [ebp - 0x18], 0x40000000
jne 0x121b4
push 0x13514
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
cmp dword [ebp - 0x18], 0xc0000035
jne 0x121ca
push 0x13524
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
push 0x13534
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x12261
push 0x13544
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
push str.__BaoHuSys
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
or eax, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0x10], edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x1225f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [ebp - 0x18]
jmp 0x12261
xor eax, eax
mov esp, ebp
pop ebp
ret 4