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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f291
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1414
call fcn.00609d40
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
call fcn.00533a00
mov eax, dword [esi + 0x4f8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
push eax
mov byte [ebp - 4], 1
call edi
test eax, eax
setne cl
mov byte [ebp - 0x50], cl
lea ecx, [ebp - 0xac]
call fcn.006226c5
cmp eax, 1
jne 0x479457
mov edx, dword [0x6f7b78]
mov dword [ebp - 0x18], edx
mov al, byte [ebp + 8]
mov byte [ebp - 4], 2
test al, al
je 0x4790a0
lea eax, [ebp - 0x48]
push str..txt
push eax
call fcn.00609a95
mov ecx, dword [0x6fda50]
mov edx, dword [0x6fd9f0]
add esp, 8
lea eax, [ebp - 0x18]
push ecx
push edx
push str._s__.txt_.txt_s__._.
push eax
call fcn.0061fae1
add esp, 0x10
jmp 0x4790c9
lea ecx, [ebp - 0x48]
push str..ef2
push ecx
call fcn.00609a95
mov edx, dword [0x6fd9ec]
add esp, 8
lea eax, [ebp - 0x18]
push edx
push str._s__.ef2_.ef2
push eax
call fcn.0061fae1
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push esi
push ecx
push 6
lea edx, [ebp - 0x48]
push 0
push edx
push 0
lea ecx, [ebp - 0x1424]
call fcn.00426e60
mov edx, dword [0x6fcafc]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x4bc]
push eax
push ecx
push 0
push 0
push str.ExpImpIniPath
push edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x479136
mov eax, dword [0x6fc978]
test eax, eax
jne 0x479121
mov eax, 0x6fc97c
push 0x104
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.0060b587
add esp, 0xc
lea ecx, [ebp - 0x4bc]
push ecx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x479155
lea edx, [ebp - 0x4bc]
mov dword [ebp - 0x13f4], edx
lea ecx, [ebp - 0x1424]
call fcn.00426ff0
cmp eax, 1
je 0x47919d
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1424], 0x658840
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.00622306
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x1424]
call fcn.00427070
push 0x104
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.0060b587
lea ecx, [ebp - 0x4bc]
push 0x5c
push ecx
call fcn.00609ba3
add esp, 0x14
test eax, eax
je 0x479205
lea edx, [ebp - 0x4bc]
mov word [eax], 0
push edx
call fcn.00609a4e
mov edx, dword [0x6fcafc]
add esp, 4
lea eax, [eax + eax + 2]
lea ecx, [ebp - 0x4bc]
push eax
push ecx
push 1
push 0
push str.ExpImpIniPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1424]
mov byte [ebp - 4], 4
call fcn.00427070
push 1
push eax
lea ecx, [ebp - 0x8c8]
call fcn.00553440
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 5
sub eax, 0
je 0x479386
dec eax
je 0x4792b0
dec eax
jne 0x479426
mov ecx, dword [esi + 0x1cc]
xor edi, edi
mov ebx, dword [ecx + 8]
cmp edi, ebx
jge 0x479426
mov al, byte [ebp + 8]
test al, al
je 0x479290
mov eax, dword [esi + 0x1cc]
lea edx, [ebp - 0x14]
mov ecx, edi
push edx
mov edx, dword [eax + 4]
shl ecx, 4
mov eax, dword [edx + ecx]
mov ecx, esi
add eax, 0x20
push eax
call fcn.00478f60
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x8c8]
call fcn.005535d0
inc edi
jmp 0x47924f
mov edx, dword [esi + 0x1cc]
mov eax, edi
shl eax, 4
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax]
lea ecx, [ebp - 0x8c8]
push edx
call fcn.00553640
inc edi
jmp 0x47924f
mov eax, dword [esi + 0x4f8]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call edi
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x479426
mov ecx, dword [esi + 0x4f8]
dec eax
push 2
push eax
push 0x100c
push ecx
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x1cc]
inc eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [edx + 8]
dec ebx
xor edi, edi
cmp edi, ebx
jg 0x4792c6
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 0x4dc]
push eax
call fcn.00620a31
mov ecx, dword [esi + 0x1cc]
mov edx, edi
shl edx, 4
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + edx]
cmp dword [edx + 0x4a0], eax
je 0x479329
inc edi
jmp 0x4792fa
test edi, edi
jl 0x4792c6
mov al, byte [ebp + 8]
test al, al
je 0x479366
mov ecx, dword [esi + 0x1cc]
lea eax, [ebp - 0x14]
shl edi, 4
mov edx, dword [ecx + 4]
push eax
mov ecx, esi
mov eax, dword [edx + edi]
add eax, 0x20
push eax
call fcn.00478f60
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x8c8]
call fcn.005535d0
jmp 0x4792c6
mov edx, dword [esi + 0x1cc]
shl edi, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi]
push ecx
lea ecx, [ebp - 0x8c8]
call fcn.00553640
jmp 0x4792c6
mov eax, dword [0x6fcc3c]
test eax, eax
je 0x479426
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x479426
mov edx, dword [eax + 0x18]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x479426
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], edx
mov edx, dword [esi + 0x1cc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x4793a9
mov ebx, dword [edx + 4]
mov edi, eax
shl edi, 4
mov edi, dword [ebx + edi]
mov ebx, dword [ebp - 0x20]
cmp dword [edi + 0x4a0], ebx
je 0x4793e4
inc eax
jmp 0x4793c7
test eax, eax
jl 0x4793a9
mov ecx, dword [edx + 4]
shl eax, 4
mov eax, dword [ecx + eax]
mov cl, byte [ebp + 8]
test cl, cl
je 0x479418
lea edx, [ebp - 0x14]
add eax, 0x20
push edx
push eax
mov ecx, esi
call fcn.00478f60
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x8c8]
push eax
call fcn.005535d0
jmp 0x4793a9
push eax
lea ecx, [ebp - 0x8c8]
call fcn.00553640
jmp 0x4793a9
lea ecx, [ebp - 0x8c8]
mov byte [ebp - 4], 4
call fcn.00553590
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1424], 0x658840
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.00622306
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4