Function at 0x436750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6e88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x645154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 0x619544
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x14], 0
call fcn.0040d2c0
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
push 0x20019
push str.SOFTWAREClasses.pdf
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0042a080
mov ebx, dword [ebp - 0x44]
or esi, 0xffffffff
test eax, eax
jne 0x4369e7
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push 0x619544
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4369e7
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x436802
cmp eax, 2
jne 0x4369e7
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
shr eax, 1
push eax
mov dword [ebp - 0x10], eax
call fcn.0042aa20
mov edi, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x34]
mov ecx, edi
sub esi, edi
inc esi
shr esi, 1
cmp edi, dword [ebp - 0x34]
cmova esi, edx
test esi, esi
je 0x43683e
nop dword [eax]
xor eax, eax
lea ecx, [ecx + 2]
inc edx
mov word [ecx - 2], ax
cmp edx, esi
jne 0x436830
lea eax, [ebp - 0x10]
push eax
push edi
push 0x619544
lea ecx, [ebp - 0x44]
call fcn.0042a130
test eax, eax
jne 0x4369e4
test ebx, ebx
je 0x43686a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.0040cee5
mov ecx, eax
test ecx, ecx
jne 0x436886
push 0x80004005
call fcn.00402c5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
movq xmm0, qword [ebp - 0x38]
sub esp, 0xc
mov eax, dword [ebp - 0x30]
mov ecx, esp
mov byte [ebp - 4], 3
push str.SOFTWAREClasses_s_shellOpencommand
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00435880
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
add esp, 0x14
push 0x20019
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042a080
mov ebx, dword [ebp - 0x44]
test eax, eax
jne 0x4369c8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x619544
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4369c8
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x436913
cmp eax, 2
jne 0x4369c8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
shr eax, 1
push eax
mov dword [ebp - 0x10], eax
call fcn.0042aa20
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x24], 0
push edi
call fcn.004361b0
add esp, 0xc
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x44]
push eax
push edi
push 0x619544
call fcn.0042a130
test eax, eax
jne 0x4369c8
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d2c0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
push 0x619df4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.004180b0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0040269e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040ed50
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4369c0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00436410
movzx ecx, byte [ebp - 0x14]
test al, al
mov edx, 1
cmovne ecx, edx
mov byte [ebp - 0x14], cl
lea ecx, [ebp - 0x10]
call fcn.0040ed50
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4369e4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or esi, 0xffffffff
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0044c630
mov ecx, dword [ebp - 0x18]
push eax
push 0
push 0x1174f
mov byte [ebp - 4], 6
call fcn.0044c250
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0044c670
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x11750
call fcn.0044c230
test ebx, ebx
je 0x436a30
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x436a45
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x38]
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.0040745d
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x436a64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret