joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002a44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100b802c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov edx, 0x104
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], ecx
push edi
test esi, esi
je 0x10002b47
test eax, eax
je 0x10002b47
test ebx, ebx
je 0x10002b47
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x10002b47
push edx
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.10050310
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x10002b43
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x118]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10002b43
cmp dword [ebp - 0x110], esi
je 0x10002b43
cmp dword [ebp - 0x114], 1
je 0x10002b28
mov esi, 0x65d
jmp 0x10002b43
cmp edi, dword [ebp - 0x110]
jbe 0x10002b40
lea eax, [ebp - 0x108]
push eax
push edi
push ebx
call fcn.10002b5b
jmp 0x10002b43
push 0x7a
pop esi
mov eax, esi
jmp 0x10002b4a
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10037f93
mov esp, ebp
pop ebp
ret

Function at 0x10003b4f
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x100b802c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push eax
lea ecx, [ebp - 0x430]
call fcn.10015018
lea ecx, [ebp - 0x430]
call fcn.1000a2f0
mov esi, eax
test esi, esi
je 0x10003bdb
cmp esi, 0xffffffff
je 0x10003bdb
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x10003bdb
mov edi, fcn.10003b4f
mov ecx, dword [ebp - 0x418]
cmp ecx, edi
ja 0x10003bca
mov eax, dword [ebp - 0x414]
add eax, ecx
cmp eax, edi
jae 0x10003bfa
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10003bb4
xor esi, esi
lea ecx, [ebp - 0x430]
call fcn.1000398e
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10037f93
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x410]
jmp 0x10003bdd
Function at 0x1000e7c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
push esi
push edi
test eax, eax
je 0x1000e86d
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1000e86d
mov edi, dword [ebp + 0x10]
cmp edi, 1
jb 0x1000e86d
test edi, edi
je 0x1000e868
sub eax, esi
mov dword [ebp + 8], eax
mov al, byte [eax + esi]
mov ecx, ebx
xor byte [ebx + 0x221], al
call fcn.10010087
mov ecx, dword [ebp - 4]
mov bl, al
xor bl, byte [ecx + 0x221]
call fcn.10010087
mov dword [ebp - 8], 1
lea ecx, [ebx + eax]
mov ebx, dword [ebp - 4]
mov byte [ebp + 0xf], cl
cmp dword [ebx + 0x210], 1
jle 0x1000e85a
mov edi, dword [ebp - 8]
mov ecx, ebx
call fcn.10010087
xor byte [ebp + 0xf], al
mov ecx, ebx
call fcn.10010087
mov cl, byte [ebp + 0xf]
add cl, al
inc edi
mov byte [ebp + 0xf], cl
cmp edi, dword [ebx + 0x210]
jl 0x1000e835
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov byte [esi], cl
inc esi
sub edi, 1
mov dword [ebp + 0x10], edi
jne 0x1000e7f9
xor eax, eax
inc eax
jmp 0x1000e86f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000eb15
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp 0x1000eb1e
push 0x250
mov eax, 0x10089b51
call fcn.1003800f
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x234], eax
call fcn.1000d23a
add esi, 4
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], esi
call fcn.10012e69
test al, al
je 0x1000eb90
push 4
call fcn.10005f35
pop ecx
test eax, eax
je 0x1000eb86
push str.No_key_open_to_enumerate
push 0x104
push str.McRegistryOverride::EnumerateSubkeys
push str.e:_buildenginespace_temp_bbb325e7_afe9_463c_b2d3_becb043abe3e_vso_src_api2mcvsocfgMcRegistryOverride.h
push 4
call fcn.1000b634
add esp, 0x14
mov ebx, 0x80070006
jmp 0x1000ecab
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.10012ba3
mov ecx, esi
mov eax, dword [eax]
mov dword [ebp - 0x21c], eax
jmp 0x1000ec3f
lea ecx, [ebp - 0x21c]
mov edi, ebx
call fcn.1000da01
lea esi, [eax + 0x2c]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc edi
test eax, eax
jne 0x1000ec26
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x25c]
call fcn.10004c92
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000cfd1
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], bl
call fcn.10002575
jmp 0x1000ebbd
push ebx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000da75
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push eax
call fcn.10012e75
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000a2d3
test al, al
jne 0x1000ebad
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x22c]
call fcn.10012e9a
mov esi, eax
lea ecx, [ebp - 0x22c]
lea eax, [ebp - 0x224]
push eax
call fcn.10012bcc
push dword [esi]
lea ecx, [ebp - 0x244]
push dword [eax]
call fcn.1000b527
mov ecx, dword [ebp - 0x234]
push eax
call fcn.1000d8a4
lea ecx, [ebp - 0x244]
call fcn.100098e0
lea ecx, [ebp - 0x22c]
call fcn.1000d750
mov eax, ebx
call fcn.10037fb9
ret 4
Function at 0x1000ecc0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x250
mov eax, 0x10089b51
call fcn.1003800f
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x234], eax
call fcn.1000d23a
add edi, 4
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], edi
call fcn.10012e69
test al, al
je 0x1000ed32
push 4
call fcn.10005f35
pop ecx
test eax, eax
je 0x1000ed28
push str.No_key_open_to_enumerate
push 0x123
push str.McRegistryOverride::EnumerateValueNames
push str.e:_buildenginespace_temp_bbb325e7_afe9_463c_b2d3_becb043abe3e_vso_src_api2mcvsocfgMcRegistryOverride.h
push 4
call fcn.1000b634
add esp, 0x14
mov ebx, 0x80070006
jmp 0x1000ee54
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.10012ba3
mov ecx, edi
mov eax, dword [eax]
mov dword [ebp - 0x21c], eax
jmp 0x1000ede8
lea ecx, [ebp - 0x21c]
mov esi, ebx
call fcn.1000da01
lea edi, [eax + 0x2c]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc esi
test eax, eax
jne 0x1000edcf
lea eax, [ebp - 0x218]
push eax
call fcn.10056a02
pop ecx
push eax
lea ecx, [ebp - 0x25c]
call fcn.10004c92
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000cfd1
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], bl
call fcn.10002575
jmp 0x1000ed5f
push ebx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000da75
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push eax
call fcn.10012e75
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000a2d3
test al, al
jne 0x1000ed4f
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x22c]
call fcn.10012e9a
mov esi, eax
lea ecx, [ebp - 0x22c]
lea eax, [ebp - 0x224]
push eax
call fcn.10012bcc
push dword [esi]
lea ecx, [ebp - 0x244]
push dword [eax]
call fcn.1000b527
mov ecx, dword [ebp - 0x234]
push eax
call fcn.1000d8a4
lea ecx, [ebp - 0x244]
call fcn.100098e0
lea ecx, [ebp - 0x22c]
call fcn.1000d750
mov eax, ebx
call fcn.10037fb9
ret 4
Function at 0x1000f918
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret

Function at 0x10010107
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
push 0x100ac930
call fcn.100386c0
mov dword [ebp - 0x28], ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1001012a
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x100102c2
test dword [ebp + 0x18], 1
jne 0x10010168
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
cmp dword [ebp + 0x1c], ebx
je 0x10010157
push dword [ebp + 8]
call fcn.10011c40
jmp 0x100102c2
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x100102c2
test esi, esi
jne 0x10010179
cmp dword [ebp + 0xc], ebx
jne 0x10010179
push 0x57
pop eax
jmp 0x100102c2
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp + 8]
call fcn.10011a8e
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10010196
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
test eax, eax
jne 0x100102c2
test esi, esi
je 0x100102c2
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x20]
call fcn.1001474e
pop ecx
test eax, eax
je 0x100101e9
cmp eax, 0x400
ja 0x100101d1
call fcn.10038720
mov dword [ebp - 0x18], esp
mov eax, esp
push 0xcccc
jmp 0x100101dd
push 0xdddd
push eax
call fcn.10056d83
pop ecx
push eax
call fcn.1001475f
pop ecx
pop ecx
mov edi, eax
jmp 0x100101eb
mov edi, ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x10010221
test edi, edi
jne 0x1001022c
push 0xe
jmp 0x10010173
push dword [ebp - 0x20]
push ebx
push edi
call fcn.10050310
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp + 8]
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
call fcn.10011a8e
mov ecx, eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x10010263
push edi
call fcn.10014773
mov eax, dword [ebp - 0x28]
jmp 0x100102c1
cmp dword [ebp + 0x1c], 0
je 0x1001028d
cmp dword [ebp - 0x24], 1
je 0x10010275
cmp dword [ebp - 0x24], 7
jne 0x1001028d
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
push esi
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.10011da7
mov ebx, eax
jmp 0x100102b9
cmp dword [ebp + 0x10], 0
je 0x100102b1
mov eax, dword [esi]
cmp dword [ebp - 0x20], eax
jbe 0x100102a1
mov ebx, 0xea
jmp 0x100102b4
push dword [ebp - 0x20]
push edi
push eax
push dword [ebp + 0x10]
call fcn.1001ebb5
add esp, 0x10
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
push edi
call fcn.10014773
mov eax, ebx
pop ecx
lea esp, [ebp - 0x40]
call fcn.10038709
ret 0x18
Function at 0x10010e43
Capabilities:
Set registry value

Disassembly:
push 0x28
push 0x100ac950
call fcn.100386c0
mov ebx, ecx
mov dword [ebp - 0x38], ebx
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov esi, edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x10010fde
test dword [ebp + 0x18], 1
jne 0x10010ea4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
cmp dword [ebp + 0x1c], esi
je 0x10010e93
push dword [ebp + 8]
call fcn.10012a64
jmp 0x10010fde
push edi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x10010fde
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10010fdb
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
jb 0x10010fdb
cmp dword [ebp + 0x1c], esi
je 0x10010ef1
cmp dword [ebp + 0xc], 1
je 0x10010ecc
cmp dword [ebp + 0xc], 7
jne 0x10010ef1
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x20]
push edx
push dword [ebp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.10012a07
test eax, eax
jne 0x10010fb0
mov dword [ebp - 0x34], 1
jmp 0x10010ef7
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
push dword [ebp - 0x24]
call fcn.100114c7
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], edi
push eax
call fcn.1001474e
pop ecx
test eax, eax
je 0x10010f41
cmp eax, 0x400
ja 0x10010f29
call fcn.10038720
mov dword [ebp - 0x18], esp
mov eax, esp
push 0xcccc
jmp 0x10010f35
push 0xdddd
push eax
call fcn.10056d83
pop ecx
push eax
call fcn.1001475f
pop ecx
pop ecx
mov esi, eax
jmp 0x10010f43
mov esi, edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x10010f79
test esi, esi
jne 0x10010f82
push 8
pop edi
jmp 0x10010fb7
push dword [ebp - 0x30]
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.100119af
add esp, 0x14
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x10010fb4
push dword [ebp - 0x30]
push esi
push 3
push edi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
jmp 0x10010fb7
mov edi, dword [ebp - 0x28]
test esi, esi
je 0x10010fc2
push esi
call fcn.10014773
pop ecx
cmp dword [ebp - 0x34], 0
je 0x10010fd7
cmp dword [ebp - 0x20], 0
je 0x10010fd7
push dword [ebp - 0x20]
call fcn.10056501
pop ecx
mov eax, edi
jmp 0x10010fde
push 0x57
pop eax
lea esp, [ebp - 0x48]
call fcn.10038709
ret 0x18
Function at 0x10011a8e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
push 0x100ac9b8
call fcn.100386c0
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x10011aa7
and dword [ecx], 0
and dword [ebp - 0x24], 0
mov eax, 0x1f4
mov dword [ebp - 0x28], eax
and dword [ebp - 0x20], 0
and dword [ebp - 4], 0
push eax
call fcn.1001474e
pop ecx
test eax, eax
je 0x10011af4
cmp eax, 0x400
ja 0x10011ade
call fcn.10038720
mov dword [ebp - 0x18], esp
mov eax, esp
push 0xcccc
jmp 0x10011aea
push 0xdddd
push eax
call fcn.10056d83
pop ecx
push eax
call fcn.1001475f
pop ecx
pop ecx
jmp 0x10011af6
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10011b16
push 0xfffffffffffffffe
pop edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x20], 0
jne 0x10011b2a
push 0xe
pop eax
jmp 0x10011c35
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, 0xea
jne 0x10011bf5
push dword [ebp - 0x20]
call fcn.10014773
pop ecx
and dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
push dword [ebp - 0x28]
call fcn.1001474e
pop ecx
test eax, eax
je 0x10011ba2
cmp eax, 0x400
ja 0x10011b8c
call fcn.10038720
mov dword [ebp - 0x18], esp
mov eax, esp
push 0xcccc
jmp 0x10011b98
push 0xdddd
push eax
call fcn.10056d83
pop ecx
push eax
call fcn.1001475f
pop ecx
pop ecx
jmp 0x10011ba4
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], edi
jmp 0x10011bce
cmp dword [ebp - 0x20], 0
je 0x10011b22
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x10011c2a
cmp dword [ebp - 0x24], 3
je 0x10011c04
push 0xd
pop esi
jmp 0x10011c2a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call fcn.100126b2
add esp, 0x14
mov esi, eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x10011c2a
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
push dword [ebp - 0x20]
call fcn.10014773
pop ecx
mov eax, esi
lea esp, [ebp - 0x3c]
call fcn.10038709
ret 0x10
Function at 0x10011c40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
push 0x100ac9e0
call fcn.100386c0
mov dword [ebp - 0x28], ecx
xor edi, edi
inc edi
mov dword [ebp - 0x24], edi
xor esi, esi
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x10011c66
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 8]
mov eax, ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10011c88
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
cmp dword [ebp - 0x24], edi
je 0x10011c97
cmp dword [ebp - 0x24], 7
jne 0x10011d9c
test ebx, ebx
je 0x10011d9c
cmp dword [ebx], esi
je 0x10011d9c
test eax, eax
je 0x10011cb6
cmp eax, 0xea
jne 0x10011d9c
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov dword [ebx], ecx
cmp dword [ebp + 0x10], esi
je 0x10011cd2
push ecx
push esi
push dword [ebp + 0x10]
call fcn.10050310
add esp, 0xc
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], esi
push dword [ebp - 0x20]
call fcn.1001474e
pop ecx
test eax, eax
je 0x10011d15
cmp eax, 0x400
ja 0x10011cfd
call fcn.10038720
mov dword [ebp - 0x18], esp
mov eax, esp
push 0xcccc
jmp 0x10011d09
push 0xdddd
push eax
call fcn.10056d83
pop ecx
push eax
call fcn.1001475f
pop ecx
pop ecx
mov edi, eax
jmp 0x10011d17
mov edi, esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0xfffffffe
jmp 0x10011d4d
test edi, edi
jne 0x10011d56
push 0xe
pop eax
jmp 0x10011d9c
push dword [ebp - 0x20]
push esi
push edi
call fcn.10050310
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 8]
mov eax, dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x10011d93
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.10011da7
mov esi, eax
push edi
call fcn.10014773
pop ecx
mov eax, esi
lea esp, [ebp - 0x3c]
call fcn.10038709
ret 0x10
Function at 0x10012146
Capabilities:
Set registry value

