joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ddf6313
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 0x7ddf63a7
cmp dword [edi], 0x1c
jne 0x7ddf63a7
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 0x7ddf6362
push eax
jmp 0x7ddf63ac
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], esi
jne 0x7ddf6387
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 0x7ddf6397
mov esi, dword [eax + 0x1c]
push 7
add esi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x2c], ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, dword [ebp - 4]
jmp 0x7ddf63b3
push 0xc0000004
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7ddf63bf
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 0x7ddf6442
cmp dword [edi], 0x1c
jne 0x7ddf6442
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 0x7ddf6408
push eax
jmp 0x7ddf6447
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [eax + 0xc]
jae 0x7ddf642b
mov esi, ecx
imul esi, esi, 0x1c
add esi, dword [eax + 0x1c]
push 7
add esi, eax
inc ecx
mov dword [eax + 0x2c], ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
jmp 0x7ddf6433
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 0x7ddf644e
push 0xc0000004
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x7ddf6db8
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, 0x7de40d20
push 0x106
push esi
call fcn.7dd778f2
test eax, eax
jge 0x7ddf6ddd
push 0xfffffffffffffff9
pop eax
jmp 0x7ddf6e83
push ebx
push edi
push 0
mov edi, 0x80
push edi
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call sub.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x7ddf6e34
call fcn.7dd711c7
cmp eax, 2
jne 0x7ddf6e2f
push 0x106
push esi
call fcn.7de1fd94
push 0
push edi
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call sub.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x7ddf6e34
or eax, 0xffffffff
jmp 0x7ddf6e81
cmp dword [ebp + 0x14], 3
push ebx
je 0x7ddf6e51
call fcn.7ddf6622
mov esi, eax
cmp esi, 0xfffffffb
jne 0x7ddf6e4d
push ebx
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
mov eax, esi
jmp 0x7ddf6e81
call sym.KERNEL32.dll_LZInit
mov edi, eax
test edi, edi
jge 0x7ddf6e62
push ebx
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
cmp dword [ebp + 0x18], 0
je 0x7ddf6e7f
push esi
push 0x104
push dword [ebp + 0x18]
call fcn.7dd778f2
test eax, eax
jge 0x7ddf6e7f
push 0xfffffffffffffff9
pop eax
jmp 0x7ddf6e81
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret 0x14
Function at 0x7ddf9329
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 0xc]
and dword [ebp - 0xb4], 0
push 0xc
push 0x10010008
mov dword [ebp - 0xb8], eax
push 0
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
test eax, eax
jl 0x7ddf9399
cmp dword [ebp - 0xb4], 0
je 0x7ddf9399
push dword [ebp - 0xb4]
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.7dd71442
leave
ret 8

