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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f2be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x13a0
call fcn.00609d40
mov eax, dword [0x6f7b78]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov al, byte [ebp + 8]
mov byte [ebp - 4], 1
cmp al, bl
je 0x479567
lea ecx, [ebp - 0x38]
push str..txt
push ecx
call fcn.00609a95
mov edx, dword [0x6fda50]
mov eax, dword [0x6fd9f0]
add esp, 8
lea ecx, [ebp - 0x14]
push edx
push eax
push str._s__.txt_.txt_s__._.
push ecx
call fcn.0061fae1
add esp, 0x10
jmp 0x47958f
lea edx, [ebp - 0x38]
push str..ef2
push edx
call fcn.00609a95
mov eax, dword [0x6fd9ec]
add esp, 8
lea ecx, [ebp - 0x14]
push eax
push str._s__.ef2__.ief_.ef2_.ief
push ecx
call fcn.0061fae1
add esp, 0xc
mov edx, dword [ebp - 0x14]
push esi
push edx
push 0x1004
lea eax, [ebp - 0x38]
push ebx
push eax
push 1
lea ecx, [ebp - 0x13b0]
call fcn.00426e60
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
jne 0x4796a6
mov eax, dword [0x6fcafc]
lea ecx, [ebp + 0xc]
lea edx, [ebp - 0x448]
push ecx
push edx
push ebx
push ebx
push str.ExpImpIniPath
push eax
mov dword [ebp + 0xc], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47960f
mov eax, dword [0x6fc978]
cmp eax, ebx
jne 0x4795fa
mov eax, 0x6fc97c
push 0x104
lea ecx, [ebp - 0x448]
push eax
push ecx
call fcn.0060b587
add esp, 0xc
lea edx, [ebp - 0x448]
push edx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x47962e
lea eax, [ebp - 0x448]
mov dword [ebp - 0x1380], eax
lea ecx, [ebp - 0x13b0]
call fcn.00426ff0
cmp eax, 1
jne 0x4797ba
lea ecx, [ebp - 0x13b0]
call fcn.00427070
push 0x104
lea ecx, [ebp - 0x448]
push eax
push ecx
call fcn.0060b587
lea edx, [ebp - 0x448]
push 0x5c
push edx
call fcn.00609ba3
add esp, 0x14
cmp eax, ebx
je 0x4796a6
mov word [eax], bx
lea eax, [ebp - 0x448]
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [eax + eax + 2]
mov eax, dword [0x6fcafc]
lea edx, [ebp - 0x448]
push ecx
push edx
push 1
push ebx
push str.ExpImpIniPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x14
call fcn.00622acb
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4797ba
push edi
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4796dd
mov eax, edi
jmp 0x4796e8
lea ecx, [ebp - 0x13b0]
call fcn.00427070
push ebx
push eax
lea ecx, [ebp - 0x854]
call fcn.00553440
mov al, byte [ebp + 8]
mov byte [ebp - 4], 3
cmp al, bl
push esi
lea ecx, [ebp - 0x854]
je 0x47970e
call fcn.00553d00
jmp 0x479713
call fcn.005537d0
cmp al, bl
jne 0x479761
mov al, byte [ebp + 8]
push 0x10030
cmp al, bl
je 0x47973a
mov ecx, dword [0x6fdce0]
mov eax, dword [ebp - 0x18]
mov edx, dword [0x6fdcdc]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
push ecx
jmp 0x47974e
mov edx, dword [0x6fdce0]
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x6fdcd8]
push edx
mov edx, dword [ecx + 0x1c]
push eax
push edx
call fcn.00457010
mov eax, dword [esi]
add esp, 0x10
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x4797ab
cmp dword [esi + 8], ebx
jne 0x479793
mov ecx, dword [0x6fdce0]
mov eax, dword [ebp - 0x18]
mov edx, dword [0x6fdcd4]
push 0x10040
push ecx
mov ecx, dword [eax + 0x1c]
push edx
push ecx
call fcn.00457010
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
push 1
call dword [edx + 4]
jmp 0x4797ab
mov eax, dword [ebp - 0x18]
push esi
push 0x1485
push 0x111
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 2
call fcn.00553590
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x13b0], 0x658840
mov byte [ebp - 4], bl
call fcn.00622d8a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8