joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x550998
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push 0
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00408de0
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.0049e930
mov esi, dword [esi + 0xc]
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 8], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0xc

Function at 0x4157c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push 0x20006
xor ebx, ebx
push ebx
push esi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x10], eax
cmp eax, 2
jne 0x415805
push 0x20006
push ebx
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.00414fd0
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x41583a
mov edx, dword [esp + 0x24]
push 4
lea ecx, [esp + 0x2c]
push ecx
push 4
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ebx
je 0x415843
cmp eax, ebx
je 0x41583a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
cmp eax, ebx
je 0x41584e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xc
ret

Function at 0x4164a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x550dc8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 0x18], 0xbcdd
xor ebx, ebx
mov byte [esi + 0x1c], bl
push esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], 0xffffffff
mov byte [esi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], 0xbcaa
push 0x415f50
push 0x415f40
push 2
push 0xc
lea eax, [esi + 0x38]
push eax
mov dword [esp + 0x2c], ebx
call fcn.00519f2b
mov ecx, dword [0x5b62e0]
mov dword [esi + 0x34], ecx
inc dword [0x5b62e0]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4171d0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x5510db
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x880], eax
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x88c]
mov dword fs:[0], eax
push 0xffffffffffffffff
push 0
push 5
call fcn.0048e4b0
add esp, 0xc
push 0
push str.UninstallMessage
lea ecx, [esp + 0x10]
call fcn.00417040
push str.BCWipe.stu
lea ecx, [esp + 0x674]
mov dword [esp + 0x898], 0
call fcn.00445f10
push str.BCWipe.stn
lea ecx, [esp + 0x674]
call fcn.00445f10
push str.BCWipe.tmp
lea ecx, [esp + 0x674]
call fcn.00445f10
push str.BCWipe.del
lea ecx, [esp + 0x674]
call fcn.00445f10
push 0x56e8f0
lea ecx, [esp + 0x674]
call fcn.00445f10
xor esi, esi
jmp 0x417290
cmp esi, dword [esp + 0x6fc]
jl 0x41729d
xor eax, eax
jmp 0x4172a7
mov eax, dword [esp + 0x6f8]
mov eax, dword [eax + esi*4]
push 0
push 0x5b05f8
push 0x5b05e0
push 0
push eax
call fcn.0051b3ef
add esp, 0x14
test eax, eax
je 0x4172da
mov ecx, dword [eax + 0x248]
push 0
push 0
push 1
push ecx
call fcn.004ba820
add esp, 0x10
inc esi
jmp 0x417290
call fcn.00433950
push 0
call fcn.00463070
push eax
call fcn.004b6610
add esp, 8
push 0
push 0
call fcn.004e4260
add esp, 4
push eax
call fcn.004b6610
add esp, 8
push 0
push 1
call fcn.004e4260
add esp, 4
push eax
call fcn.004b6610
mov edx, dword [str.SOFTWAREJeticoBCWipe]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 8
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [str.SOFTWAREJeticoBCWipe]
push eax
push SysReAllocString
call esi
lea ecx, [esp + 8]
mov dword [esp + 0x894], 0xffffffff
call fcn.00417100
mov al, 1
mov ecx, dword [esp + 0x88c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.0051916c
add esp, 0x890
ret

Function at 0x417380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x551148
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp edi, ebx
jne 0x4173bd
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x70]
mov byte [0x5b08ec], bl
cmp word [esi], 0x20
jne 0x4173d9
lea ecx, [ecx]
add esi, 2
cmp word [esi], 0x20
je 0x4173d0
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], ebx
call fcn.00491a50
mov eax, dword [esp + 0x24]
invalid
Function at 0x417ac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, eax
mov esi, ecx
xor ecx, ecx
cmp edi, 7
jle 0x417b30
push ebp
mov ebp, esi
mov edx, 7
sub ebp, ebx
mov eax, ebx
sub edx, ebx
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [esi + ecx + 1]
xor byte [eax + 1], bl
movzx ebx, byte [esi + ecx + 2]
xor byte [eax + 2], bl
movzx ebx, byte [esi + ecx + 3]
xor byte [eax + 3], bl
movzx ebx, byte [esi + ecx + 4]
xor byte [eax + 4], bl
movzx ebx, byte [esi + ecx + 5]
xor byte [eax + 5], bl
movzx ebx, byte [esi + ecx + 6]
xor byte [eax + 6], bl
movzx ebx, byte [esi + ecx + 7]
xor byte [eax + 7], bl
add eax, 8
lea ebx, [edx + eax]
add ecx, 8
cmp ebx, edi
jl 0x417ae0
mov ebx, dword [esp + 0x14]
pop ebp
cmp ecx, edi
jge 0x417b4b
sub esi, ebx
lea eax, [ecx + ebx]
sub edi, ecx
jmp 0x417b40
mov cl, byte [eax + esi]
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x417b40
pop edi
pop esi
pop ebx
ret