Function at 0x7ddf990d
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 8
lea eax, [ebp - 0xfc]
push eax
push 0
push esi
call dword [sym.imp.ntdll.dll_NtQueryEvent]
test eax, eax
jge 0x7ddf9946
xor eax, eax
jmp 0x7ddf9986
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
push 0xc
push 0x1001000a
mov dword [ebp - 0xbc], eax
push 0
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 0xb8], esi
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
test eax, eax
jl 0x7ddf9942
mov eax, dword [ebp - 0xb4]
mov dword [edi], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.7dd71442
leave
ret 8
Function at 0x7ddfbb40
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x7ddfbb60
push 0x57
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
or eax, 0xffffffff
jmp 0x7ddfbcdf
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
cmp eax, edi
jge 0x7ddfbb79
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7ddfbb58
movzx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
shr eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
je 0x7ddfbb91
push 0xc0000033
jmp 0x7ddfbb72
push dword [ebp + 8]
call fcn.7dd74288
cmp eax, 4
je 0x7ddfbb50
push 0x7ddfbce8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
movzx eax, word [ebp - 0x18]
movzx ecx, word [ebp - 0x10]
lea eax, [eax + ecx + 2]
cmp eax, 0xffff
ja 0x7ddfbb8a
mov word [ebp - 6], ax
xor eax, eax
push esi
mov word [ebp - 8], ax
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
movzx edx, word [ebp - 6]
mov eax, dword [eax + 0x2c]
mov esi, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call esi
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x7ddfbc05
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
or eax, 0xffffffff
jmp 0x7ddfbcde
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_RtlCopyUnicodeString]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
movzx eax, word [ebp - 8]
mov edx, dword [ebp - 4]
push edi
push 0x2020000
push 3
push edi
push 1
shr eax, 1
xor ecx, ecx
push 0x80000000
mov word [edx + eax*2], cx
push dword [ebp - 4]
call sub.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW
push dword [ebp - 4]
mov ebx, dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp + 8], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call ebx
or eax, 0xffffffff
cmp dword [ebp + 8], eax
je 0x7ddfbcdd
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push 0x18
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call esi
mov esi, eax
cmp esi, edi
jne 0x7ddfbc9e
push dword [ebp + 8]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7ddfbcd6
push 6
pop ecx
push 1
push dword [ebp + 0x10]
xor eax, eax
push dword [ebp + 0xc]
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esi], eax
call fcn.7ddfb789
test eax, eax
jne 0x7ddfbcdb
push dword [esi]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call ebx
or eax, 0xffffffff
jmp 0x7ddfbcdd
mov eax, esi
pop ebx
pop esi
pop edi
leave
ret 0xc
Function at 0x7ddfbff1
Capabilities:
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push 0x1e
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
test ebx, ebx
jne 0x7ddfc02d
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
jmp 0x7ddfc0b9
mov eax, dword [ebp + 8]
push esi
push edi
push 6
pop ecx
mov esi, 0x7ddb36b4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movzx eax, word [eax]
push eax
call sub.ntdll.dll_toupper
pop ecx
push 0x3a
mov word [ebx + 0x18], ax
pop eax
push dword [ebp + 0xc]
mov word [ebx + 0x1a], ax
xor eax, eax
mov word [ebx + 0x1c], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov eax, 0xfffe
add word [ebp - 0xc], ax
movzx edi, word [ebp - 0xc]
add edi, 0x24
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push edi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
jne 0x7ddfc0be
push ebx
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 8
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push 8
pop eax
push 0x1c
mov word [esi], ax
pop eax
push 0x24
mov word [esi + 2], ax
pop eax
mov word [esi + 4], ax
mov ax, word [ebp - 0xc]
push 0x1c
mov word [esi + 6], ax
lea eax, [esi + 8]
push ebx
push eax
call sub.ntdll.dll_memcpy
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 4]
push dword [ebp - 8]
add eax, esi
push eax
call sub.ntdll.dll_memcpy
movzx eax, word [esi + 4]
add esp, 0x18
push 0x3f
pop ecx
mov word [eax + esi + 2], cx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
mov ebx, dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 0
push dword [eax + 0x18]
call ebx
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 3
push 0xc0000000
push 0x7dd80508
call sub.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x7ddfc15e
xor edi, edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call ebx
mov eax, edi
jmp 0x7ddfc0b7
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push edi
push esi
push 0x6dc000
push dword [ebp + 8]
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
push dword [ebp + 8]
mov edi, eax
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7ddfc146
Function at 0x7ddfdda0
Capabilities:
Get process heap force flags
Set file attributes

Disassembly:
push 0x44
push 0x7ddfdf68
call fcn.7dd715c0
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x24], esi
or dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 0x19], bl
cmp dword [ebp + 8], ebx
je 0x7ddfdf55
cmp dword [ebp + 0xc], ebx
je 0x7ddfdf55
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
mov edi, dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
call edi
cmp al, bl
jne 0x7ddfddf7
push 3
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7ddfded9
mov dword [ebp - 0x54], 0x18
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x7ddfde21
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
push 0x204020
push 7
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x100100
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
cmp eax, ebx
jge 0x7ddfde4e
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7ddfded9
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call edi
cmp al, bl
je 0x7ddfddea
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword fs:[0x18]
movzx ecx, word [ebp - 0x2c]
add ecx, 0x10
push ecx
push dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, ebx
jne 0x7ddfde95
push 8
jmp 0x7ddfddec
movzx eax, word [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
lea eax, [esi + 0xc]
push eax
call sub.ntdll.dll_memmove
add esp, 0xc
mov byte [esi], bl
mov dword [esi + 4], ebx
movzx eax, word [ebp - 0x2c]
mov dword [esi + 8], eax
push 0xb
movzx eax, word [ebp - 0x2c]
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
cmp eax, ebx
jl 0x7ddfde43
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.7ddfdef5
movzx eax, byte [ebp - 0x19]
jmp 0x7ddfdf5f
push 0x57
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
call fcn.7dd71605
ret 0xc
Function at 0x7ddfe4e6
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x7ddfe610
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.7dd74436
mov edi, dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
xor ebx, ebx
cmp eax, ebx
je 0x7ddfe55b
cmp eax, esi
jae 0x7ddfe55b
lea ecx, [ebp + eax*2 - 0x218]
cmp word [ecx - 2], 0x5c
lea edx, [ebp - 0x10]
jne 0x7ddfe53f
lea edx, [ebp - 0xe]
push edx
mov edx, esi
sub edx, eax
push edx
push ecx
call fcn.7dd73da0
push ebx
push ebx
push 0x7de40338
lea eax, [ebp - 0x218]
push eax
call edi
push 0x7ddfe5f8
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
xor eax, eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], eax
mov eax, 0x208
mov word [ebp - 0x21e], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlQueryEnvironmentVariable_U]
test eax, eax
jl 0x7ddfe5e4
movzx eax, word [ebp - 0x220]
shr eax, 1
lea ecx, [ebp - 0x10]
je 0x7ddfe5c3
cmp word [ebp + eax*2 - 0x21a], 0x5c
jne 0x7ddfe5c3
lea ecx, [ebp - 0xe]
push ecx
sub esi, eax
push esi
lea eax, [ebp + eax*2 - 0x218]
push eax
call fcn.7dd73da0
push ebx
push ebx
push 0x7de40330
lea eax, [ebp - 0x218]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.7dd71442
leave
ret

