joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d22173f
Capabilities:
Terminate process

Disassembly:
jmp 0x7d2334a0
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x7d2334ca
cmp dword [0x7d2b730c], 0
je 0x7d2335c4
call fcn.7d221abe
push 0
call fcn.7d2215f5
mov eax, 1
ret 0xc
cmp eax, 3
jne 0x7d2334dc
call fcn.7d2213ed
mov eax, 1
ret 0xc
cmp eax, 1
jne 0x7d2335a4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.DgApi.dll
call esi
push str.LdrFastFailInLoaderCallout
push 0x7d29af70
mov dword [0x7d2b7308], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
neg eax
push str.ntdll.dll
sbb eax, eax
and eax, 2
add eax, 8
mov dword [0x7d2b7360], eax
mov eax, dword [esp + 0xc]
mov dword [0x7d2b72f8], eax
call esi
push dword [0x7d2b60f8]
mov dword [0x7d2b72fc], eax
call esi
push dword [0x7d2b60fc]
mov dword [0x7d2b7300], eax
call esi
push dword [0x7d2b72fc]
mov dword [0x7d2b7304], eax
call fcn.7d221a3c
push str.GetModuleInformation
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7d2de928], eax
call fcn.7d2219ba
pop esi
test al, al
jne 0x7d233597
push 0
push 0x901
call sym.SbieDll.dll_SbieApi_Log
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call sym.SbieDll.dll__SbieDll_HookInit_0
mov eax, 1
ret 0xc
test eax, eax
jne 0x7d2335c4
cmp byte [0x7d2b7352], al
je 0x7d2335c4
cmp dword [0x7d2b730c], eax
je 0x7d2335c4
push 1
call fcn.7d2210b4
call fcn.7d221456
mov eax, 1
ret 0xc

Function at 0x7d22174e
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x7d2746d0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x7d2746f1
mov edx, dword [esp + 4]
cmp dword [eax + 8], edx
je 0x7d2746f6
mov eax, dword [eax]
cmp eax, ecx
jne 0x7d2746e6
xor al, al
ret 4
mov ecx, 0xffff
mov word [eax + 0x28], cx
mov al, 1
ret 4

Function at 0x7d2217b2
Capabilities:
Terminate process

Disassembly:
jmp 0x7d234310
push esi
mov esi, dword [esp + 8]
add esi, 4
push esi
push dword [0x7d2b738c]
call fcn.7d2214d3
test eax, eax
jne 0x7d23434b
cmp dword [0x7d2b730c], eax
jne 0x7d234334
pop esi
ret 4
push 0
push 0x901
call sym.SbieDll.dll_SbieApi_Log
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [eax], esi
add eax, 4
pop esi
ret 4

Function at 0x7d2217c1
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x7d2740c0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov cl, byte [esp + 8]
mov dword [0x7d2de7cc], eax
mov esi, dword [eax + 0x3c]
add esi, eax
mov byte [0x7d2de759], cl
test cl, cl
jne 0x7d2740eb
call fcn.7d273090
mov eax, dword [0x7d2de7cc]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x7d27412e
lea esi, [ecx + eax]
push 0x7d2de7c8
mov dword [0x7d2de764], esi
mov eax, dword [esi]
push 0x40
mov dword [0x7d2de7c0], eax
mov al, byte [esi + 4]
push 5
push esi
mov byte [0x7d2de7c4], al
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x7d27412e
mov eax, 0x7d2210fa
mov byte [esi], 0xe8
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
pop esi
ret 4
Function at 0x7d2218b1
Capabilities:
Read file on windows

