joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1036699
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 8
mov eax, 0x1055aea
call fcn.01022092
mov dword [ebp - 4], 4
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
cmp dword [eax - 0xc], ebx
je 0x1036856
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x1036856
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x1036856
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push ebx
push 0x100ade8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x10366fd
xor edi, edi
jmp 0x10367e5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x10366f6
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0x10]
call fcn.01014f3a
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
xor edi, edi
inc edi
push edi
push ebx
push 0x100adc8
push dword [ebp - 0x10]
call esi
cmp eax, ebx
jne 0x10366f6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0xc]
call fcn.01014f3a
push eax
push edi
push ebx
push 0x100adb0
push dword [ebp - 0x10]
call esi
cmp eax, ebx
jne 0x10366f6
push 0x100ada8
lea ecx, [ebp + 0x14]
call fcn.01015ced
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0x14]
call fcn.01014f3a
push eax
push 2
push ebx
push 0x100ad90
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x10367c1
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0x18]
call fcn.01014f3a
push eax
push edi
push ebx
push 0x100ad70
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x10367e5
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0x1c]
call fcn.01014f3a
push eax
push edi
push ebx
push 0x100ad5c
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x10], ebx
mov esi, dword [entry0]
je 0x10367f8
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x1036817
cmp edi, ebx
jne 0x103680f
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.010151a6
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.010151a6
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.010151a6
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x18]
call fcn.010151a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.010151a6
mov eax, edi
jmp 0x1036893
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.010151a6
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.010151a6
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.010151a6
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x18]
call fcn.010151a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.010151a6
xor eax, eax
call fcn.0102217e
ret 0x18
Function at 0x1036d28
Capabilities:
Delete registry key

Disassembly:
push 0x10
mov eax, 0x1055bcb
call fcn.01022092
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call fcn.010155dc
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x1036d67
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010151a6
mov eax, esi
call fcn.0102217e
ret 4
mov ebx, 0x100ade8
push ebx
lea ecx, [ebp - 0x1c]
call fcn.01016a0f
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
call fcn.01035e1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.010151a6
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0x80000002
push edi
call esi
test eax, eax
jne 0x1036df2
push dword [ebp - 0x10]
call dword [entry0]
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x1036df9
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1036de7
mov dword [ebp - 0x18], 1
push dword [ebp - 0x10]
call dword [entry0]
jmp 0x1036df9
mov dword [ebp - 0x18], 1
mov esi, dword [ebp - 0x18]
jmp 0x1036d51

Function at 0x103af7b
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0
mov eax, 0x105985b
call fcn.01022092
mov esi, ecx
and dword [ebp - 4], 0
call fcn.0103ad2a
test eax, eax
jne 0x103afae
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.010151a6
mov eax, esi
call fcn.0102217e
ret 8
push 0x100d278
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
je 0x103aff2
push 0x100d250
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
je 0x103aff2
push 0x100b36c
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
je 0x103aff2
push 0x100d21c
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
jne 0x103af96
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
jne 0x103b012
lea ecx, [ebp + 8]
call fcn.01014f3a
push eax
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor esi, esi
inc esi
jmp 0x103af98
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
call fcn.01035a81
mov edi, eax
test edi, edi
je 0x103af96
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push edi
push 7
push 0
lea ecx, [ebp + 8]
call fcn.0101f8d5
push eax
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call fcn.010213d8
xor eax, eax
test esi, esi
sete al
pop ecx
mov esi, eax
jmp 0x103af98
Function at 0x103b320
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x10564d0
call fcn.01022092
mov esi, ecx
mov dword [ebp - 4], 1
call fcn.0103ad2a
test eax, eax
jne 0x103b35d
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.010151a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.010151a6
xor eax, eax
jmp 0x103b453
mov edi, 0x1004864
push edi
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
jne 0x103b3b3
lea ecx, [ebp - 0x10]
call fcn.010155dc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [esi + 8]
push eax
call fcn.01035e1c
lea eax, [ebp - 0x10]
push eax
call fcn.01035289
test al, al
jne 0x103b3a7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010151a6
jmp 0x103b33e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010151a6
push edi
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
je 0x103b408
push 0x100d2d4
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
je 0x103b408
push 0x100d2b0
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
je 0x103b408
push 0x100adb0
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
je 0x103b408
push 0x100d28c
lea ecx, [ebp + 8]
call fcn.01014f10
test eax, eax
jne 0x103b33e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0xc]
call fcn.0101f8d5
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.0101f8d5
push eax
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.010151a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.010151a6
mov eax, esi
call fcn.0102217e
ret 8
Function at 0x103b658
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x1056578
call fcn.01022092
mov esi, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
cmp ecx, ebx
jne 0x103b67e
push 0x57
call dword [fcn.01001274]
xor eax, eax
jmp 0x103b861
mov edi, dword [ebp + 8]
cmp edi, 1
je 0x103b785
cmp edi, 2
je 0x103b785
cmp edi, 3
jne 0x103b6a6
add esi, 4
push esi
call fcn.01015d54
jmp 0x103b85e
cmp edi, 0xe
jne 0x103b6b5
cmp dword [esi + 0x14], ebx
je 0x103b677
add esi, 8
jmp 0x103b69b
mov ecx, esi
call fcn.0103ad2a
test eax, eax
je 0x103b677
cmp edi, 0xb
jne 0x103b6ce
mov dword [ebp - 0x10], 0x100d2d4
jmp 0x103b6f6
cmp edi, 0xc
jne 0x103b6dc
mov dword [ebp - 0x10], 0x100d2b0
jmp 0x103b6f6
cmp edi, 0xd
jne 0x103b6ea
mov dword [ebp - 0x10], 0x100adb0
jmp 0x103b6f6
cmp edi, 7
jne 0x103b66f
mov dword [ebp - 0x10], 0x100d28c
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp + 8], ebx
push dword [esi + 0x10]
call edi
cmp eax, ebx
jne 0x103b77f
cmp dword [ebp + 8], 1
jbe 0x103b77f
add dword [ebp + 8], 4
push dword [ebp + 8]
call fcn.010542e0
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
je 0x103b677
push dword [ebp + 8]
push ebx
push eax
call fcn.01021bf0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x14]
push ebx
push ebx
push dword [ebp - 0x10]
push dword [esi + 0x10]
call edi
test eax, eax
push dword [ebp - 0x14]
je 0x103b760
call fcn.010213d8
pop ecx
jmp 0x103b677
mov ecx, dword [ebp + 0xc]
call fcn.01016141
push dword [ebp - 0x14]
call fcn.010213d8
xor eax, eax
cmp eax, dword [ebp + 8]
pop ecx
sbb eax, eax
neg eax
jmp 0x103b861
push eax
jmp 0x103b671
mov ecx, esi
call fcn.0103ad2a
test eax, eax
je 0x103b677
lea ecx, [ebp - 0x10]
call fcn.010155dc
mov dword [ebp - 4], ebx
push 0x104
lea ecx, [ebp - 0x10]
call fcn.01015aa6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
lea ecx, [ecx + ecx + 2]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push ebx
push 0x1004864
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.01015124
cmp edi, ebx
je 0x103b7ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010151a6
jmp 0x103b677
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x103b807
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010151a6
mov eax, ebx
jmp 0x103b861
cmp dword [ebp + 8], 1
jne 0x103b81e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.01015b0a
xor ebx, ebx
inc ebx
jmp 0x103b7f7
lea ecx, [ebp - 0x14]
call fcn.010155dc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
add esi, 8
push esi
call fcn.01035e1c
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.01015b0a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.010151a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010151a6
xor eax, eax
inc eax
call fcn.0102217e
ret 8
Function at 0x103b86e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov ebx, ecx
jne 0x103b88e
push 0x57
call dword [fcn.01001274]
jmp 0x103b92b
call fcn.0103ad2a
test eax, eax
je 0x103b92b
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push 0x100d2d4
push dword [ebx + 0x10]
mov dword [ebp - 4], esi
call edi
cmp eax, esi
jne 0x103b91e
cmp dword [ebp - 4], 1
jbe 0x103b91e
add dword [ebp - 4], 4
push dword [ebp - 4]
call fcn.010542e0
cmp eax, esi
pop ecx
mov dword [ebp - 8], eax
je 0x103b92b
push dword [ebp - 4]
push esi
push eax
call fcn.01021bf0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push esi
push esi
push 0x100d2d4
push dword [ebx + 0x10]
call edi
test eax, eax
push dword [ebp - 8]
je 0x103b902
call fcn.010213d8
pop ecx
jmp 0x103b92b
mov ecx, dword [ebp + 8]
call fcn.01016141
push dword [ebp - 8]
call fcn.010213d8
xor eax, eax
cmp eax, dword [ebp - 4]
pop ecx
sbb eax, eax
neg eax
jmp 0x103b927
push eax
call dword [fcn.01001274]
xor eax, eax
cmp eax, esi
jne 0x103b932
xor eax, eax
jmp 0x103ba79
cmp dword [ebp + 0xc], esi
je 0x103b881
mov ecx, ebx
call fcn.0103ad2a
test eax, eax
je 0x103b92b
lea eax, [ebp + 8]
push eax
push esi
push esi
push esi
push 0x100d2b0
push dword [ebx + 0x10]
mov dword [ebp + 8], esi
call edi
cmp eax, esi
jne 0x103b9bf
cmp dword [ebp + 8], 1
jbe 0x103b9bf
add dword [ebp + 8], 4
push dword [ebp + 8]
call fcn.010542e0
cmp eax, esi
pop ecx
mov dword [ebp - 8], eax
je 0x103b92b
push dword [ebp + 8]
push esi
push eax
call fcn.01021bf0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
push esi
push esi
push 0x100d2b0
push dword [ebx + 0x10]
call edi
test eax, eax
push dword [ebp - 8]
jne 0x103b8fa
mov ecx, dword [ebp + 0xc]
call fcn.01016141
push dword [ebp - 8]
call fcn.010213d8
xor eax, eax
cmp eax, dword [ebp + 8]
pop ecx
sbb eax, eax
neg eax
jmp 0x103b9c8
push eax
call dword [fcn.01001274]
xor eax, eax
cmp eax, esi
je 0x103b92b
cmp dword [ebp + 0x10], esi
je 0x103b881
mov ecx, ebx
call fcn.0103ad2a
test eax, eax
je 0x103b92b
lea eax, [ebp + 8]
push eax
push esi
push esi
push esi
push 0x100adb0
push dword [ebx + 0x10]
mov dword [ebp + 8], esi
call edi
cmp eax, esi
jne 0x103ba65
cmp dword [ebp + 8], 1
jbe 0x103ba65
add dword [ebp + 8], 4
push dword [ebp + 8]
call fcn.010542e0
cmp eax, esi
pop ecx
mov dword [ebp + 0xc], eax
je 0x103b92b
push dword [ebp + 8]
push esi
push eax
call fcn.01021bf0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push esi
push esi
push 0x100adb0
push dword [ebx + 0x10]
call edi
test eax, eax
push dword [ebp + 0xc]
jne 0x103b8fa
mov ecx, dword [ebp + 0x10]
call fcn.01016141
push dword [ebp + 0xc]
call fcn.010213d8
xor eax, eax
cmp eax, dword [ebp + 8]
pop ecx
sbb eax, eax
neg eax
jmp 0x103ba6e
push eax
call dword [fcn.01001274]
xor eax, eax
cmp eax, esi
je 0x103b92b
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x103c068
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0x14
mov eax, 0x1056708
call fcn.01022092
mov dword [ebp - 4], 1
xor edi, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.010155dc
mov byte [ebp - 4], 2
push 0x100d360
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], edi
call fcn.01016a0f
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.01035e1c
mov bl, al
neg bl
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.010151a6
test bl, bl
je 0x103c0d3
mov esi, 0x65b
jmp 0x103c154
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push dword [ebp - 0x14]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, edi
jne 0x103c154
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 8], edi
jbe 0x103c132
lea eax, [ebp - 0x1c]
push eax
call fcn.01035a81
mov ebx, eax
cmp ebx, edi
jne 0x103c111
push 8
pop esi
jmp 0x103c149
mov eax, dword [ebp - 0x1c]
add eax, eax
push eax
push ebx
push 7
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
jne 0x103c149
jmp 0x103c147
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
cmp esi, edi
jne 0x103c154
mov ebx, dword [ebp - 0x20]
xor esi, esi
cmp ebx, edi
je 0x103c154
push ebx
call fcn.010213d8
pop ecx
cmp dword [ebp - 0x10], edi
je 0x103c162
push dword [ebp - 0x10]
call dword [entry0]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.010151a6
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.010151a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.010151a6
mov eax, esi
call fcn.0102217e
ret 0xc
Function at 0x103c195
Capabilities:
Delete registry key

