joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ddee559
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
mov edi, 0x4000
push edi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor esi, esi
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x7ddee59f
push 0xc0000017
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddee686
push ebx
push edi
mov edi, dword [sym.imp.ntdll.dll_NtFsControlFile]
push eax
push esi
push esi
push 0x900a8
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call edi
mov ebx, 0x103
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x7ddee5f2
push esi
push 1
push dword [ebp + 0x10]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [ebp + 8], eax
cmp eax, 0x101
je 0x7ddee5c9
cmp eax, esi
jl 0x7ddee5e9
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0x101
je 0x7ddee5c9
cmp dword [ebp + 8], esi
jge 0x7ddee612
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp + 8]
jmp 0x7ddee679
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 4]
push esi
push esi
add ecx, 8
push ecx
push eax
push 0x900a4
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
mov edi, eax
cmp edi, ebx
jne 0x7ddee65e
push esi
push 1
push dword [ebp + 0x10]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov edi, eax
cmp edi, 0x101
je 0x7ddee639
cmp edi, esi
jl 0x7ddee656
mov edi, dword [ebp - 0xc]
cmp edi, 0x101
je 0x7ddee639
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp edi, esi
jge 0x7ddee682
push edi
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddee685
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x7ddeea76
Capabilities:
Delete file

Disassembly:
cmp dword [ebp - 0x20], 0xffffffff
je 0x7ddeea84
push dword [ebp - 0x20]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
cmp dword [ebp - 0x28], esi
je 0x7ddeea92
push dword [ebp - 0x28]
call dword [sym.imp.ntdll.dll_RtlReleasePrivilege]
cmp dword [ebp - 0x1c], esi
jge 0x7ddeeaa5
cmp dword [ebp - 0x44], 2
jne 0x7ddeeaa5
push dword [ebp + 0x10]
call fcn.7dd725e0
mov eax, dword fs:[0x18]
push dword [ebp - 0x48]
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 - 0x40]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call edi
mov eax, dword fs:[0x18]
push dword [ebp - 0x24]
push esi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call edi
ret
Function at 0x7ddef5e4
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
je 0x7ddef5f5
pop ebp
jmp sym.KERNEL32.dll_GlobalLock
pop ebp
ret 4

Function at 0x7ddef618
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp sym.KERNEL32.dll_GlobalLock

Function at 0x7ddef67a
Capabilities:
Get process heap force flags
Get system information on windows

Disassembly:
push 0x1c
push 0x7ddef790
call fcn.7dd715c0
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp + 0x10]
lea esi, [ebx + 0x10]
mov dword [ebp - 0x28], esi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push esi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x7ddef740
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 4], edi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push esi
push 0x4c
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jge 0x7ddef6ef
cmp eax, 0xc0000023
jne 0x7ddef6f5
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x20], ecx
cmp eax, edi
jl 0x7ddef747
cmp dword [ebp + 0xc], edi
je 0x7ddef747
mov dword [ebp - 4], 1
push dword [esi + 0xc]
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0xc]
call sub.ntdll.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
jmp 0x7ddef747
mov dword [ebp - 0x1c], 0xc000009a
mov dword [ebp - 4], 0xfffffffe
call fcn.7ddef768
mov eax, dword [ebp - 0x20]
call fcn.7dd71605
ret 0xc
Function at 0x7ddef7bd
Capabilities:
Get process heap force flags
Get system information on windows