Disassembly:
jmp 0x7d261420
sub esp, 8
lea eax, [esp]
push esi
mov esi, dword [esp + 0x10]
push edi
push 0
push 0
push 0xfe8
lea edi, [esi + 0x10]
push edi
push eax
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov dword [esi + 4], edi
test eax, eax
js 0x7d26146a
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], ecx
mov ecx, 0xc0000011
cmp dword [esi + 8], 0
pop edi
cmove eax, ecx
pop esi
add esp, 8
ret 4
pop edi
mov dword [esi + 8], 0
pop esi
add esp, 8
ret 4
Function at 0x7d22196f
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x7d22af30
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CoGetClassObject
push esi
call edi
push str.CoCreateInstance
push esi
mov ebp, eax
call edi
push str.CoCreateInstanceEx
push esi
mov dword [esp + 0x2c], eax
call edi
push str.CoUnmarshalInterface
push esi
mov dword [esp + 0x18], eax
call edi
push str.CoMarshalInterface
push esi
mov ebx, eax
call edi
push str.CoTaskMemAlloc
push esi
mov dword [esp + 0x1c], eax
call edi
push 0x7d298de8
push esi
mov dword [0x7d2b6fdc], eax
call edi
mov dword [0x7d2b6fe0], eax
call sym.SbieDll.dll_SbieDll_IsOpenCOM
test al, al
jne 0x7d22afae
push 0
push str.DisableComProxy
push 0
call sym.SbieDll.dll_SbieApi_QueryConfBool
test al, al
je 0x7d22afb5
mov byte [0x7d2b6fa0], 1
push esi
push 0x7d228ad0
push ebp
push str.CoGetClassObject
call sym.SbieDll.dll_SbieDll_Hook
mov dword [0x7d2b6fa4], eax
test eax, eax
je 0x7d22b037
push str.cocreate
call fcn.7d221618
test al, al
jne 0x7d22b017
push esi
push 0x7d2286d0
push dword [esp + 0x2c]
push str.CoCreateInstance
call sym.SbieDll.dll_SbieDll_Hook
mov dword [0x7d2b6fac], eax
test eax, eax
je 0x7d22b037
push esi
push 0x7d228870
push dword [esp + 0x18]
push str.CoCreateInstanceEx
call sym.SbieDll.dll_SbieDll_Hook
mov dword [0x7d2b6fb0], eax
test eax, eax
je 0x7d22b037
cmp byte [0x7d2b6fa0], 0
jne 0x7d22b087
cmp dword [0x7d2b735c], 0x20d0
push esi
jb 0x7d22b043
push ebx
call fcn.7d229cd0
test al, al
jne 0x7d22b05c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret 4
push 0x7d228e70
push ebx
push str.CoUnmarshalInterface
call sym.SbieDll.dll_SbieDll_Hook
mov dword [0x7d2b6fb4], eax
test eax, eax
je 0x7d22b037
push esi
push 0x7d228d10
push dword [esp + 0x1c]
push str.CoMarshalInterface
call sym.SbieDll.dll_SbieDll_Hook
mov dword [0x7d2b6fc4], eax
test eax, eax
je 0x7d22b037
push 0
push 4
push 0x7d2a8aa8
call sym.SbieDll.dll_SbieDll_IsOpenClsid
cmp dword [0x7d2b735c], 0x20d0
jb 0x7d22b0ca
push str.WindowsGetStringRawBuffer
push esi
call edi
push str.RoGetActivationFactory
push esi
mov dword [0x7d2b6fe8], eax
call edi
test eax, eax
je 0x7d22b0ca
push esi
push 0x7d22bd40
push eax
push str.RoGetActivationFactory
call sym.SbieDll.dll_SbieDll_Hook
mov dword [0x7d2b6fe4], eax
test eax, eax
je 0x7d22b037
push 8
lea eax, [esp + 0x1c]
push eax
push 0
push str.ClsidTrace
push 0
call sym.SbieDll.dll_SbieApi_QueryConf
test eax, eax
jne 0x7d22b0fd
movzx eax, byte [0x7d2b6ff8]
mov ecx, 1
cmp word [esp + 0x18], 0
cmovne eax, ecx
mov byte [0x7d2b6ff8], al
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 4
Function at 0x7d221a1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x7d24af80
sub esp, 0xc
mov edx, dword [esp + 0x10]
push esi
mov esi, edx
mov dword [esp + 4], 0x3a2f2a22
and esi, 0x7f
mov dword [esp + 8], 0x5c3f3e3c
mov byte [esp + 0xc], 0x7c
cmp esi, 0x20
jb 0x7d24b0c5
cmp esi, 0x7e
jae 0x7d24b0c5
xor eax, eax
nop word [eax + eax]
movsx ecx, byte [esp + eax + 4]
cmp esi, ecx
je 0x7d24b0c5
inc eax
cmp eax, 9
jl 0x7d24afc0
mov ecx, dword [esp + 0x18]
and ecx, 0x7f
cmp ecx, 0x55
jb 0x7d24afee
mov eax, 0xc0c0c0c1
mul ecx
shr edx, 6
imul eax, edx, 0xffffffab
add ecx, eax
push edi
mov edi, ecx
neg edi
cmp byte [esp + 0x20], 0
cmovne edi, ecx
cmp esi, 0x7c
jbe 0x7d24b001
dec esi
cmp esi, 0x5c
lea eax, [esi - 1]
cmovle eax, esi
cmp eax, 0x3f
lea ecx, [eax - 1]
cmovle ecx, eax
cmp ecx, 0x3e
lea eax, [ecx - 1]
cmovle eax, ecx
cmp eax, 0x3c
lea ecx, [eax - 1]
cmovle ecx, eax
cmp ecx, 0x3a
lea eax, [ecx - 1]
cmovle eax, ecx
cmp eax, 0x2f
lea ecx, [eax - 1]
cmovle ecx, eax
cmp ecx, 0x2a
lea edx, [ecx - 1]
cmovle edx, ecx
cmp edx, 0x22
lea eax, [edx - 1]
cmovle eax, edx
lea edx, [eax - 0x20]
add edx, edi
pop edi
cmp edx, 0x55
jl 0x7d24b059
sub edx, 0x55
jmp 0x7d24b060
test edx, edx
jns 0x7d24b060
add edx, 0x55
xor ecx, ecx
lea eax, [edx + 0x20]
cmp eax, 0x22
setge cl
add ecx, 0x20
add ecx, edx
cmp ecx, 0x2a
jl 0x7d24b076
inc ecx
cmp ecx, 0x2f
lea eax, [ecx + 1]
pop esi
cmovl eax, ecx
cmp eax, 0x3a
lea ecx, [eax + 1]
cmovl ecx, eax
cmp ecx, 0x3c
lea eax, [ecx + 1]
cmovl eax, ecx
cmp eax, 0x3e
lea ecx, [eax + 1]
cmovl ecx, eax
cmp ecx, 0x3f
lea eax, [ecx + 1]
cmovl eax, ecx
cmp eax, 0x5c
lea edx, [eax + 1]
cmovl edx, eax
cmp edx, 0x7c
lea eax, [edx + 1]
movzx ecx, ax
movzx eax, dx
cmovl ecx, eax
mov ax, cx
add esp, 0xc
ret 0xc
mov ax, dx
pop esi
add esp, 0xc
ret 0xc

Function at 0x7d221a5a
Capabilities:
Terminate process

Disassembly:
jmp 0x7d234730
push esi
mov esi, dword [esp + 8]
inc dword [esi + 0x440]
mov eax, dword [esi + 0x440]
mov dword [esi + eax*4 + 0x400], 0
mov eax, dword [esi + 0x440]
cmp eax, 0xc
jle 0x7d234770
push eax
push 0x7d29b30c
push 0x906
call sym.SbieDll.dll_SbieApi_Log
mov eax, dword [esi + 0x440]
add esp, 0xc
pop esi
cmp eax, 0x10
jl 0x7d23477e
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret 4
Function at 0x7d221ad7
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
jmp 0x7d28d370
sub esp, 0x164
cmp byte [0x7d2deb68], 0
jne 0x7d28d574
push esi
push edi
lea eax, [esp + 0x58]
mov dword [esp + 0x10], 0
xor esi, esi
mov dword [esp + 0x58], 0x114
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x7d28d3b5
cmp dword [esp + 0x5c], 5
je 0x7d28d545
lea eax, [esp + 0x10]
push eax
push 8
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtOpenProcessToken]
test eax, eax
js 0x7d28d545
mov edi, dword [sym.imp.ntdll.dll_NtQueryInformationToken]
lea eax, [esp + 8]
push eax
push 4
lea eax, [esp + 0x14]
push eax
push 0x12
push dword [esp + 0x20]
call edi
test eax, eax
js 0x7d28d545
mov eax, dword [esp + 0xc]
cmp eax, 2
je 0x7d28d540
cmp eax, 3
je 0x7d28d540
cmp eax, 1
jne 0x7d28d545
push 0x2000
call fcn.7d221505
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x2000
push esi
push 2
push dword [esp + 0x20]
call edi
test eax, eax
js 0x7d28d47d
xor ecx, ecx
mov dword [esp + 8], ecx
cmp dword [esi], ecx
jbe 0x7d28d47d
nop word [eax + eax]
mov edx, dword [esi + ecx*8 + 4]
mov eax, dword [edx]
cmp eax, dword [0x7d2b6cf8]
jne 0x7d28d474
mov eax, dword [edx + 4]
cmp eax, dword [0x7d2b6cfc]
jne 0x7d28d474
mov eax, dword [edx + 8]
cmp eax, dword [0x7d2b6d00]
jne 0x7d28d474
cmp dword [edx + 0xc], 0x220
jne 0x7d28d474
test byte [esi + ecx*8 + 8], 4
jne 0x7d28d493
inc ecx
mov dword [esp + 8], ecx
cmp ecx, dword [esi]
jb 0x7d28d440
cmp dword [esp + 0xc], 2
jne 0x7d28d4aa
mov dword [0x7d2b6cf4], 2
jmp 0x7d28d545
mov dword [esp + 0xc], 2
mov dword [0x7d2b6cf4], 2
jmp 0x7d28d545
mov edi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [esp + 0x18]
push str._registrymachine_softwaremicrosoftwindowscurrentversionpolicies_system
push eax
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call edi
lea eax, [esp + 0x20]
push eax
push 0x20019
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
js 0x7d28d545
push str.EnableLUA
lea eax, [esp + 0x1c]
push eax
call edi
lea eax, [esp + 8]
push eax
push 0x20
lea eax, [esp + 0x40]
push eax
push 2
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
js 0x7d28d545
cmp dword [esp + 0x40], 4
jne 0x7d28d545
cmp dword [esp + 0x44], 0
je 0x7d28d545
mov eax, dword [esp + 0xc]
mov dword [0x7d2b6cf4], eax
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x7d28d556
push eax
call edi
test esi, esi
je 0x7d28d560
push esi
call fcn.7d221537
mov eax, dword [esp + 0x10]
test eax, eax
je 0x7d28d56b
push eax
call edi
pop edi
mov byte [0x7d2deb68], 1
pop esi
mov eax, dword [0x7d2b6cf4]
add esp, 0x164
ret
Function at 0x7d221aff
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x7d277520
push edi
mov edi, ecx
push 0x7d29aadc
mov dword [edi], 0x7d2a19c4
mov dword [edi + 0x14], 0x7d2a19a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x7d2775e7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DragQueryFileW
push eax
call esi
push 0x7d2a1a14
push dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call esi
push str.ILGetSize
push dword [edi + 0x1c]
mov dword [edi + 0x24], eax
call esi
push str.SHGetPathFromIDListW
push dword [edi + 0x1c]
mov dword [edi + 0x28], eax
call esi
push str.SHILCreateFromPath
push dword [edi + 0x1c]
mov dword [edi + 0x2c], eax
call esi
push 0x7d2a1a60
push dword [edi + 0x1c]
mov dword [edi + 0x30], eax
call esi
cmp dword [0x7d2de870], 0
mov dword [edi + 0x34], eax
pop esi
jne 0x7d2775b3
push str.FileName
call dword [0x7d2de26c]
mov dword [0x7d2de870], eax
cmp dword [0x7d2de874], 0
jne 0x7d2775cc
push str.FileNameW
call dword [0x7d2de26c]
mov dword [0x7d2de874], eax
cmp dword [0x7d2de878], 0
jne 0x7d2775fc
push str.Shell_IDList_Array
call dword [0x7d2de26c]
mov dword [0x7d2de878], eax
jmp 0x7d2775fc
mov dword [edi + 0x20], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [esp + 8]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x7d27760d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [esp + 0xc]
mov dword [edi + 8], eax
test eax, eax
je 0x7d27763d
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x7d27763d
push 0
push 0
push 0xffffffffffffffff
push eax
call ecx
mov dword [edi + 0xc], eax
cmp eax, 0xffffffff
mov dword [edi + 0x10], 1
mov eax, edi
je 0x7d277646
pop edi
ret 8
mov dword [edi + 0x10], 1
mov eax, edi
mov dword [edi + 0xc], 0
pop edi
ret 8

