Function at 0x40b570
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43931a
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x44aaf0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44aaf0]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x280]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x54]
push eax
push 0x20019
push edi
push str.CLSID5B5BE64D_E525_4f51_9769_077522304947InprocServer32
mov dword [esp + 0x288], edi
push SysReAllocString
mov dword [esp + 0x70], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x40be07
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x70]
push eax
push edi
push 0x43f1c0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call fcn.00412a2b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b626
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x280], 1
call fcn.00405da0
call fcn.0040fd40
add esp, 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x43f1fc
call fcn.00403ce0
mov byte [esp + 0x27c], 2
mov esi, dword [esp + 0x24]
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x34], esp
mov edi, esp
push eax
call fcn.00401f40
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x280], 1
call fcn.0040ff80
push 0x5c
push esi
call fcn.00423a8c
add esp, 0x10
test eax, eax
jne 0x40b6aa
or eax, 0xffffffff
jmp 0x40b6ac
sub eax, esi
lea ecx, [eax + 1]
lea eax, [esp + 0x20]
push eax
mov eax, 9
call fcn.0040e9b0
mov esi, dword [esp + 0x284]
push 0x5c
push esi
call fcn.00423a8c
add esp, 8
test eax, eax
jne 0x40b6d9
or eax, 0xffffffff
jmp 0x40b6db
sub eax, esi
lea edx, [esp + 0x284]
lea ecx, [eax + 1]
push edx
mov eax, 9
call fcn.0040e9b0
test ebp, ebp
mov edi, 0xf
je 0x40b9c4
push 0x441f18
lea ecx, [esp + 0x28]
call fcn.00403ce0
push str.AXFO.dll
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 3
push ecx
mov dword [esp + 0x24], 1
call fcn.004039e0
add esp, 0xc
mov esi, eax
push str.AXFO.dll
lea edx, [esp + 0x288]
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x280], 4
push eax
mov dword [esp + 0x24], 3
call fcn.004039e0
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x27c], 5
mov ebx, 7
mov ecx, esi
mov edx, eax
mov dword [esp + 0x1c], ebx
call fcn.0040f6d0
test eax, eax
je 0x40b9c4
push 0x441f18
lea ecx, [esp + 0x40]
call fcn.00403ce0
push str.AXFOPDF.dll
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
mov dword [esp + 0x280], 6
push eax
mov dword [esp + 0x24], edi
call fcn.004039e0
add esp, 0xc
mov esi, eax
push str.AXFOPDF.dll
lea ecx, [esp + 0x288]
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x280], ebx
push edx
mov dword [esp + 0x24], 0x1f
call fcn.004039e0
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x27c], 8
mov ebx, 0x3f
mov ecx, esi
mov edx, eax
mov dword [esp + 0x1c], ebx
call fcn.0040f6d0
test eax, eax
je 0x40b9c4
push 0x441f18
lea ecx, [esp + 0x38]
call fcn.00403ce0
push str.PdfCreator.dll
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x60]
mov dword [esp + 0x280], 9
push eax
mov dword [esp + 0x24], 0x7f
call fcn.004039e0
add esp, 0xc
mov esi, eax
push str.PdfCreator.dll
lea ecx, [esp + 0x288]
push ecx
lea edx, [esp + 0x68]
mov dword [esp + 0x280], 0xa
push edx
mov dword [esp + 0x24], 0xff
call fcn.004039e0
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x27c], 0xb
mov ebx, 0x1ff
mov ecx, esi
mov edx, eax
mov dword [esp + 0x1c], ebx
call fcn.0040f6d0
test eax, eax
je 0x40b9c4
push 0x441f18
lea ecx, [esp + 0x34]
call fcn.00403ce0
push str.DMC_COMM.DLL
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x58]
mov dword [esp + 0x280], 0xc
push eax
mov dword [esp + 0x24], 0x3ff
call fcn.004039e0
add esp, 0xc
mov esi, eax
push str.DMC_COMM.DLL
lea ecx, [esp + 0x288]
push ecx
lea edx, [esp + 0x6c]
mov dword [esp + 0x280], 0xd
push edx
mov dword [esp + 0x24], 0x7ff
call fcn.004039e0
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x27c], 0xe
mov ebx, 0xfff
mov ecx, esi
mov edx, eax
mov dword [esp + 0x1c], ebx
call fcn.0040f6d0
test eax, eax
je 0x40b9c4
push 0x441f18
lea ecx, [esp + 0x3c]
call fcn.00403ce0
push str.DMC_CONF.DLL
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
mov dword [esp + 0x280], edi
push eax
mov dword [esp + 0x24], 0x1fff
call fcn.004039e0
add esp, 0xc
mov esi, eax
push str.DMC_CONF.DLL
lea ecx, [esp + 0x288]
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x280], 0x10
push edx
mov dword [esp + 0x24], 0x3fff
call fcn.004039e0
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x27c], 0x11
mov ebx, 0x7fff
mov ecx, esi
mov edx, eax
mov dword [esp + 0x1c], ebx
call fcn.0040f6d0
test eax, eax
mov byte [esp + 0x1f], 1
jne 0x40b9c9
mov byte [esp + 0x1f], 0
test ebx, 0x4000
mov dword [esp + 0x278], 0x10
je 0x40ba06
mov eax, dword [esp + 0x40]
and ebx, 0xffffbfff
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ba06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x2000
mov dword [esp + 0x278], edi
je 0x40ba3f
mov eax, dword [esp + 0x48]
and ebx, 0xffffdfff
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x1000
mov dword [esp + 0x278], 0xe
je 0x40ba7c
mov eax, dword [esp + 0x38]
and ebx, 0xffffefff
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x800
mov dword [esp + 0x278], 0xd
je 0x40bab9
mov eax, dword [esp + 0x64]
and ebx, 0xfffff7ff
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bab9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x400
mov dword [esp + 0x278], 0xc
je 0x40baf6
mov eax, dword [esp + 0x50]
and ebx, 0xfffffbff
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40baf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x200
mov dword [esp + 0x278], 0xb
je 0x40bb33
mov eax, dword [esp + 0x30]
and ebx, 0xfffffdff
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x100
mov dword [esp + 0x278], 0xa
je 0x40bb70
mov eax, dword [esp + 0x60]
and ebx, 0xfffffeff
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
mov dword [esp + 0x278], 9
jns 0x40bba9
mov eax, dword [esp + 0x58]
and ebx, 0xffffff7f
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bba9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x40
mov dword [esp + 0x278], 8
je 0x40bbe0
mov eax, dword [esp + 0x34]
and ebx, 0xffffffbf
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bbe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x20
mov dword [esp + 0x278], 7
je 0x40bc17
mov eax, dword [esp + 0x44]
and ebx, 0xffffffdf
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x10
mov dword [esp + 0x278], 6
je 0x40bc4e
mov eax, dword [esp + 0x4c]
and ebx, 0xffffffef
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 8
mov dword [esp + 0x278], 5
je 0x40bc85
mov eax, dword [esp + 0x3c]
and ebx, 0xfffffff7
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 4
mov dword [esp + 0x278], 4
je 0x40bcbc
mov eax, dword [esp + 0x2c]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bcbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 2
mov dword [esp + 0x278], 3
je 0x40bcf3
mov eax, dword [esp + 0x28]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bcf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov edi, 1
mov dword [esp + 0x278], edi
je 0x40bd24
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1f], 0
jne 0x40bddf
call fcn.00412a2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40bd49
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
push 0x442058
mov bl, 0x12
push ecx
mov byte [esp + 0x280], bl
call fcn.00405da0
call fcn.0040fd40
add esp, 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x43f1fc
call fcn.00403ce0
mov byte [esp + 0x27c], 0x13
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push esi
call fcn.00401f40
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x280], bl
call fcn.0040ff80
add esp, 8
xor edi, edi
mov byte [esp + 0x278], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40bddf
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x278], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x278], 0xffffffff
mov eax, dword [esp + 0x284]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004225d3
add esp, 0x268
ret 8