Disassembly:
push 0x18
push 0x7ddef8d0
call fcn.7dd715c0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edi, dword [ebp + 0x14]
lea ebx, [edi + 0x10]
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push ebx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov dword [ebp + 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x7ddef883
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
xor edi, edi
inc edi
mov dword [esi + 4], edi
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
push 0x4c
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [ebp - 0x1c], eax
test eax, eax
jge 0x7ddef834
cmp eax, 0xc0000023
jne 0x7ddef83a
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x20], ecx
test eax, eax
jl 0x7ddef88a
cmp dword [ebp + 0x10], 0
je 0x7ddef88a
mov dword [ebp - 4], edi
push dword [esi + 0xc]
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0x10]
call sub.ntdll.dll_memcpy
add esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
jmp 0x7ddef88a
mov dword [ebp - 0x1c], 0xc000009a
mov dword [ebp - 4], 0xfffffffe
call fcn.7ddef8a9
mov eax, dword [ebp - 0x20]
call fcn.7dd71605
ret 0x10
Function at 0x7ddefe6c
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push 0x1a
push 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jge 0x7ddefe97
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddefeff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7ddefea3
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x7ddefeaf
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x7ddefebb
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x7ddefefb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
jne 0x7ddefed7
cmp ecx, 0xffffffff
jne 0x7ddefed7
or dword [esi], ecx
jmp 0x7ddefefb
neg ecx
push 0
adc eax, 0
push 0x2710
neg eax
push eax
push ecx
call dword [sym.imp.ntdll.dll_RtlExtendedLargeIntegerDivide]
test edx, edx
jne 0x7ddefef5
mov dword [esi], eax
jmp 0x7ddefefb
mov dword [esi], 0xfffffffe
xor eax, eax
inc eax
pop esi
leave
ret 0x14

Function at 0x7ddeff08
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
or eax, 0xffffffff
sub esp, 0x10
cmp dword [ebp + 0xc], eax
jne 0x7ddeff1d
mov dword [ebp - 4], eax
jmp 0x7ddeff30
push eax
push 0xffffd8f0
push 0
push dword [ebp + 0xc]
call sub.ntdll.dll__allmul
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
push 0x1b
lea eax, [ebp - 8]
mov dword [ebp + 0xc], eax
push 4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jge 0x7ddeff5c
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddeff5f
xor eax, eax
inc eax
leave
ret 8
Function at 0x7ddf1f84
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQueryInformationFile]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
je 0x7ddf1fd6
push 0x17
push 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call esi
cmp eax, ebx
jge 0x7ddf1fc0
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddf2075
mov eax, dword [ebp - 8]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, 2
cmp dword [ebp - 4], ebx
setne cl
or eax, ecx
mov dword [edi], eax
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x7ddf2004
push 0x18
push 0x28
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call esi
cmp eax, ebx
jl 0x7ddf1fb3
mov ecx, dword [ebp - 0x34]
mov eax, 0xff
cmp ecx, eax
jb 0x7ddf2002
mov dword [edi], eax
jmp 0x7ddf2004
mov dword [edi], ecx
mov edi, dword [ebp + 0x14]
cmp edi, ebx
jne 0x7ddf2010
cmp dword [ebp + 0x18], ebx
je 0x7ddf205d
push 0x19
push 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call esi
cmp eax, ebx
jl 0x7ddf1fb3
cmp edi, ebx
je 0x7ddf202e
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x7ddf205d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
neg ecx
push ebx
adc eax, ebx
push 0x2710
neg eax
push eax
push ecx
call dword [sym.imp.ntdll.dll_RtlExtendedLargeIntegerDivide]
cmp edx, ebx
je 0x7ddf205b
mov dword [esi], 0xfffffffe
jmp 0x7ddf205d
mov dword [esi], eax
cmp dword [ebp + 0x1c], ebx
je 0x7ddf2072
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 8]
call fcn.7ddf1e61
jmp 0x7ddf2075
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x7ddf2081
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push 0x18
push 0x28
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jge 0x7ddf20ac
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddf20fa
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x7ddf20c6
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
and ecx, 3
shl ecx, 2
and edx, 1
or ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x7ddf20d2
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x7ddf20de
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x7ddf20f7
mov edx, dword [ebp - 0x28]
mov eax, 0xff
cmp edx, eax
jb 0x7ddf20f5
mov dword [ecx], eax
jmp 0x7ddf20f7
mov dword [ecx], edx
xor eax, eax
inc eax
leave
ret 0x14
Function at 0x7ddf2130
Capabilities:
Read pipe
Write pipe

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
xor edx, edx
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 2
mov dword [ebp - 8], edx
cmp dword [ebp + 0x20], edx
je 0x7ddf2162
cmp dword [ebp + 0x20], 0xffffffff
je 0x7ddf2162
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 2], 1
call fcn.7ddf2103
jmp 0x7ddf2165
mov byte [ebp - 2], dl
push ebx
push esi
push edi
push edx
mov ebx, 0x80
push ebx
push 3
push edx
mov edi, 0xc0000000
jmp 0x7ddf21e7
cmp byte [ebp - 1], 0
jne 0x7ddf2230
call fcn.7dd711c7
cmp eax, 0xe7
jne 0x7ddf2230
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp - 8]
push eax
push dword [ebp + 8]
call sub.API_MS_Win_Core_NamedPipe_L1_1_0.dll_WaitNamedPipeW
cmp byte [ebp - 2], 0
je 0x7ddf21d7
lea eax, [ebp - 0x14]
push eax
call fcn.7ddf2103
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
sbb ecx, dword [ebp - 0x18]
push 0
push 0x2710
push ecx
push eax
call sub.ntdll.dll__alldiv
mov dword [ebp - 8], eax
cmp eax, dword [ebp + 0x20]
jb 0x7ddf21d7
mov byte [ebp - 1], 1
xor eax, eax
cmp dword [ebp + 0x20], eax
jne 0x7ddf21e2
mov byte [ebp - 1], 1
push eax
push ebx
push 3
push eax
push 3
push edi
push dword [ebp + 8]
call sub.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x7ddf2179
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.7de1f476
mov edi, eax
cmp edi, 1
jne 0x7ddf2226
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.7de1f46b
mov edi, eax
push esi
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
mov eax, edi
jmp 0x7ddf2232
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x7ddf2706
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 4
push edi
jae 0x7ddf2796
cmp byte [esi + 2], 0x20
jae 0x7ddf2796
xor ebx, ebx
cmp byte [esi + 3], bl
jne 0x7ddf2796
lea eax, [ebp + 8]
push eax
push 0x108
lea eax, [ebp - 0x108]
push eax
push 0x37
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, ebx
jge 0x7ddf2759
mov edx, dword [ebp + 0xc]
mov ecx, 0xffff
push eax
mov word [edx], cx
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7ddf27a9
movzx ecx, byte [esi + 2]
xor eax, eax
inc eax
xor edx, edx
call sub.ntdll.dll__allshl
movzx edi, word [esi]
xor ecx, ecx
imul ecx, ecx, 0xc
cmp word [ebp + ecx - 0xfc], di
jne 0x7ddf278a
mov ecx, dword [ebp + ecx - 0x100]
xor esi, esi
and ecx, eax
and esi, edx
or ecx, esi
jne 0x7ddf27b2
inc ebx
movzx ecx, bx
cmp ecx, dword [ebp - 0x108]
jbe 0x7ddf276c
mov ecx, dword [ebp + 0xc]
mov eax, 0xffff
push 0x57
mov word [ecx], ax
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp + 0xc]
mov word [eax], bx
xor eax, eax
inc eax
jmp 0x7ddf27ab
Function at 0x7ddf28d5
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push 0x35
push 2
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jge 0x7ddf28ff
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddf290c
mov eax, dword [ebp + 0xc]
mov cx, word [ebp + 8]
mov word [eax], cx
xor eax, eax
inc eax
leave
ret 8
Function at 0x7ddf338a
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x7ddf33a2
push 0x57
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7ddf33cf
push eax
push dword [eax]
lea eax, [ebp + 8]
push dword [ebp + 0xc]
push 2
push eax
push 0x6c
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
cmp eax, 0xc0000004
jne 0x7ddf33c0
add eax, 0x1f
test eax, eax
jge 0x7ddf33cc
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7ddf339e
xor eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x7ddf3b95
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0
push 0x2c
lea eax, [ebp - 0x34]
push eax
push 0
call edi
mov ebx, eax
test ebx, ebx
jl 0x7ddf3cbc
movsx esi, byte [ebp - 0xc]
imul esi, esi, 0x30
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push esi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 4], eax
test eax, eax
jne 0x7ddf3bf1
mov ebx, 0xc0000017
jmp 0x7ddf3cbc
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push 8
call edi
mov ebx, eax
test ebx, ebx
jl 0x7ddf3c9a
cmp dword [ebp - 8], esi
je 0x7ddf3c14
mov ebx, 0xc00000e5
jmp 0x7ddf3c9a
mov edi, dword [ebp + 8]
test edi, edi
je 0x7ddf3c3e
movsx ecx, byte [ebp - 0xc]
xor edx, edx
xor esi, esi
test ecx, ecx
jle 0x7ddf3c39
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
add edx, ebx
mov ebx, dword [eax + 4]
adc esi, ebx
add eax, 0x30
dec ecx
jne 0x7ddf3c2a
mov dword [edi], edx
mov dword [edi + 4], esi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x7ddf3c6b
movsx ecx, byte [ebp - 0xc]
xor edx, edx
xor esi, esi
test ecx, ecx
jle 0x7ddf3c66
mov eax, dword [ebp - 4]
add eax, 8
mov ebx, dword [eax]
add edx, ebx
mov ebx, dword [eax + 4]
adc esi, ebx
add eax, 0x30
dec ecx
jne 0x7ddf3c57
mov dword [edi], edx
mov dword [edi + 4], esi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x7ddf3c98
movsx ecx, byte [ebp - 0xc]
xor edx, edx
xor esi, esi
test ecx, ecx
jle 0x7ddf3c93
mov eax, dword [ebp - 4]
add eax, 0x10
mov ebx, dword [eax]
add edx, ebx
mov ebx, dword [eax + 4]
adc esi, ebx
add eax, 0x30
dec ecx
jne 0x7ddf3c84
mov dword [edi], edx
mov dword [edi + 4], esi
xor ebx, ebx
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
push dword [ebp - 4]
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebx, ebx
jge 0x7ddf3cc6
push ebx
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddf3cc9
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7ddf48e3
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0x20]
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_CreateRemoteThreadEx
pop ebp
ret 0x1c

Function at 0x7ddf4947
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.7de16193

Function at 0x7ddf5943
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
call sym.KERNEL32.dll_RegKrnGetGlobalState
mov eax, dword [eax + 0x24]
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [ebp - 0xc], eax
push 0x7ddf5a68
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
xor ebx, ebx
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], 0x40
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jl 0x7ddf5a2d
mov eax, dword fs:[0x18]
push edi
push 0x14
pop ecx
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
cmp edi, ebx
je 0x7ddf5a23
push 0x7ddf5a34
lea eax, [ebp - 0x1c]
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push edi
push 2
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jl 0x7ddf59ec
mov esi, dword [edi + 0xc]
jmp 0x7ddf59ef
mov esi, dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test dword [ebp + 8], 0x20000
je 0x7ddf5a0f
and esi, 0xfffffffd
test dword [ebp + 8], 0x10000
je 0x7ddf5a1b
and esi, 0xfffffffe
call sym.KERNEL32.dll_RegKrnGetGlobalState
mov dword [eax + 0x24], esi
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtClose]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7ddf5b36
Capabilities:
Suspend thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtSuspendThread]
test eax, eax
jge 0x7ddf5b57
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
or eax, 0xffffffff
jmp 0x7ddf5b5a
mov eax, dword [ebp + 8]
pop ebp
ret 4
Function at 0x7ddf5d99
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 0x7ddf5e2b
cmp dword [edi], 0x10
jne 0x7ddf5e2b
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
jge 0x7ddf5de8
push eax
jmp 0x7ddf5e30
mov eax, dword [ebp + 0xc]
cmp dword [eax], esi
jne 0x7ddf5e0c
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 0x7ddf5e1b
mov esi, dword [eax + 0x10]
add esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], ebx
mov dword [eax + 0x20], ebx
push dword [ebp + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, dword [ebp - 4]
jmp 0x7ddf5e37
push 0xc0000004
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7ddf5e43
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 0x7ddf5ec4
cmp dword [edi], 0x10
jne 0x7ddf5ec4
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
jge 0x7ddf5e8c
push eax
jmp 0x7ddf5ec9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
cmp ecx, dword [eax]
jae 0x7ddf5ead
mov esi, ecx
shl esi, 4
add esi, dword [eax + 0x10]
add esi, eax
inc ecx
mov dword [eax + 0x20], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
jmp 0x7ddf5eb5
push 0x12
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
push dword [ebp + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, esi
jmp 0x7ddf5ed0
push 0xc0000004
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
pop edi
pop esi
leave
ret 8