Function at 0x415270
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x638f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x6f7b78]
push ebx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x50]
push str.ngpampappnmepgilojfohadhhmbhlaek
push ecx
lea edx, [esp + 0xc]
xor ebx, ebx
push 0x6c9ce8
push edx
mov dword [esp + 0x54], ebx
call fcn.0061fae1
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
push eax
call fcn.00414ad0
add esp, 0x20
test eax, eax
jne 0x4152f4
lea ecx, [esp + 4]
mov dword [esp + 0x44], 0xffffffff
call fcn.00622d8a
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
xor eax, eax
push esi
push edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
mov esi, dword [0x6fca20]
cmp esi, ebx
jne 0x415318
mov esi, 0x6fca24
mov ecx, 0x6c900c
test ecx, ecx
je 0x415441
cmp esi, ebx
je 0x415441
mov edx, str.IDMGCExt.crx
test edx, edx
je 0x415441
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], bx
push ebx
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 2
call fcn.004027e0
push esi
lea ecx, [esp + 0x40]
call fcn.00401ee0
push str.IDMGCExt.crx
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 3
call fcn.00401ee0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 4
call fcn.00401070
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.00622acb
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x415412
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x30]
call fcn.00401f10
push eax
lea ecx, [esp + 0x40]
call fcn.00401f10
push eax
lea ecx, [esp + 0x2c]
call fcn.00401f10
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.006099de
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 3
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], 2
call fcn.00401070
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 1
call fcn.00401070
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, ebx
jne 0x41552e
lea eax, [esp + 0x18]
lea esi, [esp + 0x18]
push eax
call fcn.00609a4e
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x58]
push edx
push esi
push 1
push ebx
push 0x6ca2d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41547f
mov dword [esp + 0x5c], 1
mov ecx, dword [0x6f7b78]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x4c], 5
cmp eax, ebx
jne 0x41549a
lea eax, [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00411c00
add esp, 8
test eax, eax
je 0x4154bb
lea eax, [esp + 0x10]
mov ecx, 0x6fc91c
push eax
call fcn.00622ec3
mov edx, dword [0x6fc91c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push 1
push ebx
push 0x6ca2d0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call fcn.00622d8a
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], bl
call fcn.00401070
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret
mov esi, eax
jmp 0x415451