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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61bb24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x72c
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
mov eax, dword [0x6cd768]
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov al, byte [ebp + 8]
mov byte [ebp - 4], 1
test al, al
lea edx, [ebp - 0x30]
je 0x46d0fa
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 - 0x14]
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 0x46d134
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 - 0x14]
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__.ief_.ef2_.ief
push edx
call fcn.005fc86b
add esp, 0xc
mov eax, dword [ebp - 0x14]
push ebx
push eax
push 0x1004
lea ecx, [ebp - 0x30]
push 0
push ecx
push 1
lea ecx, [ebp - 0x32c]
call fcn.005fcb04
mov ebx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 2
jne 0x46d292
mov ecx, dword [0x6d2354]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x134]
push edx
push eax
push 0
push 0
push str.ExpImpIniPath
push ecx
mov dword [ebp - 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x46d1e6
mov edx, dword [0x6cd768]
mov dword [ebp + 0xc], edx
mov eax, dword [0x6d21d0]
mov byte [ebp - 4], 3
test eax, eax
jne 0x46d1b1
mov eax, 0x6d21d4
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.0049cf50
mov edx, dword [ebp + 0xc]
add esp, 8
lea eax, [ebp - 0x134]
push 0x103
push edx
push eax
call fcn.005e7540
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x31], 0
mov byte [ebp - 4], 2
call fcn.00603a3c
lea edi, [ebp - 0x134]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46d204
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x2a4], ecx
lea ecx, [ebp - 0x32c]
call fcn.005fcc66
cmp eax, 1
je 0x46d21d
mov byte [ebp - 4], 4
jmp 0x46d3ef
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x32c]
push edx
call fcn.005fcd41
mov eax, dword [eax]
push 0x103
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.005e7540
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x31], 0
call fcn.00603a3c
lea ecx, [ebp - 0x134]
push 0x5c
push ecx
call fcn.005e8180
add esp, 8
test eax, eax
je 0x46d292
mov byte [eax], 0
lea edi, [ebp - 0x134]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [ebp - 0x134]
push ecx
push edx
push 1
push eax
mov eax, dword [0x6d2354]
push str.ExpImpIniPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x14
call fcn.005ffe3f
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x46d2c6
mov edi, ebx
or ecx, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi], method.CCommandLineInfo.virtual_0
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46d2cf
mov eax, ebx
jmp 0x46d2eb
mov byte [ebp - 4], 5
jmp 0x46d3ef
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x32c]
call fcn.005fcd41
mov dword [ebp - 0x20], 1
mov eax, dword [eax]
mov byte [ebp - 4], 6
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00603aaa
lea ecx, [ebp - 0x738]
call fcn.0053a7e0
mov al, byte [ebp - 0x20]
mov dword [ebp - 4], 8
test al, 1
je 0x46d31a
lea ecx, [ebp + 0xc]
call fcn.00603a3c
mov bl, byte [ebp + 8]
push esi
test bl, bl
lea ecx, [ebp - 0x738]
je 0x46d32f
call fcn.0053aff0
jmp 0x46d334
call fcn.0053ab50
test al, al
jne 0x46d384
test bl, bl
push 0x10030
je 0x46d350
mov edx, dword [0x6d3478]
mov eax, dword [0x6d3474]
push edx
push eax
jmp 0x46d35e
mov ecx, dword [0x6d3478]
mov edx, dword [0x6d3470]
push ecx
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00601a97
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x738]
mov byte [ebp - 4], 2
call fcn.0053a940
mov byte [ebp - 4], 9
jmp 0x46d3ef
mov eax, dword [esi + 8]
test eax, eax
jne 0x46d3c4
mov ecx, dword [0x6d3478]
mov edx, dword [0x6d346c]
push 0x10040
push ecx
mov ecx, dword [ebp - 0x18]
push edx
call fcn.00601a97
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x738]
mov byte [ebp - 4], 2
call fcn.0053a940
mov byte [ebp - 4], 0xa
jmp 0x46d3ef
mov ecx, dword [ebp - 0x18]
push esi
push 0x1485
push 0x111
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x738]
mov byte [ebp - 4], 2
call fcn.0053a940
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x280]
call fcn.00603a3c
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 1
call fcn.005ff677
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00603a3c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8