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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
test eax, eax
jne 0x6b6ce5d0
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6ce5d7
mov edx, dword [ebp + 0xc]
mov dword [eax], 0x6b6db9e0
xor ebx, ebx
mov dword [eax + 4], 1
mov dword [edx], eax
test byte [0x6b6d7090], 8
jne 0x6b6ce598
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6db818
mov dword [esp + 8], str.LangBarMgr_Constructor
mov dword [esp + 4], 0x6b6d7090
mov dword [esp], 3
call fcn.6b6cdf30
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov ebx, 0x80040110
jmp 0x6b6ce58b
mov ebx, 0x8007000e
jmp 0x6b6ce58b

Function at 0x6b6ce5e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret
Function at 0x6b6cee80
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [0x6b6ec014]
mov esi, dword [0x6b6ec010]
test ebx, ebx
je 0x6b6cef49
mov ecx, dword [0x6b6ec018]
xor eax, eax
mov edx, ecx
jmp 0x6b6ceeba
add eax, 1
add edx, 0xc
cmp eax, ebx
je 0x6b6ceef0
cmp dword [edx], 0
jne 0x6b6ceeb0
cmp eax, esi
je 0x6b6cef80
lea edx, [eax + eax*2]
lea edx, [ecx + edx*4]
lea ecx, [eax + 1]
mov esi, dword [ebp + 8]
mov dword [edx], ecx
mov dword [edx + 4], esi
mov esi, dword [ebp + 0xc]
mov dword [edx + 8], esi
cmp eax, ebx
je 0x6b6cef69
lea esp, [ebp - 8]
mov eax, ecx
pop ebx
pop esi
pop ebp
ret
cmp eax, esi
jne 0x6b6ceec7
lea esi, [ebx + ebx*2]
mov dword [esp + 8], ecx
lea edx, [esi*8]
mov dword [esp + 4], 8
mov dword [esp + 0xc], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
test eax, eax
je 0x6b6cefd7
mov dword [0x6b6ec018], eax
lea edx, [eax + esi*4]
lea ecx, [ebx + 1]
mov eax, ebx
shl dword [0x6b6ec010], 1
mov ebx, dword [0x6b6ec014]
jmp 0x6b6ceed0
test esi, esi
je 0x6b6cef88
mov eax, dword [0x6b6ec018]
mov ecx, dword [ebp + 8]
mov dword [eax], 1
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, 1
mov dword [0x6b6ec014], ecx
lea esp, [ebp - 8]
mov eax, ecx
pop ebx
pop esi
pop ebp
ret
test eax, eax
jne 0x6b6cf012
mov dword [esp + 8], 0x78
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [0x6b6ec018], eax
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x6b6cf019
mov ebx, dword [0x6b6ec014]
mov ecx, 1
xor eax, eax
mov dword [0x6b6ec010], 0xa
jmp 0x6b6ceed0
test byte [0x6b6d70b4], 2
jne 0x6b6cefe7
xor ecx, ecx
jmp 0x6b6ceee6
mov dword [esp + 0xc], str.Out_of_memory__Unable_to_realloc_cookies_array_n
mov dword [esp + 8], str.generate_Cookie
mov dword [esp + 4], 0x6b6d70b4
mov dword [esp], 1
call fcn.6b6cea40
xor ecx, ecx
jmp 0x6b6ceee6
mov ebx, eax
jmp 0x6b6ceef4
test byte [0x6b6d70b4], 2
je 0x6b6cefe0
mov dword [esp + 0xc], str.Out_of_memory__Unable_to_alloc_cookies_array_n
jmp 0x6b6cefef
Function at 0x6b6cf140
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6cf237
mov esi, eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x14]
lea ecx, [esi + 8]
mov eax, dword [eax]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
call dword [eax]
sub esp, 0xc
test eax, eax
js 0x6b6cf212
mov eax, dword [ebx]
mov dword [esi + 4], ebx
mov dword [esi], eax
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x10]
mov dword [ebx], esi
xor ebx, ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.6b6cee80
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
test byte [0x6b6d70b4], 8
jne 0x6b6cf1e0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cookie__lx_n
mov dword [esp + 8], str.advise_sink
mov dword [esp + 4], 0x6b6d70b4
mov dword [esp], 3
call fcn.6b6cea40
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], esi
mov ebx, 0x80040202
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6b6cf1cc
mov ebx, 0x8007000e
jmp 0x6b6cf1cc
Function at 0x6b6d0d00
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6d0df1
mov ebx, eax
test byte [0x6b6d70c4], 8
jne 0x6b6d0d90
mov eax, dword [esi]
mov dword [ebx + 8], esi
mov dword [ebx], 0x6b6dc180
mov dword [ebx + 4], 1
mov dword [esp], esi
xor esi, esi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
test byte [0x6b6d70c4], 8
jne 0x6b6d0dc0
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6dbf4b
mov dword [esp + 8], str.Range_Constructor
mov dword [esp + 4], 0x6b6d70c4
mov dword [esp], 3
call fcn.6b6d00b0
jmp 0x6b6d0d46
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6b6dbf54
mov dword [esp + 8], str.Range_Constructor
mov dword [esp + 4], 0x6b6d70c4
mov dword [esp], 3
call fcn.6b6d00b0
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov esi, 0x8007000e
jmp 0x6b6d0d7d

