Function at 0x10003dc7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100314fa
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x36c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x324], edi
call fcn.1001944a
push eax
push ecx
push dword [0x10037b30]
lea ecx, [ebp - 0x344]
call fcn.1001944a
mov eax, dword [ebp + 0x10]
xor edx, edx
inc edx
mov dword [ebp - 0x32c], 0x208
mov ecx, eax
and ecx, edx
mov edx, eax
mov dword [ebp - 0x314], ecx
push 2
pop ecx
and edx, ecx
mov dword [ebp - 0x330], ecx
mov ecx, eax
mov dword [ebp - 0x2f0], edx
and ecx, 4
xor edx, edx
mov dword [ebp - 0x2f8], ecx
mov ebx, edx
mov ecx, eax
mov dword [ebp - 0x2f4], edx
and ecx, 8
mov dword [ebp - 0x304], edx
mov dword [ebp - 0x320], ecx
mov ecx, eax
and ecx, 0x10
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x318], ecx
mov ecx, eax
and ecx, 0x20
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 0x308], ecx
mov edx, eax
mov ecx, eax
mov dword [ebp - 0x310], ebx
and ecx, 0x40
mov dword [ebp - 0x348], ecx
mov ecx, eax
and ecx, 0x200
mov dword [ebp - 0x34c], ecx
mov ecx, eax
shr ecx, 0xb
not cl
and ecx, 0xffffff01
test eax, 0x100
mov dword [ebp - 0x31c], ecx
mov eax, str.Show
mov ecx, str.open
cmove eax, ecx
cmp dword [ebp - 0x314], ebx
mov ecx, 0x100377b0
cmove ecx, eax
and dl, 0x80
mov eax, str.ViewProtected
cmove eax, ecx
cmp dword [ebp - 0x308], ebx
mov ecx, str.OpenAsReadOnly
cmove ecx, eax
cmp dword [ebp - 0x2f0], ebx
mov eax, 0x1003787c
cmove eax, ecx
cmp dword [ebp - 0x318], ebx
mov ecx, str.edit
cmove ecx, eax
mov dword [ebp - 0x30c], ecx
mov ecx, esi
call fcn.1001944a
test eax, eax
je 0x10003f74
xor eax, eax
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov word [ebp - 0x350], ax
mov edx, 0x851
lea eax, [ebp - 0x35c]
mov dword [ebp - 0x358], str.Param
push eax
push dword [esi + 8]
mov dword [ebp - 0x354], str.Original_File_Name
push ecx
push 0xc8
mov ecx, 0x170a8c9
call fcn.1001944a
cmp dword [ebp - 0x2f8], ebx
je 0x10003f92
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10003f88
call fcn.100033fc
mov ecx, edi
call fcn.1000d659
mov dword [esi + 0xc], eax
cmp edi, 0xffffffff
je 0x10003fa6
mov dword [ebp - 0x2f8], edi
cmp edi, 9
jne 0x1000409a
mov eax, edi
mov dword [ebp - 0x2f8], eax
cmp dword [esi + 0xc], ebx
je 0x10003fe6
xor eax, eax
cmp dword [ebp - 0x348], eax
setne al
push eax
push dword [esi + 0xc]
call fcn.1001944a
mov edx, eax
mov eax, edi
mov dword [ebp - 0x2f8], eax
cmp edx, 0xffffffff
je 0x10003fe6
mov edi, edx
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x324], edi
mov eax, edx
cmp eax, 9
jne 0x1000409a
mov ecx, esi
call fcn.1001944a
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [ebp - 0x2fc], ebx
je 0x1000400c
push dword [ebp - 0x2fc]
call esi
cmp dword [ebp - 0x300], ebx
je 0x1000401c
push dword [ebp - 0x300]
call esi
cmp dword [ebp - 0x304], ebx
je 0x1000402c
push dword [ebp - 0x304]
call esi
cmp dword [ebp - 0x2f4], ebx
je 0x1000403c
push dword [ebp - 0x2f4]
call esi
cmp byte [ebp - 0x344], bl
je 0x10004093
mov ecx, dword [ebp - 0x334]
call fcn.1001944a
mov esi, eax
test esi, esi
je 0x10004093
cmp byte [ebp - 0x33c], bl
je 0x10004079
mov ecx, dword [ebp - 0x334]
call fcn.1001944a
test eax, eax
je 0x10004079
mov ecx, dword [ebp - 0x338]
mov edx, eax
call fcn.1001944a
push dword [ebp - 0x334]
xor cl, cl
call fcn.1001944a
mov ecx, dword [ebp - 0x340]
mov edx, esi
call fcn.1001944a
xor eax, eax
jmp 0x100042c5
cmp dword [ebp - 0x320], ebx
je 0x100042e1
mov ecx, esi
call fcn.100072e2
push eax
mov dword [ebp - 0x320], eax
call fcn.1001944a
test eax, eax
jne 0x100042e1
mov edi, dword [ebp - 0x320]
mov ecx, edi
call fcn.1001944a
test eax, eax
je 0x100041e4
mov esi, dword [esi + 0xc]
test esi, esi
je 0x100041e4
push 0x64
lea edx, [ebp - 0xdc]
mov ecx, esi
call fcn.1001944a
test eax, eax
je 0x10004203
cmp word [ebp - 0xdc], bx
lea eax, [ebp - 0x2f4]
push eax
mov ebx, 0x20019
lea edx, [ebp - 0xdc]
push ebx
push ecx
cmove edx, esi
mov ecx, 0x80000000
call fcn.1001944a
test eax, eax
jne 0x10004203
lea eax, [ebp - 0x304]
mov edx, str.shell
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x2f4]
call fcn.1001944a
test eax, eax
jne 0x10004203
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0x300]
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x304]
call fcn.1001944a
test eax, eax
jne 0x10004203
lea eax, [ebp - 0x2fc]
mov edx, str.command
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x300]
call fcn.1001944a
test eax, eax
jne 0x10004203
movzx eax, byte [ebp - 0x2ec]
xor ecx, ecx
cmp dword [ebp - 0x328], 1
cmove eax, ecx
xor ebx, ebx
mov byte [ebp - 0x2ec], al
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x328]
push eax
push ebx
push ebx
push dword [ebp - 0x2fc]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x10004203
push ecx
push ebx
push ebx
mov ecx, edi
call fcn.1000d787
push eax
mov edx, edi
lea ecx, [ebp - 0x2ec]
call fcn.10005673
jmp 0x10004203
call fcn.1001944a
xor eax, eax
xor ecx, ecx
cmp dword [ebp - 0x318], eax
mov edx, str.edit
push eax
push eax
push edi
cmove edx, ecx
call fcn.1001944a
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [ebp - 0x2fc], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
je 0x1000421f
push dword [ebp - 0x2fc]
call esi
cmp dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], edi
je 0x10004236
push dword [ebp - 0x300]
call esi
cmp dword [ebp - 0x304], 0
mov dword [ebp - 0x300], edi
je 0x1000424d
push dword [ebp - 0x304]
call esi
cmp dword [ebp - 0x2f4], 0
mov dword [ebp - 0x304], edi
je 0x10004264
push dword [ebp - 0x2f4]
call esi
cmp byte [ebp - 0x344], 0
mov dword [ebp - 0x2f4], edi
je 0x100042c3
mov ecx, dword [ebp - 0x334]
call fcn.1001944a
mov esi, eax
test esi, esi
je 0x100042c3
cmp byte [ebp - 0x33c], 0
je 0x100042a9
mov ecx, dword [ebp - 0x334]
call fcn.1001944a
test eax, eax
je 0x100042a9
mov ecx, dword [ebp - 0x338]
mov edx, eax
call fcn.1001944a
push dword [ebp - 0x334]
xor cl, cl
call fcn.1001944a
mov ecx, dword [ebp - 0x340]
mov edx, esi
call fcn.1001944a
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f764
leave
ret 0xc
mov eax, dword [ebp - 0x2f8]
cmp eax, 1
jne 0x10004340
cmp dword [esi + 0xc], ebx
je 0x100042fe
mov ecx, dword [esi + 0xc]
call fcn.1001944a
cmp eax, 1
je 0x1000433a
push dword [esi + 8]
call fcn.1001944a
test eax, eax
jne 0x10004315
push dword [esi]
call fcn.1001944a
test eax, eax
je 0x1000433a
cmp dword [esi + 0xc], ebx
je 0x10004322
mov ecx, dword [esi + 0xc]
call fcn.100033fc
xor edx, edx
mov ecx, str.Excel.WebQuery
call fcn.1000da04
mov dword [ebp - 0x30c], str.edit
jmp 0x10004369
mov eax, dword [ebp - 0x2f8]
cmp dword [esi + 0xc], ebx
je 0x10004362
cmp eax, 0xffffffff
je 0x10004372
mov ecx, dword [esi + 0xc]
call fcn.1001944a
cmp dword [ebp - 0x2f8], eax
je 0x1000436c
mov ecx, dword [esi + 0xc]
call fcn.100033fc
mov ecx, edi
call fcn.1000d659
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x318], ecx
cmp eax, 0xffffffff
je 0x100046b0
test ecx, ecx
je 0x100046b0
xor edx, edx
cmp word [ecx], dx
je 0x100046b0
cmp eax, 4
jne 0x100043a8
cmp dword [ebp - 0x314], edx
jne 0x100046b0
xor eax, eax
mov dword [ebp - 0x354], ecx
mov word [ebp - 0x350], ax
mov edx, 0x851
lea eax, [ebp - 0x35c]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
push eax
push str.FHevActivateApp:
push ecx
push 0x64
mov ecx, 0x170a8cb
mov dword [ebp - 0x358], str.Param
call fcn.1001944a
mov ecx, dword [ebp - 0x318]
lea edx, [ebp - 0xdc]
push 0x64
call fcn.1001944a
test eax, eax
je 0x100046b0
cmp word [ebp - 0xdc], bx
lea eax, [ebp - 0x2f4]
push eax
mov ebx, 0x20019
lea edx, [ebp - 0xdc]
cmove edx, dword [ebp - 0x318]
push ebx
push ecx
mov ecx, 0x80000000
call fcn.1001944a
test eax, eax
jne 0x100046aa
lea eax, [ebp - 0x304]
mov edx, str.shell
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x2f4]
call fcn.1001944a
test eax, eax
jne 0x100046aa
cmp dword [ebp - 0x314], eax
jne 0x10004539
cmp dword [ebp - 0x2f0], eax
je 0x10004490
lea eax, [ebp - 0x324]
push eax
push 1
push 3
pop eax
push eax
push dword [ebp - 0x2f4]
push esi
call fcn.1001944a
mov edi, dword [ebp - 0x324]
test eax, eax
je 0x100044da
mov edx, edi
mov ecx, esi
call fcn.1000c3a8
test eax, eax
je 0x100044da
push 2
pop ebx
cmp edi, ebx
jne 0x100044cc
mov edx, ebx
mov ecx, esi
call fcn.1000c3a8
test eax, eax
je 0x100044cc
xor eax, eax
push eax
push esi
push ebx
mov edx, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x2f4]
call fcn.100048c5
jmp 0x1000469e
mov eax, dword [ebp - 0x31c]
movzx eax, al
push eax
push esi
push edi
jmp 0x100044b6
mov eax, dword [ebp - 0x31c]
mov edx, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x2f4]
movzx eax, al
push eax
push esi
push edi
mov dword [ebp - 0x320], eax
call fcn.100048c5
mov ebx, eax
test ebx, ebx
jne 0x10004206
mov ecx, dword [ebp - 0x2f0]
test ecx, ecx
jne 0x100046b6
cmp dword [ebp - 0x308], ecx
jne 0x10004206
cmp edi, 4
je 0x100046c3
push dword [ebp - 0x320]
mov edx, 0x100364c0
push esi
push edi
jmp 0x100044bc
mov ecx, esi
call fcn.100072e2
cmp dword [ebp - 0x2f0], 0
mov dword [ebp - 0x31c], eax
je 0x10004668
test eax, eax
je 0x10004572
xor ecx, ecx
cmp word [eax], cx
je 0x10004572
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10004668
cmp word [eax], cx
je 0x10004668
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0x300]
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x304]
call fcn.1001944a
test eax, eax
jne 0x100046aa
lea eax, [ebp - 0x2fc]
mov edx, str.command
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x300]
call fcn.1001944a
test eax, eax
jne 0x100046aa
movzx eax, byte [ebp - 0x2ec]
xor ecx, ecx
cmp dword [ebp - 0x328], 1
cmove eax, ecx
mov byte [ebp - 0x2ec], al
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x328]
push eax
xor eax, eax
push eax
push eax
push dword [ebp - 0x2fc]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x100046aa
lea eax, [ebp - 0x2ec]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov dword [ebp - 0x354], eax
mov edx, 0x851
xor eax, eax
mov dword [ebp - 0x358], str.Param
mov word [ebp - 0x350], ax
lea eax, [ebp - 0x35c]
push eax
push str.FHevActivateApp:_Before_FSimpleSpawn_with
push ecx
push 0x64
mov ecx, 0x170a8cc
call fcn.1001944a
mov ecx, dword [ebp - 0x31c]
call fcn.1000d787
mov edx, dword [ebp - 0x31c]
push ecx
push dword [esi + 0x14]
lea ecx, [ebp - 0x2ec]
push dword [esi + 0x10]
push eax
call fcn.10005673
jmp 0x1000469e
push 2
pop eax
cmp edi, eax
jne 0x10004680
mov edx, eax
mov ecx, esi
call fcn.1000c3a8
test eax, eax
jne 0x10004203
mov edi, dword [ebp - 0x31c]
mov edx, str.print
push ecx
push dword [ebp - 0x314]
mov ecx, dword [ebp - 0x2f4]
push edi
call fcn.1001944a
mov ebx, eax
test ebx, ebx
jne 0x10004206
jmp 0x100046b0
mov ebx, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x2f0]
cmp dword [ebp - 0x308], 0
jne 0x10004206
cmp dword [ebp - 0x34c], 0
jne 0x10004206
cmp dword [ebp - 0x314], 0
je 0x100046e2
mov byte [ebp - 0x308], 2
jmp 0x100046fc
xor eax, eax
inc eax
test ecx, ecx
push 3
movzx eax, al
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x330], eax
mov byte [ebp - 0x308], al
xor edi, edi
mov edx, esi
push edi
push edi
push edi
push dword [ebp - 0x308]
mov ecx, str.Default_Editor
call fcn.10005cf0
test eax, eax
jne 0x10004208
push edi
push edi
push edi
push dword [ebp - 0x308]
mov edx, esi
mov ecx, str.Old_Default_Editor
call fcn.10005cf0
test eax, eax
jne 0x10004208
cmp byte [ebp - 0x330], 2
je 0x10004208
mov ecx, esi
call fcn.1001944a
jmp 0x10004208