Function at 0x1000dab4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x105c
call fcn.10026030
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1005f888]
mov ecx, dword [0x1005ebfc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000db37
mov esi, dword [ebp + 8]
cmp byte [0x1005f887], 0
js 0x1000db0d
mov eax, dword [0x1005f884]
mov dword [esi + 8], eax
movsd xmm0, qword [0x1005f87c]
movsd qword [esi], xmm0
jmp 0x1000db20
mov ecx, esi
push dword [0x1005f880]
push dword [0x1005f87c]
call fcn.100238e4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025901
mov eax, esi
add esp, 0x105c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1005f888
call fcn.100249b6
add esp, 4
cmp dword [0x1005f888], 0xffffffff
jne 0x1000daeb
mov esi, 0xffffffa0
mov eax, dword [esi + 0x10055d98]
mov ecx, dword [esi + str.SoftwarePoliciesMicrosoftInternet_ExplorerMainEnterpriseMode]
xor edi, edi
mov dword [ebp - 0x1058], edi
lea edx, [ebp - 0x1058]
push edx
push 0x20119
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000dc21
mov ebx, dword [ebp - 0x1058]
mov edi, 0x1048
push edi
xor eax, eax
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.10028220
add esp, 0xc
mov eax, dword [esi + 0x10055d9c]
mov dword [ebp - 0x105c], 0xffffffff
mov dword [ebp - 0x1060], edi
lea ecx, [ebp - 0x1060]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
lea ecx, [ebp - 0x105c]
push ecx
xor ecx, ecx
push ecx
push eax
mov dword [ebp - 0x1064], ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000dc0c
mov eax, dword [ebp - 0x105c]
dec eax
cmp eax, 1
ja 0x1000dc0c
mov eax, dword [ebp - 0x1060]
test eax, eax
je 0x1000dc5a
test al, 1
jne 0x1000dc0c
and eax, 0xfffffffe
lea ecx, [ebp - 0x1058]
cmp word [eax + ecx - 2], 0
je 0x1000dc63
cmp dword [ebp - 0x1064], 0
je 0x1000dc21
push dword [ebp - 0x1064]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xc
jne 0x1000db52
xor eax, eax
mov dword [0x1005f880], eax
mov dword [0x1005f87c], eax
mov dword [0x1005f884], eax
push 0x1000dda0
call fcn.10024a08
add esp, 4
push 0x1005f888
call fcn.1002496c
add esp, 4
jmp 0x1000daeb
mov word [ebp - 0x1058], 0
xor esi, esi
mov dword [ebp - 0x105c], esi
lea eax, [ebp - 0x105c]
push eax
push esi
push 0x104
lea eax, [ebp - 0x1058]
push eax
call sub.urlmon.dll_CreateUri
test eax, eax
jne 0x1000dcb6
mov dword [ebp - 0x1060], 0
mov eax, dword [ebp - 0x105c]
mov ecx, dword [eax]
lea edx, [ebp - 0x1060]
push edx
push eax
call dword [ecx + 0x1c]
mov edi, dword [ebp - 0x1060]
test eax, eax
je 0x1000dd00
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [0x1005f880], esi
mov dword [0x1005f87c], esi
mov dword [0x1005f884], esi
mov eax, dword [ebp - 0x105c]
test eax, eax
je 0x1000dce2
mov dword [ebp - 0x105c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1064], 0
je 0x1000dc3b
push dword [ebp - 0x1064]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000dc3b
push edi
call fcn.10036d35
add esp, 4
cmp eax, 0x7ffffff0
jae 0x1000dd8d
mov ebx, eax
cmp eax, 5
jae 0x1000dd2d
mov byte [0x1005f887], bl
mov dword [ebp - 0x1068], 0x1005f87c
test ebx, ebx
jne 0x1000dd5c
jmp 0x1000dd70
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.10024f26
add esp, 4
mov dword [ebp - 0x1068], eax
mov dword [0x1005f87c], eax
or esi, 0x80000000
mov dword [0x1005f884], esi
mov dword [0x1005f880], ebx
mov eax, ebx
add eax, ebx
push eax
push edi
push dword [ebp - 0x1068]
call fcn.10027ca0
add esp, 0xc
mov eax, dword [ebp - 0x1068]
mov word [eax + ebx*2], 0
push dword [ebp - 0x1060]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1000dcc8
mov ecx, 0x1005f87c
call fcn.10023254
int3