Function at 0x40d3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600e0d
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 4
call fcn.0040ac60
mov ecx, dword [ebp - 0x234]
add ecx, 0x44
call fcn.0040cb80
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040ec80
mov dword [ebp - 4], 0
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 0x44
call fcn.0040c9e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040ebb0
mov ecx, dword [ebp - 0x234]
call fcn.0040e1b0
lea ecx, [ebp - 0x23c]
call fcn.0040f160
mov dword [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0058a9f0
add esp, 0xc
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x24c], 0x104
xor ecx, ecx
mov byte [ebp - 0x235], cl
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
push ecx
push str.Channel
lea ecx, [ebp - 0x235]
call fcn.0040d710
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x218]
test ecx, ecx
je 0x40d50a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x23c]
call fcn.0040ac60
lea ecx, [ebp - 0x23c]
call fcn.0040ee00
lea ecx, [ebp - 0x23c]
call fcn.0040ed40
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push 0x1fc
call fcn.0040aca0
push str._channel
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.0040d890
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x258], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x258]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 0x10
call fcn.0040f120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.0040ac80
push str.official
mov ecx, dword [ebp - 0x234]
add ecx, 0x10
call fcn.0040f0b0
test eax, eax
je 0x40d5a9
lea ecx, [ebp - 0x23c]
call fcn.0040ade0
test eax, eax
jle 0x40d5a9
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 0x10
call fcn.0040f120
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
mov edx, dword [ebp - 0x234]
add edx, 0x10
push edx
call fcn.0040f140
push str._source
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.0040d890
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x264], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x264]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 0x20
call fcn.0040f120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.0040ac80
push str._dir
lea ecx, [ebp - 0x240]
call fcn.0040aca0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x234]
add eax, 8
push eax
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x234]
call fcn.0040d970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.0040ac80
push str._list
lea ecx, [ebp - 0x244]
call fcn.0040aca0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x244]
push edx
mov ecx, dword [ebp - 0x234]
call fcn.0040da50
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.0040ac80
push str._pass
lea ecx, [ebp - 0x248]
call fcn.0040aca0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x234]
add edx, 0x28
push edx
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.0040d970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.0040ac80
mov dword [ebp - 0x26c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.0040ac80
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 4