joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1011d4a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021e53d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.101064e0
mov esi, eax
add esp, 4
test esi, esi
je 0x1011d540
push 1
mov dword [ebp - 4], 0
call fcn.10103135
add esp, 4
mov dword [esi + 4], eax
jmp 0x1011d542
xor esi, esi
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10055090
mov eax, dword [edi + 0xc]
mov dword [edi + 0x38], 0xffffffff
mov byte [edi + 0x3c], 0
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [edi + 0x10]
mov dword [eax], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test esi, 1
mov dword [edi], vtable.Poco::Base64DecoderBuf.0
mov dword [edi + 0x40], esi
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov eax, dword [ecx]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], 0x102cc580
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, 0x102cc378
mov dword [edi + 0x50], eax
mov eax, 0x102cc480
cmove eax, ecx
mov ecx, 0x102cc580
mov dword [edi + 0x54], eax
call fcn.10071a50
test esi, 1
je 0x1011d635
cmp byte [0x102cc479], 0
jne 0x1011d681
push 0x100
push 0xff
push 0x102cc480
call fcn.1012de20
add esp, 0xc
xor ecx, ecx
movzx eax, byte [ecx + 0x10231c00]
mov byte [eax + 0x102cc480], cl
inc ecx
cmp ecx, 0x40
jb 0x1011d612
mov byte [0x102cc4bd], 0
mov byte [0x102cc479], 1
jmp 0x1011d681
cmp byte [0x102cc478], 0
jne 0x1011d681
push 0x100
push 0xff
push 0x102cc378
call fcn.1012de20
add esp, 0xc
xor eax, eax
nop word [eax + eax]
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 0x102cc378], al
inc eax
cmp eax, 0x40
jb 0x1011d660
mov byte [0x102cc3b5], 0
mov byte [0x102cc478], 1
lea ecx, [ebp + 0xc]
call fcn.10112e10
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1011fcd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021e6f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.10122bd0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101064e0
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xorps xmm0, xmm0
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.101097e0
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x78], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10121160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021e91f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0
push 0x70
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.101064e0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
mov dword [ebp - 4], 0
call fcn.10120d90
lea esi, [edi + 8]
mov dword [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101064e0
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
movzx eax, byte [ebx + 0x1c]
mov byte [edi + 0x1c], al
movzx eax, byte [ebx + 0x1d]
mov byte [edi + 0x1d], al
cmp byte [ebx + 0x30], 0
mov byte [ebp - 4], 2
jne 0x10121248
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1012123e
push esi
call fcn.10056570
add esp, 4
lock inc dword [eax]
lea eax, [ebp - 0x18]
mov ebx, 1
jmp 0x10121259
push 0
lea ecx, [ebp - 0x28]
call fcn.101210d0
mov ebx, 2
mov esi, dword [eax]
mov dword [edi + 0x20], esi
mov ecx, dword [eax + 4]
mov dword [edi + 0x24], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 4], 4
test bl, 2
je 0x10121286
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.101213a0
test bl, 1
je 0x10121293
lea ecx, [ebp - 0x18]
call fcn.101213a0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 6
mov al, byte [ecx + 0x30]
mov byte [edi + 0x30], al
lea eax, [ecx + 8]
push eax
mov ecx, edi
call fcn.10121e00
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x101212d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021e93d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x70
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.101064e0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101064e0
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov al, cl
and al, 1
shr ecx, 1
mov byte [edi + 0x1c], al
and cl, 1
mov byte [edi + 0x1d], cl
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10128b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021f025
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
xorps xmm0, xmm0
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x34], 0
push esi
movups xmmword [ebp - 0x44], xmm0
mov esi, ecx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + 4]
push eax
call fcn.1010e9b0
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x14]
add esp, 8
lea eax, [ebp - 0x44]
or ecx, 0x20019
cmp dword [ebp - 0x30], 7
cmova eax, dword [ebp - 0x44]
push edx
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x10128c27
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
call fcn.1010e9b0
add esp, 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
sete byte [ebp - 0xd]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x10128c27
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10128c1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10128c70
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x10128c5d
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10128c53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10128c75
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.1013823f
call fcn.1013823f
int3
Function at 0x10128d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021f08e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov esi, ecx
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
call fcn.10129b20
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 1
xor eax, eax
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0xc]
call fcn.1010e9b0
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10128ec8
cmp dword [ebp - 0x18], 3
jne 0x10128ec8
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10128e7e
mov eax, dword [edi + 4]
mov edx, dword [edi]
sub eax, edx
cmp ecx, eax
jae 0x10128e31
lea eax, [edx + ecx]
mov dword [edi + 4], eax
jmp 0x10128e5f
jbe 0x10128e5f
mov eax, dword [edi + 8]
sub eax, edx
cmp ecx, eax
jbe 0x10128e4a
lea eax, [ebp + 0xf]
push eax
push ecx
mov ecx, edi
call fcn.10128290
jmp 0x10128e5f
lea esi, [edx + ecx]
push esi
push dword [edi + 4]
call fcn.1011fb90
mov dword [edi + 4], esi
add esp, 8
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], 7
lea ecx, [ebp - 0x10]
push ecx
push dword [edi]
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push 0
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x10128eb4
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10128eaa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10128ef3
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.10129820
push 0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.1010a8a0
push 0x102bfd24
lea eax, [ebp - 0x78]
push eax
call fcn.1012d826
call fcn.1013823f
int3
Function at 0x10128f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021f0b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
mov esi, ecx
call fcn.10129b20
xorps xmm0, xmm0
mov dword [ebp - 0x10], 8
xor eax, eax
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.1010e9b0
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10128fd8
cmp dword [ebp - 0x14], 0xb
jne 0x10128fd8
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x10128fc2
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10128fb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10129001
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov edx, edi
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.10129820
push 0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.1010a8a0
push 0x102bfd24
lea eax, [ebp - 0x78]
push eax
call fcn.1012d826
call fcn.1013823f
int3

