Function at 0x403980
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x413fa6
mov eax, dword fs:[0]
push eax
sub esp, 0x928
mov eax, dword [0x41a060]
xor eax, esp
mov dword [esp + 0x924], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41a060]
xor eax, esp
push eax
lea eax, [esp + 0x93c]
mov dword fs:[0], eax
mov eax, dword [0x41b468]
mov edx, dword [eax + 0xc]
mov ecx, 0x41b468
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x944], ebx
push eax
mov dword [esp + 0x28], 0x114
call dword [0x415048]
cmp dword [esp + 0x28], 6
jb 0x403a9e
lea ecx, [esp + 0x14]
push ecx
push 1
push ebx
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push 0x80000001
mov dword [esp + 0x28], ebx
call dword [0x415020]
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x403a9e
push 0x7fe
lea edx, [esp + 0x13e]
push ebx
push edx
mov word [esp + 0x144], bx
call fcn.00409d90
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x13c]
push ecx
push ebx
push ebx
push str.Progid
push edi
mov dword [esp + 0x38], 0x800
call dword [0x415014]
mov edx, dword [esp + 0x14]
push edx
call dword [0x41502c]
lea eax, [esp + 0x138]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403a76
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x138]
mov ebx, eax
push ecx
lea eax, [esp + 0x20]
call fcn.00407260
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [esi - 0xc], ebx
jne 0x403abc
push str.http
mov ebx, 4
lea eax, [esp + 0x20]
call fcn.00407260
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov edx, dword [0x41b468]
mov eax, dword [edx + 0xc]
mov ecx, 0x41b468
mov dword [esp + 0x18], ebx
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
push str._s_shell
lea edi, [esp + 0x1c]
mov byte [esp + 0x94c], 1
call fcn.00408180
mov edi, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push edi
push 0x80000000
call dword [0x415020]
mov ebp, dword [esp + 0x18]
cmp ebp, ebx
je 0x403bb4
push 0x7fe
lea edx, [esp + 0x13e]
push ebx
push edx
mov word [esp + 0x144], bx
call fcn.00409d90
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x13c]
push ecx
push ebx
push ebx
push ebx
push ebp
mov dword [esp + 0x38], 0x800
call dword [0x415014]
mov edx, dword [esp + 0x18]
push edx
call dword [0x41502c]
cmp word [esp + 0x138], bx
mov dword [esp + 0x18], ebx
jne 0x403b7e
push str.open
lea eax, [esp + 0x13c]
push eax
call dword [0x415158]
lea ecx, [esp + 0x138]
push ecx
push esi
push str._s_shell_s
lea edi, [esp + 0x20]
call fcn.00408180
mov edi, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 1
push ebx
push edi
push 0x80000000
call dword [0x415020]
mov ebp, dword [esp + 0x18]
lea eax, [edi - 0x10]
mov byte [esp + 0x944], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x944], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x93c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x924]
xor ecx, esp
call fcn.004094b1
add esp, 0x934
ret