Function at 0x10041d30
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10078065
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x1009e034]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
push edi
mov eax, dword [0x1009e034]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionexplorerBrowser_Helper_Objects
xor ebx, ebx
push 0x80000002
lea ecx, [esp + 0x98]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x98], ebx
call fcn.1005c350
lea eax, [esp + 0x8c]
mov dword [esp + 0x328], ebx
push eax
lea ecx, [esp + 0x108]
mov dword [esp + 0x108], ebx
call fcn.1005cd10
mov byte [esp + 0x328], 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x18], 1
test ecx, ecx
je 0x10042050
test eax, eax
js 0x10042049
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x58], 0
call fcn.1005c530
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
test edx, edx
je 0x10041ead
cmp byte [esp + 0x6c], 0
mov eax, 0x100
mov ecx, 0x200
cmovne ecx, eax
or ecx, 0x20019
test eax, ecx
movzx eax, byte [esp + 0x3c]
cmovne eax, dword [esp + 0x18]
mov byte [esp + 0x3c], al
lea eax, [esp + 0x54]
test cl, 0x26
je 0x10041e8f
cmp dword [esp + 0x68], 8
lea esi, [esp + 0x88]
cmovae eax, dword [esp + 0x54]
push esi
lea esi, [esp + 0x38]
push esi
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10041ead
cmp dword [esp + 0x68], 8
lea ebx, [esp + 0x34]
cmovae eax, dword [esp + 0x54]
push ebx
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [esp + 0x10]
mov byte [esp + 0x328], 3
cmp dword [esp + 0x34], 0
je 0x10041f2a
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp word [esp + 0x10c], ax
jne 0x10041ee1
xor ecx, ecx
jmp 0x10041eff
lea ecx, [esp + 0x10c]
lea edx, [ecx + 2]
jmp 0x10041ef0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10041ef0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x24]
call fcn.10003de0
lea eax, [esp + 0x1c]
or ebx, 1
push eax
mov dword [esp + 0x14], ebx
call fcn.10042b20
test al, al
jne 0x10041f2a
mov bl, 1
jmp 0x10041f2c
xor bl, bl
mov eax, dword [esp + 0x10]
test al, 1
je 0x10041f4b
and eax, 0xfffffffe
cmp dword [esp + 0x30], 8
mov dword [esp + 0x10], eax
jb 0x10041f4b
push dword [esp + 0x1c]
call edi
add esp, 4
test bl, bl
je 0x10041f60
push 0
lea eax, [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1004bcb0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10041f77
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10041f8a
push eax
call esi
mov dword [esp + 0x34], 0
mov byte [esp + 0x328], 1
cmp dword [esp + 0x84], 8
jb 0x10041fa5
push dword [esp + 0x70]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x68], 8
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
jb 0x10041fd2
push dword [esp + 0x54]
call edi
add esp, 4
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x104]
dec eax
mov dword [esp + 0x108], eax
test ecx, ecx
je 0x10042036
test eax, eax
js 0x10042036
lea edx, [esp + 0xc4]
push edx
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x120]
push edx
push eax
push ecx
mov dword [esp + 0x6c], 0x103
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [esp + 0x104]
test eax, eax
mov eax, dword [esp + 0x108]
jne 0x10042036
mov ebx, dword [esp + 0x10]
jmp 0x10041de5
mov ebx, dword [esp + 0x10]
xor edx, edx
mov word [esp + 0x10c], dx
jmp 0x10041de5
test ecx, ecx
je 0x10042050
push ecx
call esi
mov dword [esp + 0x328], 0xffffffff
cmp dword [esp + 0xc0], 8
jb 0x10042071
push dword [esp + 0xac]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], 8
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
jb 0x100420a7
push dword [esp + 0x90]
call edi
add esp, 4
push 1
push str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push 0x80000002
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], 0
call fcn.1005c350
mov dword [esp + 0x328], 4
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.1005cdf0
mov byte [esp + 0x328], 5
mov edi, edi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100421f1
cmp dword [esp + 0x54], 0
jl 0x100421e2
cmp dword [esp + 0x6c], 8
lea edx, [esp + 0x58]
cmovae edx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
cmp word [edx], ax
jne 0x10042155
xor ecx, ecx
jmp 0x1004216f
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042160
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.10003de0
mov byte [esp + 0x328], 6
cmp dword [esp + 0x44], 0
je 0x100421b8
lea eax, [esp + 0x34]
push eax
call fcn.10042cc0
test al, al
jne 0x100421b8
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
lea eax, [esp + 0x90]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1004bcb0
mov byte [esp + 0x328], 5
cmp dword [esp + 0x48], 8
jb 0x100421d0
push dword [esp + 0x34]
call edi
add esp, 4
dec dword [esp + 0x54]
lea ecx, [esp + 0x50]
call fcn.1005cfb0
jmp 0x10042110
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100421f7
push eax
call esi
jmp 0x100421f7
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1004221d
push eax
call edi
add esp, 4
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
cmp dword [esp + 0x6c], 8
jb 0x1004222d
push dword [esp + 0x58]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x328], 0xffffffff
cmp dword [esp + 0xc0], 8
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
jb 0x10042265
push dword [esp + 0xac]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], 8
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
jb 0x1004229b
push dword [esp + 0x90]
call edi
add esp, 4
push 1
push str.SOFTWAREMicrosoftInternet_ExplorerExtensions
push 0x80000002
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], 0
call fcn.1005c350
lea eax, [esp + 0x8c]
mov dword [esp + 0x328], 7
push eax
lea ecx, [esp + 0x108]
mov dword [esp + 0x108], 0
call fcn.1005cd10
mov byte [esp + 0x328], 8
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x104]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test ecx, ecx
je 0x100424d2
test eax, eax
js 0x100424cb
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x58], 0
call fcn.1005c530
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
test edx, edx
je 0x100423d2
cmp byte [esp + 0x6c], 0
mov eax, 0x100
mov ecx, 0x200
cmovne ecx, eax
or ecx, 0x20019
test eax, ecx
movzx eax, byte [esp + 0x3c]
cmovne eax, dword [esp + 0x18]
mov byte [esp + 0x3c], al
lea eax, [esp + 0x54]
test cl, 0x26
je 0x100423b2
cmp dword [esp + 0x68], 8
lea esi, [esp + 0x88]
cmovae eax, dword [esp + 0x54]
push esi
lea esi, [esp + 0x38]
push esi
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100423d2
cmp dword [esp + 0x68], 8
lea edi, [esp + 0x34]
cmovae eax, dword [esp + 0x54]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x328], 0xa
cmp dword [esp + 0x34], 0
je 0x100423ef
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
call fcn.10043230
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10042406
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10042419
push eax
call esi
mov dword [esp + 0x34], 0
mov byte [esp + 0x328], 8
cmp dword [esp + 0x84], 8
jb 0x10042434
push dword [esp + 0x70]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x68], 8
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
jb 0x10042461
push dword [esp + 0x54]
call edi
add esp, 4
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x104]
dec eax
mov dword [esp + 0x108], eax
test ecx, ecx
je 0x100424bc
test eax, eax
js 0x100424bc
lea edx, [esp + 0xc4]
push edx
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x120]
push edx
push eax
push ecx
mov dword [esp + 0x6c], 0x103
call ebx
mov ecx, dword [esp + 0x104]
test eax, eax
mov eax, dword [esp + 0x108]
je 0x10042304
xor edx, edx
mov word [esp + 0x10c], dx
jmp 0x10042304
test ecx, ecx
je 0x100424d2
push ecx
call esi
mov dword [esp + 0x328], 0xffffffff
cmp dword [esp + 0xc0], 8
jb 0x100424f3
push dword [esp + 0xac]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], 8
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
jb 0x10042529
push dword [esp + 0x90]
call edi
add esp, 4
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push 0x80000001
lea ecx, [esp + 0xd8]
mov dword [esp + 0xd8], 0
call fcn.1005c350
lea eax, [esp + 0xcc]
mov dword [esp + 0x328], 0xb
push eax
lea ecx, [esp + 0x108]
mov dword [esp + 0x108], 0
call fcn.1005cd10
mov byte [esp + 0x328], 0xc
mov edi, edi
cmp dword [esp + 0x104], 0
je 0x10042762
cmp dword [esp + 0x108], 0
jl 0x10042754
cmp word [esp + 0x10c], 0x2e
jne 0x100426f8
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xd4]
mov dword [esp + 0x58], 0
call fcn.1005c530
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
test edx, edx
je 0x10042669
cmp byte [esp + 0x6c], 0
mov eax, 0x100
mov ecx, 0x200
cmovne ecx, eax
or ecx, 0x20019
test eax, ecx
movzx eax, byte [esp + 0x3c]
cmovne eax, dword [esp + 0x18]
mov byte [esp + 0x3c], al
lea eax, [esp + 0x54]
test cl, 0x26
je 0x10042649
cmp dword [esp + 0x68], 8
lea esi, [esp + 0x88]
cmovae eax, dword [esp + 0x54]
push esi
lea esi, [esp + 0x38]
push esi
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10042669
cmp dword [esp + 0x68], 8
lea edi, [esp + 0x34]
cmovae eax, dword [esp + 0x54]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x328], 0xe
cmp dword [esp + 0x34], 0
je 0x10042686
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
call fcn.100435b0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004269d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100426b0
push eax
call esi
mov dword [esp + 0x34], 0
mov byte [esp + 0x328], 0xc
cmp dword [esp + 0x84], 8
jb 0x100426cb
push dword [esp + 0x70]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x68], 8
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
jb 0x100426f8
push dword [esp + 0x54]
call edi
add esp, 4
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x104]
dec eax
mov dword [esp + 0x108], eax
test ecx, ecx
je 0x10042745
test eax, eax
js 0x10042745
lea edx, [esp + 0xc4]
push edx
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x120]
push edx
push eax
push ecx
mov dword [esp + 0x6c], 0x103
call ebx
test eax, eax
je 0x10042580
xor eax, eax
mov word [esp + 0x10c], ax
jmp 0x10042580
mov ecx, dword [esp + 0x104]
test ecx, ecx
je 0x10042762
push ecx
call esi
cmp dword [esp + 0x100], 8
jb 0x10042778
push dword [esp + 0xec]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0xe4], 8
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
jb 0x100427ae
push dword [esp + 0xd0]
call edi
add esp, 4
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret