joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4ba2
Capabilities:
Encode data using xor

Disassembly:
sbb dword [eax + eax - 0x7d], 0xffffffc2
add cl, byte [esi - 0x7b]
idiv byte [edi]
add cl, cl
mov eax, ecx
pop esi
pop ebx
pushfd
add byte [ebx + 0x565351ec], cl
mov ebx, eax
add byte [eax], al
xor eax, eax
mov dword [ebx], eax
push ebx
mov esi, 0xfc458d00
push eax
push 0x38
inc dword [eax]
add bl, bh
push esi
add byte [eax + eax*8 + 0x38b005b], al
add eax, eax
call fcn.004bf99e
mov esi, eax
push ebx
push esi
lea esp, [ebp + 0x386a5000]
call dword [0xfb4c]
mov eax, esi
pop esi
pop ebx
pop ecx
xor eax, dword [eax]
lea eax, [eax]
push ebp
mov ebp, esp
add dword [eax], 0
push ebx
push esi
mov esi, edx
mov ebp, dword [edi]
add al, al
mov dword [ebp - 0xc], eax
call dword [0x54]
cmp bx, ax
je 0x4b4b4c
add byte [ebp - 4], al
call fcn.004b4b5e
add byte [eax], al
hlt

Function at 0x4c7c5e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd490
cmp edx, dword [eax]
je 0x4c7c80
add eax, 8
inc ecx
cmp eax, 0x4cd520
jl 0x4c7c71
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd490]
jne 0x4c7dae
mov eax, dword [0x4d1b7c]
cmp eax, 1
je 0x4c7d88
test eax, eax
jne 0x4c7cb1
cmp dword [0x4cd3d0], 1
je 0x4c7d88
cmp edx, 0xfc
je 0x4c7dae
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c7ce8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c8370
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c85a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c7d2b
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c85a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cb6f8
push edi
call fcn.004c9d70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c8370
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c8380
lea eax, [ebp - 0xa0]
push 0x4cb6d8
push eax
call fcn.004c8380
push dword [esi + 0x4cd494]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c8380
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c9ce4
add esp, 0x2c
pop edi
jmp 0x4c7dae
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd494]
push 0
push eax
push dword [esi]
call fcn.004c85a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x11a68
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x7be65e8
lea esp, [esp + 8]
jb 0x23c38
and al, ah
cmc
shld eax, esp, 0x16
mov eax, dword [esi + 0x14]
shld cx, di, 7
mov ecx, dword [esi]
bswap edi
sar di, cl
add di, dx
lea edi, [ecx + eax]
bt cx, cx
bt si, 8
cmp edx, edi
jmp fcn.0001b21c