Function at 0x10129010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021f0e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
mov esi, ecx
call fcn.10129b20
xorps xmm0, xmm0
mov dword [ebp - 0x10], 4
xor eax, eax
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.1010e9b0
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101290e7
mov eax, dword [ebp - 0x14]
cmp eax, 4
je 0x1012909b
cmp eax, 5
jne 0x101290e7
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x101290d4
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101290ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10129112
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.10129820
push 0
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.1010a8a0
push 0x102bfd24
lea eax, [ebp - 0x74]
push eax
call fcn.1012d826
call fcn.1013823f
int3
Function at 0x10129ca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021f205
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
call fcn.10129b20
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], 7
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.1010e9b0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], 7
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 0xc]
call fcn.1010e9b0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
add esp, 0x10
cmp dword [ebp - 0x10], 7
cmova ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x28], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10129de4
mov ecx, dword [ebp - 0x10]
pop esi
cmp ecx, 7
jbe 0x10129d8a
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10129d80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10129dee
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp ecx, 7
jbe 0x10129dd4
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10129dca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10129dee
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 8]
mov ecx, esi
call fcn.101297b0
call fcn.1013823f
int3
Function at 0x10129e00
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021f235
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
call fcn.10129b20
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x10129fbf
xor esi, esi
mov dword [ebp - 0x14], 0x100
cmp dword [ebp - 0x10], esi
jbe 0x10129fbf
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x1c]
push esi
push dword [eax + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10129fad
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x24c]
movups xmmword [ebp - 0x4c], xmm0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10129eb6
sub eax, edx
lea ecx, [ebp - 0x4c]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10056580
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1010eb50
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x34]
add esp, 8
push ecx
cmp eax, dword [edi + 8]
je 0x10129f22
mov ecx, eax
call fcn.100542b0
add dword [edi + 4], 0x18
jmp 0x10129f2a
push eax
mov ecx, edi
call fcn.10062230
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x10129f5e
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10129f54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10129fd0
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x10129fad
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10129fa3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10129fd0
push ecx
push edx
call fcn.1010693f
add esp, 8
inc esi
mov dword [ebp - 0x14], 0x100
cmp esi, dword [ebp - 0x10]
jb 0x10129e78
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.1013823f
int3
Function at 0x10129fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021f265
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
call fcn.10129b20
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.1010e9b0
add esp, 8
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push ecx
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1012a0a8
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
cmp ecx, 7
jbe 0x1012a095
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1012a08b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012a0d3
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.10129820
push 0
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.1010a8a0
push 0x102bfd24
lea eax, [ebp - 0x70]
push eax
call fcn.1012d826
call fcn.1013823f
int3
Function at 0x1012a0e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021f295
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
call fcn.10129b20
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1012a299
xor esi, esi
mov dword [ebp - 0x14], 0x100
cmp dword [ebp - 0x10], esi
jbe 0x1012a299
push edi
mov edi, dword [ebp + 8]
nop
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x18]
push esi
push dword [eax + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1012a287
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x248]
movups xmmword [ebp - 0x48], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1012a190
sub eax, edx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10056580
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1010eb50
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x30]
add esp, 8
push ecx
cmp eax, dword [edi + 8]
je 0x1012a1fc
mov ecx, eax
call fcn.100542b0
add dword [edi + 4], 0x18
jmp 0x1012a204
push eax
mov ecx, edi
call fcn.10062230
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x1012a238
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012a22e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012a2aa
push ecx
push edx
call fcn.1010693f
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x1012a287
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1012a27d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012a2aa
push ecx
push edx
call fcn.1010693f
add esp, 8
inc esi
mov dword [ebp - 0x14], 0x100
cmp esi, dword [ebp - 0x10]
jb 0x1012a150
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.1013823f
int3