joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7dd9433f
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 0x18]
push 0x23
push 8
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jl 0x7dd9f6d9
test dword [esi], 0x400
jne 0x7dd9f6f2
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
pop esi
leave
ret 0x18
cmp eax, 0xc000000d
je 0x7dd9f6eb
cmp eax, 0xc0000002
jne 0x7dd94379
xor eax, eax
jmp 0x7dd94370
mov esi, dword [esi + 4]
cmp esi, 0xa0000003
je 0x7dd9f713
cmp esi, 0xa000000c
jne 0x7dd94379
cmp dword [ebp + 0x1c], 0
je 0x7dd94379
mov ecx, dword [ebp + 0xc]
jmp 0x7dd94373
Function at 0x7dd95629
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
cmp dword [0x7de40038], eax
je 0x7dd9566b
mov eax, dword [0x7de40c94]
mov ecx, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [0x7de40c98]
pop edi
mov dword [ebx], eax
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 8
mov dword [edi], eax
push 0x7dd956e0
mov dword [ebx], eax
push 1
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jl 0x7dd956d1
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQueryValueKey]
lea eax, [ebp - 0x20]
push eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push 2
push 0x7dd956f8
push dword [ebp - 0x1c]
call esi
test eax, eax
jge 0x7dd9fbbc
lea eax, [ebp - 0x20]
push eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push 2
push 0x7dd95700
push dword [ebp - 0x1c]
call esi
pop esi
test eax, eax
jge 0x7dd9fbdd
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x7de40038], 1
jmp 0x7dd9564d
cmp dword [ebp - 0x14], 4
jne 0x7dd956a9
cmp dword [ebp - 0x10], 4
jne 0x7dd956a9
mov eax, dword [ebp - 0xc]
mov dword [0x7de40c94], eax
jmp 0x7dd956a9
cmp dword [ebp - 0x14], 4
jne 0x7dd956c8
cmp dword [ebp - 0x10], 4
jne 0x7dd956c8
mov eax, dword [ebp - 0xc]
mov dword [0x7de40c98], eax
jmp 0x7dd956c8
Function at 0x7dd95f53
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
mov ebx, dword [ebp + 0x10]
movzx ecx, word [ebx + 2]
push edi
push ecx
xor edi, edi
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp + 0x10], eax
cmp eax, edi
je 0x7ddb104c
mov dword [ebp - 8], eax
mov ax, word [ebx + 2]
push esi
mov word [ebp - 0xa], ax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
cmp dword [ebp + 0x14], edi
je 0x7dd96054
call fcn.7dd8bc81
mov esi, eax
cmp esi, edi
jl 0x7ddb1056
mov eax, dword [ebp - 8]
mov si, word [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov word [ebp - 0x14], si
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x2c]
cmp dword [ebp + 0x18], edi
jne 0x7ddb1073
push eax
push 0x2000000
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtOpenKey]
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x7dd96034
mov ecx, dword [ebp - 8]
sub word [ebp - 0xc], si
movzx eax, si
shr eax, 1
lea eax, [ecx + eax*2]
push 0x5c
pop ecx
mov dword [ebp - 8], eax
cmp cx, word [eax]
jne 0x7dd96029
mov ecx, 0xfffe
add word [ebp - 0xc], cx
inc eax
inc eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlCopyUnicodeString]
push dword [ebp + 0x10]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret 0x14
call fcn.7dd8c456
jmp 0x7dd95faa
mov eax, 0xc000009a
jmp 0x7dd9604e
push dword [ebp + 0x10]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
jmp 0x7dd9604d
push dword [ebp + 0x18]
push eax
push 0x2000000
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtOpenKeyTransacted]
jmp 0x7dd95ffa
Function at 0x7dd96a77
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push 0x1c
push 0x7dd96ad8
call fcn.7dd715c0
mov esi, 0x8000
mov dword [ebp - 0x1c], esi
push esi
push 0
mov edi, dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
call edi
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x7ddb085f
push 0
push dword [ebp - 0x1c]
push ebx
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [ebp - 0x24], eax
cmp eax, 0xc0000004
jne 0x7dd96b00
push ebx
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
add dword [ebp - 0x1c], esi
push dword [ebp - 0x1c]
push 0
call edi
mov ebx, eax
mov dword [ebp - 0x20], eax
jmp 0x7dd96a9b
test eax, eax
jl 0x7ddb07f6
xor edx, edx
mov eax, dword [ebp + 0xc]
shr eax, 2
xor esi, esi
cmp esi, eax
jae 0x7dd96b2c
and dword [ebp - 4], 0
mov ecx, dword [edx + ebx + 0x44]
mov edi, dword [ebp + 8]
mov dword [edi + esi*4], ecx
mov dword [ebp - 4], 0xfffffffe
inc esi
mov ecx, dword [edx + ebx]
add edx, ecx
test ecx, ecx
jne 0x7dd96b12
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, esi
shl eax, 2
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
push ebx
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov eax, edi
call fcn.7dd71605
ret 0xc
push ebx
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
push dword [ebp - 0x24]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push eax
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
jmp 0x7ddb085f
xor eax, eax
jmp 0x7dd96b55
Function at 0x7dd96f23
Capabilities:
Get disk information

