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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x404
test eax, eax
jne 0x1006457e
mov word [ebp - 0x404], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 4]
mov dword [ebp + 0xc], 0
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100645f8
mov eax, dword [ebp - 4]
push esi
push edi
cmp eax, 1
je 0x10064500
cmp eax, 2
jne 0x100645b1
mov esi, dword [ebp + 0xc]
and esi, 0xfffffffe
mov dword [ebp + 0xc], esi
cmp esi, 0xbebc200
jae 0x100645f1
mov eax, esi
mov ecx, 2
shr eax, 1
or edi, 0xffffffff
inc eax
mul ecx
cmovb eax, edi
push eax
call fcn.100c192b
add esp, 4
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
xor edx, edx
shr ecx, 1
mov word [edi + ecx*2], dx
mov ecx, dword [ebp - 4]
cmp ecx, 1
je 0x10064565
cmp ecx, 2
jne 0x100645a8
cmp eax, 0xea
jne 0x100645bc
push edi
call fcn.100c1934
add esp, 4
lea esi, [esi*2 + 0xfa0]
jmp 0x10064506
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x100644bb
mov eax, 0x57
mov esp, ebp
pop ebp
ret
push edi
call fcn.100c1934
add esp, 4
pop edi
mov eax, 0xd
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.100bee50
push edi
mov esi, eax
call fcn.100c1934
add esp, 0x14
test esi, esi
jne 0x100645de
cmp word [edi], si
jne 0x100645b1
xor eax, eax
mov ecx, 0xea
cmp esi, dword [ebp + 0x14]
pop edi
cmovg eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xe
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10064600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x400
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
test eax, eax
jne 0x100646a2
mov word [ebp - 0x400], ax
push 4
test esi, esi
mov edi, 0x1024cb86
push 0
cmovne edi, esi
push 0
push edi
call fcn.100bf010
mov esi, eax
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100c192b
push 0
mov ebx, eax
push esi
push ebx
push edi
call fcn.100bf010
mov ecx, ebx
add esp, 0x24
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10064662
sub ecx, edx
lea eax, [ebp - 0x400]
sar ecx, 1
lea ecx, [ecx*2 + 2]
push ecx
push ebx
push 1
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov esi, eax
call fcn.100c1934
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x200
lea ecx, [ebp - 0x400]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10064621
pop edi
pop esi
mov eax, 0x57
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006ffe0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul edx, ecx, 0x1000193
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 5]
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
pop esi
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
pop ebp
ret 4
Function at 0x10081980
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x30], 0
jne 0x10081999
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [edi + 0xc]
push esi
imul eax, dword [edx], 0xcc9e2d51
dec ebx
push edx
ror eax, 0x11
imul eax, eax, 0x1b873593
xor eax, dword [edx + 4]
ror eax, 0x13
add eax, 0xfaddaf14
lea ecx, [eax + eax*4]
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, ebx
and eax, ecx
mov dword [ebp - 8], ecx
push eax
mov ecx, edi
call fcn.10081b50
cmp eax, 0xffffffff
jne 0x10081a6f
sar ebx, 1
cmp ebx, dword [edi + 0x40]
jl 0x10081a6c
mov esi, ebx
and esi, dword [ebp - 8]
cmp esi, dword [edi + 0x38]
jl 0x10081a6c
test esi, esi
js 0x10081a0f
cmp esi, dword [edi + 0x10]
jl 0x10081a2b
push str.bitNum___0__bitNum___this__Size__
push 0x14a
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1_bitstring.h
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10081a2b
int3
cmp dword [edi + 0x14], 1
lea eax, [edi + 0x18]
je 0x10081a37
mov eax, dword [edi + 0x1c]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov eax, esi
mov ecx, dword [ebp - 4]
sar eax, 5
test dword [ecx + eax*4], edx
jne 0x10081a6c
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.10081b50
cmp eax, 0xffffffff
je 0x100819f5
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10081c10
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x38]
cmp edi, dword [esi + 0x3c]
jge 0x10081dc7
mov dword [ebp - 0xc], 4
push ebx
mov edi, edi
lea eax, [edi + 1]
mov dword [esi + 0x38], eax
mov eax, dword [esi]
cmp dword [eax + edi*4], 0xffffffff
je 0x10081c9a
lea ebx, [esi + 0x10]
test edi, edi
js 0x10081c4c
mov dword [ebp - 4], ebx
cmp edi, dword [ebx]
jl 0x10081c71
push str.bitNum___0__bitNum___this__Size__
push 0x14a
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1_bitstring.h
mov dword [ebp - 4], ebx
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10081c71
int3
cmp dword [ebx + 4], 1
jne 0x10081c7c
add ebx, 8
jmp 0x10081c7f
mov ebx, dword [ebx + 0xc]
mov eax, edi
mov ecx, edi
and ecx, 0x1f
sar eax, 5
mov edx, 1
shl edx, cl
test dword [ebx + eax*4], edx
je 0x10081caa
mov ecx, dword [ebp - 4]
jmp 0x10081c9d
lea ecx, [esi + 0x10]
mov edi, dword [esi + 0x38]
cmp edi, dword [esi + 0x3c]
jl 0x10081c30
jmp 0x10081db2
mov ebx, dword [ebp - 4]
test edi, edi
js 0x10081cb5
cmp edi, dword [ebx]
jl 0x10081cd1
push str.bitNum___0__bitNum___this__Size__
push 0x154
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1_bitstring.h
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10081cd1
int3
cmp dword [ebx + 4], 1
jne 0x10081cdc
add ebx, 8
jmp 0x10081cdf
mov ebx, dword [ebx + 0xc]
mov eax, edi
mov ecx, edi
sar eax, 5
and ecx, 0x1f
lea edx, [ebx + eax*4]
mov eax, dword [edx]
bts eax, ecx
mov dword [edx], eax
mov eax, dword [esi]
mov ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov dword [ebp - 4], eax
cmp ebx, 0xffffffff
je 0x10081d96
mov edx, dword [esi + 0x20]
mov eax, ebx
shl eax, 4
add edx, eax
mov dword [ebp - 0x10], eax
imul eax, dword [edx], 0xcc9e2d51
ror eax, 0x11
imul eax, eax, 0x1b873593
xor eax, dword [edx + 4]
ror eax, 0x13
add eax, 0xfaddaf14
lea ecx, [eax + eax*4]
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, dword [esi + 0xc]
dec eax
and ecx, eax
lea eax, [edx + 0xc]
mov dword [ebp - 8], ecx
cmp ecx, edi
je 0x10081d88
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + edx + 0xc], eax
mov eax, dword [esi]
mov edx, dword [ebp - 8]
mov dword [eax + edx*4], ebx
mov eax, dword [ebp - 4]
jmp 0x10081d8b
mov dword [ebp - 4], eax
mov ebx, dword [eax]
cmp ebx, 0xffffffff
jne 0x10081d07
mov edi, dword [esi + 0x38]
cmp edi, dword [esi + 0x3c]
jge 0x10081daf
sub dword [ebp - 0xc], 1
jns 0x10081c30
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
dec eax
push 0
mov dword [esi + 0x40], eax
call fcn.10087450
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10082340
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, dword [edi + 0x34]
jae 0x1008244f
mov eax, dword [edi + 0x20]
mov ebx, esi
add ebx, ebx
cmp dword [eax + ebx*8 + 0xc], 0xffffffff
jl 0x1008244f
call fcn.10081c10
mov eax, dword [edi + 0x20]
push esi
mov edx, dword [eax + ebx*8 + 4]
imul eax, dword [eax + ebx*8], 0xcc9e2d51
mov ebx, dword [edi + 0xc]
dec ebx
ror eax, 0x11
imul eax, eax, 0x1b873593
xor eax, edx
ror eax, 0x13
add eax, 0xfaddaf14
lea ecx, [eax + eax*4]
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, ebx
and eax, ecx
mov dword [ebp - 8], ecx
push eax
mov ecx, edi
call fcn.10082480
test al, al
jne 0x1008246b
sar ebx, 1
cmp ebx, dword [edi + 0x40]
jl 0x10082443
mov esi, ebx
and esi, dword [ebp - 8]
cmp esi, dword [edi + 0x38]
jl 0x10082443
test esi, esi
js 0x100823e9
cmp esi, dword [edi + 0x10]
jl 0x10082405
push str.bitNum___0__bitNum___this__Size__
push 0x14a
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1_bitstring.h
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10082405
int3
cmp dword [edi + 0x14], 1
lea eax, [edi + 0x18]
je 0x10082411
mov eax, dword [edi + 0x1c]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov eax, esi
mov ecx, dword [ebp - 4]
sar eax, 5
test dword [ecx + eax*4], edx
jne 0x10082443
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.10082480
test al, al
jne 0x1008246b
sar ebx, 1
cmp ebx, dword [edi + 0x40]
jge 0x100823d6
push str.CUtlHashMap::RemoveAt___couldnt_find_bucket_for_item
push 0x380
jmp 0x10082459
push str.CUtlHashMap::RemoveAt___Invalid_index
push 0x363
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlhashmap.h
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008246b
int3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10083750
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 3
jne 0x100837d2
mov eax, 0x20206
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 4]
push edx
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x10083857
push 0x1024cb86
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov edi, eax
cmp edi, 2
jne 0x1008384c
push 0x207
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], 0
push 0
push eax
call fcn.100c3490
add esp, 0xc
cmp esi, 3
jne 0x1008382a
mov eax, 0x200
jmp 0x10083837
cmp esi, 4
jne 0x100837de
mov eax, 0x20106
jmp 0x10083772
mov eax, 0x20006
test esi, esi
je 0x10083772
cmp esi, 1
jne 0x100837f3
mov ecx, SysReAllocString
jmp 0x10083777
cmp esi, 2
jne 0x10083802
mov ecx, SysReAllocString
jmp 0x10083777
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008381e
int3
xor ecx, ecx
mov eax, 0x20006
jmp 0x10083777
xor eax, eax
mov ecx, 0x100
cmp esi, 4
cmove eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call fcn.10084d20
add esp, 0xc
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10083860
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
cmp eax, 3
jne 0x100838bf
mov ecx, 0x20206
mov eax, reloc.OLEAUT32.dll_SysReAllocString
push 0
lea edx, [ebp - 4]
push edx
push 0
push ecx
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x100838b7
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x100838cb
mov ecx, 0x20106
jmp 0x1008387c
mov ecx, 0x20006
test eax, eax
je 0x1008387c
cmp eax, 1
jne 0x100838e0
mov eax, SysReAllocString
jmp 0x10083881
cmp eax, 2
jne 0x100838ec
mov eax, SysReAllocString
jmp 0x10083881
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10083908
int3
xor eax, eax
mov ecx, 0x20006
jmp 0x10083881
Function at 0x10083aa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp ecx, 3
jne 0x10083b0b
mov eax, 0x208
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 4]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10083b03
mov eax, dword [ebp + 0x18]
push 0
push 0
push 0
push 0
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push dword [ebp - 4]
test eax, eax
cmove edi, dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 4
jne 0x10083b17
mov eax, 0x108
jmp 0x10083abb
mov eax, 8
test ecx, ecx
je 0x10083abb
cmp ecx, 1
jne 0x10083b2c
mov ecx, SysReAllocString
jmp 0x10083ac0
cmp ecx, 2
jne 0x10083b38
mov ecx, SysReAllocString
jmp 0x10083ac0
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10083b54
int3
xor ecx, ecx
lea eax, [ecx + 8]
jmp 0x10083ac0

Function at 0x10083b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp ecx, 3
jne 0x10083bcc
mov eax, 0x201
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 4]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10083bc4
mov eax, dword [ebp + 0x18]
push 0
push 0
push dword [ebp + 0x1c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push dword [ebp - 4]
test eax, eax
cmove edi, dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 4
jne 0x10083bd8
mov eax, 0x101
jmp 0x10083b7b
mov eax, 1
test ecx, ecx
je 0x10083b7b
cmp ecx, eax
jne 0x10083bec
mov ecx, SysReAllocString
jmp 0x10083b80
cmp ecx, 2
jne 0x10083bf8
mov ecx, SysReAllocString
jmp 0x10083b80
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10083c14
int3
xor ecx, ecx
lea eax, [ecx + 1]
jmp 0x10083b80
Function at 0x10083f40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
cmp eax, 3
jne 0x10083fa3
mov ecx, 0x201
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 4]
push edx
push ecx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10083f9b
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x10083faf
mov ecx, 0x101
jmp 0x10083f5c
mov ecx, 1
test eax, eax
je 0x10083f5c
cmp eax, ecx
jne 0x10083fc3
mov eax, SysReAllocString
jmp 0x10083f61
cmp eax, 2
jne 0x10083fcf
mov eax, SysReAllocString
jmp 0x10083f61
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10083feb
int3
xor eax, eax
lea ecx, [eax + 1]
jmp 0x10083f61

Function at 0x10084000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
cmp eax, 3
jne 0x10084075
mov ecx, 0x20219
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 4]
push edx
push ecx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1008406d
push dword [ebp + 0x18]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x10084062
cmp dword [ebp + 8], 3
mov eax, 1
cmovne esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x10084081
mov ecx, 0x20119
jmp 0x1008401c
mov ecx, 0x20019
test eax, eax
je 0x1008401c
cmp eax, 1
jne 0x10084096
mov eax, SysReAllocString
jmp 0x10084021
cmp eax, 2
jne 0x100840a5
mov eax, SysReAllocString
jmp 0x10084021
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100840c1
int3
xor eax, eax
mov ecx, 0x20019
jmp 0x10084021
Function at 0x10084190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
cmp eax, 3
jne 0x1008420f
mov ecx, 0x20219
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 4]
push edx
push ecx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10084207
mov dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 8]
mov dword [ebp - 8], 4
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x100841fc
cmp dword [ebp + 8], 4
mov eax, 1
cmovne esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x1008421b
mov ecx, 0x20119
jmp 0x100841ae
mov ecx, 0x20019
test eax, eax
je 0x100841ae
cmp eax, 1
jne 0x10084230
mov eax, SysReAllocString
jmp 0x100841b3
cmp eax, 2
jne 0x1008423f
mov eax, SysReAllocString
jmp 0x100841b3
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008425b
int3
xor eax, eax
mov ecx, 0x20019
jmp 0x100841b3

Function at 0x10084270
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
cmp eax, 3
jne 0x100842d5
mov ecx, 0x201
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 4]
push edx
push ecx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100842cd
push eax
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x100842e1
mov ecx, 0x101
jmp 0x1008428c
mov ecx, 1
test eax, eax
je 0x1008428c
cmp eax, ecx
jne 0x100842f5
mov eax, SysReAllocString
jmp 0x10084291
cmp eax, 2
jne 0x10084301
mov eax, SysReAllocString
jmp 0x10084291
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x1008431d
int3
xor eax, eax
lea ecx, [eax + 1]
jmp 0x10084291
Function at 0x10084870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
cmp eax, 3
jne 0x100848d8
mov ecx, 0x20206
mov eax, reloc.OLEAUT32.dll_SysReAllocString
push 0
lea edx, [ebp - 4]
push edx
push 0
push ecx
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x100848d0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x100848e4
mov ecx, 0x20106
jmp 0x1008488c
mov ecx, 0x20006
test eax, eax
je 0x1008488c
cmp eax, 1
jne 0x100848f9
mov eax, SysReAllocString
jmp 0x10084891
cmp eax, 2
jne 0x10084905
mov eax, SysReAllocString
jmp 0x10084891
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10084921
int3
xor eax, eax
mov ecx, 0x20006
jmp 0x10084891

Function at 0x100849f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
cmp eax, 3
jne 0x10084a58
mov ecx, 0x20206
mov eax, reloc.OLEAUT32.dll_SysReAllocString
push 0
lea edx, [ebp - 4]
push edx
push 0
push ecx
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x10084a50
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x10084a64
mov ecx, 0x20106
jmp 0x10084a0c
mov ecx, 0x20006
test eax, eax
je 0x10084a0c
cmp eax, 1
jne 0x10084a79
mov eax, SysReAllocString
jmp 0x10084a11
cmp eax, 2
jne 0x10084a85
mov eax, SysReAllocString
jmp 0x10084a11
push str.Unhandled_eRegKeyRoot_passed_into_HKeyGet
push 0x184
push str.C:_buildworker_steam_rel_client_win32_build_srccommon_registry.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x10084aa1
int3
xor eax, eax
mov ecx, 0x20006
jmp 0x10084a11