Function at 0x435580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ae8d
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, ecx
mov dword [ebp - 0x30], esi
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.00436390
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x18], 8
mov dword [ebp - 0x14], edi
jb 0x4355cf
mov ecx, dword [ebx + 4]
add ebx, 4
jmp 0x4355d4
add ebx, 4
mov ecx, ebx
mov eax, dword [esi + 8]
lea edx, [ebp - 0x14]
push edx
push edi
lea edx, [ebp - 0x1c]
push edx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
je 0x43562e
push 0x28
call fcn.0043db0e
add esp, 4
mov dword [ebp + 8], eax
cmp eax, edi
mov byte [ebp - 4], 1
je 0x435617
push esi
push eax
mov edx, 0x19c
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x435619
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], eax
push 0x4c3e0c
lea eax, [ebp - 0x24]
push eax
call fcn.00473858
cmp dword [ebp - 0x1c], 3
je 0x435674
push 0x28
call fcn.0043db0e
add esp, 4
mov dword [ebp + 8], eax
cmp eax, edi
mov byte [ebp - 4], 2
je 0x43565d
push 0xd
push eax
mov edx, 0x19f
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x43565f
xor eax, eax
push 0x4c3e0c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
push ecx
mov dword [ebp - 0x28], eax
call fcn.00473858
mov edx, dword [ebp - 0x14]
push edx
call fcn.0043db39
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x4356c9
push 0x28
call fcn.0043db0e
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x4356b2
push 6
push eax
mov edx, 0x1a3
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x4356b4
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], eax
push 0x4c3e0c
lea eax, [ebp - 0x2c]
push eax
call fcn.00473858
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push edi
call fcn.00472ca0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x20], edx
jb 0x4356eb
mov ecx, dword [ebx]
jmp 0x4356ed
mov ecx, ebx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
lea edx, [ebp - 0x20]
push edx
push edi
lea edx, [ebp - 0x1c]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x435751
push edi
call fcn.0043db3e
push 0x28
call fcn.0043db0e
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x43573a
push esi
push eax
mov edx, 0x1aa
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x43573c
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], eax
push 0x4c3e0c
lea eax, [ebp - 0x34]
push eax
call fcn.00473858
cmp dword [ebp - 0x1c], 3
jne 0x435859
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jne 0x435859
test ecx, ecx
jbe 0x43583a
mov esi, dword [ebp + 0xc]
lea edi, [ebp + 8]
lea ebx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
call fcn.0042e8c0
xor ebx, ebx
cmp al, bl
jne 0x4357d2
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0043db3e
push 0x28
call fcn.0043db0e
add esp, 8
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4357bc
mov edx, dword [ebp + 8]
push edx
push eax
mov edx, 0x1b4
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x4357be
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x38], eax
push 0x4c3e0c
lea eax, [ebp - 0x38]
push eax
call fcn.00473858
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
lea esi, [ebp + 8]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
call fcn.0042e960
test al, al
jne 0x435837
mov edx, dword [ebp - 0x18]
push edx
call fcn.0043db3e
push 0x28
call fcn.0043db0e
add esp, 8
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x435821
mov ecx, dword [ebp + 8]
push ecx
push eax
mov edx, 0x1b8
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x435823
xor eax, eax
push 0x4c3e0c
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], bl
push edx
mov dword [ebp - 0x3c], eax
call fcn.00473858
mov edi, dword [ebp - 0x18]
push edi
call fcn.0043db3e
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.0043db3e
push 0x28
call fcn.0043db0e
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 5
je 0x435888
push 0xd
push eax
mov edx, 0x1ae
mov edi, str.....CommonTmCommonTmComn_Registry.cpp
call fcn.00431980
jmp 0x43588a
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x40], eax
push 0x4c3e0c
lea eax, [ebp - 0x40]
push eax
call fcn.00473858
push 0
push 0
call fcn.00473858
int3