Disassembly:
push 0x34
push 0x7dd96fe0
call fcn.7dd715c0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x7dda41c1
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call sym.KERNEL32.dll_Basep8BitStringToDynamicUnicodeString
test eax, eax
je 0x7dd96fd3
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
xor eax, eax
mov word [ebp - 0x22], ax
mov word [ebp - 0x2a], ax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
mov word [ebp - 0x3a], ax
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x30], edx
mov ebx, dword [ebp + 0x24]
lea edx, [ebx + 1]
mov word [ebp - 0x32], dx
mov dword [ebp - 4], esi
cmp ecx, esi
jne 0x7dda41cd
cmp dword [ebp + 0x20], esi
jne 0x7dd990ef
push ebx
push dword [ebp - 0x28]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x40]
call fcn.7dd8c8a5
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x7dd96fc4
cmp dword [ebp + 0xc], esi
jne 0x7dda4210
cmp dword [ebp + 0x20], esi
jne 0x7dd9912e
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd97001
mov eax, dword [ebp - 0x1c]
call fcn.7dd71605
ret 0x20
movzx eax, word [ebp - 0x32]
add eax, eax
mov word [ebp - 0x2a], ax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp + 0x10], eax
mov eax, dword fs:[0x18]
movzx ecx, word [ebp - 0x2a]
push ecx
push dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x28], eax
cmp eax, esi
jne 0x7dd96f92
jmp 0x7dda4206
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x1c]
push esi
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
call eax
cmp eax, esi
jge 0x7dd96fc4
jmp 0x7dda4238
mov dword [ebp + 8], 0x7ddb3438
jmp 0x7dd96f3a
movzx eax, ax
add eax, eax
mov word [ebp - 0x22], ax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp + 8], eax
mov eax, dword fs:[0x18]
movzx ecx, word [ebp - 0x22]
push ecx
push dword [ebp + 8]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x20], eax
cmp eax, esi
jne 0x7dd96f89
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dda423e
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x1c]
push esi
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
call eax
cmp eax, esi
jge 0x7dd96fbb
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
mov dword [ebp - 0x1c], esi
jmp 0x7dd96fc4
Function at 0x7dd972b9
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 0x7dd988fd
test byte [ebp + 0x10], 4
jne 0x7dd988fd
test byte [ebp + 0x10], 8
je 0x7dd97312
mov ecx, dword [ebp + 0x1c]
mov eax, ecx
imul eax, eax, 0x428
cmp eax, ecx
jb 0x7dda575b
add eax, esi
cmp eax, esi
jb 0x7dda575b
mov esi, eax
mov dword [ebp - 0xc], ecx
test byte [ebp + 0x10], 1
jne 0x7dda5727
test dword [ebp + 0x10], 0x80000000
jne 0x7dda5741
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 0x7dd973ad
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 0x7dd973ad
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 0x7dd973ad
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 0x7dd988fd
test edi, edi
je 0x7dd98920
mov esi, dword [ebp - 4]
imul esi, esi, 0x22c
add esi, 0x34
test byte [ebp + 0x10], 4
je 0x7dd972ea
jmp 0x7dda571b
mov eax, ebx
imul eax, eax, 0x1c
add esi, eax
jmp 0x7dd972ea
mov ecx, dword [ebp + 0x20]
mov eax, ecx
shl eax, 4
cmp eax, ecx
jb 0x7dda575b
add esi, eax
cmp esi, ecx
jb 0x7dda575b
mov dword [ebp - 8], ecx
jmp 0x7dd9731c
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x28]
jmp 0x7dd9732b
mov eax, 0xc0000173
jmp 0x7dd973ad
Function at 0x7dd979d9
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 0x7dd97a03
cmp dword [ebp - 4], 0
jne 0x7ddb02c6
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret

Function at 0x7dd97b39
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 0x7dd97bbf
cmp dword [edi], 0x428
jne 0x7dd97bbf
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 0x7dda55e0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], esi
je 0x7dda55e3
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 0x7dda5603
push eax
jmp 0x7dda5603
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 0x7dd97baa
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd97bb8

Function at 0x7dd97ebe
Capabilities:
Suspend thread

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

Function at 0x7dd97ed6
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 0x7dd97f66
cmp dword [edi], 0x428
jne 0x7dd97f66
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 0x7dda560f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
cmp ecx, dword [eax + 8]
jae 0x7dd97f5c
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 0x7dd97f49
push 0xc0000004
jmp 0x7dda5610
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd97f56
Function at 0x7dd980f8
Capabilities:
Read file via mapping

