Function at 0x403e80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x429ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x435ca4]
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 0x42f677
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.00402ea0
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.Applicationsiexplore.exe_shellopencommand_
push 0x80000000
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403f19
call fcn.004046e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x403eff
push 0x80004005
call fcn.004032a0
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.00402f70
jmp 0x40411a
push 0x104
call fcn.00404248
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 0x42f677
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x403f8c
call fcn.004046e4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x403f72
push 0x80004005
call fcn.004032a0
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.00402f70
jmp 0x40411a
lea ecx, [esp + 0x20]
push ecx
call fcn.00402450
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.004031d0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403fc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00404253
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jl 0x40409e
push 0x42f504
push eax
call fcn.0041578b
mov ecx, eax
mov eax, dword [esp + 0x18]
add esp, 8
cmp ecx, ebx
je 0x40409e
sub ecx, eax
jne 0x40409e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404013
sub eax, edx
dec eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.00402510
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call fcn.004031d0
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 0x40405f
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 0x40406d
or eax, 0xffffffff
jmp 0x404088
push 0x42f504
push eax
call fcn.0041578b
add esp, 8
cmp eax, ebx
jne 0x404084
or eax, 0xffffffff
jmp 0x404088
sub eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402590
mov byte [esp + 0x2c], 5
jmp 0x4040d7
cmp dword [eax - 0xc], ebx
jge 0x4040a8
or eax, 0xffffffff
jmp 0x4040c3
push 0x42f504
push eax
call fcn.0041578b
add esp, 8
cmp eax, ebx
jne 0x4040bf
or eax, 0xffffffff
jmp 0x4040c3
sub eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402590
mov byte [esp + 0x2c], 6
push eax
lea ecx, [esp + 0x14]
call fcn.004031d0
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 0x404105
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.004032d0
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 0x404142
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