Function at 0x7d221b27
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7d26a260
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push edi
mov esi, ecx
call fcn.7d2211e0
test eax, eax
jne 0x7d26a2d7
push dword [esp + 8]
push 4
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [esp + 0x14]
push eax
push dword [esp + 0xc]
push edi
mov dword [esi], eax
call fcn.7d22168b
test eax, eax
jne 0x7d26a2d7
lea eax, [esp + 0x10]
push eax
push edi
call fcn.7d2211e0
test eax, eax
jne 0x7d26a2d7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
not eax
cmp eax, ecx
jne 0x7d26a2d7
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [edx], ecx
test ecx, ecx
jle 0x7d26a2cf
mov ecx, dword [esi]
xor byte [ecx + eax], al
inc eax
cmp eax, dword [edx]
jl 0x7d26a2c5
pop edi
mov al, 1
pop esi
pop ecx
ret 0xc
pop edi
xor al, al
pop esi
pop ecx
ret 0xc
Function at 0x7d221bb3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x7d275190
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
xor edx, edx
push ebp
mov ebp, dword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
push esi
push edi
mov edi, dword [0x7d2de7fc]
mov esi, 8
mov dword [esp + 0x10], edx
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
nop dword [eax]
test esi, esi
js 0x7d2751fa
push 0x40
push 0x3000
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
mov edi, dword [0x7d2de7fc]
test eax, eax
jns 0x7d2751f1
xor edx, edx
mov dword [esp + 0x10], edx
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x7d2751f5
mov edx, dword [esp + 0x10]
dec esi
test edx, edx
je 0x7d2751c0
test eax, eax
jns 0x7d27521e
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esp + 0x10]
mov edi, dword [0x7d2de7fc]
test edx, edx
je 0x7d275253
mov esi, dword [edi]
lea eax, [esp + 0x1c]
push eax
push esi
push edi
push edx
push ebx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x7d275253
cmp esi, dword [esp + 0x1c]
jne 0x7d275253
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x7d221bc7
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x7d260120
sub esp, 8
cmp byte [esp + 0xc], 0xff
mov ecx, 0x40
push ebx
mov eax, 4
mov dword [esp + 4], 0
cmove eax, ecx
mov dword [esp + 8], 0x10000
push eax
push 0x103000
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x7d260270
mov eax, dword [esp + 0x10]
push ebp
push esi
push edi
push 0x80
mov dword [ebx + 0x10], eax
lea edi, [ebx + 0x80]
mov eax, 0x1fe
mov dword [ebx + 8], 0
push 0
push edi
mov word [ebx + 0x14], ax
call sub.ntdll.dll_memset
add esp, 0xc
mov esi, 0x1fe
mov eax, 0x3f
mov edx, 0x40
nop dword [eax + eax]
cmp edx, 1
jne 0x7d2601be
mov byte [eax + edi], 0xff
lea eax, [edx + 7]
jmp 0x7d2601c6
or byte [eax + edi], dl
mov eax, 1
add esi, eax
mov edx, 1
mov ecx, esi
mov eax, esi
and ecx, 7
shr eax, 3
shl edx, cl
cmp eax, 0x80
jb 0x7d2601b0
mov eax, dword [esp + 0x1c]
lea ebp, [ebx + 0x100]
mov dword [ebp], eax
xor ecx, ecx
mov dword [ebx + 0xc], ebp
lea eax, [ebp + 4]
xchg dword [eax], ecx
push 0x3e8
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea edi, [ebp + 0x44]
mov ecx, 0x20
lea esi, [ebx + 0x80]
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
movq qword [ebp + 0x20], xmm0
mov dword [ebp + 0x28], 0
mov ecx, dword [ebp + 0x20]
inc dword [ebp + 0x28]
mov dword [ebp + 0x20], ebx
mov dword [ebx + 4], 0
mov dword [ebx], ecx
test ecx, ecx
jne 0x7d260240
mov dword [ebp + 0x24], ebx
jmp 0x7d260243
mov dword [ecx + 4], ebx
movups xmmword [ebp + 0x2c], xmm0
mov eax, ebp
movq qword [ebp + 0x3c], xmm0
movzx ecx, byte [ebx + 0x80]
bts ecx, 0
pop edi
movzx ecx, cl
pop esi
bts ecx, 1
pop ebp
mov byte [ebx + 0x80], cl
pop ebx
add esp, 8
ret 4
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x7d221bdb
Capabilities:
Accept command line arguments
Set environment variable
Terminate process

