Function at 0x4852b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52aa25
push eax
mov dword fs:[0], esp
sub esp, 0x6ec
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70c]
xor ebx, ebx
cmp edi, ebx
jne 0x4852e6
mov eax, 0x80004005
jmp 0x48573f
push 0xffffffffffffffff
push str.EITCC
call fcn.00484ff0
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x704], ebx
mov dword [esp + 0x20], ebx
push 0x559470
call dword [0x56dbe0]
mov esi, eax
push esi
call dword [0x56dbdc]
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00485050
mov ebp, dword [0x56dbd8]
push esi
call ebp
mov dword [esp + 0x4c], ebx
push 0xc
mov byte [esp + 0x708], 2
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x704], 3
je 0x485362
push edi
mov ecx, eax
call fcn.004851e0
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x485368
mov dword [esp + 0x18], ebx
mov esi, ebx
cmp esi, ebx
mov byte [esp + 0x704], 2
mov dword [esp + 0x50], esi
jne 0x485382
push 0x8007000e
call fcn.004ffd24
cmp esi, ebx
mov byte [esp + 0x704], 4
je 0x485399
mov ecx, esi
call fcn.004857a0
mov edi, eax
jmp 0x48539b
xor edi, edi
push ebx
call ebp
push 0xffffffffffffffff
push edi
call fcn.00484ff0
add esp, 8
mov edi, eax
mov dword [esp + 0x20], edi
push edi
call dword [0x56dbdc]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00485050
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [0x56e100]
test eax, eax
jge 0x4853f7
cmp esi, ebx
je 0x4853e0
mov ecx, esi
call fcn.00485220
push ebx
call ebp
push edi
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, 0x80004005
jmp 0x48573f
lea eax, [esp + 0x2fc]
push 0x100
lea ecx, [esp + 0x58]
push eax
push ecx
mov dword [esp + 0x34], 0x104
call dword [0x56e0f4]
push ebx
push ebx
lea edx, [esp + 0x204]
push 0x100
push edx
lea eax, [esp + 0x30c]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [0x56ccec]
lea ecx, [esp + 0x1fc]
lea edx, [esp + 0x4fc]
push ecx
push str.CLSID_sCanTransform
push edx
call dword [0x56df30]
add esp, 0xc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4fc]
push eax
push 1
push ebx
push ecx
push 0x80000000
call dword [0x56ca50]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x28]
lea eax, [esp + 0xf4]
push edx
push eax
push ebx
push ebx
push ebx
push ecx
call dword [0x56ca54]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
push edx
call dword [0x56ca2c]
cmp dword [esp + 0x28], 1
jbe 0x485563
cmp dword [esp + 0x1c], ebx
jne 0x485563
movsx eax, word [esp + 0x710]
push eax
lea ecx, [esp + 0x78]
push str._dBPP_
push ecx
call dword [0x56df30]
mov eax, dword [esp + 0x720]
add esp, 0xc
cmp eax, ebx
je 0x4854e3
lea edx, [esp + 0x74]
push str.CMAP
push edx
jmp 0x485502
cmp dword [esp + 0x718], ebx
je 0x4854f8
lea eax, [esp + 0x74]
push str.CMAP
push eax
jmp 0x485502
lea ecx, [esp + 0x74]
push 0x559498
push ecx
call dword [0x56cdc8]
lea edx, [esp + 0x74]
lea eax, [esp + 0xf4]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x485541
cmp esi, ebx
je 0x48552d
mov ecx, esi
call fcn.00485220
push ebx
call ebp
push edi
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call ebp
xor eax, eax
jmp 0x48573f
cmp esi, ebx
je 0x48554c
mov ecx, esi
call fcn.00485220
push ebx
call ebp
push edi
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, 0x80004005
jmp 0x48573f
lea eax, [esp + 0x14]
lea ecx, [esp + 0x54]
push eax
push 0x53c724
push 7
push ebx
push ecx
mov dword [esp + 0x28], ebx
call dword [0x56e0f8]
mov edi, eax
cmp edi, ebx
jl 0x4856e2
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push 0x800
lea ecx, [esp + 0x40]
push 1
mov dword [esp + 0x44], str.CanTransform
mov edx, dword [eax]
push ecx
push 0x53c624
push eax
call dword [edx + 0x14]
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp edx, 0xffffffff
setne al
cmp eax, ebx
mov eax, dword [esp + 0x14]
jne 0x48560a
cmp eax, ebx
je 0x4855cf
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp esi, ebx
mov byte [esp + 0x704], 2
je 0x4855f2
lea eax, [esi + 8]
push eax
call dword [0x56ccf0]
test eax, eax
jne 0x4855f2
push 1
mov ecx, esi
call fcn.00485760
push ebx
call ebp
mov ecx, dword [esp + 0x20]
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
xor eax, eax
jmp 0x48573f
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x485618
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 0x30
mov byte [esp + 0x708], 5
call sub.MFC42.DLL_operatornew
mov edi, dword [0x56dbe4]
add esp, 4
mov esi, eax
push esi
call edi
lea edx, [esp + 0x64]
push edx
call edi
mov dx, word [esp + 0x714]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], ebx
mov cx, word [esp + 0x718]
mov word [esi + 0x18], dx
lea edx, [esp + 0x34]
push edx
mov eax, 0xb
lea edx, [esp + 0x68]
push ebx
mov word [esi + 0x20], ax
mov word [esi + 0x10], ax
mov ax, word [esp + 0x718]
push edx
lea edx, [esp + 0x48]
mov word [esi + 0x28], cx
mov word [esi + 8], ax
mov word [esi], 2
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push 1
push 0x400
mov dword [esp + 0x4c], ebx
mov ecx, dword [eax]
push 0x53c624
push edx
push eax
call dword [ecx + 0x18]
push esi
mov edi, eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x704], 4
je 0x4856de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4856f0
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp esi, ebx
mov byte [esp + 0x704], 2
je 0x48572c
lea eax, [esi + 8]
push eax
call dword [0x56ccf0]
test eax, eax
jne 0x48572c
mov eax, dword [esi]
cmp eax, ebx
je 0x485713
push eax
call ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x485723
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebx
call ebp
mov ecx, dword [esp + 0x20]
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, edi
mov ecx, dword [esp + 0x6fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6f8
ret 0x10