joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7dd89466
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x28]
push ebx
push esi
push edi
movzx edi, word [ecx + 6]
movzx ecx, word [ecx + 0x14]
lea esi, [ecx + edx + 0x18]
lea ecx, [ebp - 0x10]
push ecx
push dword [eax + 0x20]
xor ebx, ebx
mov dword [ebp - 8], 0xc0000089
mov dword [ebp - 4], ebx
call fcn.7dd7530f
test eax, eax
je 0x7dd894da
test edi, edi
jbe 0x7dd894bc
lea eax, [esi + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 4]
jbe 0x7dd894b6
mov ebx, dword [eax - 4]
mov dword [ebp - 4], ecx
add eax, 0x28
dec edi
jne 0x7dd894a9
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
cmp ecx, dword [ebp - 0xc]
lea edx, [eax + 0x40]
jg 0x7dd894da
jl 0x7dd896c5
cmp edx, dword [ebp - 0x10]
jb 0x7dd896c5
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [ebp + 0xc]
and dword [ebp - 8], 0
mov dword [ecx], eax
jmp 0x7dd894da

Function at 0x7dd89570
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [edi + 0xc]
cmp eax, dword [esi + 0x2c]
jae 0x7dd895c8
mov ecx, dword [esi + 4]
and dword [ebp - 4], 0
add ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
sub eax, dword [edi + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x7dd895c8
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x28]
movzx ebx, word [eax + 6]
movzx eax, word [eax + 0x14]
mov ecx, dword [esi + 0x28]
and dword [ebp + 8], 0
push edi
mov dword [ebp - 4], 0xc0000089
lea edi, [eax + ecx + 0x18]
test ebx, ebx
jbe 0x7dd895c8
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x7dd895a3
sub eax, edx
push eax
push dword [ebp + 0xc]
push edi
call sub.ntdll.dll_strncmp
add esp, 0xc
test eax, eax
je 0x7dd89548
add edi, 0x28
inc dword [ebp + 8]
cmp dword [ebp + 8], ebx
jb 0x7dd8959d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7dd8966e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffe0
pop eax
push 2
push 0
or ecx, 0xffffffff
push ecx
push eax
push dword [esi + 0x20]
mov ebx, 0xc0000089
call sub.API_MS_Win_Core_File_L1_1_0.dll_SetFilePointerEx
test eax, eax
je 0x7dd896bd
push 0
lea eax, [ebp + 8]
push eax
push 0x20
push dword [ebp + 0xc]
push dword [esi + 0x20]
call sub.API_MS_Win_Core_File_L1_1_0.dll_ReadFile
test eax, eax
je 0x7dd896bd
cmp dword [ebp + 8], 0x20
jne 0x7dd896bd
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x20
xor ebx, ebx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x7dd8a681
Capabilities:
Access peb ldr_data

Disassembly:
lea eax, [ebp - 0x40]
push eax
mov esi, dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
call esi
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x50]
push eax
call esi
mov eax, dword fs:[0x18]
mov edi, dword [ebp - 0x28]
push dword [edi + 4]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
call esi
mov eax, dword fs:[0x18]
push dword [edi + 8]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call esi
mov eax, dword fs:[0x18]
push dword [edi + 0xc]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call esi
ret
Function at 0x7dd8c62e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push 0xe
pop esi
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.7dd8c69b
mov edi, eax
test edi, edi
je 0x7dd8c68e
cmp byte [ebp + 0x14], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
jne 0x7ddad926
call fcn.7dd74270
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, eax
test ecx, ecx
jbe 0x7ddad930
cmp dword [ebp + 0xc], ecx
sbb esi, esi
and esi, 0xea
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10
call fcn.7dd8eec6
jmp 0x7dd8c65f
call fcn.7dd711c7
mov esi, eax
jmp 0x7dd8c679

