Function at 0x10039b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073ed5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1007b958]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
push 0x1008009c
push 5
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CBaseObjZombie::constructor_enum_EBaseObjectType__long_int__]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [edi], fcn.1003c7d0
mov dword [edi + 0x14c], eax
mov dword [edi + 0x150], 0x10001008
mov dword [edi + 0x154], 0
mov dword [edi + 0x160], 0x10001424
mov dword [edi + 0x16c], 0x10001414
mov dword [edi + 0x178], 0x100013dc
mov dword [edi + 0x188], 0x10001074
mov dword [edi + 0x19c], 0x10001234
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1a0], 0
lea esi, [edi + 0x1b4]
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], esi
lea ecx, [esi + 0x14]
mov dword [esi], 0x10001280
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CExtBuffer::constructor_void_]
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CBitArray::constructor_void_]
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x38], 0
mov dword [edi + 0x1f0], 0x10001064
mov dword [edi + 0x1fc], 0x100019dc
mov dword [edi + 0x200], 0x100019d4
lea ebx, [edi + 0x204]
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
push 0x1000d604
push SysReAllocString
mov dword [ebx], 0x100019bc
mov esi, 0x2000
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10039c9a
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x10014cec
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10039c8c
cmp dword [ebp - 0x20], 4
jne 0x10039c8c
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10039c9a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx + 4], esi
cmp esi, 0x100
jae 0x10039cac
mov dword [ebx + 4], 0x100
mov dword [edi + 0x20c], 0x10001050
mov byte [ebp - 4], 0xe
mov esi, dword [0x10084b98]
cmp dword [0x1007d040], 0xffffffff
jne 0x10039cd2
test byte [0x10080290], 2
je 0x10039d03
cmp dword [0x1008029c], 0
je 0x10039ce0
call fcn.1002d170
mov eax, dword [0x1007d040]
cmp eax, 0xffffffff
je 0x10039d03
push 0
push edi
push 6
push esi
mov esi, dword [0x1007803c]
mov ecx, esi
push eax
call dword [0x1008147c]
call esi
jmp 0x10039d05
xor eax, eax
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x28], 0
test eax, eax
jne 0x10039d18
mov eax, edi
mov dword [edi + 0x14], eax
mov eax, edi
mov dword [edi + 0xa8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0xfc], 1
mov dword [edi + 0x104], 1
mov dword [edi + 0x108], 0
mov dword [edi + 0x94], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100720f0
mov esp, ebp
pop ebp
ret 8