Function at 0x49b030
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a61cb
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.0049b980
add esp, 4
push 0x200
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004416c0
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp + 8]
push 0x4beef0
push eax
call fcn.00409171
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 0x49b0e9
xor ecx, ecx
jmp 0x49b0ff
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49b0f0
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.0040afd1
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x49b12d
mov eax, dword [eax]
lea ecx, [ebp - 0x274]
push ecx
lea edx, [ebp - 0x214]
mov ecx, eax
call fcn.0040e2cc
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x218]
cmp eax, 0x10
jb 0x49b198
mov ecx, dword [ebp - 0x22c]
inc eax
cmp eax, 0x1000
jb 0x49b18f
test cl, 0x1f
je 0x49b16b
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b177
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x49b183
call fcn.00448993
cmp ecx, 0x23
jbe 0x49b18d
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
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 0x49b219
mov ecx, dword [ebp - 0x244]
inc eax
cmp eax, 0x7fffffff
jbe 0x49b1d5
call fcn.00448993
add eax, eax
cmp eax, 0x1000
jb 0x49b210
test byte [ebp - 0x244], 0x1f
je 0x49b1ec
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b1f8
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x49b204
call fcn.00448993
cmp ecx, 0x23
jbe 0x49b20e
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
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.0040e441
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 0x49b2a7
xor ecx, ecx
jmp 0x49b2b9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49b2b0
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 [0x4ff2f0], 0x10
mov edx, 0x4ff2dc
push str.yh87Yx6EotW2RHhQlrSlh3ep1
cmovae edx, dword [0x4ff2dc]
call fcn.0040e5f6
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x49b2fe
mov edx, dword [edx]
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
cmp byte [edx], 0
jne 0x49b322
xor ecx, ecx
jmp 0x49b330
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49b327
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 0x4be825
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 0x49b41f
mov ecx, dword [ebp - 0x22c]
inc eax
cmp eax, 0x1000
jb 0x49b416
test cl, 0x1f
je 0x49b3f2
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b3fe
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x49b40a
call fcn.00448993
cmp ecx, 0x23
jbe 0x49b414
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
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 0x49b48a
mov ecx, dword [ebp - 0x28c]
inc eax
cmp eax, 0x1000
jb 0x49b481
test cl, 0x1f
je 0x49b45d
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b469
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x49b475
call fcn.00448993
cmp ecx, 0x23
jbe 0x49b47f
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
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 0x49b4f5
mov ecx, dword [ebp - 0x244]
inc eax
cmp eax, 0x1000
jb 0x49b4ec
test cl, 0x1f
je 0x49b4c8
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b4d4
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x49b4e0
call fcn.00448993
cmp ecx, 0x23
jbe 0x49b4ea
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
add esp, 4
mov eax, dword [ebp - 0x248]
cmp eax, 0x10
jb 0x49b545
mov ecx, dword [ebp - 0x25c]
inc eax
cmp eax, 0x1000
jb 0x49b53c
test cl, 0x1f
je 0x49b518
call fcn.00448993
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x49b524
call fcn.00448993
sub ecx, eax
cmp ecx, 4
jae 0x49b530
call fcn.00448993
cmp ecx, 0x23
jbe 0x49b53a
call fcn.00448993
mov ecx, eax
push ecx
call fcn.00484290
add esp, 4
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], 0
mov byte [ebp - 0x25c], 0
cmp esi, 0x10
jb 0x49b579
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 0x49b596
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.0042746a
mov esp, ebp
pop ebp
ret