joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41877b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x49d084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push 2
push esi
push eax
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x408], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, esi
mov dword [ebp - 0x40c], eax
jne 0x4187d6
call fcn.00413aa7
mov esi, eax
jmp 0x4188b5
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x4187ef
call fcn.00413aa7
jmp 0x4188a7
push edi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, esi
je 0x4187e5
push edi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x418854
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x418831
lea ecx, [ebp - 0x408]
call fcn.004148d9
mov esi, 0x8007000e
lea ecx, [ebp - 0x410]
call fcn.004147ce
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d1c7
leave
ret 0x10
push eax
lea ecx, [ebp - 0x408]
call fcn.00416b60
cmp dword [ebp - 0x408], esi
jne 0x41886f
mov esi, 0x8007000e
jmp 0x4188a9
push edi
push dword [ebp - 0x408]
push edi
push ebx
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x4187e5
mov ecx, dword [ebp - 0x408]
push dword [ebp + 0x14]
mov word [ecx + eax*2], si
push dword [ebp - 0x408]
lea ecx, [ebp - 0x418]
call fcn.00417e14
mov esi, eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x418836
lea ecx, [ebp - 0x408]
call fcn.004148d9
jmp 0x418836
Function at 0x41cbb5
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x49d084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0041cb4a
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x41cc28
cmp dword [ebp - 0x94], 5
jb 0x41cc49
jmp 0x41cc45
cmp dword [ebp - 0x88], 1
jne 0x41cc49
cmp dword [ebp - 0x94], 4
ja 0x41cc45
jne 0x41cc49
cmp dword [ebp - 0x90], 0
jbe 0x41cc49
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x402f60
call fcn.00413a3e
test eax, eax
jge 0x41cc6a
mov byte [0x4a8220], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d1c7
leave
ret

