joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa75660
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0xbd27b3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp byte [esp + 0x70], bl
je 0xa757ca
xor ecx, ecx
push 0x22
mov word [esp + 0x24], cx
mov edi, 7
push str.SoftwareGoogleGoogle_Input_Tools
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
call fcn.00a21d20
push 0x28
mov dword [esp + 0x68], ebx
call fcn.00b68a50
add esp, 4
cmp eax, ebx
je 0xa756f4
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
xor edx, edx
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], ebx
mov word [eax + 0xc], dx
mov esi, eax
jmp 0xa756f6
xor esi, esi
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x20]
mov ebp, 8
cmp dword [esp + 0x34], ebp
jae 0xa7570d
lea eax, [esp + 0x20]
push esi
mov edx, 0x20106
mov ecx, 0x80000001
call fcn.00a236a0
test eax, eax
je 0xa7572d
cmp esi, ebx
je 0xa7572b
push esi
call fcn.00a2f950
xor esi, esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x64], 4
cmp dword [esp + 0x34], ebp
jb 0xa75749
mov eax, dword [esp + 0x20]
push eax
call fcn.00b68a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp esi, ebx
je 0xa757ca
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x3c]
call fcn.00a74f30
cmp dword [eax + 0x14], ebp
jb 0xa75772
mov edi, dword [eax]
jmp 0xa75774
mov edi, eax
call fcn.00a2f6e0
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esp + 0x50], ebp
jb 0xa757a4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00b68a36
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
call fcn.00a77710
push esi
mov dword [esp + 0x68], 0xffffffff
call fcn.00a2f950
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00b68a41
add esp, 0x54
ret 8
Function at 0xa76a20
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0xbd5931
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
push 1
mov dword [esp + 0x10], 0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x44], 0
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x14], 0x5f
call fcn.00a2d580
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x7c]
call fcn.00a2b350
mov esi, 0x10
mov dword [esp + 0x3c], 2
cmp dword [eax + 0x14], esi
jb 0xa76aa1
mov eax, dword [eax]
push eax
push str.Mozilla_5.0__Windows__U__Windows_NT__s_en_US__
push edi
call fcn.00a92280
add esp, 0xc
mov byte [esp + 0x3c], 0
mov dword [esp + 0xc], 2
cmp dword [esp + 0x28], esi
jb 0xa76ad0
mov edx, dword [esp + 0x14]
push edx
call fcn.00b68a36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00b68a41
add esp, 0x38
ret
Function at 0xa77530
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xbd58e3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x18], edi
push 0x22
xor eax, eax
mov esi, 7
push str.SoftwareGoogleGoogle_Input_Tools
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], ax
call fcn.00a21d20
push 0x28
mov dword [esp + 0x54], edi
call fcn.00b68a50
add esp, 4
cmp eax, edi
je 0xa775bb
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0x20], esi
xor ecx, ecx
mov dword [eax + 0x1c], edi
mov word [eax + 0xc], cx
mov esi, eax
jmp 0xa775bd
xor esi, esi
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x24]
mov ebx, 8
cmp dword [esp + 0x38], ebx
jae 0xa775d5
lea eax, [esp + 0x24]
push esi
mov edx, 0x2011f
mov ecx, 0x80000001
call fcn.00a236a0
test eax, eax
je 0xa77617
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0xa775f7
lea eax, [esp + 0x24]
push 0x2011f
push esi
mov ecx, 0x80000001
call fcn.00a22f90
test eax, eax
je 0xa77617
cmp esi, edi
je 0xa77615
push esi
call fcn.00a2f950
xor esi, esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x50], 4
cmp dword [esp + 0x38], ebx
jb 0xa77633
mov edx, dword [esp + 0x24]
push edx
call fcn.00b68a36
add esp, 4
cmp esi, edi
jne 0xa7763e
xor al, al
jmp 0xa776e5
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x2c], edi
mov eax, dword [esi]
push str.GACurrentSessionTime
mov ebx, 4
push eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0xa77683
cmp dword [esp + 0x18], ebx
jne 0xa77683
cmp dword [esp + 0x1c], edi
jbe 0xa77683
mov byte [esp + 0x17], 1
push edi
call fcn.00b6a7dc
add esp, 4
cmp byte [esp + 0x17], 0
mov ebx, eax
mov eax, dword [esp + 0x1c]
je 0xa7769e
cmp ebx, eax
jne 0xa7769e
inc ebx
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x28], eax
mov edx, dword [esi]
push str.GALastSessionTime
push edx
call edi
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
mov dword [esp + 0x28], ebx
mov ecx, dword [esi]
push str.GACurrentSessionTime
push ecx
call edi
push esi
mov dword [esp + 0x54], 0xffffffff
call fcn.00a2f950
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00b68a41
mov esp, ebp
pop ebp
ret
Function at 0xa77710
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0xbd26a3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push 0x22
xor edi, edi
xor eax, eax
mov esi, 7
push str.SoftwareGoogleGoogle_Input_Tools
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov word [esp + 0x28], ax
call fcn.00a21d20
push 0x28
mov dword [esp + 0x4c], edi
call fcn.00b68a50
add esp, 4
cmp eax, edi
je 0xa77795
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0x20], esi
xor ecx, ecx
mov dword [eax + 0x1c], edi
mov word [eax + 0xc], cx
mov esi, eax
jmp 0xa77797
xor esi, esi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0xa777ab
lea eax, [esp + 0x20]
push esi
mov edx, 0x2011f
mov ecx, 0x80000001
call fcn.00a236a0
test eax, eax
je 0xa777ee
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0xa777ce
lea eax, [esp + 0x20]
push 0x2011f
push esi
mov ecx, 0x80000001
call fcn.00a22f90
test eax, eax
je 0xa777ee
cmp esi, edi
je 0xa777ec
push esi
call fcn.00a2f950
xor esi, esi
mov dword [esp + 0x18], esi
mov ebx, 4
mov byte [esp + 0x48], bl
cmp dword [esp + 0x34], 8
jb 0xa7780f
mov edx, dword [esp + 0x20]
push edx
call fcn.00b68a36
add esp, 4
cmp esi, edi
jne 0xa77817
xor al, al
jmp 0xa77884
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
push str.GATotalSessionCount
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0xa77843
cmp dword [esp + 0x18], ebx
je 0xa7784d
mov dword [esp + 0x14], 1
jmp 0xa77851
inc dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push edi
push str.GATotalSessionCount
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push esi
sete bl
mov dword [esp + 0x4c], 0xffffffff
call fcn.00a2f950
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00b68a41
add esp, 0x3c
ret
Function at 0xa78a60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0xbcbc48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
je 0xa78a90
lea esi, [edi + 4]
jmp 0xa78a92
xor esi, esi
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0xc], esi
call edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 8]
mov dword [esp + 0x28], 0
call fcn.00a79260
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 8]
call fcn.00a78dc0
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 4

