Function at 0x523af0
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x620c98
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
test ebp, ebp
push edi
je 0x523de9
mov edi, dword [esp + 0x70]
push 0x2001f
push ebp
push edi
call fcn.00523f20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x523b5e
push esi
call fcn.00524140
add esp, 4
test al, al
je 0x523b53
cmp esi, edi
je 0x523b49
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x523b5e
cmp esi, edi
je 0x523b5e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x68]
push 0
push 0
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x28]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x30]
mov esi, eax
xor eax, eax
mov dword [esp + 0x10], eax
push 0xf003f
push ebp
push edi
mov dword [esp + 0x6c], eax
call fcn.00523f50
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x523bbd
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
call fcn.00523f00
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
push esi
push str.data_size
push 0
push eax
call fcn.00524020
add esp, 0x10
test al, al
jne 0x523bf8
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
call fcn.00523f00
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov edx, dword [ebx]
lea eax, [esp + 0x34]
push 0x10
push eax
mov ecx, ebx
mov byte [esp + 0x68], 1
call dword [edx + 0x34]
mov esi, eax
test esi, esi
jbe 0x523d9c
jmp 0x523c37
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x30]
mov ecx, dword [0x6abf00]
mov dword [esp + 0x14], ecx
mov eax, ebp
lea edx, [esp + 0x14]
shr eax, 7
push eax
push str.block_0x_08lX
push edx
mov byte [esp + 0x6c], 2
call fcn.005d59a6
mov eax, dword [esp + 0x78]
add esp, 0xc
lea ecx, [esp + 0x68]
push eax
call fcn.005dd21e
push 0x5c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 3
call fcn.005dd567
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x6c]
call fcn.005dd57c
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x68]
push 0xf003f
push edx
push edi
mov byte [esp + 0x6c], 4
call fcn.00523f50
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x2c], edi
je 0x523e17
mov eax, dword [0x6abf00]
mov dword [esp + 0x18], eax
mov eax, ebp
lea ecx, [esp + 0x18]
push eax
inc ebp
push str.data_0x_08lX
push ecx
mov byte [esp + 0x6c], 5
mov dword [esp + 0x3c], ebp
call fcn.005d59a6
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x40]
push esi
push edx
push eax
push 0
push edi
call fcn.005240b0
add esp, 0x20
test al, al
je 0x523dfe
test esi, esi
lea ebp, [esp + 0x34]
jbe 0x523d53
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], esi
mov edx, dword [esp + eax*4 + 0x48]
lea ecx, [esp + eax*4 + 0x48]
xor eax, eax
mov al, byte [ebp]
shl edx, 4
add edx, eax
mov eax, edx
mov dword [ecx], edx
and eax, 0xf0000000
je 0x523d33
mov esi, eax
shr esi, 0x18
xor esi, edx
xor esi, eax
mov dword [ecx], esi
mov eax, dword [esp + 0x44]
inc eax
cmp eax, 4
mov dword [esp + 0x44], eax
jb 0x523d47
xor eax, eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x24]
inc ebp
dec ecx
mov dword [esp + 0x24], ecx
jne 0x523d0b
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 4
call fcn.005dd1b0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 2
call fcn.005dd1b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 1
call fcn.005dd1b0
mov edx, dword [ebx]
lea eax, [esp + 0x34]
push 0x10
push eax
mov ecx, ebx
call dword [edx + 0x34]
mov esi, eax
test esi, esi
ja 0x523c2f
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
call fcn.00524250
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push edx
push str.data_integrity
push 0
push eax
mov byte [esp + 0x70], 6
call fcn.00523f90
add esp, 0x10
test al, al
jne 0x523e30
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x20]
call fcn.005dd1b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x523de9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 4
call fcn.005dd1b0
test edi, edi
je 0x523e17
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 2
call fcn.005dd1b0
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x14]
jmp 0x523dd5
mov eax, dword [0x6abf00]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x28]
push 0x2e
push ecx
mov byte [esp + 0x68], 8
call fcn.00522fe0
add esp, 8
lea edx, [esp + 0x1c]
push eax
push str.Prof_UIS_v.__s_registry_archiver
push edx
call fcn.005d59a6
mov edx, dword [esp + 0x1c]
add esp, 0xc
test edx, edx
mov ebx, edx
mov esi, edx
je 0x523ea5
mov ebp, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebp
push 1
push eax
push str.data_generator
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x523e9a
cmp esi, ebx
je 0x523ea5
jmp 0x523e9e
cmp esi, ebx
je 0x523ea5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 7
call fcn.005dd1b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 6
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 1
call fcn.005dd1b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x523ede
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret