joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5126c7
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.004400a0
mov eax, dword [0x5df890]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
jbe 0x512834
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx ebx, byte [esi]
movzx eax, byte [esi + 1]
inc esi
movzx ecx, byte [esi + 1]
inc esi
movzx edx, byte [esi + 1]
shl eax, 8
or ebx, eax
inc esi
movzx eax, byte [esi + 1]
inc esi
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 1]
shl edx, 0x18
inc esi
or ebx, edx
movzx edx, byte [esi + 1]
inc esi
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 1]
inc esi
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
inc esi
mov byte [edi], dl
mov byte [ebp], al
call fcn.00500800
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00500880
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004fd300
push ebp
call fcn.00500800
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.00500880
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.004fd300
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
inc eax
shr edx, 8
add esp, 0x30
mov byte [eax], dl
inc eax
inc eax
mov edx, ebx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, dword [esp + 0x14]
inc eax
shr ebx, 0x18
mov byte [eax - 1], bl
mov byte [eax], dl
mov ebx, edx
inc eax
inc eax
shr ebx, 8
mov byte [eax - 1], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax], bl
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov eax, ebp
mov byte [eax], cl
mov byte [eax + 1], dl
inc eax
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
inc eax
mov byte [eax], cl
mov edx, ecx
shr edx, 8
inc eax
mov byte [eax], dl
mov edx, ecx
inc eax
shr edx, 0x10
shr ecx, 0x18
sub dword [esp + 0x18], 1
mov byte [eax], dl
mov byte [eax + 1], cl
jne 0x5126e3
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.0043a097
add esp, 0xa0
ret
Function at 0x517e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x5c
call fcn.004400a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
xor edi, edi
push 0x38
lea eax, [esp + 0x38]
push edi
push eax
mov dword [esp + 0x3c], edi
call fcn.0043bff0
lea ecx, [esp + 0x3c]
sub ecx, esi
mov dword [esp + 0x20], ecx
xor eax, eax
lea ecx, [esp + 0x40]
add esp, 0xc
sub ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x517ee4
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + eax*4]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x10], edx
xor ebp, ebp
mov dword [esp + 0x18], 7
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ebp
push ecx
push 0
push eax
call fcn.004404e0
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + esi]
xor ebp, ebp
add eax, ecx
mov ecx, dword [esp + 0x10]
push ebp
adc edx, ebp
add edi, eax
mov eax, dword [esi + 4]
push ecx
adc ebx, edx
mov edx, dword [esp + 0x1c]
push ebp
push eax
mov dword [edx + esi], edi
call fcn.004404e0
xor ecx, ecx
add eax, ebx
adc edx, ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + esi]
xor ebx, ebx
add eax, edi
adc edx, ebx
mov dword [ecx + esi], eax
add esi, 8
sub dword [esp + 0x18], 1
mov edi, edx
jne 0x517f00
mov ebp, dword [esp + 0x30]
imul ebp, ebp, 0xae918bc5
mov dword [esp + 0x68], edi
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], ebp
xor eax, eax
jmp 0x517f78
mov eax, dword [esp + 0x2c]
mov edx, dword [esi*4 + 0x5b822c]
push eax
push ebp
push 0
push edx
call fcn.004404e0
mov ecx, dword [esp + esi*4 + 0x30]
xor ebp, ebp
add eax, ecx
adc edx, ebp
add ebx, eax
adc edi, edx
test esi, esi
je 0x517f9f
mov dword [esp + esi*4 + 0x2c], ebx
mov ebp, dword [esp + 0x10]
mov edx, dword [esi*4 + 0x5b8230]
xor eax, eax
push eax
push ebp
push eax
push edx
mov dword [esp + 0x3c], eax
call fcn.004404e0
mov ecx, dword [esp + esi*4 + 0x34]
xor ebx, ebx
add eax, ecx
adc edx, ebx
xor ecx, ecx
add eax, edi
adc edx, ecx
lea ecx, [esi + 1]
test ecx, ecx
je 0x517fd4
mov dword [esp + esi*4 + 0x30], eax
add esi, 2
xor edi, edi
mov ebx, edx
cmp esi, 0xe
jb 0x517f74
mov edx, dword [esp + esi*4 + 0x30]
xor eax, eax
lea esi, [esp + esi*4 + 0x30]
xor ecx, ecx
add edx, dword [esp + 0x1c]
adc eax, ecx
add ebx, edx
adc edi, eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esi - 4], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
cmp eax, 0xe
jb 0x517ee0
mov eax, dword [esp + 0x70]
push edi
push 0x5b822c
lea edx, [esp + 0x38]
push edx
push eax
mov edx, 0x5b822c
call fcn.00517d70
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x66f455
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x9ad717
push edx
push ecx
mov ecx, esp
add ecx, 4
sub ecx, 4
xchg dword [esp], ecx
pop esp
mov dword [esp], edx
mov edx, 0x39cd9e9e
mov dword [esp + 4], edx
pop edx
mov dword [esp], ebp
jmp 0x9ad831
jmp 0x9b31ff
jmp 0x9b32b4
push esi
mov dword [esp], 0x7a2a6289
mov dword [esp], esp
add dword [esp], 4
push dword [esp]
pop ebp
jmp 0x9b32cf
add esp, 4
jmp 0x9b331d
jmp 0x9ba339
jmp 0x9ba364
add ebp, 0x204b606f
add ecx, ebp
pop ebp
sub ecx, 0x8aa695fd
add esi, ecx
pop ecx
push esi
mov dword [esp], edx
mov edx, 0x14
sub esi, edx
pop edx
xchg dword [esp], esi
jmp 0x9ba387
push esi
mov esi, esp
push ecx
mov ecx, 0x6adbc99d
dec ecx
push ebp
mov ebp, 0x7ebd8209
not ebp
or ebp, 0x6f754a6b
jae 0x9ba38d
jmp 0x9ba387
pop esp
jmp 0x9ba4c2
xor ebp, 0x6e93d9aa
xor ebp, 0x56b38ea3
jl 0x9ba4b1
jmp 0x9ba3a4
push esi
mov esi, esp
add esi, 4
sub esi, 4
xchg dword [esp], esi
pop esp
mov dword [esp], ecx
push dword [esp]
pop edx
add esp, 4
push 0x59f6cf45
mov dword [esp], ebx
push dword [esp]
pop eax
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
push ebx
mov ebx, esp
add ebx, 4
sub ebx, 4
xchg dword [esp], ebx
pop esp
mov dword [esp], ecx
mov dword [esp], ebx
mov ebx, dword [esp]
add esp, 4
jmp 0x9ba38d
or ebp, 0x7f2f6b54
jl 0x9ba33e
jmp 0x9ba364
jmp 0x9c4beb
jmp 0x9c4cc4
sub ebx, edi
pop edi
xchg dword [esp], ebx
pop esp
mov dword [esp], ecx
mov dword [esp], ebx
jmp 0x9c4d40
push 0x1576d964
mov dword [esp], ebx
mov ebx, esp
add ebx, 4
push edi
mov edi, 4
jmp 0x9c4bf0
jmp 0x9cfb7d
jmp 0x9cfcae
push ebx
mov ebx, 0x3fef9af6
xor ebx, 0x3fef9af2
sub edi, ebx
pop ebx
xchg dword [esp], edi
sub esp, 4
mov dword [esp], edi
mov edi, esp
add edi, 4
jmp 0x9cfc3c
Function at 0x409af0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push esi
push 0x40
push 0x3000
push 0x5f0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x409b42
call fcn.00409490
push 0x5f0
push eax
push esi
call fcn.0040a6d0
add esp, 0xc
mov eax, 2
xor byte [eax + esi], 0xec
add eax, 3
cmp eax, 0x5f0
jb 0x409b24
call fcn.00401680
push 0x7e00
push eax
call esi
add esp, 8
pop esi
ret
Function at 0x410fc8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040d5e5
mov dword [ebp - 0x14], eax
cmp dword [0x41f234], esi
jne 0x4110bb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x411048
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41119b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41119b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41119b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41f234], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41f238], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41f23c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41f244], eax
test eax, eax
je 0x4110b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41f240], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4110e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4110d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4110f5
push 4
pop eax
jmp 0x41119d
cmp dword [ebp - 0x14], esi
je 0x4110f5
push dword [0x41f234]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4110da
mov eax, dword [0x41f240]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x411153
cmp dword [0x41f244], edi
je 0x411153
push eax
call ebx
push dword [0x41f244]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x411153
test eax, eax
je 0x411153
call ecx
test eax, eax
je 0x411148
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x411148
test byte [ebp - 8], 1
jne 0x411153
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x411183
mov eax, dword [0x41f238]
cmp eax, edi
je 0x411180
push eax
call ebx
test eax, eax
je 0x411180
call eax
mov esi, eax
test esi, esi
je 0x411180
mov eax, dword [0x41f23c]
cmp eax, edi
je 0x411180
push eax
call ebx
test eax, eax
je 0x411180
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41f234]
call ebx
test eax, eax
je 0x41119b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41119d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409ce5
mov esp, ebp
pop ebp
ret
Function at 0x4025b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5246ea
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0047bb22
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x402670
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004f6a34
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x577b1c
push eax
call fcn.004f83e3
push edi
push esi
call fcn.0047bed4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret 4

