Function at 0x48b040
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497670
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x4be034]
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.0048bed0
add esp, 4
push 0x200
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00429200
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp + 8]
push 0x4ad0b8
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 0x48b120
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x48b15c
mov dword [ebp - 0x234], esi
lea eax, [ebp - 0x244]
add esi, esi
push esi
push ebx
push eax
call fcn.00428c80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x244], ax
jmp 0x48b206
cmp esi, 0x7ffffffe
ja 0x48ba84
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x48b181
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x48b1a2
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x48ba8e
add eax, eax
cmp eax, 0x1000
jb 0x48b1c9
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x48ba8e
push ecx
call fcn.004272e4
add esp, 4
test eax, eax
je 0x48ba89
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x48b1dc
test eax, eax
je 0x48b1da
push eax
call fcn.004272e4
add esp, 4
mov ebx, eax
jmp 0x48b1dc
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.00428c80
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 0x48b2f1
cmp edi, 0x7fffffff
ja 0x48ba84
or edi, edx
cmp edi, 0x7fffffff
jbe 0x48b274
mov edi, SysReAllocString
lea ecx, [edi + 0x24]
jmp 0x48b28e
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x48b2aa
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x48ba8e
push ecx
call fcn.004272e4
add esp, 4
test eax, eax
je 0x48ba89
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x48b2bd
test eax, eax
je 0x48b2bb
push eax
call fcn.004272e4
add esp, 4
mov ecx, eax
jmp 0x48b2bd
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 0x48b4d7
mov bl, byte [esi]
mov byte [ebp - 0x2a9], bl
cmp ecx, edx
jae 0x48b35d
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 0x48b4ab
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x48ba84
lea ebx, [ecx + 1]
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x48b385
mov ebx, SysReAllocString
lea eax, [ebx + 0x24]
jmp 0x48b3bc
mov edi, edx
mov eax, SysReAllocString
shr edi, 1
sub eax, edi
cmp edx, eax
jbe 0x48b39e
mov ebx, SysReAllocString
lea eax, [ebx + 0x24]
jmp 0x48b3bc
lea eax, [edx + edi]
cmp ebx, eax
cmovb ebx, eax
lea edi, [ebx + 1]
cmp edi, 0x1000
jb 0x48b3e4
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x48ba8e
push eax
call fcn.004272e4
add esp, 4
test eax, eax
je 0x48ba89
mov ecx, dword [ebp - 0x2a8]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x2b0]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x48b403
test edi, edi
je 0x48b401
push edi
call fcn.004272e4
mov ecx, dword [ebp - 0x2a8]
add esp, 4
mov edx, dword [ebp - 0x2b0]
mov edi, eax
jmp 0x48b403
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 0x48b484
mov ebx, dword [ebp - 0x22c]
push ebx
push edi
call fcn.00428c80
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 0x48b478
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x48ba89
mov ebx, edx
push ecx
push ebx
call fcn.004272b3
add esp, 8
jmp 0x48b4a5
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.00428c80
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 0x48b310
cmp edx, 0x10
lea eax, [ebp - 0x274]
lea ecx, [ebp - 0x22c]
cmovae ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x214]
push eax
call fcn.0040cb87
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x48b53a
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48b530
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba89
push edx
push ecx
call fcn.004272b3
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 0x48b599
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b58f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba89
push edx
push ecx
call fcn.004272b3
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.0040ccfa
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 0x48b640
sub esi, ecx
cmp esi, 0xf
ja 0x48b66f
push esi
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x21c], esi
push ebx
push eax
call fcn.00428c80
mov byte [ebp + esi - 0x22c], 0
jmp 0x48b704
cmp esi, 0x7fffffff
ja 0x48ba84
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x48b692
mov edi, SysReAllocString
lea ecx, [edi + 0x24]
jmp 0x48b6b2
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x48b6ce
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x48ba8e
push ecx
call fcn.004272e4
add esp, 4
test eax, eax
je 0x48ba93
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x48b6e1
test eax, eax
je 0x48b6df
push eax
call fcn.004272e4
add esp, 4
mov ebx, eax
jmp 0x48b6e1
xor ebx, ebx
push esi
push dword [ebp - 0x2b4]
mov dword [ebp - 0x21c], esi
push ebx
mov dword [ebp - 0x218], edi
call fcn.00428c80
mov byte [ebx + esi], 0
mov dword [ebp - 0x22c], ebx
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
cmp dword [0x4e8d24], 0x10
mov edx, 0x4e8d10
push str.yh87Yx6EotW2RHhQlrSlh3ep1
cmovae edx, dword [0x4e8d10]
call fcn.0040ce9f
add esp, 4
mov dword [ebp - 0x2a8], eax
mov ebx, eax
mov byte [ebp - 4], 6
cmp dword [ebx + 0x14], 0x10
jb 0x48b74b
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 0x48b764
sub esi, ecx
cmp esi, 0xf
ja 0x48b799
push esi
lea eax, [ebp - 0x244]
mov dword [ebp - 0x234], esi
push ebx
push eax
call fcn.00428c80
mov byte [ebp + esi - 0x244], 0
mov ebx, dword [ebp - 0x244]
jmp 0x48b830
cmp esi, 0x7fffffff
ja 0x48ba84
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x48b7d8
mov edi, SysReAllocString
mov ecx, 0x80000023
push ecx
call fcn.004272e4
add esp, 4
test eax, eax
je 0x48ba93
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x48b80d
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x48b7fa
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x48ba8e
jmp 0x48b7bc
test eax, eax
je 0x48b80b
push eax
call fcn.004272e4
add esp, 4
mov ebx, eax
jmp 0x48b80d
xor ebx, ebx
push esi
push dword [ebp - 0x2a8]
mov dword [ebp - 0x234], esi
push ebx
mov dword [ebp - 0x230], edi
call fcn.00428c80
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 0x4aca91
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 0x48b8fb
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48b8f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba93
push edx
push ecx
call fcn.004272b3
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 0x48b950
mov ecx, dword [ebp - 0x28c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48b946
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba93
push edx
push ecx
call fcn.004272b3
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 0x48b9a5
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48b99b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba93
push edx
push ecx
call fcn.004272b3
add esp, 8
mov edx, dword [ebp - 0x248]
cmp edx, 0x10
jb 0x48b9df
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48b9d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba98
push edx
push ecx
call fcn.004272b3
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 0x48ba32
mov edx, dword [ebp - 0x274]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x48ba28
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba98
push ecx
push edx
call fcn.004272b3
add esp, 8
mov edx, dword [ebp - 0x290]
cmp edx, 0x10
jb 0x48ba68
mov ecx, dword [ebp - 0x2a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48ba5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ba98
push edx
push ecx
call fcn.004272b3
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.004272a5
mov esp, ebp
pop ebp
ret
call fcn.0040206f
call fcn.004324bf
call fcn.004021c5
call fcn.004324bf
call fcn.004324bf
int3