Function at 0xa79c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xbd3dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], 0
push 9
xor eax, eax
push 0xbf7724
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00a21d20
lea ecx, [esp + 0x14]
push ecx
lea esi, [esp + 0x34]
mov dword [esp + 0x5c], 1
call fcn.00a2eb80
push edi
mov ecx, eax
mov byte [esp + 0x60], 2
call fcn.00a30ad0
add esp, 8
mov esi, 8
mov byte [esp + 0x58], 1
mov dword [esp + 0xc], 1
cmp dword [esp + 0x44], esi
jb 0xa79d12
mov edx, dword [esp + 0x30]
push edx
call fcn.00b68a36
add esp, 4
xor eax, eax
mov byte [esp + 0x58], al
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp dword [esp + 0x28], esi
jb 0xa79d40
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00b68a36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00b68a41
add esp, 0x50
ret 4
Function at 0xa79d70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xbd78e9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
add ecx, 4
lea edi, [esp + 0x14]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
call fcn.00a93580
mov edi, 1
mov dword [esp + 0x44], edi
mov ecx, dword [eax]
xor eax, eax
mov word [esp + 0x1c], ax
mov eax, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0xa79de4
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00a21d20
mov byte [esp + 0x44], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0xa79e23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x20]
call fcn.00a30ad0
add esp, 4
mov byte [esp + 0x44], 0
cmp dword [esp + 0x30], 8
mov dword [esp + 0x10], edi
jb 0xa79e4d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00b68a36
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00b68a41
add esp, 0x38
ret 4
Function at 0xa7af90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xbced42
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.ime_goopy::components::PluginManager.0
push 0x30
mov dword [esi + 0xc], ebx
call fcn.00b68a50
add esp, 4
cmp eax, ebx
je 0xa7b0f8
mov dword [esi + 8], eax
mov dword [eax], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax + 8], eax
mov eax, dword [esi + 8]
mov byte [eax + 0x2c], 1
mov ecx, dword [esi + 8]
mov byte [ecx + 0x2d], 1
mov byte [esp + 0x1c], 2
push 0x34
mov dword [esi + 0x1c], ebx
call fcn.00b68a50
add esp, 4
cmp eax, ebx
je 0xa7b0de
mov dword [esi + 0x18], eax
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x18]
mov byte [edx + 0x30], 1
mov eax, dword [esi + 0x18]
mov byte [eax + 0x31], 1
mov byte [esp + 0x1c], 4
push 0x30
mov dword [esi + 0x2c], ebx
call fcn.00b68a50
add esp, 4
cmp eax, ebx
je 0xa7b0c4
mov dword [esi + 0x28], eax
mov dword [eax], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x28]
mov byte [ecx + 0x2c], 1
mov edx, dword [esi + 0x28]
mov byte [edx + 0x2d], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
lea ecx, [esi + 0x44]
mov byte [esp + 0x20], 7
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00a29870
mov ecx, dword [esp + 0x2c]
push 0x7d0
lea edx, [esi + 0x64]
push edx
mov dword [esi + 0x60], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x7c], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x10
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 5
call fcn.00a24df0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call fcn.00a24df0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00a24df0
int3
Function at 0xa7ea70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xa7eaa9
mov eax, dword [esp + 0xc]
sub eax, 0xb
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8
Function at 0xa7ee80
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0xbd5720
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov edi, edx
mov dword [esp + 0x18], ebx
call fcn.00a30bc0
add esp, 4
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x1c]
mov ebp, 8
cmp dword [esp + 0x30], ebp
jae 0xa7eee5
lea ecx, [esp + 0x1c]
mov eax, dword [edi + 0x60]
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
test al, al
je 0xa7f045
mov eax, dword [esi + 8]
cmp eax, ebx
je 0xa7f045
sub eax, 2
je 0xa7efef
sub eax, 2
je 0xa7efaf
mov ebp, 0xf
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea eax, [esp + 0x38]
mov ebx, esi
mov byte [esp + 0x7c], 1
call fcn.00b09d20
mov ecx, dword [esp + 0x38]
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jae 0xa7ef54
lea ecx, [esp + 0x38]
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0xa7ef63
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov edi, dword [edi + 0x60]
push edx
push ecx
push 3
push 0
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x4c], esi
jb 0xa7ef97
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00b68a36
add esp, 4
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov ebp, 8
jmp 0xa7f026
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x54]
push edx
call fcn.00a30bc0
add esp, 4
cmp dword [eax + 0x14], ebp
jb 0xa7efc6
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0xa7efd4
lea ecx, [esp + 0x1c]
mov edi, dword [edi + 0x60]
push ecx
push edi
mov esi, eax
call fcn.00a230c0
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.00a24e90
cmp esi, ebx
jmp 0xa7f023
mov ecx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0xa7f003
lea edx, [esp + 0x1c]
mov eax, dword [edi + 0x60]
push ebp
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
push 0xb
push ebx
push edx
mov edx, dword [eax]
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
sete bl
mov dword [esp + 0x7c], 0xffffffff
cmp dword [esp + 0x30], ebp
jb 0xa7f041
mov eax, dword [esp + 0x1c]
push eax
call fcn.00b68a36
add esp, 4
mov al, bl
jmp 0xa7f062
mov dword [esp + 0x7c], 0xffffffff
cmp dword [esp + 0x30], ebp
jb 0xa7f060
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00b68a36
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00b68a41
add esp, 0x6c
ret 4
Function at 0xa7f3f0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0xbd56e0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
mov esi, edx
mov dword [esp + 0x18], ebx
call fcn.00a30bc0
add esp, 4
mov dword [esp + 0x5c], ebx
cmp dword [esp + 0x48], 8
mov ecx, dword [esp + 0x34]
jae 0xa7f44d
lea ecx, [esp + 0x34]
mov eax, dword [esi + 0x60]
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x5c], 1
cmp dword [edi + 0xc], ebx
je 0xa7f529
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test al, al
je 0xa7f529
lea eax, [esp + 0x18]
mov ebx, edi
call fcn.00b09d20
test al, al
je 0xa7f527
mov ecx, dword [esp + 0x18]
mov edi, 0x10
cmp dword [esp + 0x2c], edi
jae 0xa7f4af
lea ecx, [esp + 0x18]
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0xa7f4be
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x28]
mov esi, dword [esi + 0x60]
push edx
push ecx
push 3
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov byte [esp + 0x5c], 0
cmp dword [esp + 0x2c], edi
jb 0xa7f4f2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00b68a36
add esp, 4
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jb 0xa7f523
mov edx, dword [esp + 0x34]
push edx
call fcn.00b68a36
add esp, 4
mov al, bl
jmp 0xa7f56f
xor ebx, ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x2c], 0x10
jb 0xa7f541
mov eax, dword [esp + 0x18]
push eax
call fcn.00b68a36
add esp, 4
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0xa7f56d
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00b68a36
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00b68a41
add esp, 0x50
ret 4
Function at 0xa7f590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xbdee60
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
xor ebx, ebx
lea edx, [esp + 0x5c]
mov dword [esp + 0x18], ebx
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
call fcn.00a30bc0
mov edi, 8
add esp, 4
cmp dword [eax + 0x14], edi
jb 0xa7f5fe
mov eax, dword [eax]
mov ecx, dword [esi + 0x60]
lea edx, [esp + 0x14]
push edx
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
push eax
mov eax, dword [ecx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0xa7f62c
cmp dword [esp + 0x18], 3
jne 0xa7f62c
mov byte [esp + 0x13], bl
cmp dword [esp + 0x14], ebx
jne 0xa7f631
mov byte [esp + 0x13], 1
cmp dword [esp + 0x70], edi
jb 0xa7f644
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00b68a36
add esp, 4
cmp byte [esp + 0x13], bl
jne 0xa7f6e1
mov edx, dword [esp + 0x14]
push edx
call fcn.00b67a7c
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x8c], ebx
call fcn.00a30bc0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0xa7f681
mov eax, dword [eax]
mov ecx, dword [esi + 0x60]
lea edx, [esp + 0x14]
push edx
push edi
lea edx, [esp + 0x20]
push edx
push ebx
push eax
mov eax, dword [ecx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0xa7f6ae
mov eax, dword [esp + 0x18]
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xd
cmp eax, ebx
setne byte [esp + 0x13]
cmp dword [esp + 0x70], 8
jb 0xa7f6c7
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00b68a36
add esp, 4
cmp byte [esp + 0x13], bl
je 0xa7f6e8
push edi
mov dword [esp + 0x8c], 0xffffffff
call fcn.00b69081
add esp, 4
xor al, al
jmp 0xa7f78b
lea edx, [esp + 0x44]
mov dword [esp + 0x2c], vtable.ipc::proto::VariableArray.0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x14]
push eax
lea esi, [esp + 0x30]
mov ecx, edi
call fcn.00b09aa0
add esp, 4
test al, al
je 0xa7f765
mov ecx, esi
mov esi, dword [esp + 0x20]
cmp ecx, esi
je 0xa7f751
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.00a41c90
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x13]
push ecx
mov ecx, dword [esp + 0x28]
push esi
push edx
call fcn.00a7fd30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], bl
call fcn.00a414b0
push edi
mov dword [esp + 0x8c], 0xffffffff
call fcn.00b69081
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00b68a41
mov esp, ebp
pop ebp
ret 4