joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7dd97299
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
xor ebx, ebx
and edi, 2
push 0x34
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
pop esi
jne 0x7dd988dd
test byte [ebp + 0x10], 4
jne 0x7dd988dd
test byte [ebp + 0x10], 8
je 0x7dd972f2
mov ecx, dword [ebp + 0x1c]
mov eax, ecx
imul eax, eax, 0x428
cmp eax, ecx
jb 0x7dda5733
add eax, esi
cmp eax, esi
jb 0x7dda5733
mov esi, eax
mov dword [ebp - 0xc], ecx
test byte [ebp + 0x10], 1
jne 0x7dda56ff
test dword [ebp + 0x10], 0x80000000
jne 0x7dda5719
xor eax, eax
lea ecx, [ebp + 0x10]
push ecx
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call sym.KERNEL32.dll_BaseFormatObjectAttributes
test eax, eax
jl 0x7dd9738d
mov edi, dword [ebp + 8]
and dword [ebp - 0x10], 0
push 0
push 0x8000000
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
push 0xf0007
push edi
call dword [sym.imp.ntdll.dll_NtCreateSection]
xor ecx, ecx
cmp eax, ecx
jl 0x7dd9738d
mov esi, dword [ebp + 0xc]
push 4
push ecx
push 1
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
push esi
push 0xffffffffffffffff
push dword [edi]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp + 0x18], ecx
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
jl 0x7dd9738d
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x1c
mov eax, dword [ebp + 0x18]
inc dword [ebp - 4]
add eax, ecx
mov edx, dword [eax]
add ebx, dword [eax + 4]
add ecx, edx
test edx, edx
jne 0x7dd988dd
test edi, edi
je 0x7dd98900
mov esi, dword [ebp - 4]
imul esi, esi, 0x22c
add esi, 0x34
test byte [ebp + 0x10], 4
je 0x7dd972ca
jmp 0x7dda56f3
mov eax, ebx
imul eax, eax, 0x1c
add esi, eax
jmp 0x7dd972ca
mov ecx, dword [ebp + 0x20]
mov eax, ecx
shl eax, 4
cmp eax, ecx
jb 0x7dda5733
add esi, eax
cmp esi, ecx
jb 0x7dda5733
mov dword [ebp - 8], ecx
jmp 0x7dd972fc
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x28]
jmp 0x7dd9730b
mov eax, 0xc0000173
jmp 0x7dd9738d
Function at 0x7dd979b9
Capabilities:
Check processdebugport

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
push 4
lea eax, [ebp - 4]
push eax
push 7
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jl 0x7dd979e3
cmp dword [ebp - 4], 0
jne 0x7ddb02e6
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret

Function at 0x7dd97b19
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
cmp edi, esi
je 0x7dd97b9f
cmp dword [edi], 0x428
jne 0x7dd97b9f
push 4
push esi
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
lea eax, [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
cmp eax, esi
jl 0x7dda55b8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], esi
je 0x7dda55bb
mov esi, dword [eax + 0x18]
add esi, eax
mov ecx, 0x10a
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x28], ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
push 0xc0000004
jmp 0x7dda55db
push eax
jmp 0x7dda55db
mov eax, dword [edi]
sub eax, 4
push eax
push esi
add edi, 4
push edi
call sub.ntdll.dll_memset
add esp, 0xc
push 0x12
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd97b8a
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd97b98

Function at 0x7dd97e9e
Capabilities:
Suspend thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x7dd97eab
jmp dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_SuspendThread]

