joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499770
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + 0x214]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov bl, byte [esi + 0xd]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x42103d
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0044dc10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x1c]
and esi, 0xfffffffe
push dword [ebx + 0x1f4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x421023
cmp dword [ebx + 0x1f0], 0
je 0x420fe0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebx + 0x1f0]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push dword [ebp - 0x1c]
mov dword [ebx + 0x1f0], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00473630
add esp, 0xc
push dword [ebx + 0x1f0]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebx + 0x1f0]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
call fcn.0043a0a0
mov eax, dword [ebx + 0x1f8]
lea ecx, [ebx + 0x1f8]
push dword [edi + 4]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4237a0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
xor ebx, ebx
mov ecx, dword [edi + 8]
mov eax, ecx
mov esi, dword [edi + 4]
sub eax, esi
sar eax, 4
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4238a3
xor esi, esi
jmp 0x423839
mov esi, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x24]
push 0x4b3f4c
push eax
call fcn.0043a500
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jbe 0x423916
mov eax, dword [edi + 0x14]
mov edx, dword [esi + ecx + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x423877
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x423888
push dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [edi + 8]
add esi, 0x10
mov dword [ebp - 0x14], esi
mov eax, ecx
mov esi, dword [edi + 4]
inc ebx
sub eax, esi
mov dword [ebp - 0x10], ecx
sar eax, 4
cmp ebx, eax
jb 0x423836
mov byte [ebp - 4], 2
cmp esi, ecx
je 0x4238c2
mov ebx, dword [ebp - 0x10]
nop
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x10
cmp esi, ebx
jne 0x4238b0
mov esi, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov dword [edi + 8], esi
mov dword [ebp - 0x24], vtable.StringStorage.0
test edx, edx
je 0x4238ff
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4238f5
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423911
push ecx
push edx
call fcn.00471d21
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0047da11
call fcn.00423b40
int3
Function at 0x424670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499cd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0x10]
mov esi, 0x400
mov dword [ebp - 4], 0
nop
lea eax, [ebp - 0x18]
push eax
push esi
mov ecx, eax
call fcn.00421670
push dword [edi + 0x18]
push esi
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, esi
lea edx, [esi - 1]
shr ecx, 1
add esi, ecx
cmp eax, edx
je 0x4246c0
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x42472b
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424721
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42473f
push ecx
push edx
call fcn.00471d21
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0047da11
int3
Function at 0x4249f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.004247c0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.004248a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [edi + 4]
call fcn.0044f070
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
mov ecx, dword [edi + 4]
call fcn.0044f150
mov ecx, dword [ebp - 0x44]
mov bl, al
test ecx, ecx
jne 0x424afc
xor dl, dl
jmp 0x424b0e
push dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x44]
test eax, eax
sete dl
test bl, bl
jne 0x424b16
test dl, dl
je 0x424b18
mov bl, 1
mov dword [ebp - 0x48], vtable.RegistryKey.0
test ecx, ecx
je 0x424b36
cmp ecx, dword [ebp - 0x40]
je 0x424b2f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a0a0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x424b8d
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424b6e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424bdc
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x424bc7
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424bbd
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424be1
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0047da11
call fcn.0047da11
int3
Function at 0x424dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.004247c0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.004248a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0044f070
mov ebx, dword [ebp - 0x44]
test ebx, ebx
jne 0x424ed2
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x424f2a
mov edx, dword [ebp + 0xc]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424ee0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x424f2a
cmp eax, dword [ebp - 0x40]
je 0x424f23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a0a0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x424f81
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424f62
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424fd1
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x424fbb
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424fb1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424fd6
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047da11
call fcn.0047da11
int3
Function at 0x424fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499e10
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.004247c0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.004248a0
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [edi + 4]
call fcn.0044f070
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4250e2
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42512d
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], 0xb
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], 8
push ecx
push 0
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0x4c], vtable.RegistryKey.0
mov eax, dword [ebp - 0x48]
sete bl
test eax, eax
je 0x42512d
cmp eax, dword [ebp - 0x44]
je 0x425126
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
call fcn.0043a0a0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
test edx, edx
je 0x425184
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425165
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4251d3
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x4251be
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4251b4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4251d8
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047da11
call fcn.0047da11
int3
Function at 0x4251e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.004247c0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.004248a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0044f070
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4252e8
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x425320
push 4
lea ecx, [ebp + 8]
push ecx
push 0xb
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x425320
cmp eax, dword [ebp - 0x40]
je 0x425319
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a0a0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x425377
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425358
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4253c7
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x4253b1
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4253a7
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4253cc
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047da11
call fcn.0047da11
int3
Function at 0x425440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499e10
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.004247c0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.004248a0
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [edi + 4]
call fcn.0044f070
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x425542
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42558d
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], 4
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], 4
push ecx
push 0
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0x4c], vtable.RegistryKey.0
mov eax, dword [ebp - 0x48]
sete bl
test eax, eax
je 0x42558d
cmp eax, dword [ebp - 0x44]
je 0x425586
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
call fcn.0043a0a0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
test edx, edx
je 0x4255e4
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4255c5
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425633
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x42561e
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425614
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425638
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047da11
call fcn.0047da11
int3
Function at 0x425640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.004247c0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.004248a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0044f070
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x425748
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x425780
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x425780
cmp eax, dword [ebp - 0x40]
je 0x425779
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a0a0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x4257d7
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4257b8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425827
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x425811
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425807
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42582c
push ecx
push edx
call fcn.00471d21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047da11
call fcn.0047da11
int3