joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034430
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
add dword [esi + 8], edi
cmp byte [eax], 0
je 0x10034459
push 0
push edi
push ebx
push dword [eax + 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov eax, dword [esi + 4]
cmp byte [eax + 0xc], 0
je 0x1003446f
push 0
push edi
push ebx
push dword [eax + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov eax, dword [esi + 4]
cmp byte [eax + 0x18], 0
je 0x10034485
push 0
push edi
push ebx
push dword [eax + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov eax, dword [esi + 4]
cmp byte [eax + 0x24], 0
je 0x10034498
push 0
push edi
push ebx
push dword [eax + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1003f030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
test edi, edi
je 0x1003f18a
cmp dword [edi + 0x58], 0
je 0x1003f18a
push str.Starting_communications_threads...
push 1
push 0x10000
call fcn.10042330
xor ebx, ebx
add esp, 0xc
cmp ebx, dword [edi + 0x54]
jae 0x1003f0e8
nop dword [eax + eax]
mov eax, dword [edi + 0x58]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x1003f0e5
mov eax, dword [esi + 0x20]
mov dword [ebp - 4], eax
test eax, eax
je 0x1003f0e5
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x50], 1
lea eax, [esi + 0x38]
push eax
je 0x1003f0df
mov byte [esi + 0x50], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
push dword [esi + 0x24]
push dword [esi + 0x28]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
test eax, eax
je 0x1003f0cd
inc ebx
cmp ebx, dword [edi + 0x54]
jb 0x1003f070
jmp 0x1003f0e5
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x38]
mov byte [esi + 0x50], 0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, dword [edi + 0x54]
jne 0x1003f0f3
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x1003f129
nop dword [eax]
mov eax, dword [edi + 0x58]
mov esi, dword [eax + ecx*4]
lea edi, [esi + 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov byte [esi + 0x50], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, ebx
jb 0x1003f100
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1003f140
mov esi, dword [edi + 0x14]
mov ecx, esi
push 0
push eax
call dword [0x100b42b0]
call esi
xor ecx, ecx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x1003f18a
nop dword [eax]
mov eax, dword [edi + 0x58]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x1003f182
mov esi, dword [esi + 0x20]
test esi, esi
je 0x1003f182
cmp dword [esi + 4], 0
je 0x1003f182
nop word [eax + eax]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1003f170
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, ebx
jb 0x1003f150
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100424f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x1004251b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10042504
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x10044d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10044d81
lfence
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10044d70
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1004ec70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0x100d8b08
cmp dword [ecx + 0x14], 8
jb 0x1004ecad
mov ecx, dword [ecx]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1004ecee
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi], ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 4
je 0x1004ecfe
mov edx, 0x65d
lea ecx, [ebp - 0x20]
jmp 0x1004ecce
cmp dword [ebp - 0xc], 4
je 0x1004ed1e
push 1
mov ecx, esi
call fcn.10051390
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop esi
call fcn.1006d58e
mov esp, ebp
pop ebp
ret

Function at 0x1004ed30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, edx
mov dword [ebp - 0x10], 8
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movlpd qword [ebp - 0x24], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0x100d8b08
cmp dword [ecx + 0x14], 8
jb 0x1004ed6e
mov ecx, dword [ecx]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1004edbb
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 0xb
je 0x1004edcb
mov edx, 0x65d
lea ecx, [ebp - 0x34]
jmp 0x1004ed8f
cmp dword [ebp - 0x10], 8
je 0x1004eddc
push 1
mov ecx, esi
call fcn.10051390
jmp 0x1004ed9e
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
xor ecx, ebp
mov edx, dword [ebp - 0x20]
pop esi
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
Function at 0x1004fc00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, edx
mov dword [esi], 0
mov dword [esi + 4], 0x100d8b08
cmp dword [ecx + 0x14], 8
jb 0x1004fc1e
mov ecx, dword [ecx]
push 0
push dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x1004fc56
cmp eax, 2
je 0x1004fc4f
cmp eax, 3
je 0x1004fc4f
mov edx, eax
lea ecx, [ebp - 8]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004fc60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x2c], ebx
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebx], 0
xor esi, esi
mov dword [ebx + 4], 0x100d8b08
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x18], 0x100d8b08
jb 0x1004fcb5
mov eax, dword [edi]
push 0
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x1004fce8
cmp eax, 2
je 0x1004fce4
cmp eax, 3
je 0x1004fce4
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.1004f540
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
xor al, al
jmp 0x1004fcea
mov al, 1
test esi, esi
je 0x1004fdd0
push dword [ebp + 0xc]
mov edx, edi
mov dword [ebp - 0x14], 0
push ebx
push 0x3001f
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.1004fb20
add esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebx], 0
mov esi, dword [ebp - 0x14]
je 0x1004fd28
xor bl, bl
jmp 0x1004fdc3
test esi, esi
jne 0x1004fd33
mov bl, 1
jmp 0x1004fdc3
push ecx
mov eax, esp
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
mov edx, ebx
mov dword [eax], esi
call fcn.1004f860
add esp, 4
cmp dword [ebx], 0
jne 0x1004fdb9
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
cmp edi, ebx
je 0x1004fd8a
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1004fd6d
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x1004fd83
cmp eax, 2
je 0x1004fd83
cmp eax, 3
jne 0x1004fda2
add edi, 0x18
cmp edi, ebx
jne 0x1004fd63
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
call fcn.1004fc00
add esp, 8
mov bl, 1
jmp 0x1004fdbb
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.1004f540
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.10003920
test esi, esi
je 0x1004fdce
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
Function at 0x100502e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, edx
mov dword [esi], 0
mov dword [esi + 4], 0x100d8b08
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
cmp dword [ecx + 0x14], 8
jb 0x1005030c
mov ecx, dword [ecx]
push eax
push edx
push edi
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10050333
mov edx, eax
lea ecx, [ebp - 8]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10050660
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [edx + 0x18]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp al, 1
jne 0x100506d8
mov eax, dword [edx]
mov dword [edi], 0
mov dword [edi + 4], 0x100d8b08
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], eax
jb 0x10050698
mov esi, dword [esi]
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10050804
mov edx, eax
lea ecx, [ebp - 0xc]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
cmp al, 2
jne 0x100506f8
push edi
push dword [ebp + 8]
call fcn.10050c40
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
cmp al, 3
jne 0x10050742
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.10050540
push edi
lea eax, [ebp - 0x10]
mov edx, 7
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.100502e0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100099b0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
cmp al, 4
jne 0x10050762
push edi
push dword [ebp + 8]
call fcn.100512d0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
cmp al, 5
jne 0x10050788
push dword [edx + 4]
push dword [edx]
mov edx, edi
push dword [ebp + 8]
call fcn.10050bd0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
cmp al, 6
jne 0x100507a8
push edi
push dword [ebp + 8]
call fcn.10050cd0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
test al, al
jne 0x100507fb
mov dword [edi], 0
mov dword [edi + 4], 0x100d8b08
cmp dword [esi + 0x14], 8
jb 0x100507c1
mov esi, dword [esi]
push 0
push 0
push 0
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10050804
mov edx, eax
lea ecx, [ebp - 0xc]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
push 2
mov ecx, edi
call fcn.10051390
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
Function at 0x10050bd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [edi], 0
mov dword [edi + 4], 0x100d8b08
cmp dword [ecx + 0x14], 8
jb 0x10050c00
mov ecx, dword [ecx]
push 8
lea eax, [esp + 0x14]
push eax
push 0xb
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10050c2e
mov edx, eax
lea ecx, [esp + 8]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10050c40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, edx
mov dword [edi], 0
mov dword [edi + 4], 0x100d8b08
cmp dword [edx + 0x14], 8
jb 0x10050c64
mov ecx, dword [edx]
push ebx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10050c70
sub ecx, ebx
sar ecx, 1
cmp dword [edx + 0x14], 8
pop ebx
lea ecx, [ecx*2 + 2]
jb 0x10050c8f
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x10050c97
mov esi, dword [esi]
push ecx
push edx
push 1
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10050cbf
mov edx, eax
lea ecx, [ebp - 8]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10050cd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, edx
mov dword [edi], 0
mov dword [edi + 4], 0x100d8b08
cmp dword [edx + 0x14], 8
jb 0x10050cf4
mov ecx, dword [edx]
push ebx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10050d00
sub ecx, ebx
sar ecx, 1
cmp dword [edx + 0x14], 8
pop ebx
lea ecx, [ecx*2 + 2]
jb 0x10050d1f
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x10050d27
mov esi, dword [esi]
push ecx
push edx
push 2
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10050d4f
mov edx, eax
lea ecx, [ebp - 8]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10050d60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0c9e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [edx + 4]
xorps xmm0, xmm0
mov edi, dword [edx]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x28], eax
cmp edi, eax
je 0x10050e3f
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x10050ddf
mov esi, dword [edi]
mov edx, edi
jb 0x10050de5
mov edx, dword [edi]
lea ebx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10050df0
sub edx, ebx
sar edx, 1
lea ebx, [edx + 1]
lea ebx, [esi + ebx*2]
cmp esi, ebx
je 0x10050e34
nop dword [eax]
cmp ecx, dword [ebp - 0x14]
je 0x10050e22
mov al, byte [esi]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x10050e2f
push esi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100516f0
mov ecx, dword [ebp - 0x18]
inc esi
cmp esi, ebx
jne 0x10050e10
add edi, 0x18
cmp edi, dword [ebp - 0x28]
jne 0x10050dd5
mov ebx, dword [ebp - 0x2c]
mov esi, 2
mov byte [ebp - 0x1d], 0
cmp ecx, dword [ebp - 0x14]
je 0x10050e59
mov byte [ecx], 0
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x10050e69
lea eax, [ebp - 0x1d]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100516f0
mov ecx, dword [ebp - 0x18]
sub esi, 1
jne 0x10050e44
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
mov dword [esi], 0
mov dword [esi + 4], 0x100d8b08
cmp dword [ebx + 0x14], 8
jb 0x10050e8b
mov ebx, dword [ebx]
push ecx
push eax
push 7
push 0
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10050eb3
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10050ee3
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10050ed9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050eff
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret
call fcn.100869bf
int3
Function at 0x100512d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi], 0
mov dword [esi + 4], 0x100d8b08
mov eax, dword [edx + 4]
sub eax, dword [edx]
cmp dword [ecx + 0x14], 8
jb 0x100512f4
mov ecx, dword [ecx]
push eax
push dword [edx]
push 3
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1005131d
mov edx, eax
lea ecx, [ebp - 8]
call fcn.1004f540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100525b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0ee2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x238
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x22c], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x22c], 1
call fcn.10083a60
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
mov edi, 1
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x228]
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100527aa
push dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x244], 0
mov word [ebp - 0x244], ax
lea ecx, [ebp - 0x244]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x234], 0
push eax
mov dword [ebp - 0x230], 7
call fcn.10004420
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1005270a
movups xmm0, xmmword [ebp - 0x244]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x234]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x244], ax
jmp 0x1005271f
lea ecx, [ebp - 0x244]
push ecx
push eax
mov ecx, esi
call fcn.1000dc10
mov edx, dword [ebp - 0x230]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x10052759
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005274f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100527cc
push edx
push ecx
call fcn.1006d8b6
add esp, 8
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10083a60
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea ecx, [ebp - 0x224]
mov eax, edi
inc edi
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x220]
push ecx
push eax
mov eax, dword [ebp - 0x228]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10052691
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100869bf
int3
Function at 0x100527e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0f42
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x224], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x224], 1
call fcn.10083a60
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
mov edi, 1
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x220]
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100529c9
nop dword [eax]
push dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x23c], ax
lea ecx, [ebp - 0x23c]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], 0
push eax
mov dword [ebp - 0x228], 7
call fcn.10004420
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10052929
movups xmm0, xmmword [ebp - 0x23c]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x22c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x23c], ax
jmp 0x1005293e
lea ecx, [ebp - 0x23c]
push ecx
push eax
mov ecx, esi
call fcn.1000dc10
mov edx, dword [ebp - 0x228]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x10052978
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005296e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100529e8
push edx
push ecx
call fcn.1006d8b6
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10083a60
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea ecx, [ebp - 0x21c]
mov eax, edi
inc edi
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
mov eax, dword [ebp - 0x220]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100528b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d58e
mov esp, ebp
pop ebp
ret 4
call fcn.100869bf
int3