Function at 0x503d80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [0x770b48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x254]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x254]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x76e968]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x254]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x76a664
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x83e158]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
jne 0x503e24
mov eax, 0x73a7f4
push 0x76fea8
push eax
call fcn.00712e20
add esp, 8
test eax, eax
je 0x503e43
lea edx, [ebp - 0x254]
mov edi, 0x76fea8
jmp 0x503e58
mov edi, dword [0x83e158]
cmp edi, ebx
jne 0x503e52
mov edi, 0x73a7f4
lea edx, [ebp - 0x254]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 4]
lea edx, [ebp - 0x254]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push reloc.ijl15.dll_Ordinal_2
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x503f75
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x54]
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x83a9e0
stosb byte es:[edi], al
call fcn.006c7080
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x81424c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x83be50]
push ecx
push edx
push ebx
push 0x76fe9c
push eax
call fcn.00711e28
mov eax, dword [ebp - 4]
add esp, 0x14
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x54]
push 0x20
push ecx
push 1
lea edx, [ebp - 0x30]
push 0
push edx
push eax
call esi
push ebx
mov ecx, 0x83a9e0
call fcn.006e7460
mov ecx, dword [0x83be50]
mov edx, dword [0x81424c]
push ecx
mov dword [ebp - 8], eax
push edx
push ebx
lea eax, [ebp - 0x30]
push 0x76fe7c
push eax
call fcn.00711e28
mov eax, dword [ebp - 4]
add esp, 0x14
lea ecx, [ebp - 8]
lea edx, [ebp - 0x30]
push 4
push ecx
push 4
push 0
push edx
push eax
call esi
inc ebx
cmp ebx, 0x24
jl 0x503eab
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret