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

Disassembly:
push 0xffffffffffffffff
push 0x81cf08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push esi
mov esi, ecx
mov cl, byte [eax]
xor ebx, ebx
push 0xffffffffffffffff
mov byte [esp + 0x14], cl
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00402e90
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.005cfe10
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x5d3367
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x5d3344
dec cl
pop esi
mov byte [eax], cl
mov eax, dword [esp + 4]
add eax, 0x1c
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push eax
call fcn.007d7349
mov ecx, dword [esp + 0xc]
add esp, 4
pop esi
lea eax, [ecx + 0x1c]
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
lea eax, [edx + 0x1c]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x5d6950
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x81cfd0
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [esp + 0x40]
push ebx
push esi
push edi
mov edi, dword [esp + 0x4c]
push 1
push eax
mov ecx, edi
call fcn.005e3b0e
xor ebx, ebx
cmp eax, 4
jb 0x5d69da
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x4c]
xor esi, esi
cmp edx, esi
jb 0x5d69da
ja 0x5d699b
cmp eax, ecx
jb 0x5d69da
mov esi, dword [esp + 0x50]
push 1
push ecx
mov ebx, ecx
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
push eax
push edx
push esi
call fcn.004a8940
mov ecx, dword [esp + 0x60]
add esp, 0x14
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
mov edx, dword [edi]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x44]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov edi, 0x910ef4
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x4c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xc], dl
push ecx
push 0x910ef4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004030a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], ebx
call fcn.007ac4ef
mov al, byte [esp + 0xc]
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov dword [esp + 0x2c], 4
mov byte [esp + 0x30], al
call fcn.00404c40
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ebx
push ecx
lea ecx, [esp + 0x38]
call fcn.00402e90
lea edx, [esp + 0x1c]
push 0x8c0e08
push edx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x24], 0x869e1c
call fcn.007ac5c6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x5d8c50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d216
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx]
push edi
mov dword [esp + 0x34], ebx
call dword [eax + 8]
test al, al
jne 0x5d8e6e
mov cl, byte [esp + 0x13]
push 0x20c
mov dword [esp + 0x18], 0
mov byte [esp + 0x3c], cl
call fcn.007d7320
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
mov edi, esi
mov ebp, 0x106
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00577050
add esp, 8
add edi, 2
dec ebp
jne 0x5d8cac
lea eax, [esi + 0x20c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x13]
xor edi, edi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0xcc], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x105
mov byte [esp + 0x20], al
call fcn.00404f20
mov eax, dword [ebx + 0x34]
push edi
lea ecx, [esp + 0x34]
push edi
push ecx
lea edx, [esp + 0x24]
push edi
push edx
push esi
push edi
push eax
mov byte [esp + 0xe8], 1
mov dword [esp + 0x4c], 2
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x5d8e5a
test eax, eax
je 0x5d8da5
mov dword [ebx + 0x18], eax
add ebx, 4
test ebx, ebx
je 0x5d8d3c
lea ebp, [ebx + 4]
jmp 0x5d8d3e
xor ebp, ebp
push str.RegEnumValueW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call fcn.00404d30
test al, al
je 0x5d8d75
mov eax, dword [ebp + 4]
push edi
push str.RegEnumValueW__
push eax
call fcn.004069b0
add esp, 0xc
mov ecx, ebp
push edi
call fcn.00404c90
mov ebx, dword [esp + 0x34]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 8]
test al, al
je 0x5d8df4
push ebx
lea ecx, [esp + 0x4c]
call fcn.00537590
lea ecx, [esp + 0x48]
push 0x8c1574
push ecx
mov dword [esp + 0x50], 0x869e24
call fcn.007ac5c6
push esi
call fcn.007ac4d2
add esp, 4
mov edi, eax
lea ecx, [esp + 0x1c]
push 1
push edi
call fcn.00404d30
test al, al
je 0x5d8ddd
mov eax, dword [esp + 0x20]
push edi
push esi
push eax
call fcn.004069b0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
add esp, 0xc
mov word [ecx + edi*2], 0
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0x1c]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.005dbf60
push 1
lea ecx, [esp + 0x20]
call fcn.00404f20
mov edi, dword [esp + 0x14]
mov al, byte [esp + 0x13]
inc edi
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x105
mov byte [esp + 0x20], al
call fcn.00404f20
mov eax, dword [ebx + 0x34]
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
lea edx, [esp + 0x24]
push 0
push edx
push esi
push edi
push eax
mov byte [esp + 0xe8], 1
mov dword [esp + 0x4c], 2
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x5d8d29
push 1
lea ecx, [esp + 0x20]
call fcn.00404f20
push esi
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4
Function at 0x5d8e90
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d272
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [esp + 0xa4]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x2c], esi
call fcn.005d7230
push 2
mov ecx, esi
mov dword [esp + 0xb0], 0
mov dword [esi], 0x869e2c
call fcn.005d7720
mov ecx, esi
mov dword [esp + 0xac], 1
mov dword [esi], 0x869f8c
call dword [0x869f90]
test al, al
je 0x5d9089
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5d8f19
mov eax, dword [eax + 4]
test eax, eax
jne 0x5d8f1b
mov eax, 0x8522f8
jmp 0x5d8f1b
xor eax, eax
mov ecx, dword [esi + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ebp, [esi + 4]
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x5d8f35
add ebp, 4
jmp 0x5d8f37
xor ebp, ebp
push str.RegDeleteValueW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call fcn.00404d30
test al, al
je 0x5d8f80
mov ecx, dword [ebp + 4]
mov eax, str.RegDeleteValueW__
test edi, edi
jbe 0x5d8f71
sub ecx, eax
mov edx, edi
mov bx, word [eax]
mov word [ecx + eax], bx
add eax, 2
dec edx
jne 0x5d8f64
mov edx, dword [ebp + 4]
mov dword [ebp + 8], edi
mov word [edx + edi*2], 0
lea edi, [edx + edi*2]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x5d9089
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov edi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], 2
call fcn.007ac4ef
lea ecx, [esp + 0x3c]
mov bl, 1
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x38], bl
call fcn.004034a0
xor ebp, ebp
push 0xffffffffffffffff
push ebp
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 4
mov dword [esp + 0x48], vtable.ucs2string.0
call fcn.00419a20
mov byte [esp + 0xac], 5
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea ecx, [esp + 0x54]
call fcn.00576390
mov dword [esp + 0x2c], vtable.WWLib::BaseException.0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xac], 7
cmp eax, ebp
je 0x5d902e
mov cl, byte [eax - 1]
test cl, cl
je 0x5d9022
dec cl
mov byte [eax - 1], cl
jmp 0x5d902e
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov edx, dword [esi]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0xac], 8
call dword [edx + 0x10]
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
lea edx, [esp + 0x2c]
push 0x8c1574
push edx
mov byte [esp + 0xb4], bl
mov dword [esp + 0x34], 0x869e24
call fcn.007ac5c6
mov ecx, dword [esp + 0xa4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 8
Function at 0x5d90b0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d2d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [esp + 0xa4]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x2c], esi
call fcn.005d7300
push 2
mov ecx, esi
mov dword [esp + 0xb0], 0
mov dword [esi], 0x869e2c
call fcn.005d7720
mov ecx, esi
mov dword [esp + 0xac], 1
mov dword [esi], 0x869f8c
call dword [0x869f90]
test al, al
je 0x5d92a9
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5d9139
mov eax, dword [eax + 4]
test eax, eax
jne 0x5d913b
mov eax, 0x8522f8
jmp 0x5d913b
xor eax, eax
mov ecx, dword [esi + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ebp, [esi + 4]
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x5d9155
add ebp, 4
jmp 0x5d9157
xor ebp, ebp
push str.RegDeleteValueW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call fcn.00404d30
test al, al
je 0x5d91a0
mov ecx, dword [ebp + 4]
mov eax, str.RegDeleteValueW__
test edi, edi
jbe 0x5d9191
sub ecx, eax
mov edx, edi
mov bx, word [eax]
mov word [ecx + eax], bx
add eax, 2
dec edx
jne 0x5d9184
mov edx, dword [ebp + 4]
mov dword [ebp + 8], edi
mov word [edx + edi*2], 0
lea edi, [edx + edi*2]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x5d92a9
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov edi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], 2
call fcn.007ac4ef
lea ecx, [esp + 0x3c]
mov bl, 1
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x38], bl
call fcn.004034a0
xor ebp, ebp
push 0xffffffffffffffff
push ebp
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 4
mov dword [esp + 0x48], vtable.ucs2string.0
call fcn.00419a20
mov byte [esp + 0xac], 5
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea ecx, [esp + 0x54]
call fcn.00576390
mov dword [esp + 0x2c], vtable.WWLib::BaseException.0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xac], 7
cmp eax, ebp
je 0x5d924e
mov cl, byte [eax - 1]
test cl, cl
je 0x5d9242
dec cl
mov byte [eax - 1], cl
jmp 0x5d924e
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov edx, dword [esi]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0xac], 8
call dword [edx + 0x10]
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
lea edx, [esp + 0x2c]
push 0x8c1574
push edx
mov byte [esp + 0xb4], bl
mov dword [esp + 0x34], 0x869e24
call fcn.007ac5c6
mov ecx, dword [esp + 0xa4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 8
Function at 0x5da250
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d41b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
push ebp
mov dword [esp + 0x14], esi
call fcn.00480e70
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push 0x951210
lea ecx, [esi + 0x20]
mov dword [esi], vtable.WWLib::CWinApiBase_0_.0
mov dword [esi + 0x1c], eax
call fcn.005d7070
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], ebp
mov dword [esi + 0x18], ebp
push 1
mov ecx, esi
mov dword [esp + 0x20], ebp
mov dword [esi], 0x869eb0
call fcn.005da150
lea ebx, [esi + 0x38]
mov dword [esp + 0x1c], 1
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x10], ebp
mov ecx, esi
mov byte [esp + 0x1c], 2
mov dword [esi], 0x869fe4
call dword [0x869fec]
test al, al
jne 0x5da40e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
cmp dword [eax + 8], ebp
je 0x5da303
mov eax, dword [eax + 4]
cmp eax, ebp
jne 0x5da305
mov eax, 0x8522f8
jmp 0x5da305
xor eax, eax
lea edx, [esp + 0x24]
lea ecx, [esi + 0x4c]
push edx
push ebp
push ecx
push ebp
push eax
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edi, [esi + 4]
mov dword [esi + 0x18], eax
cmp edi, ebp
je 0x5da328
lea ebp, [edi + 4]
push str.RegQueryValueExW__
call fcn.007ac4d2
add esp, 4
mov ecx, ebp
push eax
push str.RegQueryValueExW__
call fcn.00403980
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test al, al
jne 0x5da40e
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x4c]
cmp ecx, eax
je 0x5da398
cmp eax, 0xffffffff
je 0x5da398
test edi, edi
mov dword [esi + 0x18], 0x70c
je 0x5da371
lea ebp, [edi + 4]
jmp 0x5da373
xor ebp, ebp
push str.RegQueryValueExW__
call fcn.007ac4d2
add esp, 4
mov ecx, ebp
push eax
push str.RegQueryValueExW__
call fcn.00403980
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test al, al
jne 0x5da40e
mov ecx, dword [esp + 0x24]
push 0
push ecx
mov ecx, ebx
call fcn.0042c390
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5da3bf
mov ebp, dword [eax + 4]
test ebp, ebp
jne 0x5da3c1
mov ebp, 0x8522f8
jmp 0x5da3c1
xor ebp, ebp
lea edx, [esp + 0x24]
mov ecx, ebx
push edx
call fcn.0074ebc0
push eax
lea eax, [esi + 0x4c]
push eax
mov eax, dword [esi + 0x34]
push 0
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
mov dword [esi + 0x18], eax
je 0x5da3eb
add edi, 4
jmp 0x5da3ed
xor edi, edi
push str.RegQueryValueExW__
call fcn.007ac4d2
add esp, 4
mov ecx, edi
push eax
push str.RegQueryValueExW__
call fcn.00403980
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test al, al
je 0x5da423
mov ecx, dword [esp + 0x2c]
push ebx
call fcn.004485e0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x5db0c0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.005d9b70
xor ebx, ebx
push 2
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esi], 0x869eb0
call fcn.005da150
mov ecx, esi
mov dword [esp + 0x14], 1
mov dword [esi], 0x86a010
call dword [0x86a014]
test al, al
je 0x5db19d
mov eax, dword [esp + 0x20]
cmp dword [eax + 8], ebx
je 0x5db132
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x5db134
mov eax, 0x8522f8
jmp 0x5db134
xor eax, eax
mov ecx, dword [esi + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esi + 0x18], eax
lea eax, [esi + 4]
cmp eax, ebx
je 0x5db14c
lea ebx, [eax + 4]
push edi
push str.RegDeleteValueW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebx
push 1
push edi
call fcn.00404d30
test al, al
je 0x5db195
mov eax, dword [ebx + 4]
mov ecx, str.RegDeleteValueW__
test edi, edi
jbe 0x5db189
mov edx, edi
push ebp
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x5db179
pop ebp
mov edx, dword [ebx + 4]
mov dword [ebx + 8], edi
mov word [edx + edi*2], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x5db0db
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.005d9b70
xor ebx, ebx
push 2
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esi], 0x869eb0
call fcn.005da150
mov ecx, esi
mov dword [esp + 0x14], 1
mov dword [esi], 0x86a010
call dword [0x86a014]
test al, al
je 0x5db19d
mov eax, dword [esp + 0x20]
cmp dword [eax + 8], ebx
je 0x5db132
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x5db134
mov eax, 0x8522f8
jmp 0x5db134
xor eax, eax
mov ecx, dword [esi + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esi + 0x18], eax
lea eax, [esi + 4]
cmp eax, ebx
je 0x5db14c
lea ebx, [eax + 4]
push edi
push str.RegDeleteValueW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebx
push 1
push edi
call fcn.00404d30
test al, al
je 0x5db195
mov eax, dword [ebx + 4]
mov ecx, str.RegDeleteValueW__
test edi, edi
jbe 0x5db189
mov edx, edi
push ebp
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x5db179
pop ebp
mov edx, dword [ebx + 4]
mov dword [ebx + 8], edi
mov word [edx + edi*2], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5db1c0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d5b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.005d9c40
xor ebx, ebx
push 2
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esi], 0x869eb0
call fcn.005da150
mov ecx, esi
mov dword [esp + 0x14], 1
mov dword [esi], 0x86a010
call dword [0x86a014]
test al, al
je 0x5db29d
mov eax, dword [esp + 0x20]
cmp dword [eax + 8], ebx
je 0x5db232
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x5db234
mov eax, 0x8522f8
jmp 0x5db234
xor eax, eax
mov ecx, dword [esi + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esi + 0x18], eax
lea eax, [esi + 4]
cmp eax, ebx
je 0x5db24c
lea ebx, [eax + 4]
push edi
push str.RegDeleteValueW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebx
push 1
push edi
call fcn.00404d30
test al, al
je 0x5db295
mov eax, dword [ebx + 4]
mov ecx, str.RegDeleteValueW__
test edi, edi
jbe 0x5db289
mov edx, edi
push ebp
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x5db279
pop ebp
mov edx, dword [ebx + 4]
mov dword [ebx + 8], edi
mov word [edx + edi*2], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5db3c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d5d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x10], esi
call fcn.005d9c40
mov ecx, esi
mov dword [esp + 0x18], 0
mov dword [esi], 0x869f08
call dword [0x869f0c]
test al, al
je 0x5db469
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5db40f
mov eax, 0x8522f8
lea ecx, [esi + 0x38]
lea edx, [esi + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esi + 0x1c]
push ecx
push 2
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [esi + 0x18], eax
lea eax, [esi + 4]
test eax, eax
je 0x5db43e
lea edi, [eax + 4]
jmp 0x5db440
xor edi, edi
push str.RegCreateKeyExW__
call fcn.007ac4d2
add esp, 4
mov ecx, edi
push eax
push str.RegCreateKeyExW__
call fcn.00403980
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test al, al
jne 0x5db469
mov byte [esi + 0x30], 1
mov edi, dword [esp + 0x28]
mov dword [esi], 0x86a03c
mov dword [esp + 0x18], 1
cmp dword [edi], 0
je 0x5db497
push 0x146
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov ebp, dword [edi + 8]
cmp ebp, 0xffffffff
jbe 0x5db4b3
push 0xe
push str.C:ReposBvSrcNoCrtLibNumCvt.h
push str.value___OutType__1_
call fcn.006d2b10
add esp, 0xc
cmp dword [edi], 0
je 0x5db4cf
push 0x140
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov edx, dword [esi]
mov edi, dword [edi + 4]
mov ecx, esi
call dword [edx + 8]
test al, al
jne 0x5db563
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5db4fa
mov eax, dword [eax + 4]
test eax, eax
jne 0x5db4fc
mov eax, 0x8522f8
jmp 0x5db4fc
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x34]
push ebp
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esi + 0x18], eax
lea eax, [esi + 4]
test eax, eax
je 0x5db51f
lea ebp, [eax + 4]
jmp 0x5db521
xor ebp, ebp
push str.RegSetValueExW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call fcn.00404d30
test al, al
je 0x5db55c
mov eax, dword [ebp + 4]
push edi
push str.RegSetValueExW__
push eax
call fcn.004069b0
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], edi
add esp, 0xc
mov word [ecx + edi*2], 0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x5db580
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x81d60b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00480e70
mov dword [esi], vtable.WWLib::CWinApiBase_0_.0
lea eax, [esp + 0x40]
lea ebx, [esi + 0x20]
push eax
push 0x951210
mov ecx, ebx
mov dword [esp + 0x34], edi
call fcn.005d7070
push 0x906918
mov byte [esp + 0x30], 1
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], edi
mov dword [esi], 0x869edc
mov dword [esi + 0x18], edi
call fcn.007ac4d2
mov ebp, dword [esp + 0x38]
add esp, 4
mov ecx, ebp
push eax
push edi
push 0x906918
call fcn.00435750
mov edi, eax
cmp edi, 0xffffffff
jne 0x5db61d
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x5db60f
mov ebp, 0x8522f8
push ebp
call fcn.005da060
add esp, 4
mov dword [esi + 0x1c], eax
jmp 0x5db68d
mov eax, dword [ebp + 4]
test eax, eax
jne 0x5db629
mov eax, 0x8522f8
lea ecx, [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.005d7070
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.004768d0
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x5db653
mov ebp, 0x8522f8
lea edi, [ebp + edi*2 + 2]
push edi
call fcn.007ac4d2
add esp, 4
mov ecx, ebx
push eax
push edi
call fcn.00403980
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5db676
mov eax, 0x8522f8
push eax
call fcn.005da060
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi + 0x1c], eax
push 1
call fcn.00404f20
mov edx, dword [esp + 0x44]
mov ecx, esi
push edx
push 2
mov dword [esp + 0x34], 3
mov dword [esi], 0x869f08
call fcn.005db2c0
mov ecx, esi
mov dword [esp + 0x2c], 4
mov dword [esi], 0x86a03c
call dword [0x86a044]
test al, al
jne 0x5db758
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5db6e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x5db6e2
mov eax, 0x8522f8
jmp 0x5db6e2
xor eax, eax
mov ecx, dword [esp + 0x3c]
push 4
push ecx
mov cl, byte [esp + 0x48]
xor edx, edx
test cl, cl
setne dl
add edx, 4
push edx
push 0
push eax
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ebp, [esi + 4]
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x5db714
add ebp, 4
jmp 0x5db716
xor ebp, ebp
push str.RegSetValueExW__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call fcn.00404d30
test al, al
je 0x5db751
mov ecx, dword [ebp + 4]
push edi
push str.RegSetValueExW__
push ecx
call fcn.004069b0
mov edx, dword [ebp + 4]
mov dword [ebp + 8], edi
add esp, 0xc
mov word [edx + edi*2], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14