Function at 0x1003c5b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10148810
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101a49d4]
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 dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xf8], 0x1018e3e4
mov dword [ebp - 0xe8], 0x10191b60
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x90], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x94], 0x50
xorps xmm0, xmm0
movlpd qword [ebp - 0xf0], xmm0
push 0
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x90]
call fcn.10058910
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xfc], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xe0]
call fcn.10058250
mov dword [ebp - 0xe0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov esi, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
jb 0x1003c705
mov edi, dword [edi]
mov dword [ebp - 0x40], edi
xor eax, eax
cmp esi, 0x7fffffff
ja 0x1003c9bb
test esi, esi
je 0x1003c780
push esi
lea ecx, [ebp - 0xa0]
call fcn.10055e90
mov edi, eax
add esi, esi
push esi
push dword [ebp - 0x40]
push edi
call fcn.1011b630
add esp, 0xc
lea ecx, [esi + edi]
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xd4]
mov dword [eax], edi
mov eax, dword [ebp - 0xc4]
mov dword [eax], edi
sar esi, 1
mov eax, dword [ebp - 0xb4]
mov dword [eax], esi
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xd0]
mov dword [eax], edi
mov eax, dword [ebp - 0xc0]
mov dword [eax], edi
sub ecx, edi
sar ecx, 1
mov eax, dword [ebp - 0xb0]
mov dword [eax], ecx
mov eax, 1
jmp 0x1003c786
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xf8]
call fcn.1005e650
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1003c852
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x2c]
call fcn.10022b30
add esp, 4
mov dl, al
mov byte [ebp - 0x2d], dl
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x1c]
je 0x1003c809
lea ecx, [ebp - 0x2c]
call fcn.10024ce0
lea ecx, [ebp - 0xf8]
call fcn.10024230
lea ecx, [ebp - 0x3c]
call fcn.1004f450
xor al, al
jmp 0x1003c99f
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
je 0x1003c81f
mov byte [eax], dl
inc dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
jmp 0x1003c7a1
lea ecx, [ebp - 0x2d]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.1005aec0
mov dword [ebp - 4], 0xffffffff
jmp 0x1003c7a1
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
cmp ecx, eax
je 0x1003c888
sub eax, ecx
mov esi, dword [ebp - 0x44]
cmp dword [esi + 0x14], 8
jb 0x1003c869
mov esi, dword [esi]
cmp dword [ebx + 0x14], 8
jb 0x1003c871
mov ebx, dword [ebx]
push eax
push ecx
push 3
push esi
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x1003c918
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1003c8c2
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x2c]
cmp edx, 0x1000
mov eax, ecx
jb 0x1003c8b8
mov ecx, dword [ecx - 4]
sub eax, ecx
add edx, 0x23
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c9c0
push edx
push ecx
call fcn.1011a823
add esp, 8
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xf8]
call fcn.10024230
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1003c911
mov edx, dword [ebp - 0x34]
sub edx, ecx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c907
mov ecx, dword [ecx - 4]
sub eax, ecx
add edx, 0x23
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c9c0
push edx
push ecx
call fcn.1011a823
add esp, 8
xor al, al
jmp 0x1003c99f
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1003c94e
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c944
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c9c0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
xor eax, eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0xf8]
call fcn.10024230
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1003c99d
mov edx, dword [ebp - 0x34]
sub edx, ecx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c993
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c9c0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov al, 1
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.1011a2e1
mov esp, ebp
pop ebp
ret
call fcn.101055ad
call fcn.10125fc5
int3