Function at 0x407630
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4405b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x454740]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push 0x448d14
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.004035d0
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.Applicationsiexplore.exe_shellopencommand_
push SysReAllocString
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4076c9
call fcn.0040bfa1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4076af
push 0x80004005
call fcn.00401700
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, edi
call fcn.00401520
jmp 0x4078b3
push 0xff
call fcn.0040b095
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
mov eax, dword [esp + 0x18]
push esi
lea edx, [esp + 0x24]
push edx
push ebx
push 0x448d14
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40773c
call fcn.0040bfa1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407722
push 0x80004005
call fcn.00401700
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, edi
call fcn.00401520
jmp 0x4078b3
push esi
lea ecx, [esp + 0x14]
push 0x449868
push ecx
call fcn.004025d0
push esi
call fcn.0040b08a
mov edx, dword [esp + 0x24]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jl 0x407833
push 0x448fe0
push eax
call fcn.0042a865
mov ecx, eax
mov eax, dword [esp + 0x18]
add esp, 8
cmp ecx, ebx
je 0x407833
sub ecx, eax
sar ecx, 1
jne 0x407833
lea edx, [eax + 2]
jmp 0x4077a0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4077a0
sub eax, edx
sar eax, 1
dec eax
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00405320
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.00402a10
mov byte [esp + 0x2c], bl
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 0x4077f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jge 0x407800
or eax, 0xffffffff
jmp 0x40781d
push 0x448fe0
push eax
call fcn.0042a865
add esp, 8
cmp eax, ebx
jne 0x407817
or eax, 0xffffffff
jmp 0x40781d
sub eax, dword [esp + 0x10]
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403480
mov byte [esp + 0x2c], 4
jmp 0x407870
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jge 0x40783f
or eax, 0xffffffff
jmp 0x40785c
push 0x448fe0
push eax
call fcn.0042a865
add esp, 8
cmp eax, ebx
jne 0x407856
or eax, 0xffffffff
jmp 0x40785c
sub eax, dword [esp + 0x10]
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403480
mov byte [esp + 0x2c], 5
push eax
lea ecx, [esp + 0x14]
call fcn.00402a10
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40789e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.004029a0
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4078db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret