joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc453
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
xor eax, eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.common::CMultiFieldBlob.0
mov dword [esi + 4], eax
mov edx, 2
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x502720
push edi
mov dword [esp + 8], esi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov edi, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov byte [esi + 0x34], al
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x30]
push eax
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x44], edx
mov dword [esi + 0x58], 0x50
call fcn.00449d60
push 0x445890
lea ecx, [esp + 0x10]
push esi
push ecx
call fcn.00446750
add esp, 0xc
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.0044cf00
mov ecx, esi
mov byte [esp + 0x10], 1
call fcn.004484a0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.._AV__ObjScopeGuardImpl0_VCMultiFieldBlob_common__P812_AEXXZ__.0
call fcn.00445e50
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4564c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bcdd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
push 0x412990
lea edi, [esi + 4]
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00456410
add esp, 0xc
mov al, byte [esi + 0x30]
test al, al
mov dword [esp + 0x20], 0
je 0x45650c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov byte [esi + 0x30], 0
push edi
mov byte [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 8]
mov dword [esp + 8], vtable.._AV__ObjScopeGuardImpl0_VCFastThreadMutex_common__P812_AEXXZ__.0
call fcn.00456330
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x457440
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x509334]
xor eax, dword [ebp + 4]
push esi
push edi
mov dword [esp + 0xa4], eax
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
or esi, 0xffffffff
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x45749e
or esi, 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xa4]
xor ecx, dword [ebp + 4]
call fcn.0049e993
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x457582
dec eax
je 0x457515
dec eax
jne 0x457584
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x4574c3
mov esi, 1
cmp eax, 5
jne 0x457584
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4574f0
mov esi, 2
mov eax, esi
mov ecx, dword [esp + 0xa4]
xor ecx, dword [ebp + 4]
call fcn.0049e993
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x457584
mov esi, 3
mov eax, esi
mov ecx, dword [esp + 0xa4]
xor ecx, dword [ebp + 4]
call fcn.0049e993
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0xc], 4
jne 0x457584
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x457540
mov esi, 4
mov eax, esi
mov ecx, dword [esp + 0xa4]
xor ecx, dword [ebp + 4]
call fcn.0049e993
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x457561
mov esi, 5
mov eax, esi
mov ecx, dword [esp + 0xa4]
xor ecx, dword [ebp + 4]
call fcn.0049e993
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x5a
jne 0x457584
mov esi, 6
mov eax, esi
mov ecx, dword [esp + 0xa4]
xor ecx, dword [ebp + 4]
call fcn.0049e993
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
mov ecx, dword [esp + 0xa4]
xor ecx, dword [ebp + 4]
mov eax, esi
call fcn.0049e993
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45f400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd597
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov dword [esp + 4], 0
sub esp, 8
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov dword [esp + 0x34], 1
call fcn.0045eaf0
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0045ee20
mov esi, dword [esp + 0x30]
push eax
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.0045edb0
lea ecx, [esp + 0xc]
mov dword [esp + 4], 1
mov byte [esp + 0x28], 1
mov dword [esp + 0xc], vtable.ScopeGuardImpl1_void____cdecl___class_common::CThreadSafeCountedPtr_class_common::CFastThreadMutex__const____class_common::CThreadSafeCountedPtr_class_common::CFastThreadMutex__.0
call fcn.0045e610
lea ecx, [esp + 0x18]
call fcn.0045ea40
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], vtable.ScopeGuardImplBase.0
mov byte [esp + 0x28], 0
call fcn.0045ea40
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret

Function at 0x462040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd827
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov dword [esp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, 1
push 0x50ac2c
mov dword [esp + 0x18], 0x50ac2c
mov byte [esp + 0x1c], bl
call esi
mov eax, dword [esp + 0x30]
push eax
mov ecx, 0x50ac50
mov dword [esp + 0x28], ebx
call fcn.00461ce0
push eax
lea ecx, [esp + 0x10]
call fcn.0045eaf0
push 0x50ac2c
mov byte [esp + 0x28], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.00403220
push eax
call esi
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0045eaf0
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebx
mov byte [esp + 0x24], bl
call fcn.0045ea40
lea ecx, [esp + 0x14]
call fcn.004129c0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x465180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bdc3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
mov esi, dword [esp + 0xa0]
lea eax, [esp + 0x10]
push esi
push eax
mov dword [esp + 0x20], 0
call fcn.00462040
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x10], esp
mov ebx, 1
push edx
mov dword [esp + 0xa0], ebx
call fcn.0045eaf0
lea eax, [esp + 0x2c]
push fcn.0045ee90
push eax
call fcn.0045f790
add esp, 0x10
push 0x50ac2c
mov dword [esp + 0x20], 0x50ac2c
mov byte [esp + 0x24], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x50ac44
mov byte [esp + 0x9c], 3
call fcn.0045fd40
mov eax, dword [esp + 8]
cmp eax, dword [0x50ac48]
je 0x465347
mov ecx, dword [eax + 0x2c]
lea esi, [eax + 0x28]
mov eax, dword [esi]
test ecx, ecx
setne dl
test eax, eax
setne al
cmp al, dl
je 0x46525a
push 0x9f
push str..._.._.._Common_MiscThreadSafeCountedPtr.h
push str.___bool__m_pOwnedObj____bool__m_pRefCount___
push str.Valid_ptrs
call fcn.00421210
mov ecx, eax
call fcn.004210c0
cmp dword [esi], 0
jne 0x46527a
push 0x24d
push str.p4clients_rel_betaProjectsGazelleProtoClientEngineSrcTicketCache.cpp
push str._it_.second.get__
call fcn.00421210
mov ecx, eax
call fcn.00421000
push 0x14
call fcn.0048edea
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 0x94], 4
je 0x4652a3
lea ecx, [esp + 0x10]
push ecx
push esi
mov ecx, eax
call fcn.00464f90
jmp 0x4652a5
xor eax, eax
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 3
call fcn.004650b0
mov esi, dword [esp + 0x9c]
lea edx, [esp + 8]
push edx
mov ecx, esi
mov byte [esp + 0x98], 5
mov byte [esp + 0x2c], bl
call fcn.0045eaf0
lea ecx, [esp + 8]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x94], 3
call fcn.0042dcc0
lea ecx, [esp + 0x1c]
call fcn.004129c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], bl
mov dword [esp + 0x24], vtable.ScopeGuardImpl1_void____cdecl___class_common::CThreadSafeCountedPtr_class_common::CFastThreadMutex__const____class_common::CThreadSafeCountedPtr_class_common::CFastThreadMutex__.0
call fcn.0045e610
lea ecx, [esp + 0x30]
call fcn.0045ea40
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], vtable.ScopeGuardImplBase.0
mov byte [esp + 0x94], 0
call fcn.0045ea40
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret
lea ecx, [esp + 0x38]
call fcn.00457620
push 0x4f7554
lea eax, [esp + 0x3c]
push eax
call fcn.0049e394
int3
Function at 0x467ae8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4be000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
add eax, 4
push eax
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esp + 0x24], 0
call dword [eax + 8]
mov ecx, eax
mov byte [esp + 0x1c], 1
call fcn.00403220
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, eax
call dword [edx + 0x30]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00402f90
lea ecx, [esp + 4]
call fcn.004129c0
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x467c08
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4be000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
add eax, 4
push eax
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esp + 0x24], 0
call dword [eax + 8]
mov ecx, eax
mov byte [esp + 0x1c], 1
call fcn.00403220
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, eax
call dword [edx + 0x28]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00402f90
lea ecx, [esp + 4]
call fcn.004129c0
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x467f99
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4be000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
add eax, 4
push edi
mov bl, 1
push eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x14]
test eax, eax
mov dword [esp + 0x24], 0
jne 0x467ff7
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
push eax
call dword [edx + 0x48]
lea ecx, [esp + 0xc]
mov bl, al
call fcn.004129c0
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x1c]
test al, al
je 0x468056
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 8]
mov ecx, eax
mov byte [esp + 0x24], bl
call fcn.00403220
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x48]
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x24], 0
call fcn.00402f90
lea ecx, [esp + 0xc]
call fcn.004129c0
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
lea ecx, [esp + 0xc]
call fcn.004129c0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x468539
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4be0c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x38]
push eax
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x88], ebx
call dword [eax + 0x60]
mov eax, dword [esp + 0x90]
cmp dword [eax + 0x14], ebx
jne 0x4685cb
mov eax, str.NonNullValueName
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x468583
sub eax, edx
push eax
push str.NonNullValueName
lea ecx, [esp + 0x18]
call fcn.00406650
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 1
call fcn.00431ee0
push 0x4f0788
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], vtable.common::CRegistryException.0
call fcn.0049e394
cmp dword [eax + 0x18], 0x10
jb 0x4685d6
mov eax, dword [eax + 4]
jmp 0x4685d9
add eax, 4
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esi]
mov ebx, eax
neg ebx
sbb bl, bl
mov ecx, esi
inc bl
call dword [edx + 0x60]
lea ecx, [esp + 8]
call fcn.004129c0
mov ecx, dword [esp + 0x80]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 4
Function at 0x468c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4be120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x34], ebx
call fcn.00455400
cmp dword [esp + 0x24], 0x10
mov byte [esp + 0x30], 2
jb 0x468ce9
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0049db86
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esi], vtable.common::CWin32Key::CPublicKey.0
mov dword [esi + 0x20], eax
jne 0x468d25
push 0x9a
push str.p4clients_rel_betaProjectsCommonMiscWin32Registry.cpp
push str.m_pKey
call fcn.00421210
mov ecx, eax
call fcn.00421000
mov ecx, dword [esi + 0x20]
push 1
call fcn.00468620
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x4694fc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4be1a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x38]
push eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call dword [eax + 0x60]
cmp dword [esp + 0xbc], ebx
jne 0x46958b
mov eax, str.NonNullCallersNumberPtr
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x469543
sub eax, edx
push eax
push str.NonNullCallersNumberPtr
lea ecx, [esp + 0x24]
call fcn.00406650
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 1
call fcn.00431ee0
push 0x4f0788
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], vtable.common::CRegistryException.0
call fcn.0049e394
push ebp
push edi
mov edi, dword [esp + 0xc0]
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
lea ebp, [edi + 4]
jb 0x4695aa
mov eax, dword [ebp]
jmp 0x4695ac
mov eax, ebp
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x469690
mov ecx, dword [esp + 0x14]
mov eax, 4
cmp ecx, eax
je 0x469631
push str.unknown
lea ecx, [esp + 0x28]
call fcn.00407a20
push str.UnsignedNumber
lea ecx, [esp + 0x98]
mov byte [esp + 0xbc], 2
call fcn.00407a20
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x98]
push edx
push edi
add esi, 4
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0xc8], 3
call fcn.00415370
push 0x4f03a4
lea eax, [esp + 0x44]
push eax
call fcn.0049e394
cmp dword [esp + 0x10], eax
jne 0x46966c
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x18], ebx
jb 0x469644
mov ebp, dword [ebp]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46966c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc4]
mov dword [edx], ecx
lea ecx, [esp + 0x1c]
call fcn.004129c0
mov ecx, dword [esp + 0xb0]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 8
push edi
add esi, 4
push esi
lea ecx, [esp + 0x48]
call fcn.00415230
push 0x4f0440
lea eax, [esp + 0x44]
push eax
call fcn.0049e394
int3
Function at 0x469bfd
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4be273
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
call dword [eax + 0x14]
cmp dword [esi + 4], ebx
jne 0x469c31
push 0x8c9
push str.p4clients_rel_betaProjectsCommonMiscWin32Registry.cpp
push str.m_pRegKeyWeakReference
push str.NonNullRegKeyWeakReference
call fcn.00421210
mov ecx, eax
call fcn.00421040
mov ecx, dword [esi + 0x10]
push ecx
call fcn.0049ebf4
mov edi, eax
push edi
lea edx, [esp + 0x1c]
push fcn.0049e323
push edx
call fcn.004681d0
add esp, 0x10
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
mov eax, dword [edx + 0x20]
push edi
push ecx
push eax
mov dword [esp + 0xac], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebp, eax
cmp ebp, ebx
je 0x469cc0
cmp ebp, 0xea
je 0x469cc0
mov ecx, dword [esi + 4]
add ecx, 4
push ecx
lea edx, [esp + 0x28]
push str.Failed_to_query_subkey_of_key
push edx
call fcn.00407fc0
add esp, 0xc
push ebx
push ebp
push 2
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 1
call fcn.00431ee0
push 0x4f964c
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], vtable.common::CWin32RegistryException.0
call fcn.0049e394
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov esi, dword [esp + 0xa4]
mov eax, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x469ce0
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00406650
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.ScopeGuardImpl1_void____cdecl___void____char__.0
call fcn.00467340
mov ecx, dword [esp + 0x94]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 4
Function at 0x469d20
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4be323
push eax
mov dword fs:[0], esp
sub esp, 0x94
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x14]
mov eax, dword [esi + 4]
test eax, eax
jne 0x469d6b
push 0x924
push str.p4clients_rel_betaProjectsCommonMiscWin32Registry.cpp
push str.m_pRegKeyWeakReference
push str.NonNullRegKeyWeakReference
call fcn.00421210
mov ecx, eax
call fcn.00421040
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x469d95
push 0x925
push str.p4clients_rel_betaProjectsCommonMiscWin32Registry.cpp
push str.m_pRegKeyWeakReference__m_hkey
push str.NonNullWin32KeyHandle
call fcn.00421210
mov ecx, eax
call fcn.00421040
mov ecx, dword [esi + 4]
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov edx, dword [ecx + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, eax
test edi, edi
je 0x469e36
mov eax, dword [esi + 4]
add eax, 4
push eax
lea ecx, [esp + 0x14]
push str.Failed_to_query_key
push ecx
call fcn.00407fc0
push str._for_key_info
push eax
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0xbc], 0
call fcn.00415180
add esp, 0x18
push 0
push edi
push 2
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xb4], 1
call fcn.00431ee0
push 0x4f964c
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], vtable.common::CWin32RegistryException.0
call fcn.0049e394
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esi]
mov dword [esi + 0xc], ecx
inc edx
mov ecx, esi
mov dword [esi + 0x10], edx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xa0
ret
Function at 0x469e8d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4be273
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [esi]
push edi
call dword [eax + 0x18]
cmp dword [esi + 4], ebx
jne 0x469ec1
push 0xa17
push str.p4clients_rel_betaProjectsCommonMiscWin32Registry.cpp
push str.m_pRegKeyWeakReference
push str.NonNullRegKeyWeakReference
call fcn.00421210
mov ecx, eax
call fcn.00421040
mov ecx, dword [esi + 0x10]
push ecx
call fcn.0049ebf4
mov edi, eax
push edi
lea edx, [esp + 0x1c]
push fcn.0049e323
push edx
call fcn.004681d0
add esp, 0x10
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
push edi
push edx
push ecx
mov dword [esp + 0xbc], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edx, dword [esp + 0x10]
mov ebp, eax
cmp edx, dword [esi + 0x10]
jb 0x469f2e
push 0xa21
push str.p4clients_rel_betaProjectsCommonMiscWin32Registry.cpp
push str.dwNameChars___m_uMaxValueNameChars
call fcn.00421210
mov ecx, eax
call fcn.00421000
cmp ebp, ebx
je 0x469f78
mov eax, dword [esi + 4]
add eax, 4
push eax
lea ecx, [esp + 0x28]
push str.Failed_to_query_value_of_key
push ecx
call fcn.00407fc0
add esp, 0xc
push ebx
push ebp
push 2
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 1
call fcn.00431ee0
push 0x4f964c
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], vtable.common::CWin32RegistryException.0
call fcn.0049e394
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov esi, dword [esp + 0xa4]
mov eax, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x469f98
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00406650
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.ScopeGuardImpl1_void____cdecl___void____char__.0
call fcn.00467340
mov ecx, dword [esp + 0x94]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 4