Function at 0x4983a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a255b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4cf094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push edx
mov edx, esi
lea ecx, [ebp - 0x2a4]
call fcn.00498cf0
add esp, 4
push 0x200
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004434f0
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp + 8]
push 0x4bb4c0
push eax
call fcn.0040b3dc
add esp, 0xc
mov dword [ebp - 0x260], 0xf
mov dword [ebp - 0x264], 0
mov byte [ebp - 0x274], 0
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [esi], ax
jne 0x498459
xor ecx, ecx
jmp 0x49846f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x498460
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x244]
call fcn.00402815
lea edx, [ebp - 0x244]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.0040d344
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x49849d
mov eax, dword [eax]
lea ecx, [ebp - 0x274]
push ecx
lea edx, [ebp - 0x214]
mov ecx, eax
call fcn.0040ffc1
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x218]
cmp eax, 0x10
jb 0x498508
mov ecx, dword [ebp - 0x22c]
inc eax
cmp eax, 0x1000
jb 0x4984ff
test cl, 0x1f
je 0x4984db
call fcn.0044a782
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4984e7
call fcn.0044a782
sub ecx, eax
cmp ecx, 4
jae 0x4984f3
call fcn.0044a782
cmp ecx, 0x23
jbe 0x4984fd
call fcn.0044a782
mov ecx, eax
push ecx
call fcn.00483d30
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
cmp eax, 8
jb 0x498589
mov ecx, dword [ebp - 0x244]
inc eax
cmp eax, 0x7fffffff
jbe 0x498545
call fcn.0044a782
add eax, eax
cmp eax, 0x1000
jb 0x498580
test byte [ebp - 0x244], 0x1f
je 0x49855c
call fcn.0044a782
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x498568
call fcn.0044a782
sub ecx, eax
cmp ecx, 4
jae 0x498574
call fcn.0044a782
cmp ecx, 0x23
jbe 0x49857e
call fcn.0044a782
mov ecx, eax
push ecx
call fcn.00483d30
add esp, 4
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], 0
mov byte [ebp - 0x25c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x274]
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x2a8]
mov esi, dword [ebp - 0x260]
cmp esi, 0x10
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x25c]
cmovae ecx, dword [ebp - 0x274]
push eax
call fcn.00410136
add esp, 4
mov dword [ebp - 0x230], 0xf
cmp dword [ebp - 0x290], 0x10
lea edx, [ebp - 0x2a4]
mov dword [ebp - 0x234], 0
cmovae edx, dword [ebp - 0x2a4]
mov byte [ebp - 0x244], 0
cmp byte [edx], 0
jne 0x498617
xor ecx, ecx
jmp 0x498629
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498620
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x244]
call fcn.004066f4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
cmp dword [0x4fb2d0], 0x10
mov edx, 0x4fb2bc
push str.yh87Yx6EotW2RHhQlrSlh3ep1
cmovae edx, dword [0x4fb2bc]
call fcn.004102eb
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x49866e
mov edx, dword [edx]
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
cmp byte [edx], 0
jne 0x498692
xor ecx, ecx
jmp 0x4986a0
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498697
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x22c]
call fcn.004066f4
cmp dword [ebp - 0x218], 0x10
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0
push ecx
push 0
push 0x20006
push 0
push 0x4bb1a0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x2ac], 0
cmovae eax, dword [ebp - 0x22c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp - 0x24c]
cmp dword [ebp - 0x248], 0x10
lea ecx, [ebp - 0x25c]
lea eax, [ebp - 0x244]
cmovae ecx, dword [ebp - 0x25c]
cmp dword [ebp - 0x230], 0x10
push ecx
cmovae eax, dword [ebp - 0x244]
push 1
push 0
push eax
push dword [ebp - 0x2a8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x218]
cmp eax, 0x10
jb 0x49878f
mov ecx, dword [ebp - 0x22c]
inc eax
cmp eax, 0x1000
jb 0x498786
test cl, 0x1f
je 0x498762
call fcn.0044a782
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49876e
call fcn.0044a782
sub ecx, eax
cmp ecx, 4
jae 0x49877a
call fcn.0044a782
cmp ecx, 0x23
jbe 0x498784
call fcn.0044a782
mov ecx, eax
push ecx
call fcn.00483d30
add esp, 4
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
cmp eax, 0x10
jb 0x4987fa
mov ecx, dword [ebp - 0x28c]
inc eax
cmp eax, 0x1000
jb 0x4987f1
test cl, 0x1f
je 0x4987cd
call fcn.0044a782
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4987d9
call fcn.0044a782
sub ecx, eax
cmp ecx, 4
jae 0x4987e5
call fcn.0044a782
cmp ecx, 0x23
jbe 0x4987ef
call fcn.0044a782
mov ecx, eax
push ecx
call fcn.00483d30
add esp, 4
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x278], 0xf
mov dword [ebp - 0x27c], 0
mov byte [ebp - 0x28c], 0
cmp eax, 0x10
jb 0x498865
mov ecx, dword [ebp - 0x244]
inc eax
cmp eax, 0x1000
jb 0x49885c
test cl, 0x1f
je 0x498838
call fcn.0044a782
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x498844
call fcn.0044a782
sub ecx, eax
cmp ecx, 4
jae 0x498850
call fcn.0044a782
cmp ecx, 0x23
jbe 0x49885a
call fcn.0044a782
mov ecx, eax
push ecx
call fcn.00483d30
add esp, 4
mov eax, dword [ebp - 0x248]
cmp eax, 0x10
jb 0x4988b5
mov ecx, dword [ebp - 0x25c]
inc eax
cmp eax, 0x1000
jb 0x4988ac
test cl, 0x1f
je 0x498888
call fcn.0044a782
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x498894
call fcn.0044a782
sub ecx, eax
cmp ecx, 4
jae 0x4988a0
call fcn.0044a782
cmp ecx, 0x23
jbe 0x4988aa
call fcn.0044a782
mov ecx, eax
push ecx
call fcn.00483d30
add esp, 4
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], 0
mov byte [ebp - 0x25c], 0
cmp esi, 0x10
jb 0x4988e9
push 1
lea eax, [esi + 1]
push eax
push dword [ebp - 0x274]
call fcn.004016eb
add esp, 0xc
mov eax, dword [ebp - 0x290]
cmp eax, 0x10
jb 0x498906
push 1
inc eax
push eax
push dword [ebp - 0x2a4]
call fcn.004016eb
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428f9c
mov esp, ebp
pop ebp
ret