Function at 0x100525c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007ab80
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10094610]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x10094610]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x20], vtable.CRegistryEdit.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x70], edi
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
mov word [esp + 0x44], ax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionGroup_Policy
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x84], 1
mov esi, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], esi
call fcn.10059270
lea ebx, [edi + 8]
test al, al
je 0x10052756
mov dword [esp + 0x14], esi
jmp 0x10052672
xor edi, edi
xor edx, edx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], dx
push edi
push 9
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 2
call fcn.1004de4c
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebx
jae 0x100526a4
lea eax, [esp + 0x28]
mov ecx, dword [str.S_1_5_21_]
mov dword [eax], ecx
mov edx, dword [0x1008a764]
mov dword [eax + 4], edx
mov ecx, dword [0x1008a768]
mov dword [eax + 8], ecx
mov edx, dword [0x1008a76c]
mov dword [eax + 0xc], edx
mov cx, word [0x1008a770]
mov word [eax + 0x10], cx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], 9
cmp dword [esp + 0x3c], ebx
jae 0x100526e8
lea eax, [esp + 0x28]
xor edx, edx
mov word [eax + 0x12], dx
mov byte [esp + 0x70], 3
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov eax, edi
cmp esi, ebx
jae 0x10052705
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
push 0
push eax
lea ecx, [esp + 0x50]
call fcn.1004ff60
test eax, eax
je 0x10052789
mov byte [esp + 0x70], 1
cmp esi, ebx
jb 0x1005272c
push edi
call fcn.100660ce
add esp, 4
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionGroup_Policy
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x34]
call fcn.10059270
test al, al
jne 0x10052670
cmp dword [esp + 0x58], ebx
jb 0x10052769
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100660ce
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.100660ff
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x54]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006555b
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x100527b7
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x58]
inc eax
push eax
push esi
call fcn.10066f05
add esp, 0xc
cmp dword [esp + 0x3c], ebx
jb 0x100527da
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100660ce
add esp, 4
xor edx, edx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
cmp dword [esp + 0x58], ebx
jb 0x10052804
mov eax, dword [esp + 0x44]
push eax
call fcn.100660ce
add esp, 4
mov eax, esi
jmp 0x1005276b