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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61abb4
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 [0x6cc708]
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 0x46ca0a
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 [0x6d2120]
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 [0x6d2180]
push ecx
push edx
push str._s__.txt_.txt_s__._.
push eax
call fcn.005fb90b
add esp, 0x10
jmp 0x46ca44
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 [0x6d211c]
push ecx
push str._s__.ef2__.ief_.ef2_.ief
push edx
call fcn.005fb90b
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.005fbba4
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 0x46cba2
mov ecx, dword [0x6d12f4]
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 0x46caf6
mov edx, dword [0x6cc708]
mov dword [ebp + 0xc], edx
mov eax, dword [0x6d1170]
mov byte [ebp - 4], 3
test eax, eax
jne 0x46cac1
mov eax, 0x6d1174
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.0049c630
mov edx, dword [ebp + 0xc]
add esp, 8
lea eax, [ebp - 0x134]
push 0x103
push edx
push eax
call fcn.005e6720
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x31], 0
mov byte [ebp - 4], 2
call fcn.00602ad6
lea edi, [ebp - 0x134]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46cb14
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x2a4], ecx
lea ecx, [ebp - 0x32c]
call fcn.005fbd06
cmp eax, 1
je 0x46cb2d
mov byte [ebp - 4], 4
jmp 0x46ccff
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x32c]
push edx
call fcn.005fbde1
mov eax, dword [eax]
push 0x103
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.005e6720
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x31], 0
call fcn.00602ad6
lea ecx, [ebp - 0x134]
push 0x5c
push ecx
call fcn.005e7360
add esp, 8
test eax, eax
je 0x46cba2
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 [0x6d12f4]
push str.ExpImpIniPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x14
call fcn.005feedc
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x46cbd6
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 0x46cbdf
mov eax, ebx
jmp 0x46cbfb
mov byte [ebp - 4], 5
jmp 0x46ccff
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x32c]
call fcn.005fbde1
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.00602b44
lea ecx, [ebp - 0x738]
call fcn.00539a30
mov al, byte [ebp - 0x20]
mov dword [ebp - 4], 8
test al, 1
je 0x46cc2a
lea ecx, [ebp + 0xc]
call fcn.00602ad6
mov bl, byte [ebp + 8]
push esi
test bl, bl
lea ecx, [ebp - 0x738]
je 0x46cc3f
call fcn.0053a240
jmp 0x46cc44
call fcn.00539da0
test al, al
jne 0x46cc94
test bl, bl
push 0x10030
je 0x46cc60
mov edx, dword [0x6d2410]
mov eax, dword [0x6d240c]
push edx
push eax
jmp 0x46cc6e
mov ecx, dword [0x6d2410]
mov edx, dword [0x6d2408]
push ecx
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00600b34
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x738]
mov byte [ebp - 4], 2
call fcn.00539b90
mov byte [ebp - 4], 9
jmp 0x46ccff
mov eax, dword [esi + 8]
test eax, eax
jne 0x46ccd4
mov ecx, dword [0x6d2410]
mov edx, dword [0x6d2404]
push 0x10040
push ecx
mov ecx, dword [ebp - 0x18]
push edx
call fcn.00600b34
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x738]
mov byte [ebp - 4], 2
call fcn.00539b90
mov byte [ebp - 4], 0xa
jmp 0x46ccff
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.00539b90
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x280]
call fcn.00602ad6
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 1
call fcn.005fe717
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8