Function at 0x41bdd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451c21
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x128c
call fcn.004406a0
mov eax, dword [0x46a278]
xor eax, ebp
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1284], ecx
xor eax, eax
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1028]
push ecx
mov ecx, dword [ebp - 0x1284]
call fcn.0041a660
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x41be43
mov eax, dword [ebp - 0x20]
jmp 0x41c46f
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x1028]
push eax
call fcn.0041c5c0
add esp, 8
test eax, eax
jne 0x41be6f
push 0x20f
mov ecx, dword [ebp - 0x1284]
call fcn.0041a550
jmp 0x41c46f
mov ecx, dword [ebp - 0x1284]
call fcn.0041a5c0
lea ecx, [ebp - 0x1028]
push ecx
mov ecx, dword [ebp - 0x1284]
call fcn.0041a660
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x41be9d
mov eax, dword [ebp - 0x20]
jmp 0x41c46f
movzx edx, word [ebp - 0x1c]
mov dword [ebp - 0x1288], edx
cmp dword [ebp - 0x1288], 0x13
jg 0x41bed8
cmp dword [ebp - 0x1288], 0x13
je 0x41c0fb
cmp dword [ebp - 0x1288], 8
je 0x41bee9
cmp dword [ebp - 0x1288], 0x11
je 0x41c28f
jmp 0x41c435
cmp dword [ebp - 0x1288], 0x4008
je 0x41bf06
jmp 0x41c435
push 1
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c4d0
mov dword [ebp - 0x18], eax
jmp 0x41c435
lea edx, [ebp - 0x1028]
push edx
call dword [0x454330]
add eax, 2
mov dword [ebp - 0x1134], eax
lea ecx, [ebp - 0x1130]
call fcn.0040a3c0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1134]
push eax
lea ecx, [ebp - 0x1130]
call fcn.0041d490
jmp 0x41bf5e
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.00409c70
test eax, eax
je 0x41c0dd
lea ecx, [ebp - 0x1130]
call fcn.00409c70
mov dword [ebp - 0x113c], eax
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1140], ecx
mov dword [ebp - 0x1134], 0
mov edx, dword [ebp - 0x1140]
movsx eax, byte [edx]
test eax, eax
je 0x41c09f
mov ecx, dword [ebp - 0x1140]
push ecx
call dword [0x454578]
mov dword [ebp - 0x1144], eax
mov edx, dword [ebp - 0x1140]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x41c00c
mov ecx, dword [ebp - 0x1144]
movsx edx, byte [ecx]
cmp edx, 0x30
jne 0x41c00c
mov eax, dword [ebp - 0x113c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x113c]
add ecx, 1
mov dword [ebp - 0x113c], ecx
mov edx, dword [ebp - 0x1144]
push edx
call dword [0x454578]
mov dword [ebp - 0x1140], eax
jmp 0x41c08b
mov eax, dword [ebp - 0x113c]
mov ecx, dword [ebp - 0x1140]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x1140]
movzx ecx, byte [eax]
push ecx
call dword [0x454278]
test eax, eax
je 0x41c06d
mov edx, dword [ebp - 0x113c]
add edx, 1
mov dword [ebp - 0x113c], edx
mov eax, dword [ebp - 0x1140]
add eax, 1
mov dword [ebp - 0x1140], eax
mov ecx, dword [ebp - 0x1140]
movsx edx, byte [ecx]
test edx, edx
jne 0x41c05d
jmp 0x41c09f
mov eax, dword [ebp - 0x113c]
mov ecx, dword [ebp - 0x1140]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x113c]
add eax, 1
mov dword [ebp - 0x113c], eax
mov ecx, dword [ebp - 0x1140]
add ecx, 1
mov dword [ebp - 0x1140], ecx
mov edx, dword [ebp - 0x1134]
add edx, 1
mov dword [ebp - 0x1134], edx
jmp 0x41bf9f
mov eax, dword [ebp - 0x113c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x113c]
add ecx, 1
mov dword [ebp - 0x113c], ecx
mov edx, dword [ebp - 0x113c]
mov byte [edx], 0
lea ecx, [ebp - 0x1130]
call fcn.00409c70
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c530
mov dword [ebp - 0x18], eax
jmp 0x41c0e4
mov dword [ebp - 0x18], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1130]
call fcn.0041d470
jmp 0x41c435
call fcn.00402450
mov dword [ebp - 0x1154], eax
lea ecx, [ebp - 0x115c]
call fcn.0040a3c0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x114c], ecx
cmp dword [ebp - 0x114c], 0
jne 0x41c13c
mov dword [ebp - 0x128c], 0
jmp 0x41c20e
mov edx, dword [ebp - 0x114c]
push edx
call dword [0x454330]
add eax, 1
mov dword [ebp - 0x1158], eax
push 2
mov eax, dword [ebp - 0x1158]
push eax
lea ecx, [ebp - 0x1158]
push ecx
call fcn.00402310
add esp, 0xc
test eax, eax
jge 0x41c17d
mov dword [ebp - 0x1290], 0
jmp 0x41c202
cmp dword [ebp - 0x1158], 0x400
jg 0x41c1c1
mov edx, dword [ebp - 0x1158]
push edx
call fcn.00402370
add esp, 4
movzx eax, al
test eax, eax
je 0x41c1c1
mov eax, dword [ebp - 0x1158]
call fcn.0043db80
mov dword [ebp - 0x1294], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x1294]
mov dword [ebp - 0x1298], ecx
jmp 0x41c1d9
mov edx, dword [ebp - 0x1158]
push edx
lea ecx, [ebp - 0x115c]
call fcn.0040cae0
mov dword [ebp - 0x1298], eax
mov eax, dword [ebp - 0x1154]
push eax
mov ecx, dword [ebp - 0x1158]
shr ecx, 1
push ecx
mov edx, dword [ebp - 0x114c]
push edx
mov eax, dword [ebp - 0x1298]
push eax
call fcn.00402460
mov dword [ebp - 0x1290], eax
mov ecx, dword [ebp - 0x1290]
mov dword [ebp - 0x128c], ecx
mov edx, dword [ebp - 0x128c]
mov dword [ebp - 0x1150], edx
cmp dword [ebp - 0x1150], 0
jne 0x41c24a
mov dword [ebp - 0x127c], 0x8007000e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x115c]
call fcn.0040cb50
mov eax, dword [ebp - 0x127c]
jmp 0x41c46f
lea eax, [ebp - 0x1160]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x1150]
push ecx
call dword [0x454368]
mov edx, dword [ebp - 0x1160]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c4a0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x115c]
call fcn.0040cb50
jmp 0x41c435
lea ecx, [ebp - 0x1028]
push ecx
call dword [0x454330]
mov dword [ebp - 0x1168], eax
mov edx, dword [ebp - 0x1168]
and edx, 1
je 0x41c2b7
mov eax, 0x80004005
jmp 0x41c46f
mov eax, dword [ebp - 0x1168]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1164], eax
lea ecx, [ebp - 0x1270]
call fcn.0040a3c0
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1164]
push eax
lea ecx, [ebp - 0x1270]
call fcn.0041d490
jmp 0x41c30a
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1270]
call fcn.00409c70
test eax, eax
jne 0x41c347
mov dword [ebp - 0x1280], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.0041d470
mov eax, dword [ebp - 0x1280]
jmp 0x41c46f
mov ecx, dword [ebp - 0x1164]
push ecx
push 0
lea ecx, [ebp - 0x1270]
call fcn.00409c70
push eax
call fcn.0043d9e0
add esp, 0xc
mov dword [ebp - 0x1278], 0
jmp 0x41c37f
mov edx, dword [ebp - 0x1278]
add edx, 1
mov dword [ebp - 0x1278], edx
mov eax, dword [ebp - 0x1278]
cmp eax, dword [ebp - 0x1168]
jge 0x41c3f6
mov eax, dword [ebp - 0x1278]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea ecx, [ebp - 0x1270]
call fcn.00409c70
add eax, esi
mov dword [ebp - 0x129c], eax
mov ecx, dword [ebp - 0x1278]
and ecx, 1
mov esi, 1
sub esi, ecx
shl esi, 2
mov edx, dword [ebp - 0x1278]
movzx eax, byte [ebp + edx - 0x1028]
push eax
call fcn.0041c690
add esp, 4
movzx edx, al
mov ecx, esi
shl edx, cl
mov eax, dword [ebp - 0x129c]
movzx ecx, byte [eax]
or ecx, edx
mov edx, dword [ebp - 0x129c]
mov byte [edx], cl
jmp 0x41c370
mov eax, dword [ebp - 0x1164]
push eax
lea ecx, [ebp - 0x1270]
call fcn.00409c70
push eax
push 3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00409c70
push eax
call dword [0x454014]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.0041d470
cmp dword [ebp - 0x18], 0
je 0x41c450
mov dword [ebp - 0x14], 0x204
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041ba70
add esp, 4
jmp 0x41c46f
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1284]
call fcn.0041a660
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x41c46d
mov eax, dword [ebp - 0x20]
jmp 0x41c46f
xor eax, eax
lea esp, [ebp - 0x12ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0043d97d
mov esp, ebp
pop ebp
ret 0xc