Disassembly:
push 0x34
push 0x7dd98250
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 0x7ddb289e
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 0x7ddb28b0
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 0x7ddb28b7
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 0x7ddb28be
cmp dword [ebp - 0x1c], ebx
je 0x7ddb290c
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 0x7ddb2918
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd982b0
push dword [ebp - 0x28]
call fcn.7dd98271
call fcn.7dd71605
ret 8
push 0x7ddb2a38
push ebx
call fcn.7de1abb3
pop ecx
pop ecx
jmp 0x7dd9822f
push 0x7ddb2a1c
jmp 0x7ddb28a3
push 0x7ddb2a04
jmp 0x7ddb28a3
push eax
push 0x7ddb29a8
push ebx
call fcn.7de1abb3
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax], 0xc00000fd
jne 0x7ddb28e6
mov dword [ebp - 0x28], 0x80070032
jmp 0x7dd9822f
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call fcn.7dd717e0
push eax
call fcn.7de1cf93
test eax, eax
jl 0x7ddb2905
cmp dword [ebp - 0x1c], ebx
jne 0x7dd98205
push 0x7ddb298c
jmp 0x7ddb28a3
mov dword [ebp - 0x28], 0x50003
jmp 0x7dd9822f
dec ecx
je 0x7ddb292f
push eax
push 0x7ddb2964
push ebx
call fcn.7de1abb3
add esp, 0xc
jmp 0x7dd98226
lea eax, [ebp - 0x30]
push eax
call fcn.7de1c2c3
test eax, eax
jl 0x7dd98226
push dword [ebp - 0x30]
call fcn.7de1c9f1
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call sym.KERNEL32.dll_WaitForSingleObject
jmp 0x7dd98226
Function at 0x7dd98312
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 0x7dd9834b
cmp byte [ebp - 4], 0
je 0x7dd98349
cmp byte [ebp - 3], 0
je 0x7ddb02c0
xor esi, esi
pop edi
mov eax, esi
pop esi
leave
ret
inc esi
jmp 0x7dd9834b
Function at 0x7dd98776
Capabilities:
Query or enumerate registry value

Disassembly:
cmp eax, 0xc0000034
je 0x7dd988b4
cmp eax, 0xc0000024
je 0x7dd988b4
push dword [ebp - 0x20c]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x208]
jmp 0x7dd988ec
cmp eax, edi
jge 0x7dd987d7
jmp 0x7dd988ec
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 0x7dd9e67c
mov ebx, dword [ebx + 0x20]
cmp ebx, edi
je 0x7dd9e6f8
mov eax, dword [ebp - 0x210]
test byte [eax + 3], 2
jne 0x7dd9e702
lea eax, [ebp - 0x208]
push eax
push edi
push dword [ebp - 0x214]
call fcn.7dd7e941
test al, al
je 0x7dd9e70e
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x208]
push ebx
push dword [ebp - 0x214]
call fcn.7dd92252
cmp eax, edi
jl 0x7dd988ec
cmp dword [ebp - 0x20c], 0xffffffff
je 0x7dd988ec
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 0x7dd988de
cmp dword [ebp - 0x208], 0
jl 0x7dd98751
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.7dd92175
mov dword [ebp - 0x208], eax
test eax, eax
jl 0x7dd9873b
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 0x7dd98850
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 0x7dd9e6a9
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 0x7dd9e6be
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.7dde9c8a
cmp eax, edi
jl 0x7dd988ec
cmp word [ebp - 0x21c], di
je 0x7dd9e6f1
lea eax, [ebp - 0x21c]
push eax
push esi
push ebx
push dword [ebp - 0x214]
call fcn.7dd92175
cmp eax, edi
jge 0x7dd9e6f1
cmp eax, 0xc0000034
je 0x7dd9e6f1
cmp eax, 0xc0000024
jne 0x7dd988ec
mov esi, dword [esi]
jmp 0x7dd987b4
mov eax, 0xc0000016
jmp 0x7dd988ec
push edi
push ebx
call fcn.7dde9c8a
jmp 0x7dd98768
mov eax, 0xc000000d
jmp 0x7dd988ec
Function at 0x7dd98a52
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 0x7dd98ae2
cmp dword [edi], 0x22c
jne 0x7dd98ae2
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 0x7dda55c2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
cmp ecx, dword [eax + 4]
jae 0x7dd98ad8
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 0x7dd98ac5
push 0xc0000004
jmp 0x7dda55c3
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd98ad2

Function at 0x7dd98cfb
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 0x7dd98d81
cmp dword [edi], 0x22c
jne 0x7dd98d81
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 0x7dda5582
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], esi
je 0x7dda5585
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 0x7dda55a5
push eax
jmp 0x7dda55a5
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 0x7dd98d6c
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd98d7a