Function at 0x49af40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a609b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4d3094]
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.0049b890
add esp, 4
push 0x200
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00441690
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp + 8]
push 0x4beee8
push eax
call fcn.00409140
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 0x49aff9
xor ecx, ecx
jmp 0x49b00f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49b000
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x244]
call fcn.004027c1
lea edx, [ebp - 0x244]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.0040afa0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x49b03d
mov eax, dword [eax]
lea ecx, [ebp - 0x274]
push ecx
lea edx, [ebp - 0x214]
mov ecx, eax
call fcn.0040e29c
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x218]
cmp eax, 0x10
jb 0x49b0a8
mov ecx, dword [ebp - 0x22c]
inc eax
cmp eax, 0x1000
jb 0x49b09f
test cl, 0x1f
je 0x49b07b
call fcn.00448963
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b087
call fcn.00448963
sub ecx, eax
cmp ecx, 4
jae 0x49b093
call fcn.00448963
cmp ecx, 0x23
jbe 0x49b09d
call fcn.00448963
mov ecx, eax
push ecx
call fcn.004842a0
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 0x49b129
mov ecx, dword [ebp - 0x244]
inc eax
cmp eax, 0x7fffffff
jbe 0x49b0e5
call fcn.00448963
add eax, eax
cmp eax, 0x1000
jb 0x49b120
test byte [ebp - 0x244], 0x1f
je 0x49b0fc
call fcn.00448963
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b108
call fcn.00448963
sub ecx, eax
cmp ecx, 4
jae 0x49b114
call fcn.00448963
cmp ecx, 0x23
jbe 0x49b11e
call fcn.00448963
mov ecx, eax
push ecx
call fcn.004842a0
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.0040e411
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 0x49b1b7
xor ecx, ecx
jmp 0x49b1c9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49b1c0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x244]
call fcn.00405d87
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
cmp dword [0x4ff2d8], 0x10
mov edx, 0x4ff2c4
push str.yh87Yx6EotW2RHhQlrSlh3ep1
cmovae edx, dword [0x4ff2c4]
call fcn.0040e5c6
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x49b20e
mov edx, dword [edx]
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
cmp byte [edx], 0
jne 0x49b232
xor ecx, ecx
jmp 0x49b240
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49b237
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x22c]
call fcn.00405d87
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 0x4be81d
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 0x49b32f
mov ecx, dword [ebp - 0x22c]
inc eax
cmp eax, 0x1000
jb 0x49b326
test cl, 0x1f
je 0x49b302
call fcn.00448963
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b30e
call fcn.00448963
sub ecx, eax
cmp ecx, 4
jae 0x49b31a
call fcn.00448963
cmp ecx, 0x23
jbe 0x49b324
call fcn.00448963
mov ecx, eax
push ecx
call fcn.004842a0
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 0x49b39a
mov ecx, dword [ebp - 0x28c]
inc eax
cmp eax, 0x1000
jb 0x49b391
test cl, 0x1f
je 0x49b36d
call fcn.00448963
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b379
call fcn.00448963
sub ecx, eax
cmp ecx, 4
jae 0x49b385
call fcn.00448963
cmp ecx, 0x23
jbe 0x49b38f
call fcn.00448963
mov ecx, eax
push ecx
call fcn.004842a0
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 0x49b405
mov ecx, dword [ebp - 0x244]
inc eax
cmp eax, 0x1000
jb 0x49b3fc
test cl, 0x1f
je 0x49b3d8
call fcn.00448963
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b3e4
call fcn.00448963
sub ecx, eax
cmp ecx, 4
jae 0x49b3f0
call fcn.00448963
cmp ecx, 0x23
jbe 0x49b3fa
call fcn.00448963
mov ecx, eax
push ecx
call fcn.004842a0
add esp, 4
mov eax, dword [ebp - 0x248]
cmp eax, 0x10
jb 0x49b455
mov ecx, dword [ebp - 0x25c]
inc eax
cmp eax, 0x1000
jb 0x49b44c
test cl, 0x1f
je 0x49b428
call fcn.00448963
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b434
call fcn.00448963
sub ecx, eax
cmp ecx, 4
jae 0x49b440
call fcn.00448963
cmp ecx, 0x23
jbe 0x49b44a
call fcn.00448963
mov ecx, eax
push ecx
call fcn.004842a0
add esp, 4
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], 0
mov byte [ebp - 0x25c], 0
cmp esi, 0x10
jb 0x49b489
push 1
lea eax, [esi + 1]
push eax
push dword [ebp - 0x274]
call fcn.0040160b
add esp, 0xc
mov eax, dword [ebp - 0x290]
cmp eax, 0x10
jb 0x49b4a6
push 1
inc eax
push eax
push dword [ebp - 0x2a4]
call fcn.0040160b
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.00427425
mov esp, ebp
pop ebp
ret