Function at 0x7dd97eb6
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
je 0x7dd97f46
cmp dword [edi], 0x428
jne 0x7dd97f46
push 4
push esi
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
lea eax, [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
cmp eax, esi
jl 0x7dda55e7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
cmp ecx, dword [eax + 8]
jae 0x7dd97f3c
mov esi, ecx
imul esi, esi, 0x428
add esi, dword [eax + 0x18]
add esi, eax
inc ecx
mov dword [eax + 0x28], ecx
mov ecx, 0x10a
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
push dword [ebp + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, esi
pop edi
pop esi
leave
ret 8
push 0x12
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd97f29
push 0xc0000004
jmp 0x7dda55e8
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd97f36
Function at 0x7dd980d8
Capabilities:
Read file via mapping

Disassembly:
push 0x34
push 0x7dd98230
call fcn.7dd715c0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x44], ebx
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0x80004005
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], ebx
xor edi, edi
inc edi
mov dword [ebp - 0x3c], edi
push ebx
push ebx
push edi
lea eax, [ebp - 0x44]
push eax
call fcn.7dd7181b
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x7ddb28ce
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
push ebx
mov edi, 0xd0
push edi
push ebx
push 4
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
call fcn.7dd718ce
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x7ddb28e0
push ebx
push ebx
push ebx
push 6
push eax
call fcn.7dd718b6
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, ebx
je 0x7ddb28e7
push edi
push ebx
push esi
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [esi], edi
call fcn.7dd711ff
mov dword [esi + 4], eax
call fcn.7dd71427
mov dword [esi + 8], eax
mov edi, dword [ebp - 0x24]
mov eax, edi
cdq
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], edx
mov dword [esi + 0xb0], 0x80004005
mov eax, dword [ebp + 8]
cdq
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], edx
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x20]
call fcn.7dd711ff
push eax
call dword [sym.imp.ntdll.dll_RtlWerpReportException]
cmp eax, ebx
jl 0x7ddb28ee
cmp dword [ebp - 0x1c], ebx
je 0x7ddb293c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x38]
push eax
push 2
call sym.KERNEL32.dll_WaitForMultipleObjects
mov ecx, eax
sub ecx, ebx
jne 0x7ddb2948
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd98290
push dword [ebp - 0x28]
call fcn.7dd98251
call fcn.7dd71605
ret 8
push 0x7ddb2a68
push ebx
call fcn.7de1ae08
pop ecx
pop ecx
jmp 0x7dd9820f
push 0x7ddb2a4c
jmp 0x7ddb28d3
push 0x7ddb2a34
jmp 0x7ddb28d3
push eax
push 0x7ddb29d8
push ebx
call fcn.7de1ae08
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax], 0xc00000fd
jne 0x7ddb2916
mov dword [ebp - 0x28], 0x80070032
jmp 0x7dd9820f
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call fcn.7dd717e0
push eax
call fcn.7de1d1eb
test eax, eax
jl 0x7ddb2935
cmp dword [ebp - 0x1c], ebx
jne 0x7dd981e5
push 0x7ddb29bc
jmp 0x7ddb28d3
mov dword [ebp - 0x28], 0x50003
jmp 0x7dd9820f
dec ecx
je 0x7ddb295f
push eax
push 0x7ddb2994
push ebx
call fcn.7de1ae08
add esp, 0xc
jmp 0x7dd98206
lea eax, [ebp - 0x30]
push eax
call fcn.7de1c51b
test eax, eax
jl 0x7dd98206
push dword [ebp - 0x30]
call fcn.7de1cc49
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call sym.KERNEL32.dll_WaitForSingleObject
jmp 0x7dd98206
Function at 0x7dd982f2
Capabilities:
Check systemkerneldebuggerinformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor eax, eax
push eax
mov byte [ebp - 4], 0
lea edi, [ebp - 3]
stosb byte es:[edi], al
push 2
lea eax, [ebp - 4]
push eax
push 0x23
xor esi, esi
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x7dd9832b
cmp byte [ebp - 4], 0
je 0x7dd98329
cmp byte [ebp - 3], 0
je 0x7ddb02e0
xor esi, esi
pop edi
mov eax, esi
pop esi
leave
ret
inc esi
jmp 0x7dd9832b
Function at 0x7dd98756
Capabilities:
Query or enumerate registry value