Function at 0x7ddfe913
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
push dword [eax]
lea eax, [ebp + 8]
push dword [ebp + 0x10]
push 2
push eax
push 0x53
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
test eax, eax
jge 0x7ddfe943
cmp dword [ebp + 0x10], 0
je 0x7ddfe943
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddfe946
xor eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x7ddfed86
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf70]
mov eax, dword [eax + 0x14d0]
sub esp, 0x24
push ebx
mov ebx, dword [eax]
push esi
push edi
xor esi, esi
push esi
push 0x24
lea eax, [ebp - 0x24]
push eax
push 0x51
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, esi
jl 0x7ddfee1f
mov edi, dword [ebp - 0x18]
push esi
push ebx
push esi
push edi
call sub.ntdll.dll__allmul
test edx, edx
ja 0x7ddfee18
jb 0x7ddfedd1
cmp eax, 0xffffffff
ja 0x7ddfee18
push esi
mov esi, dword [ebp - 0x14]
push ebx
push 0
push esi
call sub.ntdll.dll__allmul
test edx, edx
ja 0x7ddfee18
jb 0x7ddfede9
cmp eax, 0xffffffff
ja 0x7ddfee18
mov eax, dword [ebp + 8]
imul edi, ebx
imul esi, ebx
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ecx], eax
test al, 4
je 0x7ddfee0a
push 4
pop edx
test al, 1
je 0x7ddfee11
or edx, 1
xor eax, eax
mov dword [ecx], edx
inc eax
jmp 0x7ddfee27
push 0xc0000095
jmp 0x7ddfee20
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x7ddff06d
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x7ddff0c5
push 0x50
lea eax, [ebp - 0x324]
push esi
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 4]
add esp, 0xc
lea esi, [ebp - 0x324]
mov dword [ebp - 0x324], 0xc0000602
mov dword [ebp - 0x320], 1
mov dword [ebp - 0x318], eax
jmp 0x7ddff0d5
or dword [esi + 4], 1
test byte [ebp + 0x10], 1
je 0x7ddff0d5
mov eax, dword [ebp + 4]
mov dword [esi + 0xc], eax
test edi, edi
jne 0x7ddff0fd
push 0x2cc
lea eax, [ebp - 0x2d0]
push edi
push eax
call sub.ntdll.dll_memset
lea edi, [ebp - 0x2d0]
add esp, 0xc
mov eax, edi
push eax
call dword [sym.imp.API_MS_Win_Core_RtlSupport_L1_1_0.dll_RtlCaptureContext]
call fcn.7ddfeefb
test eax, eax
jl 0x7ddff12b
call fcn.7ddfefa5
test eax, eax
jl 0x7ddff12b
cmp eax, 0x102
je 0x7ddff12b
test byte [0x7ffe02f0], 1
je 0x7ddff12b
push 0
push edi
push esi
call dword [sym.imp.ntdll.dll_NtRaiseException]
jmp 0x7ddff15a
test byte [ebp + 0x10], 2
jne 0x7ddff14d
lea eax, [ebp - 0x2d4]
push eax
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [esi]
or eax, 0x10000000
push eax
call dword [sym.imp.ntdll.dll_NtRaiseHardError]
push dword [esi]
call fcn.7dd717e0
push eax
call fcn.7dd710b2
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.7dd71442
leave
ret 0xc
Function at 0x7ddff7c7
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x18]
mov edi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor ebx, ebx
push ebx
push dword [eax + 0x18]
call edi
mov eax, dword [esi + 4]
mov dword [esi + 0x18], ebx
cmp dword [eax], 2
jne 0x7ddff80a
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi + 0xc]
cmp dword [eax], 2
jne 0x7ddff825
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call edi
mov dword [esi + 0xc], ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push ebx
push dword [eax + 0x18]
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x7de04286
Capabilities:
Delete file
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor ebx, ebx
push ebx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x218], ebx
call edi
cmp dword [ebp - 0x210], ebx
jne 0x7de042ca
push 0x57
call edi
xor eax, eax
jmp 0x7de044a4
push esi
push dword [ebp - 0x210]
call sym.KERNEL32.dll_GlobalLock
mov dword [ebp - 0x214], eax
cmp dword [ebp + 0xc], ebx
je 0x7de042e8
xor esi, esi
jmp 0x7de04450
cmp eax, ebx
je 0x7de04305
push dword [eax + 0x18]
call sym.KERNEL32.dll_GlobalLock
mov dword [ebp - 0x218], eax
cmp eax, ebx
jne 0x7de0430c
push 0x54f
call edi
xor eax, eax
jmp 0x7de044a3
push ebx
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.7dd91833
test eax, eax
jge 0x7de04336
movzx ebx, ax
mov esi, ebx
jmp 0x7de0442e
mov eax, dword [ebp - 0x21c]
dec eax
dec eax
cmp word [eax], 0x5c
je 0x7de0434e
lea ecx, [ebp - 0x20c]
cmp eax, ecx
jae 0x7de0433c
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x20c]
push eax
push ecx
mov esi, 0x7de044b4
push esi
push eax
call fcn.7dd9bc23
test eax, eax
lea eax, [ebp - 0x20c]
push eax
jne 0x7de04407
push edi
call sym.KERNEL32.dll_GetTempPathW
test eax, eax
jne 0x7de0439e
push 0x2e
pop eax
mov word [ebp - 0x20c], ax
push 0x5c
pop eax
mov word [ebp - 0x20a], ax
xor eax, eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x20c]
push eax
push 0
push esi
push eax
call fcn.7dd9bc23
test eax, eax
jne 0x7de043bb
call fcn.7dd711c7
mov esi, eax
jmp 0x7de0442e
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.7de0415d
mov esi, eax
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x7de04403
push 3
push dword [ebp - 0x218]
push eax
call fcn.7dd89b7d
test eax, eax
jne 0x7de0442e
call fcn.7dd711c7
mov ebx, eax
mov esi, ebx
test ebx, ebx
jne 0x7de04422
mov eax, 0x54f
mov ebx, eax
mov esi, eax
jmp 0x7de04422
mov ebx, esi
jmp 0x7de04428
push dword [ebp - 0x210]
call fcn.7de0415d
mov esi, eax
test esi, esi
jne 0x7de04420
lea eax, [ebp - 0x20c]
jmp 0x7de043d9
mov ebx, esi
lea eax, [ebp - 0x20c]
push eax
call fcn.7dd725e0
mov edi, dword [ebp - 0x214]
push dword [edi + 0x18]
call sym.KERNEL32.dll_GlobalUnlock
push dword [edi + 0x18]
call fcn.7dd75f50
mov edi, dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x7de0448e
cmp dword [ebp - 0x218], 0
jne 0x7de0447d
push dword [eax + 0x18]
call sym.KERNEL32.dll_GlobalLock
test eax, eax
je 0x7de04483
mov eax, dword [ebp - 0x214]
push dword [eax + 0x18]
call fcn.7dd75f50
mov eax, dword [ebp - 0x214]
push eax
call fcn.7ddff89b
push dword [ebp - 0x210]
call sym.KERNEL32.dll_GlobalUnlock
push dword [ebp - 0x210]
call fcn.7dd75f50
push ebx
call edi
xor eax, eax
test esi, esi
sete al
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 8

Function at 0x7de044ec
Capabilities:
Delete file
Get common file path

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