Function at 0x41ee80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47de8d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x49e234]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push esi
lea edx, [ebp - 0x2b8]
call fcn.0041eb00
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x20f]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x210], bl
call fcn.0042dac0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push 0x48f6bc
push edx
call fcn.0042d94c
add esp, 0x1c
mov dword [ebp - 0x26c], 0xf
mov dword [ebp - 0x270], ebx
mov byte [ebp - 0x280], bl
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x248], ax
mov eax, esi
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ef30
sub eax, edx
mov ecx, esi
sar eax, 1
lea esi, [ebp - 0x248]
call fcn.00402141
lea ecx, [ebp - 0x22c]
push ecx
mov byte [ebp - 4], 2
call fcn.0040c4b7
add esp, 4
mov edi, 0x10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x41ef6f
mov eax, dword [eax]
lea edx, [ebp - 0x210]
push edx
push eax
lea ecx, [ebp - 0x280]
call fcn.0040e394
add esp, 8
cmp dword [ebp - 0x218], edi
jb 0x41ef9c
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0042b7c0
add esp, 4
cmp dword [ebp - 0x234], 8
mov esi, 0xf
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
jb 0x41efcb
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.0042b7c0
add esp, 4
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
mov byte [ebp - 0x264], bl
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x2bc], edx
cmp dword [ebp - 0x26c], edi
jae 0x41f001
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call fcn.0040e490
mov edx, dword [ebp - 0x2b8]
add esp, 8
cmp dword [ebp - 0x2a4], edi
jae 0x41f02b
lea edx, [ebp - 0x2b8]
mov eax, edx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], ebx
mov byte [ebp - 0x248], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41f042
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x248]
call fcn.004050e1
mov byte [ebp - 4], 5
mov eax, dword [0x4aa50c]
cmp dword [0x4aa520], edi
jae 0x41f06e
mov eax, 0x4aa50c
push eax
mov ecx, str.yh87Yx6EotW2RHhQlrSlh3ep1
lea ebx, [ebp - 0x29c]
call fcn.0040e62e
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], edi
jb 0x41f08f
mov edx, dword [eax]
jmp 0x41f091
mov edx, eax
xor ebx, ebx
mov eax, edx
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41f0b0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x22c]
call fcn.004050e1
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2c0], ebx
cmp dword [ebp - 0x218], edi
jae 0x41f0e6
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x2bc]
push edx
push ebx
push 0x20006
push ebx
push 0x48f600
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp - 0x264]
cmp dword [ebp - 0x250], edi
jae 0x41f121
lea ecx, [ebp - 0x264]
mov eax, dword [ebp - 0x248]
cmp dword [ebp - 0x234], edi
jae 0x41f135
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 0x254]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [ebp - 0x2bc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x218], edi
jb 0x41f165
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0042b7c0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
cmp dword [ebp - 0x288], edi
jb 0x41f193
mov edx, dword [ebp - 0x29c]
push edx
call fcn.0042b7c0
add esp, 4
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], ebx
mov byte [ebp - 0x29c], bl
cmp dword [ebp - 0x234], edi
jb 0x41f1bc
mov eax, dword [ebp - 0x248]
push eax
call fcn.0042b7c0
add esp, 4
cmp dword [ebp - 0x250], edi
jb 0x41f1d3
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.0042b7c0
add esp, 4
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
mov byte [ebp - 0x264], bl
cmp dword [ebp - 0x26c], edi
jb 0x41f1fc
mov edx, dword [ebp - 0x280]
push edx
call fcn.0042b7c0
add esp, 4
cmp dword [ebp - 0x2a4], edi
jb 0x41f213
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.0042b7c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b7cb
mov esp, ebp
pop ebp
ret