Function at 0x41d4b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x41d4c3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41d4bf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x41d4f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x41d52f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x41d525
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x41d531
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x41d515
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41d9bf
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x49d084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
push 0x20006
push 0
push 0x403030
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41da0a
jle 0x41da06
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x41da56
push 0x200
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x41da48
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x41da48
jle 0x41da44
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x41da4a
xor esi, esi
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d1c7
leave
ret 4
Function at 0x45e760
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
xor eax, eax
cmp dword [ebp + 8], eax
push esi
push edi
mov dword [ebp - 4], eax
je 0x45e8e7
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x10]
push ecx
call ebx
movzx edi, word [ebp - 0x26]
add edi, dword [ebp - 0x10]
lea edx, [ebp - 0x10]
push edx
call ebx
movzx eax, word [ebp - 0x28]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
call ebx
movzx esi, word [ebp - 0x22]
add esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
call ebx
movzx ebx, word [ebp - 0x24]
imul ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push edx
push ebx
push edi
push esi
lea eax, [ebp - 0x60]
push eax
call fcn.00466fa6
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x60]
push ecx
push edx
call fcn.0045e640
test eax, eax
je 0x45e808
cmp dword [ebp - 0x5c], esi
jne 0x45e808
cmp dword [ebp - 0x58], edi
jne 0x45e808
cmp dword [ebp - 0x54], ebx
jne 0x45e808
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x50], eax
jne 0x45e808
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x401858
call fcn.004676d0
add esp, 4
test eax, eax
jne 0x45e7fa
push 0x401828
call fcn.004676d0
add esp, 4
test eax, eax
jne 0x45e7fa
mov esi, dword [0x403290]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
sub esp, 0x14
mov eax, esp
mov dword [eax], esi
mov esi, dword [0x403294]
mov dword [eax + 4], esi
mov esi, dword [0x403298]
mov dword [eax + 8], esi
mov esi, dword [0x40329c]
mov dword [eax + 0xc], esi
mov esi, dword [0x4032a0]
push ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x10], esi
call ecx
test eax, eax
jl 0x45e8da
cmp word [ebp - 0x20], 0x13
jne 0x45e8da
cmp dword [ebp - 0x18], 4
jne 0x45e8da
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp + 8]
push edx
push 0x201
push 0
push 0x4017b8
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x45e8ae
mov eax, dword [ebp + 8]
push eax
jmp 0x45e8cd
lea ecx, [ebp + 8]
push ecx
push 0x101
push 0
push 0x4017b8
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x45e8da
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e990
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push ebx
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 8]
push ecx
call esi
rdtsc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x10]
push edx
call esi
rdtsc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], eax
ja 0x45e9a5
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
jb 0x45e9e3
cmp edx, ecx
ja 0x45e9a5
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jg 0x45e9a5
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
jl 0x45e9f7
cmp ebx, esi
ja 0x45e9a5
sub ecx, edx
mov edx, dword [ebp - 0x14]
sbb eax, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x18]
push edx
push eax
push ecx
call fcn.004695d0
sub esi, ebx
sbb edi, dword [ebp - 4]
push edi
push esi
push edx
push eax
call fcn.00469560
push 0
mov edi, edx
push 0x65
mov esi, eax
push edi
push esi
mov dword [0x4a8710], esi
mov dword [0x4a8714], edi
call fcn.00469560
push 0
push 0xf4240
push edi
push esi
mov ebx, eax
call fcn.00469560
mov ecx, eax
lea edx, [ecx + 0x19]
mov eax, 0x51eb851f
mul edx
shr edx, 4
mov eax, edx
imul eax, eax, 0x32
mov edx, ecx
sub edx, eax
mov dword [0x4a870c], eax
jns 0x45ea65
neg edx
cmp edx, ebx
jle 0x45eaab
lea edx, [ecx + ecx*2 + 0x10]
mov eax, 0x51eb851f
mul edx
shr edx, 5
imul edx, edx, 0x64
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
mov eax, ecx
sub eax, edx
mov dword [0x4a870c], edx
jns 0x45ea91
neg eax
cmp eax, ebx
jle 0x45eaab
add ecx, 0xc
mov eax, 0x51eb851f
mul ecx
shr edx, 3
imul edx, edx, 0x19
mov dword [0x4a870c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4674e0
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x510
mov eax, dword [0x49d084]
xor eax, esp
mov dword [esp + 0x50c], eax
push ebx
mov ebx, dword [esp + 0x518]
push ebp
mov ebp, dword [esp + 0x520]
push esi
push edi
push 0
push 0x23
lea eax, [esp + 0x124]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [esp + 0x11c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x467524
mov ecx, 0xc
mov esi, 0x40d190
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467540
lea edi, [esp + 0x11c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x467560
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x467560
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x108
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
push 1
push 3
push 0
push 0
push SysReAllocString
lea edx, [esp + 0x134]
push edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4675f2
push 0
lea eax, [esp + 0x14]
push eax
push 0x108
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
push esi
lea edx, [esp + 0x18]
push edx
push ebp
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esi
jmp 0x4675f6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x51c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041d1c7
add esp, 0x510
ret
Function at 0x4680a0
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x288c
call fcn.0041d2a0
mov eax, dword [0x49d084]
xor eax, esp
mov dword [esp + 0x2888], eax
push ebx
push ebp
push edi
mov ebx, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], ebx
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x18], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x468183
push esi
lea esi, [esp + 0x18]
add ebx, 0x800
nop
movzx edi, byte [esi + 0x196]
movzx edx, byte [esi + 0x197]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x199]
shl edi, 8
add edi, edx
shl edi, 8
add edi, eax
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
shl edi, 8
add edi, ecx
movzx ecx, byte [esi + 0x197]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
push eax
push ecx
push 0x40d418
push ebx
call sub.msvcrt.dll_sprintf
mov esi, dword [esi]
add esp, 0x20
add ebp, 1
add ebx, 0x18
test esi, esi
je 0x46817e
cmp ebp, 5
jl 0x4680f0
mov ebx, dword [esp + 0x10]
pop esi
mov ecx, dword [esp + 0x2894]
mov eax, edi
pop edi
mov dword [ebx + 0x814], ebp
mov dword [ebx + 0x82c], ebp
mov dword [ebx + 0x844], ebp
mov dword [ebx + 0x85c], ebp
mov dword [ebx + 0x874], ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0041d1c7
add esp, 0x288c
ret
Function at 0x4682f0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
xor edx, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor edx, ecx
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, edx
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
mov edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 8
nop
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x49e408]
or edx, dword [ebx*4 + 0x49e608]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x49e808]
and eax, 0x3f
or edx, dword [eax*4 + 0x49ea08]
mov eax, dword [ecx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x49e508]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x49e708]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x49e908]
and eax, 0x3f
or ebx, dword [eax*4 + 0x49eb08]
add ecx, 4
or ebx, edx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x49e408]
or edx, dword [ebx*4 + 0x49e608]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x49e808]
and eax, 0x3f
or edx, dword [eax*4 + 0x49ea08]
mov eax, dword [ecx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x49e508]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x49e708]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x49e908]
and eax, 0x3f
or ebx, dword [eax*4 + 0x49eb08]
add ecx, 4
or ebx, edx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x468370
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [esp + 0x18]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret 8
Function at 0x468c60
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x10019e00
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x9c], 0
jne 0x10019e39
push 0
push 0
lea eax, [esi + 0x84]
push eax
push 0x10019e50
push 0
push 0
call fcn.10072cf3
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 0x9c], eax
pop esi
mov eax, ecx
ret
push dword [esi + 0x8c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
pop esi
ret
Function at 0x100268c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10176e98
pop ebp
jmp fcn.1002d2f0
Function at 0x10030f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101722a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1008eba8
push 0x104
push edi
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 1
lea esi, [ecx + 0x1c7]
call fcn.100735d5
push 0x12
push str.REGISTRYMACHINE_
push esi
call fcn.10074710
add esp, 0x18
test eax, eax
jne 0x10030f67
add esi, 0x12
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10031030
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push str.HardwareInformation.AdapterString
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 3
mov dword [ebp - 0x218], 0x104
call esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push edi
push eax
mov dword [ebp - 0x21c], 0
call fcn.100746e6
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x214]
push eax
push 0
push str.DriverVersion
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 0x104
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071c54
mov esp, ebp
pop ebp
ret 8
Function at 0x10031520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008860e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101722a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x2dc], 0
mov dword [esi + 0x2e0], 0
mov dword [esi + 0x2e4], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [esi + 0xd0]
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 8
push eax
mov dword [esi + 0xc], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2d8], 0
mov dword [esi + 0x2f0], 0
mov dword [esi + 0x2f4], 0
mov dword [esi + 0x2e8], 0
mov dword [esi + 0x2ec], 0
call fcn.10073220
push 0x104
lea eax, [esi + 0x1d4]
push 0
push eax
call fcn.10073220
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10036030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, 0x428a2f98
mov edx, 0x71374491
mov esi, 0xb5c0fbcf
test edi, edi
je 0x100360bc
push ebx
mov ebx, dword [ebp + 8]
nop
xor ecx, dword [ebx]
mov eax, esi
sub ecx, esi
shr eax, 0xd
sub ecx, edx
xor ecx, eax
sub edx, esi
sub edx, ecx
mov eax, ecx
shl eax, 8
xor edx, eax
sub esi, edx
sub esi, ecx
mov eax, edx
shr eax, 0xd
xor esi, eax
sub ecx, esi
sub ecx, edx
mov eax, esi
shr eax, 0xc
xor ecx, eax
sub edx, esi
sub edx, ecx
mov eax, ecx
shl eax, 0x10
xor edx, eax
sub esi, edx
sub esi, ecx
mov eax, edx
shr eax, 5
xor esi, eax
sub ecx, esi
mov eax, esi
shr eax, 3
sub ecx, edx
xor ecx, eax
sub edx, esi
mov eax, ecx
shl eax, 0xa
sub edx, ecx
xor edx, eax
sub esi, edx
mov eax, edx
sub esi, ecx
shr eax, 0xf
xor esi, eax
lea ebx, [ebx + 4]
dec edi
jne 0x10036050
pop ebx
xor eax, eax
pop edi
or eax, esi
pop esi
pop ebp
ret 8
Function at 0x10053b20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x101743f8], 0
mov dword [ebp - 4], 0
je 0x10053b7f
push 0x1008e640
lea eax, [ebp - 4]
push 0x10174470
push eax
call fcn.1007415e
mov ecx, dword [ebp + 0xc]
add esp, 0xc
test ecx, ecx
je 0x10053bda
mov eax, dword [ebp - 4]
test eax, eax
je 0x10053b82
lea edx, [ebp + 0x10]
push edx
push ecx
push eax
call fcn.10075bbf
push 0x1008f8d8
push dword [ebp - 4]
call fcn.100742b5
push dword [ebp - 4]
call fcn.10073cc2
add esp, 0x18
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10053bda
mov eax, dword [0x101743c8]
test dword [ebp + 8], eax
je 0x10053bda
push esi
push edi
lea eax, [ebp + 0x10]
push eax
push ecx
call fcn.10075d34
lea esi, [eax + 1]
push esi
call fcn.1007141f
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10053bd8
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
push edi
call fcn.10075d19
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x10
push str.INTC_OCLRT:
call esi
push edi
call esi
push edi
call fcn.100728d0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10054670
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.gdi32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x3c], eax
test eax, eax
je 0x100547b5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DKMTOpenAdapterFromHdc
push eax
call edi
mov dword [esi], eax
test eax, eax
je 0x100547b5
push str.D3DKMTQueryAdapterInfo
push dword [esi + 0x3c]
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x100547b5
push str.D3DKMTCloseAdapter
push dword [esi + 0x3c]
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x100547b5
push str.D3DKMTCreateDevice
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x100547b5
push str.D3DKMTDestroyDevice
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x100547b5
push str.D3DKMTCreateContext
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x100547b5
push str.D3DKMTDestroyContext
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100547b5
push str.D3DKMTCreateAllocation
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x100547b5
push str.D3DKMTDestroyAllocation
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x100547b5
push str.D3DKMTLock
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x30], eax
test eax, eax
je 0x100547b5
push str.D3DKMTUnlock
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x34], eax
test eax, eax
je 0x100547b5
push str.D3DKMTRender
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x38], eax
test eax, eax
je 0x100547b5
push str.D3DKMTEscape
push dword [esi + 0x3c]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x100547b5
push str.D3DKMTOpenResource
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x100547b5
push str.D3DKMTQueryResourceInfo
push dword [esi + 0x3c]
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x100547b5
pop edi
mov ecx, esi
pop esi
jmp fcn.10055fd0
pop edi
xor eax, eax
pop esi
ret