Function at 0x10045290
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4b05
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10195040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x58], edi
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], ecx
cmp eax, ecx
je 0x10045400
nop word [eax + eax]
cmp dword [ebp + 0x1c], 0xf
lea edx, [ebp + 8]
mov edi, dword [eax + 0x10]
mov esi, eax
cmova edx, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x100452f8
mov esi, dword [eax]
cmp edi, dword [ebp + 0x18]
jne 0x10045355
sub edi, 4
jb 0x10045313
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x10045318
add esi, 4
add edx, 4
sub edi, 4
jae 0x10045302
cmp edi, 0xfffffffc
je 0x1004534c
mov cl, byte [esi]
cmp cl, byte [edx]
jne 0x10045345
cmp edi, 0xfffffffd
je 0x1004534c
mov cl, byte [esi + 1]
cmp cl, byte [edx + 1]
jne 0x10045345
cmp edi, 0xfffffffe
je 0x1004534c
mov cl, byte [esi + 2]
cmp cl, byte [edx + 2]
jne 0x10045345
cmp edi, 0xffffffff
je 0x1004534c
mov cl, byte [esi + 3]
cmp cl, byte [edx + 3]
je 0x1004534c
sbb ecx, ecx
or ecx, 1
jmp 0x1004534e
xor ecx, ecx
test ecx, ecx
je 0x10045361
mov ecx, dword [ebp - 0x34]
add eax, 0x1c
cmp eax, ecx
jne 0x100452e0
jmp 0x10045400
mov edi, dword [ebp - 0x58]
lea esi, [eax + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x34], ecx
cmp esi, ecx
je 0x100453b3
lea edi, [esi - 0x1c]
cmp edi, esi
je 0x100453a3
mov ecx, edi
call fcn.1001abfb
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0x34]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [esi + 0x18]
mov dword [esi - 4], eax
add esi, 0x1c
cmp esi, ecx
jne 0x10045371
mov edi, dword [ebp - 0x58]
mov esi, dword [edi + 0x20]
mov ecx, dword [esi - 8]
cmp ecx, 0xf
jbe 0x100453ea
mov eax, dword [esi - 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x100453e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045863
mov eax, edx
push ecx
push eax
call fcn.1001a066
add esp, 8
mov dword [esi - 0xc], 0
mov dword [esi - 8], 0xf
mov byte [esi - 0x1c], 0
add dword [edi + 0x20], 0xffffffe4
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
mov ecx, 0x10197cc8
movups xmmword [ebp - 0x24], xmm0
call fcn.1003f600
nop word [eax + eax]
mov esi, 0x10197cc8
mov dword [ebp - 0x3c], 0
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x38], ecx
mov eax, 0x80000000
mov dword [ebp - 0x34], ecx
movzx edi, byte [esi]
cmp edi, 9
ja case.0x1004544a.0
movzx esi, byte [edi + 0x10045874]
jmp dword [esi*4 + 0x10045868]
mov eax, 0x80000000
cmp edi, 9
ja case.0x10045462.0
movzx esi, byte [edi + 0x1004588c]
jmp dword [esi*4 + 0x10045880]
mov ecx, dword [0x10197cd0]
mov ecx, dword [ecx]
jmp 0x10045483
mov edx, dword [0x10197cd0]
mov edx, dword [edx + 4]
jmp 0x10045483
mov eax, 1
mov esi, dword [ebp - 0x24]
cmp esi, 0x10197cc8
jne 0x10045765
movzx edi, byte [esi]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x54], esi
cmp edi, 9
ja case.0x100454a7.0
movzx esi, byte [edi + 0x100458a4]
jmp dword [esi*4 + 0x10045898]
mov edx, dword [ebp - 0x20]
cmp edx, ecx
mov ecx, dword [ebp - 0x18]
jmp 0x100454c8
cmp dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x18]
jmp 0x100454c5
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
mov edx, dword [ebp - 0x20]
setne al
test al, al
je 0x1004563e
cmp edi, 9
ja case.0x100454df.0
movzx eax, byte [edi + 0x100458bc]
jmp dword [eax*4 + 0x100458b0]
lea esi, [edx + 0x28]
jmp 0x100454fb
mov esi, dword [ebp - 0x54]
jmp 0x100454fe
test ecx, ecx
jne 0x1004582c
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x54], esi
cmp byte [esi], 1
jne 0x100457eb
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov edi, eax
mov dword [ebp - 0x34], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x10045554
nop word [eax + eax]
cmp dword [esi + 0x24], 0xf
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jbe 0x1004552e
mov eax, dword [eax]
push 4
push str.name
push ecx
push eax
call fcn.1001eb60
add esp, 0x10
test eax, eax
je 0x1004554a
jns 0x1004554a
mov esi, dword [esi + 8]
jmp 0x1004554e
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x10045520
cmp byte [edi + 0xd], 0
jne 0x10045584
cmp dword [edi + 0x24], 0xf
lea eax, [edi + 0x10]
mov ecx, dword [eax + 0x10]
jbe 0x10045568
mov eax, dword [eax]
push 4
push str.name
push ecx
push eax
call fcn.1001eb60
add esp, 0x10
test eax, eax
je 0x1004557f
jns 0x10045584
mov eax, dword [ebp - 0x34]
jmp 0x10045589
mov eax, dword [ebp - 0x34]
mov edi, eax
cmp edi, eax
je 0x1004579f
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x60]
push dword [ebp - 0x68]
xorps xmm0, xmm0
movq qword [ebp - 0x60], xmm0
call fcn.1001e270
xorps xmm0, xmm0
mov byte [ebp - 0x68], 3
push 0x18
movlpd qword [ebp - 0x38], xmm0
call fcn.1001a031
mov esi, eax
add esp, 4
lea eax, [ebp - 0x11]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.1001aa87
mov eax, dword [ebp - 0x34]
lea ecx, [edi + 0x28]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x60], esi
call fcn.1001dd50
mov byte [ebp - 0x4d], al
push dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.1001e270
cmp byte [ebp - 0x4d], 0
mov byte [ebp - 4], 0
jne 0x10045616
lea ecx, [ebp - 0x24]
call fcn.1003f260
jmp 0x10045420
mov ecx, dword [ebp - 0x24]
sub esp, 0x10
movq xmm0, qword [ebp - 0x20]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
movq qword [eax + 4], xmm0
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x10197cc8
call fcn.10042160
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
mov ecx, 0x10197cc8
push eax
call fcn.1003f320
mov esi, dword [eax + 0x10]
mov ecx, 0x10197cc8
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
call fcn.1003f320
cmp dword [eax + 0x14], 0xf
jbe 0x10045679
mov eax, dword [eax]
mov ecx, dword [ebp - 0x58]
add ecx, 4
cmp dword [ecx + 0x14], 0xf
jbe 0x10045687
mov ecx, dword [ecx]
push esi
push eax
push 1
push 0
push ecx
push dword [0x10197cc0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100456ce
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100456c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004579a
push ecx
push edx
call fcn.1001a066
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x10045714
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004570a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004579a
push ecx
push edx
call fcn.1001a066
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x10045748
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004573e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045863
push ecx
push edx
call fcn.1001a066
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008118d
mov esp, ebp
pop ebp
ret 0x18
push str.cannot_compare_iterators_of_different_containers
lea ecx, [ebp - 0x70]
call fcn.1001aabd
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x30]
push 0xd4
push eax
call fcn.100430e0
add esp, 0x10
lea eax, [ebp - 0x30]
push 0x1017569c
push eax
call fcn.1008b814
call fcn.100986ad
push str.name
lea ecx, [ebp - 0x70]
call fcn.1001aabd
push str._not_found
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push str.key_
push eax
call fcn.1004a400
push dword [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x4c]
push 0x193
push eax
call fcn.10041060
add esp, 0x20
lea eax, [ebp - 0x4c]
push 0x10176cc4
push eax
call fcn.1008b814
mov ecx, esi
call fcn.1001e060
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x70]
push str.cannot_use_at___with
push eax
call fcn.10021c30
push esi
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push 0x130
push eax
call fcn.1001f260
add esp, 0x1c
lea eax, [ebp - 0x30]
push 0x101756d8
push eax
call fcn.1008b814
push str.cannot_get_value
lea ecx, [ebp - 0x70]
call fcn.1001aabd
push dword [ebp - 0x24]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x4c]
push 0xd6
push eax
call fcn.100430e0
add esp, 0x10
lea eax, [ebp - 0x4c]
push 0x1017569c
push eax
call fcn.1008b814
call fcn.100986ad
push ecx
push esp
add al, 0x10
imul edx, dword [esp + eax + 0x10], 0x10045473
add byte [ecx], al
add al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
nop
jle 0x100458d6
add al, 0x10
imul edx, dword [esp + eax + 0x10], 0x10045473
add byte [ecx], al
add al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
nop
rcl byte [esp + eax + 0x10], 0xae
push esp
add al, 0x10
mov eax, 0x100454
add dword [edx], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi - 112], ah
invalid
push 0x64100b4d
mov eax, dword [pe_dos_header]
push eax
sub esp, 0xc0
mov eax, dword [0x10195040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmova eax, dword [ebp + 8]
push eax
push 0x10197ea0
mov dword [ebp - 4], 0
call fcn.10047af0
push eax
call fcn.10045ef0
push 0x48
lea eax, [ebp - 0x68]
mov dword [ebp - 0x14], 0x10197cc8
push 0
push eax
call fcn.1008e2b0
add esp, 0x1c
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x14]
push eax
call fcn.10046080
push 0x48
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.1008e2b0
add esp, 0xc
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x14]
push eax
call fcn.10046130
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x68]
call fcn.100420a0
test al, al
je 0x10045b45
lea eax, [ebp - 0x68]
push eax
call fcn.10046270
lea eax, [ebp - 0x68]
push eax
call fcn.100463d0
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x14], esi
push 4
movups xmmword [ecx], xmm0
push str.name
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1001af1f
mov ecx, esi
call fcn.1001d7d0
mov byte [ebp - 0xc4], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0xc4]
xorps xmm0, xmm0
mov edi, eax
movq qword [ebp - 0xbc], xmm0
call fcn.1001e270
xorps xmm0, xmm0
mov byte [ebp - 0xc4], 3
push 0x18
movlpd qword [ebp - 0x20], xmm0
call fcn.1001a031
mov esi, eax
add esp, 4
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.1001aa87
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xc4]
push eax
mov dword [ebp - 0xbc], esi
call fcn.1001dd50
mov byte [ebp - 0xb1], al
push dword [ebp - 0xc4]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.1001e270
cmp byte [ebp - 0xb1], 0
mov byte [ebp - 4], 2
jne 0x10045a8a
lea ecx, [ebp - 0x68]
call fcn.1003f260
inc dword [ebp - 0x58]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x68]
call fcn.100420a0
test al, al
jne 0x10045983
jmp 0x10045b45
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xcc]
push 0
push 0
push 0x20
push 0xffffffffffffffff
push eax
call fcn.1003f320
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x10]
inc ecx
mov dword [ebp - 0x14], eax
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x10045ad2
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x10045b0f
cmp dword [esi + 0x14], 0xf
jbe 0x10045ada
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.1008dd30
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0xf
jbe 0x10045b45
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045b3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045ba5
push ecx
push edx
call fcn.1001a066
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.100461e0
lea ecx, [ebp - 0x68]
call fcn.100461e0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x10045b88
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045b7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045baa
push ecx
push edx
call fcn.1001a066
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008118d
mov esp, ebp
pop ebp
ret 0x1c
call fcn.100986ad
call fcn.100986ad
int3