joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406bf0
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov eax, esi
xor ecx, ecx
cdq
and edx, 3
xor ebx, ebx
add eax, edx
mov dl, 0x3d
sar eax, 2
mov dword [esp + 0x18], ecx
lea edi, [eax + eax*2]
mov eax, dword [esp + 0x14]
cmp byte [eax + esi - 1], dl
jne 0x406c26
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x18]
cmp byte [eax + esi - 2], dl
jne 0x406c31
inc ecx
mov dword [esp + 0x18], ecx
cmp byte [eax + esi - 3], dl
jne 0x406c3c
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, 3
ja case.default.0x406c41
jmp dword [ecx*4 + 0x406d0c]
add edi, 4
jmp case.default.0x406c41
add edi, 3
jmp case.default.0x406c41
add edi, 2
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0xc], edx
jne 0x406c7f
push str.No_enough_memory._n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, edi
push ebp
mov ebp, ecx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
mov ebp, edx
and ecx, 3
rep stosb byte es:[edi], al
sub esi, dword [esp + 0x1c]
test esi, esi
mov dword [esp + 0x1c], esi
jle 0x406cff
xor edi, edi
xor esi, esi
cmp ebx, dword [esp + 0x1c]
jge 0x406ccb
mov eax, dword [esp + 0x18]
mov cl, byte [ebx + eax]
push ecx
call fcn.00406d20
movsx edx, al
shl esi, 6
add esp, 4
or esi, edx
inc edi
inc ebx
cmp edi, 4
jl 0x406ca6
mov eax, 4
sub eax, edi
lea ecx, [eax + eax*2]
shl ecx, 1
shl esi, cl
xor eax, eax
mov ecx, 0x10
cmp eax, edi
je 0x406cf5
mov edx, esi
sar edx, cl
inc ebp
sub ecx, 8
inc eax
cmp ecx, 0xfffffff8
mov byte [ebp - 1], dl
jg 0x406ce0
cmp ebx, dword [esp + 0x1c]
jl 0x406ca2
mov edx, dword [esp + 0x10]
mov byte [ebp], 0
pop ebp
pop edi
pop esi
mov eax, edx
pop ebx
pop ecx
ret

Function at 0x406d40
Capabilities:
Get mac address on windows

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0
mov dword [esp + 0xc], 0
call sub.iphlpapi.dll_GetAdaptersInfo
mov ecx, dword [esp + 4]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [esp + 4]
mov esi, eax
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x406d90
test esi, esi
je 0x406d90
add esi, 0x194
mov eax, dword [esi]
mov dword [0x413c4c], eax
mov cx, word [esi + 4]
mov word [0x413c50], cx
mov eax, 0x413c4c
pop esi
pop ecx
ret
Function at 0x4092d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40c05f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
mov eax, dword [eax - 8]
lea esi, [eax - 3]
push esi
push 0
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
push 3
lea edx, [esp + 8]
push esi
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::Mid
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x2c]
push str._s_s
push edx
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 2
call fcn.0040ad9c
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.0040ad9c
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call fcn.0040ad9c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40a6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40c328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
mov dword [esp + 0x18], 0
mov ebx, 1
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionPrint
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
push closesocket
mov byte [esp + 0x134], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x138]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
lea edx, [esp + 8]
push ecx
push 0x4118e8
push edx
mov byte [esp + 0x134], 3
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x13c]
add esp, 0xc
lea eax, [esp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x18], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x128], 2
call fcn.0040ad9c
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], bl
call fcn.0040ad9c
lea ecx, [esp + 0x134]
mov byte [esp + 0x128], 0
call fcn.0040ad9c
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 8

Function at 0x40a7e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x40c358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionPrint
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push ecx
push closesocket
mov byte [esp + 0x24], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [edx - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
mov esi, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call fcn.0040ad9c
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.0040ad9c
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.0040ad9c
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x548110
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..PDX_1
lea edi, [esi - 0xf7000]
push edi
or ebp, 0xffffffff
jmp 0x548132
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x548139
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x548128
mov eax, 1
add ebx, ebx
jne 0x54814b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54815c
jne 0x54816c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54816c
dec eax
add ebx, ebx
jne 0x548168
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x548140
xor ecx, ecx
sub eax, 3
jb 0x548184
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5481f6
sar eax, 1
mov ebp, eax
jmp 0x54818f
add ebx, ebx
jne 0x54818f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x54819c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5481c0
inc ecx
add ebx, ebx
jne 0x5481ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5481a1
jne 0x5481bd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5481a1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5481e0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5481d1
jmp 0x54812e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5481e0
add edi, ecx
jmp 0x54812e
pop esi
mov edi, esi
mov ecx, 0x16ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5481fe
cmp byte [edi], 0xe
jne 0x5481fe
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x548203
lea edi, [esi + 0x146000]
mov eax, dword [edi]
or eax, eax
je 0x548272
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14862c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1486f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x548230
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1486f8]
or eax, eax
je 0x54826c
mov dword [ebx], eax
add ebx, 4
jmp 0x54824d
call dword [esi + 0x1486fc]
popal
jmp 0x4045a1
Function at 0x10530
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x11b08]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x6a
mov byte [ebp - 7], 0x1c
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0xf0
mov byte [ebp - 0x12], 0xae
mov byte [ebp - 0x11], 0x4d
mov byte [ebp - 0x10], 0x80
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 8
mov byte [ebp - 0x1e], 0xaf
mov byte [ebp - 0x1d], 0x4d
mov byte [ebp - 0x1c], 0x80
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
push 0xba
call fcn.00010500
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
push 0x11630
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0x24], 0
jne 0x105b9
push 0x11600
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
or eax, 0xffffffff
jmp 0x10693
push 0x115
call fcn.00010500
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x115d0
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x105f2
push 0x115a0
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
or eax, 0xffffffff
jmp 0x10693
mov edx, dword [ebp - 0x24]
mov dword [0x11b20], edx
mov eax, dword [ebp - 0x18]
mov dword [0x11b24], eax
call fcn.00010490
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
mov byte [ebp - 1], al
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [0x11b10], edx
mov ax, word [ecx + 4]
mov word [0x11b14], ax
mov cl, byte [ecx + 6]
mov byte [0x11b16], cl
mov edx, dword [ebp - 0x24]
mov ax, word [ebp - 8]
mov word [edx], ax
mov ecx, dword [ebp - 0x24]
add ecx, 2
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov al, byte [ebp - 0x10]
mov byte [ecx + 4], al
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [0x11b18], edx
mov ax, word [ecx + 4]
mov word [0x11b1c], ax
mov cl, byte [ecx + 6]
mov byte [0x11b1e], cl
mov edx, dword [ebp - 0x18]
mov ax, word [ebp - 8]
mov word [edx], ax
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov al, byte [ebp - 0x1c]
mov byte [ecx + 4], al
mov cl, byte [ebp - 1]
call dword [sym.imp.HAL.dll_KfLowerIrql]
call fcn.000104b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0001154d
mov esp, ebp
pop ebp
ret
Function at 0x106b0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x11b08]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x20], 0xb8
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x14], 0xff
mov byte [ebp - 0x13], 0xe0
mov byte [ebp - 0x22], 0x56
mov byte [ebp - 5], 0x57
mov byte [ebp - 0x24], 0x5f
mov byte [ebp - 0x21], 0x5e
mov byte [ebp - 0x23], 0xe8
push 0x116c0
call fcn.000104d0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x116a0
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0xc], 0
jne 0x10732
push 0x11680
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
or eax, 0xffffffff
jmp 0x10826
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, 1
test edx, edx
je 0x107cc
mov eax, dword [ebp - 4]
movzx ecx, byte [eax - 1]
movzx edx, byte [ebp - 0x22]
cmp ecx, edx
jne 0x107be
mov eax, dword [ebp - 4]
movzx ecx, byte [eax - 2]
movzx edx, byte [ebp - 5]
cmp ecx, edx
jne 0x107be
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 5]
movzx edx, byte [ebp - 0x24]
cmp ecx, edx
jne 0x107be
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 6]
movzx edx, byte [ebp - 0x21]
cmp ecx, edx
jne 0x107be
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x23]
cmp ecx, edx
jne 0x107be
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 1]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 5]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [0x11b28], ecx
mov edx, dword [0x11b28]
push edx
push 0x11660
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
jmp 0x107cc
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x10738
mov dword [ebp - 0x1f], 0x10840
call fcn.00010490
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
mov byte [ebp - 0xd], al
mov ecx, dword [0x11b28]
mov edx, dword [ecx]
mov dword [0x11b2c], edx
mov al, byte [ecx + 4]
mov byte [0x11b30], al
mov ecx, dword [0x11b28]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov al, byte [ebp - 0x1c]
mov byte [ecx + 4], al
mov ecx, dword [0x11b28]
mov dx, word [ebp - 0x14]
mov word [ecx + 5], dx
mov cl, byte [ebp - 0xd]
call dword [sym.imp.HAL.dll_KfLowerIrql]
call fcn.000104b0
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0001154d
mov esp, ebp
pop ebp
ret
Function at 0x10860
Capabilities:
Get system information on windows
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x108f9
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x1099c
mov eax, dword [ebp - 8]
imul eax, eax, 0x11c
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x11c
mov edx, dword [ebp - 0x1c]
movzx ecx, word [edx + ecx + 0x1a]
lea edx, [eax + ecx + 0x1c]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
jne 0x10997
mov eax, dword [ebp - 8]
imul eax, eax, 0x11c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax + 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0x116e0
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x11c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx + 8]
mov dword [edx], ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x11c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + edx + 0xc]
mov dword [eax], edx
mov byte [ebp - 1], 1
jmp 0x1099c
jmp 0x108f0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x109b5
or eax, 0xffffffff
jmp 0x109b8
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x109d0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [0x11b44]
mov ecx, dword [eax + 0x112a0]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0xbc
jne 0x10a15
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
push 0x11720
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0x70
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
push 0x11700
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10e30
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
mov ecx, dword [eax]
add ecx, 0x354
mov dword [0x11ba8], ecx
mov edx, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
mov eax, dword [edx]
add eax, 0x154
mov dword [0x11b9c], eax
mov ecx, dword [0x11ba8]
mov edx, dword [ecx]
mov dword [0x11bac], edx
mov eax, dword [0x11b9c]
mov ecx, dword [eax]
mov dword [0x11b98], ecx
mov edx, dword [0x11bac]
push edx
push 0x11820
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov eax, dword [0x11b98]
push eax
push 0x11810
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
call fcn.00010490
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
mov byte [ebp - 1], al
mov ecx, dword [0x11b9c]
mov dword [ecx], 0x10d60
mov edx, dword [0x11ba8]
mov dword [edx], 0x10dc0
mov cl, byte [ebp - 1]
call dword [sym.imp.HAL.dll_KfLowerIrql]
call fcn.000104b0
mov eax, 0xc0000001
mov esp, ebp
pop ebp
ret
Function at 0x10ee0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x11b08]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x10], 0xe9
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0x90
push 0x118e0
call fcn.000104d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10f47
push 0x118c0
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
or eax, 0xffffffff
jmp 0x110a8
push 0x11890
call fcn.000104d0
mov dword [0x11b4c], eax
cmp dword [0x11b4c], 0
jne 0x10f74
push 0x11860
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
or eax, 0xffffffff
jmp 0x110a8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov ecx, 1
test ecx, ecx
je 0x11012
mov edx, dword [ebp - 4]
movzx eax, byte [edx - 7]
cmp eax, 0x50
jne 0x11004
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx - 0xe]
cmp edx, 0x56
jne 0x11004
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xd]
cmp ecx, 0x50
jne 0x11004
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16]
cmp eax, 0x3b
jne 0x11004
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x17]
cmp edx, 0xce
jne 0x11004
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
cmp ecx, 0xe8
jne 0x11004
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 5]
cmp eax, 0x8b
jne 0x11004
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 6]
cmp edx, 0xf8
jne 0x11004
mov eax, dword [ebp - 4]
push eax
push 0x11830
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
jmp 0x11012
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x10f7a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 1]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 5]
mov dword [0x11b50], eax
mov ecx, dword [ebp - 4]
sub ecx, 6
mov dword [0x11b58], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov dword [0x11b54], edx
mov eax, dword [0x11b58]
add eax, 5
mov ecx, 0x110c0
sub ecx, eax
mov dword [ebp - 0xf], ecx
mov edx, dword [0x11b58]
mov dword [0x11b5c], edx
call fcn.00010490
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
mov byte [ebp - 0x11], al
mov eax, dword [0x11b58]
mov ecx, dword [eax]
mov dword [0x11b60], ecx
mov dx, word [eax + 4]
mov word [0x11b64], dx
mov eax, dword [0x11b58]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dx, word [ebp - 0xc]
mov word [eax + 4], dx
mov cl, byte [ebp - 0x11]
call dword [sym.imp.HAL.dll_KfLowerIrql]
call fcn.000104b0
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0001154d
mov esp, ebp
pop ebp
ret
Function at 0x11150
Capabilities:
Check for software breakpoints
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x11b08]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x10], 0xe9
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0x90
push 0x11990
call fcn.000104d0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x11970
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0x1c], 0
jne 0x111c8
push 0x118c0
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
or eax, 0xffffffff
jmp 0x11333
mov ecx, dword [ebp - 0x1c]
add ecx, 7
mov dword [ebp - 4], ecx
mov edx, 1
test edx, edx
je 0x1128c
mov eax, dword [ebp - 4]
movzx ecx, byte [eax - 7]
cmp ecx, 0x50
jne 0x1125c
mov edx, dword [ebp - 4]
movzx eax, byte [edx - 6]
cmp eax, 0xff
jne 0x1125c
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx - 5]
cmp edx, 0x75
jne 0x1125c
mov eax, dword [ebp - 4]
movzx ecx, byte [eax - 4]
cmp ecx, 0xcc
jne 0x1125c
mov edx, dword [ebp - 4]
movzx eax, byte [edx - 3]
cmp eax, 0xff
jne 0x1125c
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx - 2]
cmp edx, 0x75
jne 0x1125c
mov eax, dword [ebp - 4]
movzx ecx, byte [eax - 1]
cmp ecx, 0xe0
jne 0x1125c
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0xe8
jne 0x1125c
mov ecx, dword [ebp - 4]
push ecx
push 0x11950
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
jmp 0x1128c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
add eax, 0x400
cmp dword [ebp - 4], eax
jb 0x11287
push 0x11920
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
or eax, 0xffffffff
jmp 0x11333
jmp 0x111d1
mov ecx, dword [ebp - 4]
push ecx
push 0x11950
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 1]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 5]
mov dword [0x11b78], eax
mov ecx, dword [ebp - 4]
sub ecx, 6
mov dword [0x11b80], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov dword [0x11b7c], edx
mov eax, dword [0x11b80]
add eax, 5
mov ecx, 0x11350
sub ecx, eax
mov dword [ebp - 0xf], ecx
mov edx, dword [0x11b80]
mov dword [0x11b68], edx
call fcn.00010490
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
mov byte [ebp - 0x11], al
mov eax, dword [0x11b80]
mov ecx, dword [eax]
mov dword [0x11b6c], ecx
mov dx, word [eax + 4]
mov word [0x11b70], dx
mov eax, dword [0x11b80]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dx, word [ebp - 0xc]
mov word [eax + 4], dx
mov cl, byte [ebp - 0x11]
call dword [sym.imp.HAL.dll_KfLowerIrql]
call fcn.000104b0
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0001154d
mov esp, ebp
pop ebp
ret
Function at 0x4029c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x445c8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov edi, dword [esp + 0x48]
mov esi, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x10], 0x4488d4
mov al, byte [esp + 0x50]
mov dl, byte [esp + 0x54]
mov byte [esi + 0x1c], al
mov al, byte [esp + 0x58]
mov byte [esi + 0x1e], al
mov byte [esi + 0x1d], dl
mov dl, byte [esp + 0x5c]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x44], 0
mov byte [esi + 0x1f], dl
mov dword [esi], 0x4488d0
call fcn.0043a8e2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov eax, dword [edi + 4]
test eax, eax
mov dword [esi + 4], eax
je 0x402a59
mov dword [eax + 8], esi
mov ecx, dword [esp + 0x38]
mov dword [esi + 8], 0
mov dword [edi + 4], esi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x18