Function at 0x7dd8c7df
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 8
xor ebx, ebx
pop ecx
xor edx, edx
cmp esi, ecx
mov byte [ebp - 4], bl
jg 0x7dd9efb8
je 0x7dd8d447
mov eax, esi
sub eax, ebx
jne 0x7dd8d436
push 4
pop eax
push 0x28
pop ecx
cmp ecx, dword [ebp + 0x14]
ja 0x7dd9f00c
cmp edx, ebx
jne 0x7dd9f010
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp eax, ebx
jl 0x7dd9f04e
cmp esi, 7
je 0x7dd9f059
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret 0x10
dec eax
jne 0x7dd9efa2
push 5
pop eax
push 0x18
jmp 0x7dd8c812
push 0x1c
pop eax
push 0x10
jmp 0x7dd8c812
dec eax
je 0x7dd9efb4
sub eax, 5
jne 0x7dd9efc9
push 0x16
pop eax
push 0x20
jmp 0x7dd8c812
push 9
jmp 0x7dd9f006
mov eax, esi
sub eax, 9
je 0x7dd9f004
dec eax
je 0x7dd9eff3
dec eax
je 0x7dd9efe2
dec eax
dec eax
je 0x7dd9efd8
push 0x57
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dd8c84c
push 0x37
pop eax
push 0x74
jmp 0x7dd8c812
push 0x25
pop eax
xor edx, edx
push 0x70
inc edx
pop ecx
mov byte [ebp - 4], dl
jmp 0x7dd8c813
push 0x25
pop eax
push 0x70
xor edx, edx
pop ecx
inc edx
mov byte [ebp - 4], bl
jmp 0x7dd8c813
push 0x23
pop eax
jmp 0x7dd8c813
push 0x18
jmp 0x7dd9efcb
push dword [ebp - 4]
push ebx
push ebx
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryDirectoryFile]
cmp eax, 0x103
jne 0x7dd8c838
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
cmp eax, ebx
jl 0x7dd9f04e
mov eax, dword [ebp - 8]
jmp 0x7dd8c838
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd9efd1
cmp dword [ebp - 4], ebx
jne 0x7dd8c849
push 0xc0000011
jmp 0x7dd9f04f
Function at 0x7dd8d0ef
Capabilities:
Get system information on windows

Disassembly:
push 0x10
push 0x7dd8d178
call fcn.7dd715c0
mov ebx, dword [ebp + 8]
test bl, 4
je 0x7dd9bb6c
push dword [0x7de40060]
call dword [sym.imp.ntdll.dll_RtlLockHeap]
and dword [ebp - 4], 0
mov dword [ebp - 4], 1
lea esi, [ebx - 4]
push esi
push dword [0x7de4005c]
call dword [sym.imp.ntdll.dll_RtlIsValidHandle]
test al, al
je 0x7dda2fe7
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x7dda3006
movzx eax, word [esi + 2]
mov ecx, 0xff
lea edx, [eax + 1]
mov word [esi + 2], dx
cmp ax, cx
je 0x7dda2ff8
and dword [ebp - 4], 0
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd8d1a5
mov eax, dword [ebp - 0x1c]
call fcn.7dd71605
ret 4
mov eax, dword [0x7de4006c]
test eax, eax
je 0x7dda3041
cmp ebx, eax
jae 0x7dda305d
push 1
push ebx
call sym.KERNEL32.dll_IsBadReadPtr
test eax, eax
jne 0x7dda305d
mov eax, ebx
jmp 0x7dd8d170
push 6
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
and dword [ebp - 0x1c], 0
jmp 0x7dd8d15d
mov eax, 0xffff
add word [esi + 2], ax
jmp 0x7dd8d15d
push 0x9d
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd8d15d
push eax
push 4
lea eax, [ebp + 8]
push eax
push 0x32
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov eax, dword [ebp + 8]
mov dword [0x7de4006c], eax
jmp 0x7dd9bb79
push 6
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7dd8d170

Function at 0x7dd8db41
Capabilities:
Get process heap flags

Disassembly:
push 0xc
push 0x7dd8db70
call fcn.7dd715c0
and dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.7dd71605
ret
Function at 0x7dd8e38d
Capabilities:
Get system information on windows

Disassembly:
push 0x44
push 0x7dd8e490
call fcn.7dd715c0
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x7ddb277e
cmp dword [ebp + 0xc], esi
je 0x7ddb277e
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
call sub.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetSystemInfo
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x7ddb271c
mov edi, dword [ebp + 0xc]
add edi, 0x27
and edi, 0xfffffff8
push ebx
call fcn.7dd8dde9
test eax, eax
je 0x7ddb272c
and dword [ebp - 4], esi
mov eax, dword [ebx + 0x38]
or eax, dword [ebx + 0x3c]
je 0x7dd8e4d0
mov eax, dword [ebx + 0x40]
or eax, dword [ebx + 0x44]
jne 0x7ddb2733
test esi, esi
jne 0x7dd8e439
mov eax, dword [ebx + 0x38]
xor edx, edx
div dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub eax, edx
cmp eax, edi
jb 0x7dd8e4f5
cmp eax, dword [ebp - 0x24]
je 0x7dd8e4f5
mov esi, dword [ebx + 0x38]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x20], 0
jne 0x7dd8e4d7
cmp dword [ebp - 0x28], 0
jne 0x7dd8e45d
lea eax, [esi + edi]
cdq
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
add edi, 0xffffffe0
mov dword [esi + 0x10], edi
and dword [esi + 0x14], 0
lea eax, [esi + 0x20]
mov dword [esi + 8], eax
mov dword [ebp - 0x30], eax
xor edi, edi
inc edi
mov dword [esi + 0x18], edi
push esi
push ebx
call fcn.7dd8e12d
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd8e4b1
mov eax, dword [ebp - 0x30]
call fcn.7dd71605
ret 8
mov dword [ebp - 0x20], 1
push 4
push 0x3000
push edi
push 0
call fcn.7dd71833
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x7dd8e443
jmp 0x7dd8e476
mov dword [ebp - 0x20], 1
jmp 0x7dd8e439
push 0x7ddb279c
push 0
call fcn.7de1abb3
pop ecx
pop ecx
jmp 0x7ddb2792
push 0x7dde35f4
jmp 0x7ddb2721
lea eax, [edi - 0x20]
push eax
push ebx
call fcn.7de1cc50
mov esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
test esi, esi
setne al
mov dword [ebp - 0x28], eax
jmp 0x7dd8e411
push 0x7dde358c
push esi
call fcn.7de1abb3
pop ecx
pop ecx
push 0x57
call sym.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x7dd8e485
Function at 0x7dd8ed59
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call sym.KERNEL32.dll_RegKrnGetGlobalState
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
cmp esi, edx
je 0x7dd8ede2
movzx eax, word [esi]
cmp ax, 2
jb 0x7dd8ede2
test al, 1
jne 0x7dd8ede2
cmp dword [esi + 4], edx
je 0x7dd8ede2
mov edi, dword [ebp + 8]
add eax, 0xfffffffe
mov word [esi], ax
cmp ecx, edx
jne 0x7ddb0bfc
mov ebx, edi
and ebx, 2
jne 0x7ddb0c05
cmp dword [ebp - 8], 0
jne 0x7ddb0c28
push esi
push edi
mov edi, dword [sym.imp.ntdll.dll_NtDeleteValueKey]
call edi
mov dword [ebp + 0xc], eax
test ebx, ebx
jne 0x7ddb0c3a
mov eax, dword [ebp - 8]
test eax, eax
jne 0x7ddb0c67
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [esi + 4], edx
jne 0x7ddb0c87
jmp 0x7ddb0be0
movzx eax, word [esi]
cmp ax, 2
jne 0x7ddb0c87
cmp word [esi + 2], dx
je 0x7dd8ed8c
jmp 0x7ddb0c87
push esi
push edi
call ecx
jmp 0x7dd8ed9d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x2000000
push edi
push 0
call fcn.7dd8c332
test eax, eax
jge 0x7dd8eda8
push eax
jmp 0x7dd8edd5
cmp dword [ebp - 4], 0
je 0x7dd8edb2
mov edi, dword [ebp - 8]
jmp 0x7dd8edb2
cmp eax, 0xc0000034
jne 0x7dd8edc7
cmp dword [ebp - 8], 0
je 0x7dd8edd2
cmp dword [ebp - 4], 0
je 0x7dd8edc7
push esi
push dword [ebp - 4]
call edi
mov dword [ebp + 0xc], eax
jmp 0x7dd8edc7
cmp dword [ebp - 4], 0
je 0x7dd8edd2
cmp eax, dword [ebp + 8]
je 0x7ddb0c79
push eax
jmp 0x7ddb0c7c
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x7dd8edd2
push 0x57
pop eax
jmp 0x7dd8eddb
Function at 0x7dd900a1
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
call sym.KERNEL32.dll_RegKrnGetGlobalState
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
movzx eax, word [esi]
cmp ax, 2
jb 0x7dd98df9
mov ecx, dword [esi + 4]
xor ebx, ebx
cmp ecx, ebx
je 0x7dd98df9
test al, 1
jne 0x7dd98df9
movzx edx, ax
shr edx, 1
cmp word [ecx + edx*2 - 2], bx
jne 0x7dd98df9
cmp dword [ebp + 0x14], ebx
jne 0x7dd98df9
add eax, 0xfffffffe
test byte [ebp + 8], 2
push edi
mov edi, dword [ebp + 0x18]
mov word [esi], ax
jne 0x7dd98dc3
call sym.KERNEL32.dll_RegKrnGetGlobalState
test byte [eax + 0x24], 2
jne 0x7ddb0ba6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x24]
cmp edi, ebx
jne 0x7ddb0bb6
push eax
mov eax, dword [ebp + 0x10]
and eax, 0x300
or eax, 0x10000
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKey]
mov edi, eax
cmp dword [ebp - 4], ebx
jne 0x7ddb0bd5
cmp edi, ebx
jl 0x7dd90186
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtDeleteKey]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push edi
mov dword [esi + 4], eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
pop edi
pop esi
pop ebx
leave
ret 0x14
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
and eax, 0x300
or eax, 0x2000000
push eax
push ebx
push esi
push dword [ebp + 8]
call fcn.7dd8be3e
mov edi, eax
cmp edi, ebx
jge 0x7dd90165
jmp 0x7dd90186
test eax, eax
je 0x7dd90122
jmp 0x7dd98dc3
push 0x57
pop eax
jmp 0x7dd90199
push edi
push esi
lea eax, [ebp + 8]
push eax
call fcn.7de198a5
jmp 0x7dd98def
push edi
push eax
mov eax, dword [ebp + 0x10]
and eax, 0x300
or eax, 0x10000
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKeyTransacted]
jmp 0x7dd90163
push dword [ebp + 0xc]
call dword [ebp - 4]
jmp 0x7dd9016e

Function at 0x7dd9021d
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and dword [0x7de40044], 0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
cmp dword [0x7de40088], 0x7de40088
push edi
jne 0x7dd9024b
mov byte [0x7de40001], 0
push dword [esi + 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 0
push dword [eax + 0x18]
call edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x7dd90382
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
movzx ecx, word [ebx]
movzx eax, cx
lea edx, [eax + 2]
push esi
push edi
cmp edx, eax
jb 0x7dd9046e
test cl, 1
jne 0x7dd9046e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x18
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x7dda4eb9
mov ax, word [ebx]
add ax, 2
lea edi, [esi + 8]
mov word [edi], ax
mov word [esi + 0xa], ax
mov eax, dword fs:[0x18]
movzx ecx, word [edi]
mov eax, dword [eax + 0x30]
push ecx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 0xc], eax
test eax, eax
je 0x7dda4ec0
movzx ecx, word [ebx]
push ecx
push dword [ebx + 4]
push eax
call sub.ntdll.dll_memcpy
movzx eax, word [edi]
mov ecx, dword [esi + 0xc]
add esp, 0xc
push 0x5c
pop edx
shr eax, 1
mov ebx, 0x7de40314
push ebx
mov word [ecx + eax*2 - 2], dx
call dword [sym.imp.ntdll.dll_RtlAcquireSRWLockExclusive]
push edi
call fcn.7dd9047d
push ebx
test eax, eax
jne 0x7dda4ed6
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov al, byte [ebp + 0x10]
mov byte [esi + 0x14], al
mov eax, dword [0x7de4008c]
mov dword [esi], 0x7de40088
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [0x7de4008c], esi
mov byte [0x7de40001], 1
call dword [sym.imp.ntdll.dll_RtlReleaseSRWLockExclusive]
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push 0xc000000d
jmp 0x7dda4f0b
push 0xc000009a
jmp 0x7dda4f0b
push esi
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7dda4eb9
call dword [sym.imp.ntdll.dll_RtlReleaseSRWLockExclusive]
push dword [esi + 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 0
push dword [eax + 0x18]
call edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call edi
push 0xc00000bd
call sym.KERNEL32.dll_BaseSetLastNTError
xor al, al
jmp 0x7dd90467
Function at 0x7dd90d1d
Capabilities:
Delete file

Disassembly:
cmp dword [ebp - 0x25c], 0xffffffff
je 0x7dd90d32
push dword [ebp - 0x25c]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp - 0x260], 0xffffffff
je 0x7dd90d47
push dword [ebp - 0x260]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword fs:[0x18]
push dword [ebp - 0x2a0]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
mov edi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
call edi
mov eax, dword fs:[0x18]
push dword [ebp - 0x2b4]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call edi
mov eax, dword fs:[0x18]
push dword [ebp - 0x28c]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call edi
mov eax, dword fs:[0x18]
push dword [ebp - 0x2b0]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call edi
mov eax, dword fs:[0x18]
push dword [ebp - 0x288]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call edi
mov eax, dword [ebp - 0x270]
cmp eax, esi
je 0x7dd90deb
cmp eax, dword [ebp - 0x298]
je 0x7dd90deb
cmp dword [ebp - 0x2a4], esi
jne 0x7dd90dd6
push eax
call fcn.7dd725e0
mov eax, dword fs:[0x18]
push dword [ebp - 0x270]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call edi
ret
Function at 0x7dd92563
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
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 - 0x20c], eax
xor edi, edi
cmp esi, edi
jne 0x7dd9e59f
mov ebx, dword [ebx + 0x20]
cmp ebx, edi
je 0x7dd9e604
mov eax, dword [ebp - 0x20c]
test byte [eax + 3], 2
jne 0x7dd9e60e
lea eax, [ebp - 0x208]
push eax
push edi
push dword [ebp - 0x214]
call fcn.7dd7e941
test al, al
je 0x7dd9e61a
lea eax, [ebp - 0x210]
push eax
push edi
push dword [ebp - 0x208]
push ebx
push dword [ebp - 0x214]
call fcn.7dd92252
cmp eax, edi
jl 0x7dd926cb
cmp dword [ebp - 0x210], 0xffffffff
je 0x7dd926cb
mov esi, dword [sym.imp.ntdll.dll_NtEnumerateValueKey]
lea eax, [ebp - 0x228]
push eax
mov ebx, 0x200
push ebx
lea eax, [ebp - 0x204]
push eax
push edi
push edi
push dword [ebp - 0x210]
mov dword [ebp - 0x20c], edi
call esi
mov edi, 0x8000001a
mov dword [ebp - 0x208], eax
cmp eax, edi
je 0x7dd926bd
cmp dword [ebp - 0x208], 0
jl 0x7dd9e624
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x220], eax
mov ax, word [ebp - 0x1fc]
push 1
mov word [ebp - 0x224], ax
mov word [ebp - 0x222], ax
lea eax, [ebp - 0x224]
push eax
push 0
push dword [ebp - 0x214]
call fcn.7dd7eca4
mov dword [ebp - 0x208], eax
test eax, eax
jl 0x7dd9e624
inc dword [ebp - 0x20c]
lea eax, [ebp - 0x228]
push eax
push ebx
lea eax, [ebp - 0x204]
push eax
push 0
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
call esi
jmp 0x7dd92637
push dword [ebp - 0x210]
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
cmp eax, edi
jge 0x7dd925be
jmp 0x7dd926cb
mov eax, dword [ebp - 0x20c]
test byte [eax + 3], 2
je 0x7dd9e5c1
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.7dde9c8a
cmp eax, edi
jge 0x7dd9e5e0
jmp 0x7dd926cb
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
push 1
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x214]
call fcn.7dd7eca4
cmp eax, edi
jl 0x7dd926cb
mov esi, dword [esi]
jmp 0x7dd9259b
mov eax, 0xc0000016
jmp 0x7dd926cb
push edi
push ebx
call fcn.7dde9c8a
jmp 0x7dd926dc
mov eax, 0xc000000d
jmp 0x7dd926cb
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x208]
jmp 0x7dd926cb
Function at 0x7dd928c0
Capabilities:
Check for peb beingdebugged flag
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebx + ebx + 2]
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]
mov edi, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call edi
mov dword [ebp - 4], eax
test eax, eax
je 0x7dda4268
push esi
push eax
movzx eax, word [ebp - 6]
dec eax
dec eax
shr eax, 1
push eax
call sym.KERNEL32.dll_GetTempPathW
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
add eax, eax
mov word [ebp - 8], ax
mov eax, dword [ebp - 6]
add eax, 0xfffffffe
cmp word [ebp - 8], ax
ja 0x7dda4279
mov eax, dword [ebp + 0xc]
inc ebx
mov dword [ebp - 0xc], eax
mov word [ebp - 0xe], bx
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x1c]
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
call eax
push dword [ebp - 4]
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call esi
test edi, edi
jl 0x7dda431d
movzx eax, word [ebp - 0x10]
pop esi
pop edi
pop ebx
leave
ret 8
push 0xc0000017
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd92970
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call esi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
movzx edx, word [ebp - 8]
mov eax, dword [eax + 0x2c]
inc edx
inc edx
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call edi
mov dword [ebp - 4], eax
test eax, eax
jne 0x7dda42b9
push 0xc0000017
jmp 0x7dda431e
push eax
movzx eax, word [ebp - 8]
shr eax, 1
push eax
call sym.KERNEL32.dll_GetTempPathW
add eax, eax
mov word [ebp - 8], ax
movzx eax, ax
push eax
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeToMultiByteSize]
mov edi, eax
test edi, edi
jge 0x7dda42f8
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call esi
jmp 0x7dda431d
cmp ebx, dword [ebp + 8]
ja 0x7dd9292f
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call esi
mov eax, dword [ebp + 8]
inc eax
jmp 0x7dd9296f
push edi
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7dd9296f
Function at 0x7dd93cb5
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
cmp dword [0x7de40034], 0
je 0x7dd95067
mov ecx, dword [ebp - 4]
mov eax, dword [0x7de40c90]
xor ecx, ebp
call fcn.7dd71442
leave
ret
push esi
push 0x7dd950b8
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jl 0x7dd950aa
lea eax, [ebp - 0x20]
push eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push 2
push 0x7dd950d0
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jge 0x7dd9fb93
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x7de40034], esi
pop esi
jmp 0x7dd93cd4
cmp dword [ebp - 0x14], 4
jne 0x7dd950a1
cmp dword [ebp - 0x10], 4
jne 0x7dd950a1
cmp dword [ebp - 0xc], 0
jne 0x7dd950a1
mov dword [0x7de40c90], esi
jmp 0x7dd950a1