Function at 0x6b6d2430
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
mov eax, dword fs:[0x18]
sub esp, 0x2c
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6d24ca
mov dword [eax], 0x6b6dcd74
mov ebx, eax
mov edx, 0
mov dword [eax + 4], 1
mov dword [eax + 0xc], edi
mov eax, dword [edi]
cmp edi, eax
cmove eax, edx
mov dword [ebx + 8], eax
test byte [0x6b6d7138], 8
jne 0x6b6d24a0
mov dword [esi], ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.returning__p_n
mov dword [esp + 8], str.EnumTfDocumentMgr_Constructor
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 3
call fcn.6b6d17a0
jmp 0x6b6d2493
mov eax, 0x8007000e
jmp 0x6b6d2497
Function at 0x6b6d4d80
Capabilities:
Contain obfuscated stackstrings
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
jne 0x6b6d4f60
mov dword [esp], esi
call sym.msctf.dll_TF_GetThreadMgr
mov edx, eax
sub esp, 4
xor eax, eax
test edx, edx
js 0x6b6d4db8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xac
mov dword [esp + 4], 8
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6b6d4f6a
mov dword [eax], 0x6b6dcea0
lea eax, [eax + 0x20]
mov dword [eax - 0x1c], 0x6b6dce84
mov dword [eax - 0x18], 0x6b6dce40
mov dword [eax - 0x14], 0x6b6dce10
mov dword [eax - 0x10], 0x6b6dce00
mov dword [eax + 4], 0x6b6dcde0
mov dword [eax - 0xc], 0x6b6dcdc0
mov dword [eax - 8], 0x6b6dcd90
mov dword [eax - 4], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6b6e3778
mov dword [esp], ebx
call fcn.6b6c4300
lea eax, [ebx + 0x44]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
lea eax, [ebx + 0x4c]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x54]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x60]
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x68]
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x68], eax
lea eax, [ebx + 0x70]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x70], eax
lea eax, [ebx + 0x78]
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x78], eax
lea eax, [ebx + 0x80]
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x80], eax
lea eax, [ebx + 0x88]
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0x90]
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x90], eax
lea eax, [ebx + 0x98]
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0x98], eax
mov eax, dword [edi + 0x24]
mov dword [esp], 0x6b6d7120
mov dword [ebx + 0xa0], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [0x6b6d70e4]
lea eax, [ebx + 0xa4]
mov dword [ebx + 0xa4], 0x6b6d70e0
sub esp, 4
mov dword [ebx + 0xa8], edx
mov dword [edx], eax
mov dword [0x6b6d70e4], eax
mov dword [esp], 0x6b6d7120
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x6b6d7138], 8
jne 0x6b6d4f30
mov dword [esi], ebx
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.returning__p_n
mov dword [esp + 8], str.ThreadMgr_Constructor
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 3
call fcn.6b6d17a0
jmp 0x6b6d4f1c
mov eax, 0x80040110
jmp 0x6b6d4daa
mov eax, 0x8007000e
jmp 0x6b6d4daa
Function at 0x6b6d4f80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x4c]
lea ecx, [esi + 0x4c]
jmp 0x6b6d4fab
mov edx, dword [eax + 8]
mov edi, eax
mov eax, dword [eax]
cmp edx, ebx
je 0x6b6d4ff0
cmp eax, ecx
jne 0x6b6d4fa0
test byte [0x6b6d7138], 1
jne 0x6b6d5020
mov eax, dword [esi + 0x54]
lea edx, [esi + 0x54]
cmp eax, edx
jne 0x6b6d4fce
jmp 0x6b6d4fe0
mov eax, dword [eax]
cmp eax, edx
je 0x6b6d4fe0
cmp dword [eax + 0xc], ebx
jne 0x6b6d4fc8
mov dword [eax + 0xc], 0
mov eax, dword [eax]
cmp eax, edx
jne 0x6b6d4fce
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov eax, dword [edi]
mov dword [edx], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6b6d4fb8
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.ITfDocumentMgr__p_not_found_in_this_thread_n
mov dword [esp + 8], str.ThreadMgr_OnDocumentMgrDestruction
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 0
call fcn.6b6d17a0
jmp 0x6b6d4fb8

Function at 0x6b6d5ba0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x6b6ec0e0]
test eax, eax
je 0x6b6d5c58
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x6b6d5be0
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x6b6d5bcc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x6b6d5c8d
mov dword [esp + 4], 0x6b6e385c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x6b6ec0e0], eax
sub esp, 8
test eax, eax
jne 0x6b6d5bbd
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x6b6d5bce
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x622c18d1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2abb721b
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x43ba3c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4463f8
push 0x43ba36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x450788], 0xffffffff
or dword [0x45078c], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x44e770]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x44e76c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x450784], eax
call fcn.0043bb7f
cmp dword [0x44e450], 0
jne 0x43babf
push 0x43bb7c
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.005c4000
push 0x44e034
push 0x44e030
call sub.MSVCRT.dll__initterm
mov eax, dword [0x44e768]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x44e764]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x44e02c
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00438c5e
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x40e840
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5779a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.WmVKoYwkK9LBctUBDgGVBjUJaIioVnGRc1DFy8
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.OElVlT2gK7FD9IKGiEgUSiw
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042d600
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x14]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40e92b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40e95c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x5904f4
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40e992
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40e9c8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00552a0f
int3
Function at 0x41ef00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579605
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.OG1hJRGsChBzBPyDBMhWZD0i5BUgdMMjBXRHwQ
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.cXNXaNQIHiNkEENAA
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042d600
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x1c]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41efee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f04f
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x20]
call fcn.00445090
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41f040
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x110], esi
cmp ecx, 8
jb 0x41f08e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f084
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f0d9
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41f0c4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f0ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f0d9
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552a0f
int3