Disassembly:
jmp 0x7d22fda0
mov eax, dword [0x7d2b7348]
sub esp, 0x264
and eax, 0x48000042
cmp eax, 0x40000002
jne 0x7d22fec8
mov eax, dword [0x7d2b7358]
cmp eax, 0xb
je 0x7d22fdd8
cmp eax, 0xd
je 0x7d22fdd8
cmp eax, 0xe
je 0x7d22fdd8
cmp eax, 0xf
jne 0x7d22fec8
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
test edi, edi
je 0x7d22fec7
push 0x7d29a558
push edi
call sub.ntdll.dll_wcsstr
add esp, 8
test eax, eax
jne 0x7d22fe11
push str._Embedding
push edi
call sub.ntdll.dll_wcsstr
add esp, 8
test eax, eax
je 0x7d22fec7
push 0x104
lea eax, [esp + 0x5c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x58]
push eax
push str.00000000_SBIE_COMSRV_EXE
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
push str.00000000_SBIE_COMSRV_CMD
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push 1
movlpd qword [esp + 0xc], xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 8], 0x44
mov dword [esp + 0x34], 0x80
call fcn.7d221825
test eax, eax
je 0x7d22febf
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0x7d2990cc
push str.COMSRV
push 0x7d2990cc
call sym.SbieDll.dll_SbieDll_RunSandboxed
test eax, eax
je 0x7d22febf
push 0xffffffffffffffff
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
add esp, 0x264
ret
Function at 0x7d221c35
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x7d22bfc0
sub esp, 0xc
cmp dword [0x7d2b6fcc], 0
jne 0x7d22c001
push dword [0x7d2b6100]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.StringFromGUID2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7d2b6fcc], eax
test eax, eax
jne 0x7d22c001
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [str.unknown]
movups xmmword [eax], xmm0
add esp, 0xc
ret 0xc
mov ecx, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov edx, edi
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x7d22c010
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d22c025
push ebx
sub ecx, edx
mov eax, 0x5c
push ebp
push esi
sar ecx, 1
lea esi, [edi + ecx*2]
mov word [esi], ax
add esi, 2
push 0x30
push esi
push dword [esp + 0x2c]
call dword [0x7d2b6fcc]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push edi
push 0x80000000
call dword [0x7d2b6f1c]
push 0x60
push esi
push edi
mov ebp, eax
call sub.ntdll.dll_memmove
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d22c080
sub ecx, edx
mov eax, 0x20
sar ecx, 1
lea ebx, [edi + ecx*2]
mov word [ebx], ax
add ebx, 2
test ebp, ebp
jne 0x7d22c11c
mov edi, ebx
test bl, 3
je 0x7d22c0ae
lea edi, [ebx + 3]
and edi, 0xfffffffc
push 0x7d2990cc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [esp + 0x20]
push eax
push 0x80
push edi
push 2
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jne 0x7d22c112
mov eax, dword [edi + 8]
shr eax, 1
mov dword [esp + 0x20], eax
lea esi, [eax + eax]
push esi
lea eax, [edi + 0xc]
push eax
push ebx
call sub.ntdll.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
push dword [esp + 0x10]
call dword [0x7d2b6f20]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 0xc
push dword [esp + 0x10]
call dword [0x7d2b6f20]
movups xmm0, xmmword [str.IUnknown]
pop esi
pop ebp
movups xmmword [ebx], xmm0
mov ax, word [0x7d2993a0]
mov word [ebx + 0x10], ax
pop ebx
pop edi
add esp, 0xc
ret 0xc
Function at 0x7d221c76
Capabilities:
Create thread

Disassembly:
jmp 0x7d254170
push ecx
push edi
push str.klwtblfs.exe
push dword [0x7d2b7310]
call sub.ntdll.dll__wcsicmp
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
test eax, eax
jne 0x7d2541ab
push 0
push 0
push 1
push fcn.7d2212fd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x7d2541ab
push eax
call edi
cmp dword [0x7d2de488], 0
je 0x7d254252
push esi
push dword [0x7d2b6108]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xc
mov dword [esp + 0xc], eax
call fcn.7d2217b2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [esi], eax
test eax, eax
je 0x7d254233
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
test eax, eax
je 0x7d254233
push 0
push 0
push esi
push 0x7d253d80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
je 0x7d25422e
push 0xffffffffffffffff
push 0
push esi
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call edi
push dword [esi + 4]
call edi
cmp dword [esp + 8], 0
pop esi
jne 0x7d254252
push dword [0x7d2b6108]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x7d254252
push 0
call fcn.7d2215f5
pop edi
pop ecx
ret