Function at 0x489430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495a10
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x4bd034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2b0], ebx
push edx
mov edx, ebx
mov dword [ebp - 0x2b8], 0
lea ecx, [ebp - 0x2a4]
call fcn.0048a2c0
add esp, 4
push 0x200
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00429240
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp + 8]
push 0x4abf38
push eax
call fcn.00408205
mov dword [ebp - 0x274], 0
add esp, 0xc
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0xf
mov byte [ebp - 0x274], 0
mov esi, ebx
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x489510
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x48954c
mov dword [ebp - 0x234], esi
lea eax, [ebp - 0x244]
add esi, esi
push esi
push ebx
push eax
call fcn.00428cc0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x244], ax
jmp 0x4895f6
cmp esi, 0x7ffffffe
ja 0x489e74
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x489571
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x489592
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x489e7e
add eax, eax
cmp eax, 0x1000
jb 0x4895b9
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x489e7e
push ecx
call fcn.00427324
add esp, 4
test eax, eax
je 0x489e79
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4895cc
test eax, eax
je 0x4895ca
push eax
call fcn.00427324
add esp, 4
mov ebx, eax
jmp 0x4895cc
xor ebx, ebx
mov dword [ebp - 0x234], esi
add esi, esi
push esi
push dword [ebp - 0x2b0]
mov dword [ebp - 0x230], edi
push ebx
call fcn.00428cc0
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
mov dword [ebp - 0x244], ebx
xor ecx, ecx
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x234]
mov edx, 0xf
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x21c], ecx
lea eax, [ecx + 0x16]
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 0x218], edx
mov byte [ebp - 0x22c], cl
mov dword [ebp - 0x2b8], 1
cmp edi, edx
jbe 0x4896e1
cmp edi, 0x7fffffff
ja 0x489e74
or edi, edx
cmp edi, 0x7fffffff
jbe 0x489664
mov edi, SysReAllocString
lea ecx, [edi + 0x24]
jmp 0x48967e
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x48969a
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x489e7e
push ecx
call fcn.00427324
add esp, 4
test eax, eax
je 0x489e79
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4896ad
test eax, eax
je 0x4896ab
push eax
call fcn.00427324
add esp, 4
mov ecx, eax
jmp 0x4896ad
xor ecx, ecx
mov al, byte [ebp - 0x22c]
mov dword [ebp - 0x218], edi
mov byte [ecx], al
mov edx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x234]
mov dword [ebp - 0x22c], ecx
xor ecx, ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x2b0], edx
mov ebx, dword [ebp - 0x230]
lea esi, [ebp - 0x244]
cmp ebx, 8
cmovae esi, dword [ebp - 0x244]
nop word [eax + eax]
cmp ebx, 8
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
lea eax, [eax + edi*2]
cmp esi, eax
je 0x4898c7
mov bl, byte [esi]
mov byte [ebp - 0x2a9], bl
cmp ecx, edx
jae 0x48974d
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x48989b
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x489e74
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x489775
mov ebx, SysReAllocString
lea eax, [ebx + 0x24]
jmp 0x4897ac
mov edi, edx
mov eax, SysReAllocString
shr edi, 1
sub eax, edi
cmp edx, eax
jbe 0x48978e
mov ebx, SysReAllocString
lea eax, [ebx + 0x24]
jmp 0x4897ac
lea eax, [edx + edi]
cmp ebx, eax
cmovb ebx, eax
lea edi, [ebx + 1]
cmp edi, 0x1000
jb 0x4897d4
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x489e7e
push eax
call fcn.00427324
add esp, 4
test eax, eax
je 0x489e79
mov ecx, dword [ebp - 0x2a8]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x2b0]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4897f3
test edi, edi
je 0x4897f1
push edi
call fcn.00427324
mov ecx, dword [ebp - 0x2a8]
add esp, 4
mov edx, dword [ebp - 0x2b0]
mov edi, eax
jmp 0x4897f3
xor edi, edi
lea eax, [ecx + 1]
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], eax
lea ebx, [ecx + edi]
lea eax, [edi + 1]
mov dword [ebp - 0x2b4], ebx
add eax, ecx
mov dword [ebp - 0x2a8], eax
push ecx
cmp edx, 0x10
jb 0x489874
mov ebx, dword [ebp - 0x22c]
push ebx
push edi
call fcn.00428cc0
mov eax, dword [ebp - 0x2b4]
add esp, 0xc
mov cl, byte [ebp - 0x2a9]
mov byte [eax], cl
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2b0]
inc ecx
mov byte [eax], 0
cmp ecx, 0x1000
jb 0x489868
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x489e79
mov ebx, edx
push ecx
push ebx
call fcn.004272f3
add esp, 8
jmp 0x489895
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.00428cc0
mov eax, dword [ebp - 0x2a8]
add esp, 0xc
mov cl, byte [ebp - 0x2a9]
mov byte [ebx], cl
mov byte [eax], 0
mov dword [ebp - 0x22c], edi
mov edx, dword [ebp - 0x218]
add esi, 2
mov ecx, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x230]
mov edi, dword [ebp - 0x234]
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 0x2a8], ecx
jmp 0x489700
cmp edx, 0x10
lea eax, [ebp - 0x274]
lea ecx, [ebp - 0x22c]
cmovae ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x214]
push eax
call fcn.0040cbb7
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x48992a
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x489920
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489e79
push edx
push ecx
call fcn.004272f3
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
cmp edx, 8
jb 0x489989
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48997f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489e79
push edx
push ecx
call fcn.004272f3
add esp, 8
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x274]
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x2b4]
cmp dword [ebp - 0x260], 0x10
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x25c]
cmovae ecx, dword [ebp - 0x274]
push eax
call fcn.0040cd2a
add esp, 4
mov dword [ebp - 0x22c], 0
cmp dword [ebp - 0x290], 0x10
lea ebx, [ebp - 0x2a4]
mov dword [ebp - 0x21c], 0
cmovae ebx, dword [ebp - 0x2a4]
mov esi, ebx
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x489a30
sub esi, ecx
cmp esi, 0xf
ja 0x489a5f
push esi
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x21c], esi
push ebx
push eax
call fcn.00428cc0
mov byte [ebp + esi - 0x22c], 0
jmp 0x489af4
cmp esi, 0x7fffffff
ja 0x489e74
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x489a82
mov edi, SysReAllocString
lea ecx, [edi + 0x24]
jmp 0x489aa2
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x489abe
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x489e7e
push ecx
call fcn.00427324
add esp, 4
test eax, eax
je 0x489e83
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x489ad1
test eax, eax
je 0x489acf
push eax
call fcn.00427324
add esp, 4
mov ebx, eax
jmp 0x489ad1
xor ebx, ebx
push esi
push dword [ebp - 0x2b4]
mov dword [ebp - 0x21c], esi
push ebx
mov dword [ebp - 0x218], edi
call fcn.00428cc0
mov byte [ebx + esi], 0
mov dword [ebp - 0x22c], ebx
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
cmp dword [0x4e7c14], 0x10
mov edx, 0x4e7c00
push str.yh87Yx6EotW2RHhQlrSlh3ep1
cmovae edx, dword [0x4e7c00]
call fcn.0040cecf
add esp, 4
mov dword [ebp - 0x2a8], eax
mov ebx, eax
mov byte [ebp - 4], 6
cmp dword [ebx + 0x14], 0x10
jb 0x489b3b
mov ebx, dword [ebx]
mov dword [ebp - 0x2a8], ebx
mov esi, ebx
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x230], 0xf
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x489b54
sub esi, ecx
cmp esi, 0xf
ja 0x489b89
push esi
lea eax, [ebp - 0x244]
mov dword [ebp - 0x234], esi
push ebx
push eax
call fcn.00428cc0
mov byte [ebp + esi - 0x244], 0
mov ebx, dword [ebp - 0x244]
jmp 0x489c20
cmp esi, 0x7fffffff
ja 0x489e74
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x489bc8
mov edi, SysReAllocString
mov ecx, 0x80000023
push ecx
call fcn.00427324
add esp, 4
test eax, eax
je 0x489e83
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x489bfd
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x489bea
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x489e7e
jmp 0x489bac
test eax, eax
je 0x489bfb
push eax
call fcn.00427324
add esp, 4
mov ebx, eax
jmp 0x489bfd
xor ebx, ebx
push esi
push dword [ebp - 0x2a8]
mov dword [ebp - 0x234], esi
push ebx
mov dword [ebp - 0x230], edi
call fcn.00428cc0
mov byte [ebx + esi], 0
mov dword [ebp - 0x244], ebx
add esp, 0xc
mov dword [ebp - 0x2a8], 0
cmp dword [ebp - 0x230], 0x10
lea ecx, [ebp - 0x2b4]
lea eax, [ebp - 0x244]
mov dword [ebp - 0x2b4], 0
cmovae eax, ebx
push ecx
lea ecx, [ebp - 0x2a8]
push ecx
push 0
push 0x20006
push 0
push 0x4ab911
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 - 0x22c]
cmovae ecx, dword [ebp - 0x25c]
cmp dword [ebp - 0x218], 0x10
push ecx
cmovae eax, dword [ebp - 0x22c]
push 1
push 0
push eax
push dword [ebp - 0x2a8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x489ceb
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x489ce1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489e83
push edx
push ecx
call fcn.004272f3
add esp, 8
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
cmp edx, 0x10
jb 0x489d40
mov ecx, dword [ebp - 0x28c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x489d36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489e83
push edx
push ecx
call fcn.004272f3
add esp, 8
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
mov byte [ebp - 0x28c], 0
cmp edx, 0x10
jb 0x489d95
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x489d8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489e83
push edx
push ecx
call fcn.004272f3
add esp, 8
mov edx, dword [ebp - 0x248]
cmp edx, 0x10
jb 0x489dcf
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x489dc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489e88
push edx
push ecx
call fcn.004272f3
add esp, 8
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
cmp eax, 0x10
jb 0x489e22
mov edx, dword [ebp - 0x274]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x489e18
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489e88
push ecx
push edx
call fcn.004272f3
add esp, 8
mov edx, dword [ebp - 0x290]
cmp edx, 0x10
jb 0x489e58
mov ecx, dword [ebp - 0x2a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x489e4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489e88
push edx
push ecx
call fcn.004272f3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004272e5
mov esp, ebp
pop ebp
ret
call fcn.0040206f
call fcn.0043239f
call fcn.004021c5
call fcn.0043239f
call fcn.0043239f
int3