Disassembly:
cmp eax, 0xc0000034
je 0x7dd98894
cmp eax, 0xc0000024
je 0x7dd98894
push dword [ebp - 0x20c]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x208]
jmp 0x7dd988cc
cmp eax, edi
jge 0x7dd987b7
jmp 0x7dd988cc
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
mov esi, dword [ebx + 0x18]
push edi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x210], eax
xor edi, edi
cmp esi, edi
jne 0x7dd9e64c
mov ebx, dword [ebx + 0x20]
cmp ebx, edi
je 0x7dd9e6c8
mov eax, dword [ebp - 0x210]
test byte [eax + 3], 2
jne 0x7dd9e6d2
lea eax, [ebp - 0x208]
push eax
push edi
push dword [ebp - 0x214]
call fcn.7dd7e911
test al, al
je 0x7dd9e6de
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x208]
push ebx
push dword [ebp - 0x214]
call fcn.7dd9222a
cmp eax, edi
jl 0x7dd988cc
cmp dword [ebp - 0x20c], 0xffffffff
je 0x7dd988cc
mov esi, dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
lea eax, [ebp - 0x22c]
push eax
mov ebx, 0x200
push ebx
lea eax, [ebp - 0x204]
push eax
push edi
push edi
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], edi
call esi
mov edi, 0x8000001a
mov dword [ebp - 0x208], eax
cmp eax, edi
je 0x7dd988be
cmp dword [ebp - 0x208], 0
jl 0x7dd98731
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x224], eax
mov ax, word [ebp - 0x1fc]
mov word [ebp - 0x228], ax
mov word [ebp - 0x226], ax
lea eax, [ebp - 0x228]
push eax
push 0
push dword [ebp - 0x220]
push dword [ebp - 0x214]
call fcn.7dd9214d
mov dword [ebp - 0x208], eax
test eax, eax
jl 0x7dd9871b
inc dword [ebp - 0x210]
lea eax, [ebp - 0x22c]
push eax
push ebx
lea eax, [ebp - 0x204]
push eax
push 0
push dword [ebp - 0x210]
push dword [ebp - 0x20c]
call esi
jmp 0x7dd98830
push dword [ebp - 0x20c]
call dword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 8
mov eax, dword [ebp - 0x210]
test byte [eax + 3], 2
jne 0x7dd9e679
mov ax, word [esi + 8]
mov word [ebp - 0x21c], ax
mov ax, word [esi + 0xa]
mov word [ebp - 0x21a], ax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x218], eax
jmp 0x7dd9e68e
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.7dde9dfa
cmp eax, edi
jl 0x7dd988cc
cmp word [ebp - 0x21c], di
je 0x7dd9e6c1
lea eax, [ebp - 0x21c]
push eax
push esi
push ebx
push dword [ebp - 0x214]
call fcn.7dd9214d
cmp eax, edi
jge 0x7dd9e6c1
cmp eax, 0xc0000034
je 0x7dd9e6c1
cmp eax, 0xc0000024
jne 0x7dd988cc
mov esi, dword [esi]
jmp 0x7dd98794
mov eax, 0xc0000016
jmp 0x7dd988cc
push edi
push ebx
call fcn.7dde9dfa
jmp 0x7dd98748
mov eax, 0xc000000d
jmp 0x7dd988cc
Function at 0x7dd98a32
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
je 0x7dd98ac2
cmp dword [edi], 0x22c
jne 0x7dd98ac2
push 4
push esi
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
lea eax, [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
cmp eax, esi
jl 0x7dda559a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
cmp ecx, dword [eax + 4]
jae 0x7dd98ab8
mov esi, ecx
imul esi, esi, 0x22c
add esi, dword [eax + 0x14]
add esi, eax
inc ecx
mov dword [eax + 0x24], ecx
mov ecx, 0x8b
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
push dword [ebp + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, esi
pop edi
pop esi
leave
ret 8
push 0x12
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd98aa5
push 0xc0000004
jmp 0x7dda559b
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd98ab2

Function at 0x7dd98cdb
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
cmp edi, esi
je 0x7dd98d61
cmp dword [edi], 0x22c
jne 0x7dd98d61
push 4
push esi
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
lea eax, [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
cmp eax, esi
jl 0x7dda555a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], esi
je 0x7dda555d
mov esi, dword [eax + 0x14]
add esi, eax
mov ecx, 0x8b
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x24], ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
push 0xc0000004
jmp 0x7dda557d
push eax
jmp 0x7dda557d
mov eax, dword [edi]
sub eax, 4
push eax
push esi
add edi, 4
push edi
call sub.ntdll.dll_memset
add esp, 0xc
push 0x12
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd98d4c
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd98d5a
Function at 0x7dd99dd0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sym.KERNEL32.dll_Basep8BitStringToDynamicUnicodeString
test eax, eax
je 0x7dda416c
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
call sym.KERNEL32.dll_Basep8BitStringToDynamicUnicodeString
test eax, eax
je 0x7dda4173
push esi
mov eax, 0x208
push edi
mov word [ebp - 6], ax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
movzx edx, word [ebp - 6]
mov eax, dword [eax + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor edi, edi
mov dword [ebp - 4], eax
cmp eax, edi
je 0x7dda417f
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call fcn.7dd9bc13
mov esi, eax
cmp esi, edi
je 0x7dd99e85
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, 0x104
mov word [ebp - 0x1e], ax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x1c]
push edi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x20]
push ecx
call eax
cmp eax, edi
jl 0x7dda418c
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edi, esi
mov esi, dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
lea eax, [ebp - 0x18]
push eax
call esi
lea eax, [ebp - 0x10]
push eax
call esi
mov eax, edi
pop edi
pop esi
leave
ret 0x10
xor eax, eax
jmp 0x7dd99eb3
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
jmp 0x7dda416c
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd99e9d
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor esi, esi
jmp 0x7dd99e85
Function at 0x7dd9a4e8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor ecx, ecx
cmp eax, ecx
jne 0x7dd9a78c
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
xor eax, eax
inc eax
pop ebp
ret 0x18
cmp dword [ebp + 0x14], ecx
jge 0x7dd9a7bf
lea edx, [eax + 1]
jmp 0x7dd9a7a3
cmp esi, dword [ebx]
jne 0x7dda7fc8
jmp 0x7dda7fe1
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x7dd9a7a3
sub eax, edx
lea ecx, [ebp + 0x14]
push ecx
inc eax
push eax
call fcn.7dd9a60a
test eax, eax
jl 0x7dda7f7a
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebx]
push edi
test esi, esi
je 0x7dda7f89
push 0x7f
pop edi
cmp dword [ebp + 0x14], edi
jg 0x7dda7f89
cmp dword [ebp + 0x14], 0
je 0x7dda7fb6
push edi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.KERNELBASE.dll_SpecialMBToWC
test eax, eax
je 0x7dd9a796
cmp eax, edi
jg 0x7dd9a796
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0x1c]
mov dword [ebx], esi
mov dword [ecx], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
jmp 0x7dd9a507
push 0x57
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dd9a507
mov eax, dword fs:[0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 0x30]
mov edi, dword [ebp + 0x14]
lea ecx, [ecx + ecx + 2]
push ecx
push 8
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
jne 0x7dd9a7db
push 0xe
jmp 0x7dda7fe3
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebx], esi
and dword [eax], 0
jmp 0x7dd9a80d
test esi, esi
je 0x7dda7fe1
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 0x57
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dd9a810
Function at 0x7dd9ab72
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x7dd9ac06
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x7dd9ac06
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x7dd9ab8e
mov esi, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
inc eax
mov dword [ebp + 0x10], eax
cmp dword [edi], eax
jae 0x7dd9abfb
mov ecx, dword [esi]
test ecx, ecx
jne 0x7dda393f
add eax, 0x10
mov dword [edi], eax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
push dword [edi]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi], eax
test eax, eax
je 0x7dda395f
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
push dword [edi]
push dword [esi]
call dword [sym.imp.ntdll.dll_RtlUnicodeToMultiByteN]
pop edi
pop esi
pop ebp
ret 0xc
cmp dword [esi], 0
je 0x7dda395f
jmp 0x7dd9abe1
mov eax, 0xc000000d
jmp 0x7dd9abf5
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ecx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
and dword [esi], 0
mov eax, dword [ebp + 0x10]
jmp 0x7dd9abb1
mov eax, 0xc0000017
jmp 0x7dd9abf5
Function at 0x7dd9accb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x1c]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp eax, esi
jne 0x7ddae62e
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push dword [esi]
call sub.ntdll.dll_memset
mov edi, dword [sym.imp.ntdll.dll_NtQueryValueKey]
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
xor ebx, ebx
push dword [esi]
inc ebx
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call edi
mov dword [ebp + 0x14], eax
cmp eax, 0x80000005
je 0x7ddae635
mov eax, dword [ebp + 0x18]
xor edx, edx
mov ecx, 0xc000014c
cmp eax, edx
je 0x7dd9ad47
mov edi, dword [esi]
cmp dword [edi + 4], eax
jne 0x7ddae697
mov esi, dword [esi]
cmp dword [esi + 4], ebx
jne 0x7dd9ad69
mov eax, dword [esi + 0xc]
test bl, al
jne 0x7dd9ad7b
cmp eax, 2
jb 0x7dd9ad7b
mov edi, dword [esi + 8]
shr eax, 1
lea eax, [edi + eax*2]
cmp word [eax + esi - 2], dx
jne 0x7dd9ad7b
cmp dword [ebp + 0x14], edx
jl 0x7ddae69f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18
mov dword [ebp + 0x14], ecx
jmp 0x7dd9ad69
mov dword [eax], esi
jmp 0x7dd9ace6
cmp dword [ebp + 0x1c], 0
je 0x7dd9ad2e
mov eax, dword fs:[0x18]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
push 8
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 4], eax
test eax, eax
jne 0x7ddae667
mov eax, 0xc0000017
jmp 0x7dd9ad74
push dword [ebp + 0xc]
mov dword [esi], eax
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push dword [esi]
push ebx
push eax
push dword [ebp + 8]
call edi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], ebx
jmp 0x7dd9ad2e
mov dword [ebp + 0x14], ecx
jmp 0x7dd9ad47
mov eax, dword [ebp + 0x1c]
cmp eax, edx
je 0x7ddae6cb
cmp dword [eax], edx
je 0x7ddae6cb
cmp dword [ebp - 4], edx
je 0x7ddae6c5
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 0x1c]
and dword [eax], 0
mov eax, dword [ebp + 0x14]
jmp 0x7dd9ad74