Function at 0x40dbd0
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f0f8c
push eax
mov dword fs:[0], esp
sub esp, 0x4c8
lea eax, [esp + 0xc]
push ebx
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.SoftwareMozillaFirefoxExtensions
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40dc25
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
add esp, 0x4d4
ret
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ebx
mov word [esp + 0xc], bx
mov esi, dword [0x6cce30]
mov dword [esp + 0x4d8], ebx
cmp esi, ebx
jne 0x40dc49
mov esi, 0x6cce34
mov ecx, 0x69e048
test ecx, ecx
je 0x40dd8e
cmp esi, ebx
je 0x40dd8e
mov edx, str.idmmzcc5
test edx, edx
je 0x40dd8e
push ebp
push edi
push ebx
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], bx
call fcn.00402880
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x4e4], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], bx
call fcn.00401f50
push str.idmmzcc5
lea ecx, [esp + 0x40]
mov byte [esp + 0x4e4], 2
call fcn.0040d700
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e0], 3
call fcn.00401070
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
call fcn.00401f40
push eax
call fcn.005c2c42
add esp, 4
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2c42
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db66d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x40dd5a
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x3c]
call fcn.00401f40
push eax
lea ecx, [esp + 0x24]
call fcn.00401f40
push eax
lea ecx, [esp + 0x34]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.005c2bd2
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005c2c42
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4e0], 2
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x4e0], 1
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4e0], bl
call fcn.00401070
pop edi
pop ebp
lea edx, [esp + 0x40]
push 0x69ecf4
push edx
mov dword [esp + 0x38], 0x410
xor esi, esi
call fcn.005c2dda
lea eax, [esp + 0x48]
push eax
call fcn.005c2c42
add esp, 0xc
cmp eax, ebx
jle 0x40ddd3
lea ecx, [esp + 0x40]
mov dx, word [ecx]
add ecx, 2
xor dx, 0x4d
sub edx, 0xff
dec eax
mov word [ecx - 2], dx
jne 0x40ddbc
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x4c]
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40de27
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x40de02
lea eax, [esp + 0xc]
lea ecx, [esp + 0xc0]
push eax
push ecx
call fcn.005c531c
add esp, 8
test eax, eax
jne 0x40de1c
mov esi, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x4d8], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x4d0]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4d4
ret