Function at 0x4f7620
Capabilities:
Access peb ldr_data
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61dc48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6e7b6c]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
lea ecx, [esi + 0x71c]
mov dword [esp + 0x34], ebx
call fcn.005f7b6e
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x758]
push edx
call fcn.00496570
mov eax, dword [0x6e7b6c]
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x684]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0xf0
push ecx
mov byte [esp + 0x40], 1
mov dword [esp + 0x20], ebx
call ebp
cmp eax, ebx
je 0x4f76a0
mov dword [esp + 0x10], 1
mov eax, dword [0x6ec7a0]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push ebx
push 0x6c3fa4
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
push 0x70b
mov ecx, esi
call fcn.005f7bb6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, ebx
je 0x4f76f0
mov edx, dword [0x6ec7a0]
inc eax
push eax
push ecx
push 1
push ebx
push 0x6c3f98
push edx
call edi
jmp 0x4f7701
mov eax, dword [0x6ec7a0]
push 0x6c3f98
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x10]
push ecx
push 0x70c
mov ecx, esi
call fcn.005f7bb6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, ebx
je 0x4f7733
mov edx, dword [0x6ec7a0]
inc eax
push eax
push ecx
push 1
push ebx
push 0x6c3f8c
push edx
call edi
jmp 0x4f7744
mov eax, dword [0x6ec7a0]
push 0x6c3f8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x10]
push ecx
push 0x70d
mov ecx, esi
call fcn.005f7bb6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, ebx
je 0x4f7776
mov edx, dword [0x6ec7a0]
inc eax
push eax
push ecx
push 1
push ebx
push 0x6c3f80
push edx
call edi
jmp 0x4f7787
mov eax, dword [0x6ec7a0]
push 0x6c3f80
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x10]
push ecx
push 0x70e
mov ecx, esi
call fcn.005f7bb6
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4f77b8
mov edx, dword [0x6ec7a0]
push eax
push 0x6c3f74
push edx
call fcn.005aa580
add esp, 0xc
jmp 0x4f77c9
mov eax, dword [0x6ec7a0]
push 0x6c3f74
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x6f4
mov ecx, esi
mov dword [esp + 0x18], 5
call fcn.005f9cb8
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, 1
jne 0x4f77f7
mov dword [esp + 0x14], 4
mov eax, dword [0x6ec7a0]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push ebx
push 0x6c3f68
push eax
call edi
mov ecx, esi
call fcn.004f74e0
mov ecx, dword [esi + 0x6c0]
push ebx
push ebx
push 0xf0
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call ebp
cmp eax, ebx
je 0x4f786a
mov al, byte [esi + 0x798]
mov cl, byte [esi + 0x799]
xor edx, edx
cmp al, bl
setne dl
xor eax, eax
cmp cl, bl
setne al
mov dword [esp + 0x24], eax
mov al, byte [esi + 0x79a]
xor ecx, ecx
cmp al, bl
setne cl
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
jmp 0x4f7871
mov ecx, esi
call fcn.004f86e0
mov eax, dword [0x6ec7a0]
lea edx, [esp + 0x20]
push 4
push edx
push 4
push ebx
push 0x6bc38c
push eax
call edi
mov edx, dword [0x6ec7a0]
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push ebx
push 0x6bc340
push edx
call edi
mov ecx, dword [0x6ec7a0]
lea eax, [esp + 0x28]
push 4
push eax
push 4
push ebx
push 0x6bc3e8
push ecx
call edi
mov eax, dword [esi + 0x770]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f78db
mov edx, dword [0x6ec7a0]
inc ecx
push ecx
push eax
push 1
push ebx
push 0x6bc404
push edx
call edi
jmp 0x4f78ec
mov eax, dword [0x6ec7a0]
push 0x6bc404
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x774]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f790f
inc ecx
push ecx
mov ecx, dword [0x6ec7a0]
push eax
push 1
push ebx
push 0x6bc3f8
push ecx
call edi
jmp 0x4f7921
mov edx, dword [0x6ec7a0]
push 0x6bc3f8
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x768]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f7943
inc ecx
push ecx
push eax
mov eax, dword [0x6ec7a0]
push 1
push ebx
push 0x6bc3a8
push eax
call edi
jmp 0x4f7955
mov ecx, dword [0x6ec7a0]
push 0x6bc3a8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x76c]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f7978
mov edx, dword [0x6ec7a0]
inc ecx
push ecx
push eax
push 1
push ebx
push 0x6bc39c
push edx
call edi
jmp 0x4f7989
mov eax, dword [0x6ec7a0]
push 0x6bc39c
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x778]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f79ac
inc ecx
push ecx
mov ecx, dword [0x6ec7a0]
push eax
push 1
push ebx
push 0x6bc354
push ecx
call edi
jmp 0x4f79be
mov edx, dword [0x6ec7a0]
push 0x6bc354
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x77c]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f79e0
inc ecx
push ecx
push eax
mov eax, dword [0x6ec7a0]
push 1
push ebx
push 0x6bc34c
push eax
call edi
jmp 0x4f79f2
mov ecx, dword [0x6ec7a0]
push 0x6bc34c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x788]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f7a15
mov edx, dword [0x6ec7a0]
inc ecx
push ecx
push eax
push 1
push ebx
push 0x6bc3d8
push edx
call edi
jmp 0x4f7a26
mov eax, dword [0x6ec7a0]
push 0x6bc3d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x78c]
mov ecx, dword [0x6ec7a0]
push 1
push eax
push 0x6bc3c4
push 0x6bc3b4
push ecx
call fcn.005aa440
mov eax, dword [esi + 0x780]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f7a6b
mov edx, dword [0x6ec7a0]
inc ecx
push ecx
push eax
push 1
push ebx
push 0x6bc37c
push edx
call edi
jmp 0x4f7a7c
mov eax, dword [0x6ec7a0]
push 0x6bc37c
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x784]
mov ecx, dword [0x6ec7a0]
push 1
push eax
push 0x6bc36c
push 0x6bc360
push ecx
call fcn.005aa440
mov eax, dword [esi + 0x790]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f7ac1
mov edx, dword [0x6ec7a0]
inc ecx
push ecx
push eax
push 1
push ebx
push 0x6bc334
push edx
call edi
jmp 0x4f7ad2
mov eax, dword [0x6ec7a0]
push 0x6bc334
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x794]
mov ecx, dword [0x6ec7a0]
push 1
push eax
push 0x6bc324
push 0x6bc318
push ecx
call fcn.005aa440
mov edx, dword [esi + 0xa8]
add esp, 0x14
push ebx
push ebx
push 0xf0
push edx
call ebp
cmp eax, ebx
pop edi
je 0x4f7b4b
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
push ecx
lea ecx, [esi + 0x104]
call fcn.005f7b6e
mov edx, dword [esp + 0x14]
mov ecx, 0x6ec5c8
push edx
call fcn.004b72d0
lea ecx, [esp + 0x14]
mov dword [0x6ec5d4], eax
mov byte [esp + 0x30], 1
call fcn.005fa859
jmp 0x4f7b51
mov dword [0x6ec5d4], ebx
mov ecx, 0x6ec5c8
call fcn.004b7240
cmp dword [0x6ec5d4], ebx
je 0x4f7b7b
cmp dword [0x6ec5d8], ebx
je 0x4f7b7b
push ebx
push ebx
push ebx
push ebx
push 1
push 0x4b6bd0
call fcn.005fae57
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.005fa859
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret