Function at 0x435220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48af00
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4ceb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
push 0xffffffffffffffff
mov dword [ebp - 0x14], ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov dword [ebp - 0x40], esi
mov word [esi + 4], di
call fcn.0040ac00
mov eax, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00436390
cmp dword [ebx + 0x18], 8
mov dword [ebp - 0x18], edi
jb 0x4352a2
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
jmp 0x4352a8
lea ecx, [ebx + 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
lea edx, [ebp - 0x18]
push edx
push edi
lea edx, [ebp - 0x1c]
push edx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x435305
push 0x28
call fcn.0043db0e
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x4352ee
push edi
push eax
mov edx, 0x164
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x4352f0
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], eax
push 0x4c3e0c
lea eax, [ebp - 0x3c]
push eax
call fcn.00473858
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x435357
cmp eax, 2
je 0x435357
cmp eax, 7
je 0x435357
push 0x28
call fcn.0043db0e
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x435340
push 0xd
push eax
mov edx, 0x167
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x435342
xor eax, eax
push 0x4c3e0c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
push ecx
mov dword [ebp - 0x34], eax
call fcn.00473858
mov edx, dword [ebp - 0x18]
push edx
call fcn.0043db39
mov edi, eax
add esp, 4
test edi, edi
jne 0x4353a9
push 0x28
call fcn.0043db0e
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x435392
push 6
push eax
mov edx, 0x16b
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x435394
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], eax
push 0x4c3e0c
lea eax, [ebp - 0x2c]
push eax
call fcn.00473858
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push edi
call fcn.00472ca0
mov edx, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebx + 0x18], 8
mov dword [ebp - 0x24], edx
jb 0x4353cb
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
jmp 0x4353ce
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
lea edx, [ebp - 0x24]
push edx
push edi
lea edx, [ebp - 0x1c]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x435432
push edi
call fcn.0043db3e
push 0x28
call fcn.0043db0e
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 5
je 0x43541b
push ebx
push eax
mov edx, 0x172
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x43541d
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], eax
push 0x4c3e0c
lea eax, [ebp - 0x30]
push eax
call fcn.00473858
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x435444
cmp eax, 2
je 0x435444
cmp eax, 7
jne 0x43544c
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x24]
je 0x435492
push edi
call fcn.0043db3e
push 0x28
call fcn.0043db0e
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 6
je 0x43547b
push 0xd
push eax
mov edx, 0x176
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x43547d
xor eax, eax
push 0x4c3e0c
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 1
push edx
mov dword [ebp - 0x38], eax
call fcn.00473858
push esi
mov edx, edi
call fcn.0040abd0
push edi
call fcn.0043db3e
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc