Function at 0x46cb10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ba9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x79c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
call fcn.0051c370
mov eax, dword [ebx + 0x4c8]
push 0
push 0
push 0x1032
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
setne cl
mov byte [ebp - 0x44], cl
lea ecx, [ebp - 0xa0]
call fcn.005ffa36
cmp eax, 1
jne 0x46cfd4
mov edx, dword [0x6cd768]
mov dword [ebp - 0x1c], edx
mov al, byte [ebp + 8]
mov byte [ebp - 4], 2
test al, al
lea edx, [ebp - 0x3c]
je 0x46cbdd
mov edi, str..txt
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x6d3188]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x6d31e8]
push ecx
push edx
push str._s__.txt_.txt_s__._.
push eax
call fcn.005fc86b
add esp, 0x10
jmp 0x46cc17
mov edi, str..ef2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x6d3184]
push ecx
push str._s__.ef2_.ef2
push edx
call fcn.005fc86b
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push ebx
push eax
push 6
lea ecx, [ebp - 0x3c]
push 0
push ecx
push 0
lea ecx, [ebp - 0x39c]
call fcn.005fcb04
mov ecx, dword [0x6d2354]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x1a4]
push edx
push eax
push 0
push 0
push str.ExpImpIniPath
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x46ccb4
mov edx, dword [0x6cd768]
mov dword [ebp - 0x14], edx
mov eax, dword [0x6d21d0]
mov byte [ebp - 4], 4
test eax, eax
jne 0x46cc7c
mov eax, 0x6d21d4
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0049cf50
mov edx, dword [ebp - 0x14]
add esp, 8
lea eax, [ebp - 0x1a4]
push 0x103
push edx
push eax
call fcn.005e7540
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xa1], 0
mov byte [ebp - 4], 3
call fcn.00603a3c
lea edi, [ebp - 0x1a4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46ccd2
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x314], ecx
lea ecx, [ebp - 0x39c]
call fcn.005fcc66
cmp eax, 1
je 0x46cceb
mov byte [ebp - 4], 5
jmp 0x46cfae
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x39c]
push edx
call fcn.005fcd41
mov eax, dword [eax]
push 0x103
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.005e7540
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 0xa1], 0
call fcn.00603a3c
lea ecx, [ebp - 0x1a4]
push 0x5c
push ecx
call fcn.005e8180
add esp, 8
test eax, eax
je 0x46cd63
mov byte [eax], 0
lea edi, [ebp - 0x1a4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [ebp - 0x1a4]
push ecx
push edx
push 1
push eax
mov eax, dword [0x6d2354]
push str.ExpImpIniPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x18], ecx
push 1
push ecx
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 6
call fcn.005fcd41
lea ecx, [ebp - 0x7a8]
call fcn.0053a7e0
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 7
sub eax, 0
je 0x46ceef
dec eax
je 0x46ce15
dec eax
jne 0x46cf8f
mov eax, dword [ebx + 0x1c8]
xor esi, esi
mov edi, dword [eax + 8]
cmp esi, edi
jge 0x46cf8f
mov al, byte [ebp + 8]
test al, al
je 0x46cdf5
mov edx, dword [ebx + 0x1c8]
lea ecx, [ebp - 0x18]
mov eax, esi
push ecx
mov ecx, dword [edx + 4]
shl eax, 4
mov edx, dword [ecx + eax]
mov ecx, ebx
add edx, 0x20
push edx
call fcn.0046ca90
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x7a8]
push eax
call fcn.0053a980
inc esi
jmp 0x46cdb4
mov ecx, dword [ebx + 0x1c8]
mov edx, esi
shl edx, 4
mov eax, dword [ecx + 4]
mov ecx, dword [eax + edx]
push ecx
lea ecx, [ebp - 0x7a8]
call fcn.0053a9f0
inc esi
jmp 0x46cdb4
mov edx, dword [ebx + 0x4c8]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46cf8f
dec eax
push 2
mov dword [ebp - 0x20], eax
push eax
mov eax, dword [ebx + 0x4c8]
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x1c8]
inc eax
mov dword [ebp - 0x14], eax
mov edi, dword [ecx + 8]
dec edi
xor esi, esi
cmp esi, edi
jg 0x46ce2f
mov edx, dword [ebp - 0x20]
lea ecx, [ebx + 0x4ac]
push edx
call fcn.005fdda2
mov ecx, dword [ebx + 0x1c8]
mov edx, esi
shl edx, 4
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + edx]
cmp dword [edx + 0x480], eax
je 0x46ce92
inc esi
jmp 0x46ce63
test esi, esi
jl 0x46ce2f
mov al, byte [ebp + 8]
test al, al
je 0x46cecf
mov ecx, dword [ebx + 0x1c8]
lea eax, [ebp - 0x18]
shl esi, 4
mov edx, dword [ecx + 4]
push eax
mov ecx, ebx
mov eax, dword [edx + esi]
add eax, 0x20
push eax
call fcn.0046ca90
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x7a8]
call fcn.0053a980
jmp 0x46ce2f
mov edx, dword [ebx + 0x1c8]
shl esi, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi]
push ecx
lea ecx, [ebp - 0x7a8]
call fcn.0053a9f0
jmp 0x46ce2f
mov eax, dword [0x6d2488]
test eax, eax
je 0x46cf8f
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x46cf8f
mov edx, dword [eax + 0x18]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46cf8f
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], edx
mov edx, dword [ebx + 0x1c8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x46cf12
mov edi, dword [edx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [edi + esi]
mov edi, dword [ebp - 0x20]
cmp dword [esi + 0x480], edi
je 0x46cf4d
inc eax
jmp 0x46cf30
test eax, eax
jl 0x46cf12
mov ecx, dword [edx + 4]
shl eax, 4
mov eax, dword [ecx + eax]
mov cl, byte [ebp + 8]
test cl, cl
je 0x46cf81
lea edx, [ebp - 0x18]
add eax, 0x20
push edx
push eax
mov ecx, ebx
call fcn.0046ca90
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x7a8]
push eax
call fcn.0053a980
jmp 0x46cf12
push eax
lea ecx, [ebp - 0x7a8]
call fcn.0053a9f0
jmp 0x46cf12
lea ecx, [ebp - 0x7a8]
mov byte [ebp - 4], 6
call fcn.0053a940
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00603a3c
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2f0]
call fcn.00603a3c
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 2
call fcn.005ff677
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.005ff677
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4