Disassembly:
push 0x18
mov eax, 0x1056760
call fcn.01022092
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.010155dc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.010155dc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.010155dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.010155dc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.010155dc
mov byte [ebp - 4], 5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.01035d59
test al, al
je 0x103c261
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01035d59
test al, al
je 0x103c261
push 0x100d360
lea ecx, [ebp - 0x1c]
call fcn.01016a0f
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.01035e1c
mov bl, al
neg bl
sbb bl, bl
inc bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.010151a6
test bl, bl
jne 0x103c261
lea ecx, [ebp - 0x14]
call fcn.01014f3a
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x103c266
jmp 0x103c266
mov esi, 0x65b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.010151a6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.010151a6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.010151a6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.010151a6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.010151a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.010151a6
mov eax, esi
call fcn.0102217e
ret 4

Function at 0x103c315
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov esi, ecx
push edi
mov dword [ebp - 8], esi
jne 0x103c33c
push 0x57
call dword [fcn.01001274]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp + 8]
cmp eax, 4
jne 0x103c34d
mov dword [ebp - 4], 0x100d278
jmp 0x103c375
cmp eax, 9
jne 0x103c35b
mov dword [ebp - 4], 0x100d250
jmp 0x103c375
cmp eax, 0xa
jne 0x103c369
mov dword [ebp - 4], 0x100b36c
jmp 0x103c375
cmp eax, 8
jne 0x103c333
mov dword [ebp - 4], 0x100d21c
call fcn.0103ad2a
test eax, eax
je 0x103c333
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp + 8], ebx
push dword [esi + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
test eax, eax
jne 0x103c333
cmp dword [ebp + 8], 1
jbe 0x103c333
add dword [ebp + 8], 4
push dword [ebp + 8]
call fcn.010542e0
mov edi, eax
cmp edi, ebx
pop ecx
je 0x103c333
push dword [ebp + 8]
push ebx
push edi
call fcn.01021bf0
add esp, 0xc
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 8]
push edi
push ebx
push ebx
push dword [ebp - 4]
push dword [eax + 0x10]
call esi
test eax, eax
push edi
je 0x103c3e2
call fcn.010213d8
pop ecx
jmp 0x103c333
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0103c2bd
push edi
call fcn.010213d8
xor eax, eax
cmp dword [esi + 8], ebx
pop ecx
setne al
jmp 0x103c335
Function at 0x103c6cc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x10567f8
call fcn.01022092
mov dword [ebp - 4], 1
xor edi, edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
call fcn.010155dc
mov byte [ebp - 4], 2
push 0x100d360
lea ecx, [ebp - 0x10]
call fcn.01016a0f
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01035e1c
mov bl, al
neg bl
sbb bl, bl
inc bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.010151a6
test bl, bl
je 0x103c736
mov dword [ebp - 0x10], 0x65b
jmp 0x103c7e6
push edi
lea eax, [ebp - 0x18]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push dword [ebp - 0x1c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
mov dword [ebp - 0x10], eax
jne 0x103c7e6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call ebx
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x103c787
cmp eax, 2
jne 0x103c7e6
mov dword [ebp - 0x10], 0x490
jmp 0x103c7e6
add dword [ebp - 0x14], 4
push dword [ebp - 0x14]
push 0x40
call dword [0x1001308]
mov esi, eax
cmp esi, edi
jne 0x103c7a5
mov dword [ebp - 0x10], 8
jmp 0x103c7db
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call ebx
cmp eax, edi
mov dword [ebp - 0x10], eax
jne 0x103c7db
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
shr eax, 1
mov word [esi + eax*2 - 4], di
mov eax, dword [ebp - 0x14]
shr eax, 1
push esi
mov word [esi + eax*2 - 2], di
call fcn.0103c2bd
mov dword [ebp - 0x10], edi
cmp esi, edi
je 0x103c7e6
push esi
call dword [fcn.01001310]
cmp dword [ebp - 0x18], edi
je 0x103c7f4
push dword [ebp - 0x18]
call dword [entry0]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.010151a6
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.010151a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.010151a6
mov eax, dword [ebp - 0x10]
call fcn.0102217e
ret 0xc

Function at 0x1042b2c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
xor ebx, ebx
push 0x104
mov ecx, esi
mov dword [ebp - 8], ebx
call fcn.01015aa6
push 0x20019
push 2
push ebx
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call dword [fcn.010013c0]
mov edi, eax
cmp edi, 0xffffffff
je 0x1042b9d
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push ebx
push ebx
push 0x100ea6c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1042b96
cmp dword [ebp - 4], ebx
jbe 0x1042b96
mov dword [ebp - 8], 1
push edi
call dword [entry0]
push 0xffffffffffffffff
mov ecx, esi
call fcn.01015124
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret 8