Function at 0x11ca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x28]
push 0
push 1
lea eax, [esi + 4]
mov dword [esi], 0
push eax
mov dword [0x182ec], 0
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
push edi
push 0x11630
push 0
push 0
push 0
push 0
lea ecx, [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
jl 0x11d07
mov edx, dword [ebp + 8]
push 0
push esi
push 0
push 0
push 0x1fffff
push edx
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x1214d
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec cl
lea esp, [esp + 0x28]
setns cl
mov cl, byte [eax]
pushfd
push esi
push edi
jmp fcn.00026911

Function at 0x12740
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
xor eax, eax
push esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
xor esi, esi
push ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x54], esi
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, dword [ebp + 0x10]
push 0x100
push esi
push esi
push esi
push esi
push 0x20
push 1
push eax
mov eax, dword [ebp + 0xc]
push 0x80
push esi
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x2c]
push edx
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0x240
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IoCreateFile]
pop esi
test eax, eax
jl 0x12805
mov ecx, dword [ebp - 4]
push 4
push 0x28
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
jge 0x127f5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
test byte [ebp - 0x34], 0x10
mov eax, dword [ebp - 4]
je 0x12807
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x12ed0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x30
push 4
push 0x28
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 8]
push ecx
push edx
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
jl 0x12f26
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x12f02
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 4], edx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x12f14
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 4], edx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x12f26
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x12f30
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x12f68
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x12f7a
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x12f8c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 8]
push 4
push 0x28
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 8]
push ecx
push edx
call dword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x13040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00012810
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea ecx, [ebp - 8]
push ecx
call fcn.00012ae0
xor esi, esi
push esi
push esi
push 0x20
push 5
push 3
push 0x80
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
lea edx, [ebp - 8]
push ecx
mov dword [ebp - 0x28], edx
push 0xc0000000
lea edx, [ebp + 8]
push edx
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0x240
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, esi
jl 0x130de
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov edx, dword [ebp + 8]
push edx
mov esi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x13240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
lea ecx, [ebp - 0x24]
push ecx
xor ebx, ebx
push 0x20019
lea edx, [ebp + 8]
push edx
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], 0x240
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x132e1
push edi
push 0x172d8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push 2
lea edx, [ebp - 0xc]
push edx
push eax
call edi
cmp eax, 0xc0000034
je 0x1338c
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x1338c
push esi
add eax, 2
push eax
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
cmp esi, ebx
jne 0x132e8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop esi
mov eax, 0xc000009a
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 4]
push edx
push ebx
push esi
call sub.ntoskrnl.exe_memset
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ecx
push esi
push 2
lea edx, [ebp - 0xc]
push edx
push eax
call edi
mov ebx, eax
test ebx, ebx
jge 0x13317
mov ecx, dword [ebp + 8]
push ecx
jmp 0x13372
cmp dword [esi + 4], 2
jne 0x13369
mov eax, dword [esi + 8]
cmp eax, 2
jbe 0x13369
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x13362
add eax, 2
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [edi], eax
test eax, eax
je 0x13362
mov edx, dword [esi + 8]
add edx, 2
push edx
push 0
push eax
call sub.ntoskrnl.exe_memset
mov eax, dword [esi + 8]
mov edx, dword [edi]
push eax
lea ecx, [esi + 0xc]
push ecx
push edx
call sub.ntoskrnl.exe_memcpy
add esp, 0x18
jmp 0x1336e
mov ebx, 0xc000009a
jmp 0x1336e
mov ebx, 0xc000003e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
mov eax, 0xc0000034
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x137c0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x38
test eax, eax
je 0x137d3
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x137e0
mov dword [eax], 0
mov eax, dword [ebp + 8]
push 0
push 0
push 0x20
push 1
push 1
push 0x80
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x18], eax
push 0x120089
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x240
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x1390c
mov eax, dword [ebp + 8]
push esi
push edi
push 5
push 0x18
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 8]
push edx
push eax
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov edi, eax
test edi, edi
jl 0x138fe
mov eax, dword [ebp - 0x30]
test eax, eax
jbe 0x138f9
cmp dword [ebp - 0x2c], 0
jne 0x138f9
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
test esi, esi
je 0x138e0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
push 0
push 0
push ecx
push esi
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov edi, eax
test edi, edi
jge 0x138bf
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x10]
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
push ecx
mov dword [eax], edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
push ecx
mov edi, 0xc000009a
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edi, 0xc0000028
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x13920
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
lea ecx, [ebp - 0xc]
push ecx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x24], eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 0x240
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, ebx
jl 0x13aa9
mov ecx, dword [ebp - 4]
push esi
push edi
push ecx
call fcn.000130f0
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push str.DeleteFlag
lea edx, [ebp - 0x14]
push edx
call esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
push str.ErrorControl
lea edx, [ebp - 0x14]
push edx
call esi
mov edx, dword [ebp - 4]
mov edi, dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
lea ecx, [ebp - 0x14]
push ecx
push edx
mov dword [ebp - 8], ebx
call edi
push str.Type
lea eax, [ebp - 0x14]
push eax
call esi
mov eax, dword [ebp - 4]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push ebx
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 8], 1
call edi
push str.Start
lea ecx, [ebp - 0x14]
push ecx
call esi
mov ecx, dword [ebp - 4]
push 4
lea edx, [ebp + 0x10]
push edx
push 4
push ebx
lea eax, [ebp - 0x14]
push eax
push ecx
call edi
push 0x172d8
lea edx, [ebp - 0x14]
push edx
call esi
mov edx, dword [ebp + 8]
mov eax, edx
lea ebx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x13a10
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [ebp - 4]
push 2
push 0
lea ecx, [ebp - 0x14]
push ecx
push edx
call edi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push 0x5c
push ecx
call dword [sym.imp.ntoskrnl.exe_wcsrchr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x13a98
add ebx, 2
je 0x13a98
mov eax, ebx
lea edx, [eax + 2]
jmp 0x13a60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x13a60
sub eax, edx
push str.DisplayName
lea edx, [ebp - 0x14]
sar eax, 1
push edx
mov dword [ebp + 0xc], eax
call esi
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 4]
push ecx
push ebx
push 1
push 0
lea edx, [ebp - 0x14]
push edx
push eax
call edi
mov esi, eax
jmp 0x13a9b
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x14240
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push 0x50
push ebx
push 0x18340
mov dword [ebp - 0x10], 0xc0000001
mov dword [0x18314], ebx
call sub.ntoskrnl.exe_memset
add esp, 0xc
push str.REGISTRYMACHINESYSTEMCurrentControlSetServicesTcpipParametersInterfaces
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea edx, [ebp - 0x30]
push edx
push 0x20019
lea eax, [ebp - 8]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], 0x240
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x143e4
mov edx, dword [ebp - 8]
push esi
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryKey]
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push 2
push edx
call edi
mov eax, dword [ebp - 4]
add eax, 2
push eax
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
cmp esi, ebx
jne 0x142f3
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
mov eax, 0xc000009a
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push esi
push 2
push eax
call edi
mov edi, eax
cmp edi, ebx
jge 0x14322
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], ebx
jbe 0x143cc
jmp 0x14330
mov eax, dword [ebp - 8]
mov edi, dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0
push ebx
push eax
call edi
mov eax, dword [ebp - 4]
add eax, 2
push eax
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
test esi, esi
je 0x143bd
mov ecx, dword [ebp - 4]
push ecx
push 0
push esi
call sub.ntoskrnl.exe_memset
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push 0
push ebx
push ecx
call edi
test eax, eax
jl 0x143b4
mov edx, dword [ebp - 8]
push str.NameServer
lea edi, [esi + 0x10]
push edi
push edx
call fcn.00013fe0
test eax, eax
jge 0x143ad
mov eax, dword [ebp - 8]
push str.DhcpNameServer
push edi
push eax
call fcn.00013fe0
test eax, eax
jl 0x143b4
mov dword [ebp - 0x10], 0
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ecx, dword [ebp - 0xc]
inc ebx
cmp ebx, dword [ecx + 0x14]
jb 0x14330
mov esi, ecx
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x15e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x15eac
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x15eac
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jbe 0x15eab
lea esp, [esp]
movzx edx, byte [ecx]
xor edx, 0x9e
mov dl, byte [edx + 0x179c8]
xor dl, 0x34
mov byte [eax], dl
inc eax
inc ecx
sub esi, 1
jne 0x15e90
pop esi
pop ebp
ret 0xc