Disassembly:
push 0x18
push 0x100ac998
call fcn.100386c0
mov dword [ebp - 0x28], ecx
xor edi, edi
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp + 0x10]
call fcn.1000efcb
push eax
call fcn.1000e4ce
add esp, 0x10
test eax, eax
jne 0x10012243
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
push dword [ebp - 0x20]
call fcn.1001474e
pop ecx
test eax, eax
je 0x100121bb
cmp eax, 0x400
ja 0x100121a3
call fcn.10038720
mov dword [ebp - 0x18], esp
mov eax, esp
push 0xcccc
jmp 0x100121af
push 0xdddd
push eax
call fcn.10056d83
pop ecx
push eax
call fcn.1001475f
pop ecx
pop ecx
mov esi, eax
jmp 0x100121bd
mov esi, edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x100121f0
test esi, esi
jne 0x100121f9
push 0xe
pop eax
jmp 0x10012243
push dword [ebp - 0x20]
push edi
push esi
call fcn.10050310
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp + 0x10]
call fcn.1000efcb
push eax
call fcn.1000e4ce
add esp, 0x10
mov ebx, eax
test ebx, ebx
jne 0x1001223a
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov eax, dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
push esi
call fcn.10014773
pop ecx
mov eax, ebx
lea esp, [ebp - 0x38]
call fcn.10038709
ret 0x10

Function at 0x10012443
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x100b802c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x114], ecx
mov ecx, eax
push ebx
mov dword [ebp - 0x118], eax
call fcn.10010491
cmp dword [ebp + 0x18], 0
je 0x10012536
test eax, eax
jne 0x10012536
mov edi, eax
push eax
push eax
push eax
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 0x104
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
test esi, esi
jne 0x1001251c
and dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10012524
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x11c]
push dword [ebp - 0x114]
push dword [ebp + 0x10]
push dword [ebp - 0x10c]
push dword [ebp - 0x118]
call fcn.10012443
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10012524
cmp esi, 0x103
je 0x10012534
inc edi
push 0
pop eax
test esi, esi
je 0x10012494
mov eax, esi
jmp 0x10012536
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10037f93
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10014526
Capabilities:
Set registry value

Disassembly:
push 0x60
mov eax, 0x10089cf7
call fcn.1003800f
mov edi, ecx
mov eax, dword [ebp + 8]
lea esi, [edi + 0xc]
mov ebx, dword [ebp + 0x10]
mov ecx, esi
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
call fcn.1000aa99
test al, al
je 0x10014559
mov eax, 0x80070006
jmp 0x100146de
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.1001412c
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
jmp 0x10014587
lea ecx, [ebp - 0x44]
call fcn.1000da1b
lea ecx, [ebp - 0x44]
cmp dword [eax + 0x28], 0
jne 0x100145a7
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.1000db6e
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.1001414c
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1000b5cd
pop ecx
pop ecx
test al, al
jne 0x1001456b
jmp 0x1001469d
call fcn.1000da36
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [edi + 4]
call fcn.100139d7
lea ecx, [edi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push eax
call fcn.10012e75
push eax
lea ecx, [ebp - 0x48]
call fcn.1000a2d3
test al, al
je 0x100145fc
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
push ebx
push dword [ebp + 0xc]
push 0
push dword [ebp - 0x50]
call fcn.1000da01
push dword [eax + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x4c], eax
jmp 0x1001469d
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x44]
call fcn.1000da1b
mov ecx, eax
call fcn.10026300
mov ecx, eax
call fcn.1000d9e4
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000d198
lea esi, [edi + 0x24]
mov byte [ebp - 4], 1
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000b5e5
add esp, 0xc
push 0
push dword [ebp + 0x14]
mov ecx, eax
mov byte [ebp - 4], 2
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x50]
call fcn.100034ba
push eax
lea ecx, [ebp - 0x44]
call fcn.1000da1b
mov ecx, eax
call fcn.1007d3d0
push dword [eax]
call fcn.1000fbcf
add esp, 0x1c
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x28]
call fcn.10002575
lea ecx, [ebp - 0x40]
call fcn.10002575
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.10002575
push dword [edi + 0x3c]
mov ecx, esi
call fcn.100034ba
push eax
mov ecx, edi
call fcn.1000fe55
cmp dword [ebp - 0x4c], 0
je 0x100146dc
push 1
call fcn.10005f35
pop ecx
test eax, eax
je 0x100146d5
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push str.Failed_to_set_value__s_from_hive___ld_
push 0x1ab
push str.McRegistryOverride::setValue
push str.e:_buildenginespace_temp_bbb325e7_afe9_463c_b2d3_becb043abe3e_vso_src_api2mcvsocfgMcRegistryOverride.h
push 1
call fcn.10015628
add esp, 0x1c
mov eax, 0x80004005
jmp 0x100146de
xor eax, eax
call fcn.10037fb9
ret 0x14