Function at 0x41ab50
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
push edi
call fcn.0041a790
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ab86
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edi
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
dec eax
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret
push ebx
mov ebx, dword [esp + 0x14]
push 1
push 0x104
push esi
push ebx
call fcn.004ae920
push esi
call fcn.004ba280
add esp, 0x14
test eax, eax
jne 0x41abc6
mov al, byte [esp + 0x1c]
test al, al
je 0x41abc6
movzx eax, al
push eax
push edi
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
dec eax
neg eax
pop ebx
sbb eax, eax
pop edi
inc eax
pop esi
ret
pop ebx
pop edi
mov al, 1
pop esi
ret
Function at 0x41bee0
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x55180e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
or ebp, 0xffffffff
test byte [0x5b65c4], 1
mov dword [esp + 0x2c], 0x14
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
jne 0x41bf63
or dword [0x5b65c4], 1
push 0
push str.SHQueryRecycleBinW
push str.shell32.dll
push 0
mov ecx, 0x5b6378
mov dword [esp + 0x58], 0
call fcn.0049a3f0
push 0x569d80
call fcn.005194de
add esp, 4
mov dword [esp + 0x48], ebp
mov ecx, 0x5b6378
mov dword [esp + 0x18], ebp
call fcn.00499ed0
test eax, eax
jne 0x41bfdd
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, 0x5b6378
mov dword [esp + 0x1c], eax
call fcn.00499f30
push 0
push 0
mov dword [esp + 0x30], eax
call fcn.004aee30
mov esi, eax
add esp, 8
xor ebx, ebx
test esi, esi
je 0x41bfac
mov ebx, 4
cmp byte [0x5b6371], 0
jne 0x41bfdd
push 0
push ebx
lea edx, [esp + 0x24]
push edx
push 0x41beb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x41bfe1
test esi, esi
je 0x41bfdd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebp
jmp 0x41c030
test bl, 4
je 0x41bfed
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41c00b
mov byte [0x5b6371], 1
mov dword [esp + 0x24], ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test esi, esi
je 0x41c01b
push esi
call edi
cmp dword [esp + 0x24], 0
jne 0x41c02c
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x41c030
mov edx, dword [esp + 0x18]
mov eax, ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x41c5b0
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20007
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41c5d4
xor al, al
pop ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push esi
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x41c609
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret

Function at 0x41c740
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20007
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41c764
xor al, al
pop ecx
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x14]
push esi
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret
Function at 0x41d420
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x5518d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
or esi, 0xffffffff
push esi
push 0
lea ecx, [esp + 0x28]
call fcn.0049eff0
mov dword [esp + 0x20], vtable.cWCStr.0
mov eax, dword [esp + 0x44]
push esi
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0
call fcn.00406a80
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x41d4b8
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.cWCS.0
call fcn.0049ee80
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
lea ecx, [esp + 0x20]
test ebp, ebp
jne 0x41d4c9
mov dword [esp + 0x38], esi
jmp 0x41d5b8
call fcn.0049e970
mov esi, eax
lea ebx, [esi - 1]
test ebx, ebx
je 0x41d4ef
mov eax, dword [esp + 0x24]
jmp 0x41d4e0
cmp word [eax + ebx*2], 0x5c
je 0x41d4ee
sub ebx, 1
jne 0x41d4e0
jmp 0x41d4ef
inc ebx
mov edx, esi
sub edx, ebx
cmp edx, 0xa
jge 0x41d505
lea esi, [ebx + 0xa]
push esi
lea ecx, [esp + 0x24]
call fcn.0049f100
push 0
mov ecx, ebp
call fcn.00429a90
mov ebp, eax
test ebp, ebp
je 0x41d5ac
sub esi, ebx
mov dword [esp + 0x18], esi
jmp 0x41d524
mov esi, dword [esp + 0x18]
dec ebp
test esi, esi
je 0x41d557
mov eax, ebp
and al, 1
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0xc
add ecx, 0x35
movzx edi, cx
lea ecx, [ecx]
dec esi
push edi
lea edx, [esi + ebx]
push edx
lea ecx, [esp + 0x28]
call fcn.0049eaf0
test esi, esi
jne 0x41d540
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41d5a4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x24]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x41d5db
test ebp, ebp
jne 0x41d520
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.cWCS.0
call fcn.0049ee80
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov dword [esp + 0x38], 0xffffffff
jmp 0x41d491
Function at 0x41d5f0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x551908
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
push esi
push esi
push esi
push edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
jne 0x41d773
cmp dword [esp + 0x10], esi
jne 0x41d661
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0x400
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], esi
call fcn.0049f020
mov dword [esp + 0x24], vtable.cWCStr.0
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
cmp ebx, esi
je 0x41d6ee
jmp 0x41d690
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push esi
dec ebx
push ebx
push edi
mov dword [esp + 0x3c], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41d6e8
push 0xffffffffffffffff
push esi
mov ecx, 0x5b65c8
call fcn.00406a80
mov ecx, dword [esp + 0x48]
push 0
push 1
inc ecx
push ecx
push ebp
push esi
push edi
call fcn.0041f600
add esp, 0x18
test eax, eax
jle 0x41d6e3
inc dword [esp + 0x14]
jmp 0x41d6e8
cmp eax, 0xfffffffe
jne 0x41d742
test ebx, ebx
jne 0x41d690
xor esi, esi
push esi
push esi
push esi
push esi
lea edx, [esp + 0x28]
push edx
push esi
push esi
lea eax, [esp + 0x3c]
push eax
push esi
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
jne 0x41d75a
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], vtable.cWCS.0
lea ecx, [esp + 0x24]
cmp dword [esp + 0x20], esi
jne 0x41d76e
call fcn.0049ee80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
test ebp, ebp
je 0x41d75a
push esi
push str.In_wiping_sub_key
push str.Error:__s_tPath:__s
push ebp
call fcn.0042f3c0
add esp, 0x10
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x24], vtable.cWCS.0
lea ecx, [esp + 0x24]
call fcn.0049ee80
or eax, 0xffffffff
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x41d790
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x551940
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x54]
mov edx, dword [ebp]
lea eax, [esp + 0x54]
push eax
mov eax, dword [ecx + 0x10]
push 9
xor ebx, ebx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x41d7ed
xor ecx, ecx
cmp eax, 2
setne cl
add ecx, 0xfffffffe
mov eax, ecx
jmp 0x41d941
mov ecx, dword [esp + 0x54]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x41d82a
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x41d941
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x41d93f
push 0x400
lea ecx, [esp + 0x28]
dec edi
call fcn.0049f020
mov esi, vtable.cWCStr.0
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
push edi
push eax
mov dword [esp + 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
je 0x41d885
mov dword [esp + 0x24], vtable.cWCS.0
jmp 0x41d926
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.004a0960
add esp, 8
test al, al
jne 0x41d8a7
mov dword [esp + 0x24], vtable.cWCS.0
jmp 0x41d926
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
call fcn.0049eff0
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp]
push eax
push ecx
lea edx, [esp + 0x3c]
push 0x56be54
push edx
mov byte [esp + 0x5c], 1
call fcn.00401080
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, ebx
je 0x41d8f6
cmp word [eax], bx
je 0x41d8f6
push eax
lea eax, [esp + 0x38]
push 0x56dbc0
push eax
call fcn.00408140
add esp, 0xc
mov ecx, dword [esp + 0x38]
push 1
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00428ef0
mov esi, eax
mov byte [esp + 0x4c], bl
lea ecx, [esp + 0x34]
cmp esi, ebx
jne 0x41d957
mov esi, vtable.cWCS.0
mov dword [esp + 0x34], esi
call fcn.0049ee80
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0049ee80
cmp edi, ebx
jne 0x41d836
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
mov edi, vtable.cWCS.0
mov dword [esp + 0x34], edi
call fcn.0049ee80
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x24], edi
call fcn.0049ee80
mov eax, esi
jmp 0x41d941
Function at 0x41e0f0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5519fb
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x44c]
mov eax, dword [esp + 0x448]
mov esi, dword [esp + 0x450]
lea edx, [esp + 0x14]
push edx
push 0x20007
xor ebp, ebp
push ebp
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e328
mov ecx, dword [esp + 0x14]
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ecx
mov dword [esp + 0x48], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebp
jne 0x41e328
cmp dword [esp + 0x18], 1
jae 0x41e191
xor eax, eax
jmp 0x41e2d9
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], 0x400
call fcn.0049eff0
mov dword [esp + 0x20], vtable.cWCStr.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x440], ebp
call fcn.0049e970
mov ebx, eax
mov eax, dword [esp + 0x454]
xor edx, edx
cmp eax, ebp
sete dl
mov esi, eax
mov edi, eax
mov ebp, edx
add eax, ebp
cmp eax, dword [esp + 0x18]
ja 0x41e2b0
nop
push ebx
lea ecx, [esp + 0x24]
call fcn.0049f100
push edi
lea ecx, [esp + 0x24]
push 0x56f17c
push ecx
call fcn.00408140
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x44]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x40], 0x400
call fcn.004b42b0
add esp, 0x24
test eax, eax
jne 0x41e292
cmp edi, esi
jne 0x41e230
inc esi
jmp 0x41e2a2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x41e301
push ebx
lea ecx, [esp + 0x24]
call fcn.0049f100
push esi
lea eax, [esp + 0x24]
push 0x56f17c
push eax
call fcn.00408140
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x1c]
push eax
push 0
push ecx
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41e2a2
mov edx, dword [esp + 0x14]
push edx
jmp 0x41e306
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x3e8
ja 0x41e2b0
inc edi
lea eax, [edi + ebp]
cmp eax, dword [esp + 0x18]
jbe 0x41e1e0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov dword [esp + 0x440], 0xffffffff
mov dword [esp + 0x20], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0051916c
add esp, 0x430
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov dword [esp + 0x440], 0xffffffff
mov dword [esp + 0x20], vtable.cWCS.0
call fcn.0049ee80
or eax, 0xffffffff
jmp 0x41e2d9
Function at 0x41f4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x551b38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push ebx
push edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x41f5bd
cmp dword [esp + 0x10], ebx
jne 0x41f51d
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x400
lea ecx, [esp + 0x20]
call fcn.0049f020
mov dword [esp + 0x1c], vtable.cWCStr.0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
cmp esi, ebx
je 0x41f586
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push eax
dec esi
push esi
push edi
mov ebx, eax
mov dword [esp + 0x38], edx
call ebp
cmp eax, 0x103
je 0x41f584
test eax, eax
jne 0x41f580
mov edx, dword [esp + 0x3c]
push edx
push ebx
push edi
call fcn.0041d980
add esp, 0xc
test esi, esi
jne 0x41f545
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x1c], vtable.cWCS.0
lea ecx, [esp + 0x1c]
cmp eax, ebx
je 0x41f5d2
call fcn.0049ee80
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp dword [esp + 0x10], ebx
sete bl
call fcn.0049ee80
mov al, bl
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x28
ret