Function at 0x15eb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x15edd
mov edx, dword [ebp + 0xc]
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x175c8]
dec ecx
inc edx
test ecx, ecx
jne 0x15ec1
pop esi
pop ebp
ret 0xc

Function at 0x1b48c
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 8]
je 0x2718c
mov di, 0x3bef
jmp 0x1c1e9
jmp 0x22db3

Function at 0x1b8f7
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x1cbad
lea esp, [esp + 0x44]
jb 0x1c510
pushfd
call fcn.00011891

Function at 0x1b904
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x20], 0
jmp 0x20e72
jmp 0x28631
pushal
mov dword [esp + 0x3c], eax
mov byte [esp], ah
push dword [esp + 4]
mov word [esp], 0xd199
mov dword [esp + 0x3c], 0x1d73c
call fcn.00021ed7
jmp 0x1b9f9

Function at 0x1c0e7
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edi
pushal
mov dword [esp + 0x1c], 0
jmp 0x2a017
jmp 0x269a0
mov dword [ebp - 8], eax
jmp 0x23065
push 0x64b1af57
inc edi
pushfd
jmp 0x239c8
push ebp
mov word [esp], dx
jmp 0x1c0f7
lea esp, [esp + 4]
je 0x29cce
dec edi
movzx edi, al
movsx di, bl
mov edi, eax
jmp 0x1c105
lea esp, [esp + 8]
jg 0x1ffa3
jmp 0x1b106
lea esp, [esp + 0x3c]
jne 0x22a28
cmc
sub eax, edx
jmp 0x1cf9e
jmp 0x29d85

Function at 0x1c9d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x28]
jnp 0x2219d
je 0x1342a
pushfd
pushal
cmc
push 0xa140f21d
cmp dword [ecx], 0
push dword [esp + 4]
lea esp, [esp + 0x2c]
je 0x1342a
bswap di
mov di, dx
mov edi, dword [ecx]
pushal
mov byte [esp], 0xb5
lea esp, [esp + 0x20]
call sub.ntoskrnl.exe_rand
shl si, cl
mov esi, eax
push ecx
cmc
cmp dx, ax
and esi, edi
jmp 0x1b7d7
call fcn.0001eedd

Function at 0x1cbbd
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.000287a3
lea esp, [esp]

Function at 0x1cd52
Capabilities:
Execute anti-debugging instructions

Disassembly:
test cl, cl
push 0xbdfde580
pushfd
call fcn.00029122

