Function at 0x42afd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48f69d
mov eax, dword fs:[0]
push eax
mov eax, 0x314c
call fcn.0046c720
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x3148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x3160]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3170]
mov ebp, dword [esp + 0x3174]
xor ebx, ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0x40], ebx
push 3
mov dword [esp + 0x58], ecx
push ebp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], eax
call fcn.004207e0
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0xd8]
push str.CFileDecode::GetAppFileFormFileExts___s_
mov dword [esp + 0x31f0], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0042fa80
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0xe0]
add esp, 0x88
mov dword [esp + 0x3168], 0xffffffff
cmp eax, edx
je 0x42b092
push eax
call fcn.0046ad15
add esp, 4
push 0x7fe
lea ecx, [esp + 0x962]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x968], ax
call fcn.0046a930
push 0x3fe
lea eax, [esp + 0x56e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x574], dx
call fcn.0046a930
mov esi, dword [esp + 0x38]
add esp, 0x18
push 0x400
lea ecx, [esp + 0x560]
push ecx
push 1
push 0x4a70f8
push ebp
push closesocket
mov ecx, esi
call fcn.0042a5a0
test eax, eax
je 0x42b117
lea edx, [esp + 0x95c]
push edx
lea eax, [esp + 0x560]
push eax
mov ecx, esi
call fcn.0042a750
test eax, eax
jne 0x42b6e1
push 0x3fe
lea eax, [esp + 0x162]
xor edx, edx
push ebx
push eax
mov word [esp + 0x168], dx
call fcn.0046a930
push ebp
lea ecx, [esp + 0x16c]
push str._sOpenWithProgids
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, 0x4972dc
mov cx, word [ebp]
cmp cx, word [eax]
jne 0x42b177
cmp cx, bx
je 0x42b173
mov cx, word [ebp + 2]
cmp cx, word [eax + 2]
jne 0x42b177
add ebp, 4
add eax, 4
cmp cx, bx
jne 0x42b150
xor eax, eax
jmp 0x42b17c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42b560
push 0x4972d8
mov dword [esp + 0x28], ebx
call fcn.0042fa80
add esp, 4
call fcn.00450992
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42b1af
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
push str.SOFTWARECAXASHAREDCAXA_EXB_VIEW
lea ecx, [esp + 0x2c]
mov dword [esp + 0x316c], 1
call fcn.0041af70
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x24]
push ecx
push 0x20219
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x317c], 2
call esi
cmp eax, ebx
jne 0x42b35b
push 0x49726c
call fcn.0042fa80
push 0xfff
lea eax, [esp + 0x1165]
push ebx
push eax
mov byte [esp + 0x116c], bl
call fcn.0046a930
add esp, 0x10
push str.Path
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0x1000
mov dword [esp + 0x50], ebx
call fcn.0041af70
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1160]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x54]
push eax
push ebx
push ecx
push edx
mov byte [esp + 0x3180], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x42b314
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
push 0x4a70f8
mov ecx, esi
call fcn.0041af70
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x3168], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b2bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x3168], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b2e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x3168], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b6ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42b6ac
mov ecx, dword [esp + 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
lea edx, [esp + 0x115c]
push edx
lea ecx, [esp + 0x20]
call fcn.0041ae00
push str.Bin32CEXBVIEWER.exe
lea ecx, [esp + 0x20]
call fcn.0041af30
mov edi, dword [esp + 0x1c]
push edi
push str.PATH__s_
call fcn.0042fa80
mov eax, dword [esp + 0x28]
add esp, 8
jmp 0x42b4cd
push str.OPEN_OFTWARECAXASHAREDCAXA_EXB_VIEW______FALSE
call fcn.0042fa80
add esp, 4
push str.SOFTWARECAXACAXA_DRAFT_MECHANICAL11.0
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], ebx
call fcn.0041af70
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push ecx
push 0x20219
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x317c], 4
call esi
cmp eax, ebx
jne 0x42b4bc
push 0xfff
lea eax, [esp + 0x2161]
push ebx
push eax
mov byte [esp + 0x2168], bl
call fcn.0046a930
push 0x497174
mov dword [esp + 0x60], 0x1000
mov dword [esp + 0x58], ebx
call fcn.0042fa80
add esp, 0x10
push str.InstallDir
lea ecx, [esp + 0x38]
call fcn.0041af70
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x2160]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x50]
push eax
push ebx
push ecx
push edx
mov byte [esp + 0x3180], 5
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x42b455
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
push 0x4a70f8
mov ecx, esi
call fcn.0041af70
lea ecx, [esp + 0x34]
call fcn.00420d00
lea ecx, [esp + 0x30]
call fcn.00420d00
lea ecx, [esp + 0x28]
call fcn.00420d00
lea ecx, [esp + 0x1c]
call fcn.00420d00
jmp 0x42b6ac
lea ecx, [esp + 0x215c]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041ae00
push str._bin32CDRAFT_M.exe
lea ecx, [esp + 0x20]
call fcn.0041af30
mov edi, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0xdc]
call fcn.00420cb0
mov eax, dword [eax]
push eax
mov byte [esp + 0x316c], 6
call fcn.0042fa80
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0xe0]
add esp, 4
cmp eax, edx
je 0x42b4b3
push eax
call fcn.0046ad15
add esp, 4
lea ecx, [esp + 0x34]
call fcn.00420d00
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x3168], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
push ecx
call esi
lea esi, [edi - 0x10]
push esi
call fcn.0041a0b0
mov edi, dword [esp + 0x1c]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x3168], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b535
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3168], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b559
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
jmp 0x42b6ae
push str.__tcscmp_pFileExt___T__.EXB_______0
call fcn.0042fa80
add esp, 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x164]
push edx
push closesocket
mov ecx, esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebx
call fcn.0042a610
mov eax, dword [esp + 0x14]
xor ecx, ecx
shl eax, 9
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447e29
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x42b5e3
mov eax, dword [esp + 0x14]
xor ecx, ecx
shl eax, 9
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447e29
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x42b69c
mov eax, dword [esp + 0x14]
shl eax, 0xa
push eax
push ebx
push ebp
call fcn.0046a930
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x168]
push edx
push closesocket
mov dword [esp + 0x4c], ebx
mov edi, ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b693
xor esi, esi
cmp dword [esp + 0x14], ebx
jbe 0x42b657
mov ecx, dword [esp + 0x3c]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x48]
push eax
push edi
push esi
push ecx
mov dword [esp + 0x58], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x42b657
inc esi
add edi, 0x400
cmp esi, dword [esp + 0x14]
jb 0x42b625
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov edi, ebp
cmp dword [esp + 0x14], ebx
jbe 0x42b693
lea esp, [esp]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x95c]
push eax
push edi
call fcn.0042a750
test eax, eax
jne 0x42b6d8
inc esi
add edi, 0x400
cmp esi, dword [esp + 0x14]
jb 0x42b670
push ebp
call fcn.00447e1e
add esp, 4
push 0x4a70f8
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0041af70
mov eax, esi
mov ecx, dword [esp + 0x3160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3148]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x3158
ret 8
push ebp
call fcn.00447e1e
add esp, 4
lea ecx, [esp + 0x95c]
push ecx
jmp 0x42b6a1