Function at 0x403bf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5249cc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x57a0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040b3e0
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 1
mov byte [ebp - 4], 3
call fcn.00403a60
mov dword [edi + 0x34], eax
add esp, 8
mov byte [edi + 0x38], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ac10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524816
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57a0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004927c3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0047bdd1
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524816
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x57a0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004927c3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0047bdd1
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v3.5
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413c8d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Install
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x413c9d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
jne 0x413c8d
push 8
push 0x521e
push 5
push 3
mov ecx, str.SoftwareMicrosoftNET_Framework_SetupNDP_v3.5
call fcn.00414290
add esp, 0x10
test al, al
je 0x413c8d
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret

Function at 0x413ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413d4d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Install
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x413d5d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
jne 0x413d4d
push 0
push 0x766f
push 0
push 4
mov ecx, str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Client
call fcn.00414290
add esp, 0x10
test al, al
je 0x413d4d
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
Function at 0x413da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413e0d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Install
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x413e1d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
jne 0x413e0d
push 0
push 0x766f
push 0
push 4
mov ecx, str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
call fcn.00414290
add esp, 0x10
test al, al
je 0x413e0d
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret

Function at 0x413e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.WS2_32.dll_bind
xor bl, bl
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413ed0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Release
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x413ee1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0x5c615
mov ecx, 1
movzx eax, bl
cmovae eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004927a4
mov esp, ebp
pop ebp
ret
Function at 0x413f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.WS2_32.dll_bind
xor bl, bl
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413f80
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Release
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x413f91
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0x5c733
mov ecx, 1
movzx eax, bl
cmovae eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004927a4
mov esp, ebp
pop ebp
ret

Function at 0x413fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.WS2_32.dll_bind
xor bl, bl
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414040
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Release
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x414051
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0x5cbf5
mov ecx, 1
movzx eax, bl
cmovae eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004927a4
mov esp, ebp
pop ebp
ret
Function at 0x414080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.WS2_32.dll_bind
xor bl, bl
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4140f0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Release
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x414101
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0x6004f
mov ecx, 1
movzx eax, bl
cmovae eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004927a4
mov esp, ebp
pop ebp
ret

Function at 0x414130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57a0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.WS2_32.dll_bind
xor bl, bl
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4141a0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Release
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x4141b1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004927a4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0x6040e
mov ecx, 1
movzx eax, bl
cmovae eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004927a4
mov esp, ebp
pop ebp
ret