Function at 0x1cfad
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x24]
call sub.ntoskrnl.exe_memset
cdq
lahf
push edx
mov eax, dword [ebp - 8]
movzx dx, bl
mov ecx, dword [0x182e4]
movzx dx, dl
pushal
pushfd
movzx dx, bl
mov edx, dword [ecx + esi*8 + 4]
pushfd
mov dword [esp + 0xc], 0x2bfd85d5
mov dword [esp + 0x28], eax
push edx
push 0x100446db
mov byte [esp], 0xf6
call fcn.000233e7
Function at 0x1d1e5
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x24]
je 0x27a61
jmp 0x22f10
push 0x27a61
call fcn.0002b0b8
mov dword [esp + 0x1c], esi
mov byte [esp], dh
lea esp, [esp + 0x1c]
call fcn.00015e10
cwde
pushal
xchg si, di
pushfd
mov edi, dword [esp + 0x24]
pop esi
not bl
pushal
mov esi, dword [esp + 0x44]
pushfd
pop ebx
mov eax, 0xc0000001
movsx bx, bl
call fcn.000242b3
pushfd
mov dword [esp], 0
push esi
mov dword [esp], eax
jmp 0x1d6e9

Function at 0x1d1f4
Capabilities:
Execute anti-debugging instructions

Disassembly:
test cl, cl
pushal
mov word [esp], 0x56be
jmp 0x28c20

Function at 0x1d915
Capabilities:
Execute anti-debugging instructions

Disassembly:
test ch, 0x6e
cmp dword [esi + 0x18], eax
call fcn.0001e5c5
lea esp, [esp]
push 0x4eadbe11
mov cl, byte [eax]
mov byte [esp], ch
pushal
pushal
inc eax
cmp ax, cx
clc
stc
test cl, cl
push ebx
mov byte [esp + 4], 0x50
pushfd
lea esp, [esp + 0x4c]
jne 0x1b7c5
clc
call fcn.00028cfc

Function at 0x1dac6
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
mov dword [esp + 4], edi
lea esp, [esp + 4]
je 0x20e6d
pushfd
pushfd
mov dword [esp + 4], esi
call fcn.0001b3a3

Function at 0x1dae0
Capabilities:
Execute anti-debugging instructions

Disassembly:
setbe cl
lea esp, [esp + 8]
lea esp, [esp + 0x28]
je 0x20b86
jmp 0x21a05
dec ah
inc ax
cwde
push edi
mov eax, dword [0x182e4]
mov byte [esp], ah
mov eax, dword [eax + esi*8 + 8]
push ebx
lea edx, [eax + 1]
not cl
jmp 0x1b7be
mov edi, eax
jmp 0x244f2
pushfd
mov byte [esp], bl
pushfd
mov dword [esp + 4], 0
call fcn.00028f45
pushfd
mov dword [esp + 4], 0x2093a
call fcn.0002102f
inc edi
pushal
mov byte [esp + 8], ah
mov dword [esp + 0x1c], edi
push 0x141607ff
lea esp, [esp + 0x20]
ja 0x23c82
pushfd
pushfd
mov dword [esp + 4], 0
push dword [esp]
mov dword [esp + 4], 0x23825
push 0x31857192
pushfd
call fcn.00021a0c
pushfd
mov dword [esp + 4], edx
mov byte [esp], dh
call fcn.0002ae21

Function at 0x1dc85
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 8], si
lea esp, [esp + 0x2c]
call fcn.00015e70
cmc
push 0x34d2afd6
mov word [esp], 0xa2dc
clc
cmp dword [ebp - 0x10], 0
jmp 0x293da
mov word [esp], 0xf00b
push edi
pushfd
lea esp, [esp + 0xc]
je 0x1f0cf
pushal
mov edx, dword [ebp - 0x10]
pushal
call fcn.0001e9fb

Function at 0x1df67
Capabilities:
Execute anti-debugging instructions

Disassembly:
not edx
lea edx, [edi - 0x5f2dd10]
mov dword [esp], esi
mov dl, bh
jmp 0x23813
movzx dx, cl
jmp 0x1cbc2

Function at 0x1e5c5
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x24b2b
call fcn.000213fe
mov byte [esp], 0x24
jmp 0x1f26d
push dword [esp]
lea esp, [esp + 0xc]
jne 0x23c38
bsr ax, di
sub edx, edx
shrd ax, di, 0xa
and eax, ecx
bts eax, 0x12
mov eax, section..data
push esi
xchg dword [eax], edx
bt bx, si
test edx, edx
jmp 0x24593

Function at 0x1e88b
Capabilities:
Execute anti-debugging instructions

Disassembly:
test cl, cl
mov byte [esp + 4], al
jmp 0x27a40
mov byte [esp + 8], 0xc
inc eax
jmp 0x1cdbe