Function at 0x40d730
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44fcc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 2
mov eax, dword [esi + 0xad0]
lea ebx, [esi + 0xad0]
push 0xffffffffffffffff
push 0x100c
push eax
mov dword [esp + 0x60], esi
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebp, ebp
mov dword [esp + 0x1c], eax
cmp eax, ebp
jge 0x40d857
push 0x40
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push str.LNG01277
call fcn.00425b80
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x460650
call fcn.00429000
mov ecx, eax
mov dword [esp + 0x278], ebp
call fcn.00402d00
push eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.LNG01293
call fcn.00425b80
lea edx, [esp + 0x60]
mov ecx, 0x460650
push edx
call fcn.00429000
mov ecx, eax
mov byte [esp + 0x27c], 1
call fcn.00402d00
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x50]
mov edx, dword [0x45c054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d81f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d81f
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40eba4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40eba4
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
jmp 0x40eba4
mov eax, dword [0x45c050]
mov dword [esp + 0x44], eax
mov dword [esp + 0x274], 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x64]
mov byte [esp + 0x274], 4
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], ebp
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x44]
push esi
mov dword [esp + 0x80], esi
call fcn.00426320
cmp eax, ebp
mov dword [esp + 0x78], eax
je 0x40d8ef
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [esp + 0x64]
push eax
push ecx
push 0x102d
push edx
call edi
lea ecx, [esi - 1]
cmp eax, ecx
jl 0x40d8ef
add esi, esi
lea ecx, [esp + 0x44]
push esi
mov dword [esp + 0x80], esi
call fcn.00426320
cmp eax, ebp
mov dword [esp + 0x78], eax
jne 0x40d8b9
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
call fcn.004036e0
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], 2
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x38]
push esi
mov dword [esp + 0x80], esi
call fcn.00426320
cmp eax, ebp
mov dword [esp + 0x78], eax
je 0x40d972
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
lea edx, [esp + 0x64]
push edx
push eax
push 0x102d
push ecx
call edi
lea edx, [esi - 1]
cmp eax, edx
jl 0x40d972
add esi, esi
lea ecx, [esp + 0x38]
push esi
mov dword [esp + 0x80], esi
call fcn.00426320
cmp eax, ebp
mov dword [esp + 0x78], eax
jne 0x40d93c
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
call fcn.004036e0
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 3
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x3c]
push esi
mov dword [esp + 0x80], esi
call fcn.00426320
cmp eax, ebp
mov dword [esp + 0x78], eax
je 0x40d9f5
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [esp + 0x64]
push eax
push ecx
push 0x102d
push edx
call edi
lea ecx, [esi - 1]
cmp eax, ecx
jl 0x40d9f5
add esi, esi
lea ecx, [esp + 0x3c]
push esi
mov dword [esp + 0x80], esi
call fcn.00426320
cmp eax, ebp
mov dword [esp + 0x78], eax
jne 0x40d9bf
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
call fcn.004036e0
lea ecx, [esp + 0xcc]
call fcn.004066f0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x274], 5
call fcn.004385a0
mov eax, dword [0x45c050]
mov dword [esp + 0xcc], 0x4545ac
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.LNG01292
mov byte [esp + 0x280], 6
call fcn.00425b80
lea edx, [esp + 0x5c]
mov ecx, 0x460650
push edx
call fcn.00429000
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x158]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp ecx, eax
mov byte [esp + 0x274], 7
je 0x40dad8
cmp dword [ecx - 0xc], ebp
jge 0x40daa5
mov edx, dword [0x45c054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40daaa
cmp dword [eax - 0xc], ebp
jge 0x40dabd
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x160]
call fcn.00403580
jmp 0x40dad8
lea ecx, [esp + 0x158]
call fcn.00425890
mov esi, dword [esi]
mov dword [esp + 0x158], esi
add esi, 0xfffffff4
push esi
call edi
mov eax, dword [esp + 0x54]
mov edx, dword [0x45c054]
mov byte [esp + 0x274], 6
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40db0f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40db0f
mov edx, dword [esp + 0x54]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x40db65
cmp dword [eax - 0xc], ebp
jge 0x40db30
mov edx, dword [0x45c054]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40db35
cmp dword [ecx - 0xc], ebp
jge 0x40db48
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [esp + 0x164]
call fcn.00403580
jmp 0x40db65
lea ecx, [esp + 0x15c]
call fcn.00425890
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x15c], eax
add eax, 0xfffffff4
push eax
call edi
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
je 0x40dbbb
cmp dword [eax - 0xc], ebp
jge 0x40db86
mov edx, dword [0x45c054]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40db8b
cmp dword [ecx - 0xc], ebp
jge 0x40db9e
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x168]
call fcn.00403580
jmp 0x40dbbb
lea ecx, [esp + 0x160]
call fcn.00425890
mov eax, dword [esp + 0x44]
mov dword [esp + 0x160], eax
add eax, 0xfffffff4
push eax
call edi
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
je 0x40dc11
cmp dword [eax - 0xc], ebp
jge 0x40dbdc
mov edx, dword [0x45c054]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40dbe1
cmp dword [ecx - 0xc], ebp
jge 0x40dbf4
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x16c]
call fcn.00403580
jmp 0x40dc11
lea ecx, [esp + 0x164]
call fcn.00425890
mov eax, dword [esp + 0x38]
mov dword [esp + 0x164], eax
add eax, 0xfffffff4
push eax
call edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea eax, [esp + 0xcc]
lea ecx, [esp + 0xd4]
push eax
push ecx
push 0x460688
call fcn.00403e10
mov eax, dword [0x460690]
push ebp
push 0x442930
push esi
push 0xcd
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x40eb5a
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebp
jl 0x40dc6e
push eax
mov dword [esp + 0x58], ecx
call edi
jmp 0x40dc82
mov edx, dword [0x45c050]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], edx
call fcn.00425f80
mov ecx, dword [esp + 0x164]
mov byte [esp + 0x274], 8
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebp
jl 0x40dca4
push eax
mov dword [esp + 0x34], ecx
call edi
jmp 0x40dcb7
mov eax, dword [0x45c050]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
call fcn.00425f80
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x169]
mov byte [esp + 0x168], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x30]
mov byte [esp + 0x274], 9
mov ebx, dword [eax - 8]
mov esi, dword [eax - 0xc]
lea edx, [eax - 0xc]
cmp esi, 1
lea ecx, [ebx + 1]
mov dword [esp + 0x48], edx
jg 0x40dcf8
cmp ecx, dword [eax - 4]
jle 0x40dd39
cmp ecx, ebx
jge 0x40dcfe
mov ecx, ebx
push ecx
lea ecx, [esp + 0x34]
call fcn.00425830
test eax, eax
je 0x40dd39
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
lea ecx, [ebx + 1]
push eax
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [ecx - 8], ebx
call fcn.004258d0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x168]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edi, [esp + 0x168]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40dd86
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x168]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x50]
push 0xf000
push ecx
lea ecx, [esi + 0xad0]
call fcn.0042adf0
shr eax, 0xc
dec eax
je 0x40e6dc
mov eax, dword [0x45c050]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x288], 0xb
call fcn.00425750
lea eax, [esi + 0xaec]
mov ecx, esi
push eax
call fcn.00408b90
cmp eax, ebp
je 0x40e6b5
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x50], esp
mov ecx, esp
cmp dword [eax - 0xc], ebp
jl 0x40de16
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x40de28
mov edx, dword [0x45c050]
mov dword [ecx], edx
mov eax, dword [esp + 0x20]
push eax
call fcn.00425f80
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x280], 0xc
call fcn.00425750
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x284], 0xb
call fcn.0042c2b0
add esp, 0x10
mov eax, dword [esp + 0x38]
mov byte [esp + 0x274], 0xd
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x40e012
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
mov ebx, eax
cmp ebx, ebp
je 0x40e012
mov edx, 0x460718
test edx, edx
jne 0x40de95
mov dword [esp + 0x2c], ebp
jmp 0x40dea0
push 0x460718
call esi
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esi - 8]
add eax, esi
cmp esi, eax
mov dword [esp + 0x18], eax
jae 0x40e012
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00445b15
add esp, 8
cmp eax, ebp
je 0x40dedf
mov ecx, dword [esp + 0x14]
lea esi, [eax + ebx]
push ecx
push esi
inc edi
call fcn.00445b15
add esp, 8
cmp eax, ebp
jne 0x40dec9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x40deb7
cmp edi, ebp
jle 0x40e012
lea ecx, [esp + 0x10]
call fcn.00425a40
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
sub eax, ebx
imul eax, edi
mov ecx, dword [esi - 8]
mov dword [esp + 0x24], ecx
add eax, ecx
mov ecx, dword [esi - 4]
mov dword [esp + 0x20], eax
cmp ecx, eax
jl 0x40df2a
cmp dword [esi - 0xc], 1
jle 0x40df66
lea edx, [esi - 0xc]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
call fcn.00425830
test eax, eax
je 0x40e012
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push eax
mov ecx, dword [eax + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004258d0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
add eax, esi
cmp esi, eax
mov dword [esp + 0x18], eax
jae 0x40e00b
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00445b15
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x40dff0
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
sub ebp, edi
sub ebp, ebx
lea ecx, [edi + ebx]
add ebp, edx
lea eax, [edi + esi]
push ebp
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.004457e0
mov ecx, esi
mov esi, 0x460718
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
sub eax, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push ecx
push esi
mov byte [esi + ebp], 0
mov ebp, dword [esp + 0x38]
add ebp, eax
mov dword [esp + 0x38], ebp
call fcn.00445b15
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x40df8b
xor ebp, ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x40df77
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esi - 8], edx
mov eax, 0x45c6dc
test eax, eax
je 0x40e1b4
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x40e1b4
mov ecx, 0x45c6d8
test ecx, ecx
jne 0x40e041
mov dword [esp + 0x14], ecx
jmp 0x40e04c
push 0x45c6d8
call esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esi - 8]
add ebp, esi
cmp esi, ebp
jae 0x40e1b4
push 0x45c6dc
push esi
call fcn.00445b15
add esp, 8
test eax, eax
je 0x40e087
lea esi, [eax + ebx]
push 0x45c6dc
push esi
inc edi
call fcn.00445b15
add esp, 8
test eax, eax
jne 0x40e071
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp esi, ebp
jb 0x40e05f
test edi, edi
jle 0x40e1b4
lea ecx, [esp + 0x10]
call fcn.00425a40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x28], ebp
cmp eax, ebp
jl 0x40e0ce
cmp dword [esi - 0xc], 1
jle 0x40e10a
lea edx, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edx
call fcn.00425830
test eax, eax
je 0x40e1b4
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
push eax
mov ecx, dword [eax + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004258d0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
add eax, esi
cmp esi, eax
mov dword [esp + 0x24], eax
jae 0x40e1b1
push 0x45c6dc
push esi
call fcn.00445b15
mov edi, eax
add esp, 8
test edi, edi
je 0x40e196
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub ebp, edi
sub ebp, ebx
lea ecx, [edi + ebx]
add ebp, edx
lea eax, [edi + esi]
push ebp
push ecx
push eax
mov dword [esp + 0x2c], eax
call fcn.004457e0
mov ecx, esi
mov esi, 0x45c6d8
mov edx, ecx
push 0x45c6dc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
sub eax, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
push esi
mov byte [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.00445b15
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x40e12f
mov ebp, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x24]
cmp esi, eax
jb 0x40e11b
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
mov ecx, 0x45c6d4
test ecx, ecx
je 0x40e356
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ecx
call esi
mov ebx, eax
test ebx, ebx
je 0x40e356
mov edx, 0x45c6d8
test edx, edx
jne 0x40e1e3
mov dword [esp + 0x14], edx
jmp 0x40e1ee
push 0x45c6d8
call esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esi - 8]
add ebp, esi
cmp esi, ebp
jae 0x40e356
push 0x45c6d4
push esi
call fcn.00445b15
add esp, 8
test eax, eax
je 0x40e229
lea esi, [eax + ebx]
push 0x45c6d4
push esi
inc edi
call fcn.00445b15
add esp, 8
test eax, eax
jne 0x40e213
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp esi, ebp
jb 0x40e201
test edi, edi
jle 0x40e356
lea ecx, [esp + 0x10]
call fcn.00425a40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x28], ebp
cmp eax, ebp
jl 0x40e270
cmp dword [esi - 0xc], 1
jle 0x40e2ac
lea eax, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
call fcn.00425830
test eax, eax
je 0x40e356
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
push eax
mov ecx, dword [eax + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004258d0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
add eax, esi
cmp esi, eax
mov dword [esp + 0x24], eax
jae 0x40e353
push 0x45c6d4
push esi
call fcn.00445b15
mov edi, eax
add esp, 8
test edi, edi
je 0x40e338
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub ebp, edi
sub ebp, ebx
lea ecx, [edi + ebx]
add ebp, edx
lea eax, [edi + esi]
push ebp
push ecx
push eax
mov dword [esp + 0x2c], eax
call fcn.004457e0
mov ecx, esi
mov esi, 0x45c6d8
mov edx, ecx
push 0x45c6d4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
sub eax, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
push esi
mov byte [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.00445b15
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x40e2d1
mov ebp, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x24]
cmp esi, eax
jb 0x40e2bd
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
mov ecx, 0x45c6d0
test ecx, ecx
je 0x40e4f8
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ecx
call esi
mov ebx, eax
test ebx, ebx
je 0x40e4f8
mov edx, 0x45c6d8
test edx, edx
jne 0x40e385
mov dword [esp + 0x14], edx
jmp 0x40e390
push 0x45c6d8
call esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esi - 8]
add ebp, esi
cmp esi, ebp
jae 0x40e4f8
push 0x45c6d0
push esi
call fcn.00445b15
add esp, 8
test eax, eax
je 0x40e3cb
lea esi, [eax + ebx]
push 0x45c6d0
push esi
inc edi
call fcn.00445b15
add esp, 8
test eax, eax
jne 0x40e3b5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp esi, ebp
jb 0x40e3a3
test edi, edi
jle 0x40e4f8
lea ecx, [esp + 0x10]
call fcn.00425a40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x28], ebp
cmp eax, ebp
jl 0x40e412
cmp dword [esi - 0xc], 1
jle 0x40e44e
lea eax, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
call fcn.00425830
test eax, eax
je 0x40e4f8
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
push eax
mov ecx, dword [eax + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004258d0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
add eax, esi
cmp esi, eax
mov dword [esp + 0x24], eax
jae 0x40e4f5
push 0x45c6d0
push esi
call fcn.00445b15
mov edi, eax
add esp, 8
test edi, edi
je 0x40e4da
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub ebp, edi
sub ebp, ebx
lea ecx, [edi + ebx]
add ebp, edx
lea eax, [edi + esi]
push ebp
push ecx
push eax
mov dword [esp + 0x2c], eax
call fcn.004457e0
mov ecx, esi
mov esi, 0x45c6d8
mov edx, ecx
push 0x45c6d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
sub eax, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
push esi
mov byte [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.00445b15
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x40e473
mov ebp, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x24]
cmp esi, eax
jb 0x40e45f
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
push 0x45c6d8
push 0x45c6cc
lea ecx, [esp + 0x18]
call fcn.004274f0
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
mov ecx, 0x45c6d0
test ecx, ecx
je 0x40e57a
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40e57a
lea ecx, [esp + 0x10]
call fcn.00425a40
mov esi, dword [esp + 0x10]
cmp byte [esi], 0
je 0x40e57a
movsx edx, byte [esi]
push edx
push 0x45c6d0
call fcn.00445748
add esp, 8
test eax, eax
je 0x40e556
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x40e537
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x40e57a
mov edi, dword [eax - 8]
sub edi, esi
add edi, eax
lea ecx, [edi + 1]
push ecx
push esi
push eax
call fcn.004457e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [edx - 8], edi
lea ecx, [esp + 0x10]
call fcn.00425a40
mov esi, dword [esp + 0x10]
xor edi, edi
cmp byte [esi], 0
je 0x40e5c7
movsx eax, byte [esi]
push eax
push 0x45c6d0
call fcn.00445748
add esp, 8
test eax, eax
je 0x40e5ab
test edi, edi
jne 0x40e5ad
mov edi, esi
jmp 0x40e5ad
xor edi, edi
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x40e58e
test edi, edi
je 0x40e5c7
mov byte [edi], 0
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [eax - 8], edi
lea ecx, [esp + 0x10]
push 0x45c6d8
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004261b0
lea ecx, [esp + 0x168]
lea edx, [esp + 0x20]
push ecx
mov bl, 0xe
push eax
push edx
mov byte [esp + 0x280], bl
call fcn.004261b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x278], 0xf
call fcn.00425e90
lea ecx, [esp + 0x20]
mov byte [esp + 0x274], bl
call fcn.00429590
lea ecx, [esp + 0x28]
mov byte [esp + 0x274], 0xd
call fcn.00429590
push 0x45c6d0
lea ecx, [esp + 0x14]
call fcn.00426f20
push 0x45c6d0
lea ecx, [esp + 0x14]
call fcn.00426e40
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x40]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40e6a0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax - 8]
lea ecx, [eax + 1]
inc eax
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403630
mov edx, dword [esp + 0x44]
push eax
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 0xb
call fcn.00429590
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0xa
call fcn.00429590
lea ecx, [esp + 0x34]
mov byte [esp + 0x274], 9
call fcn.00429590
jmp 0x40eb31
lea edx, [esp + 0x28]
push ebp
push edx
call fcn.00429980
add esp, 8
push str.xmlToolStartupCleaner.xml
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x27c], 0x10
push eax
call fcn.004261b0
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call fcn.00408b10
mov edi, eax
add esp, 8
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x274], 0x11
call fcn.00429590
lea ecx, [esp + 0x28]
mov byte [esp + 0x274], 0x12
call fcn.00429590
push ecx
mov dword [esp + 0x50], esp
mov esi, esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea ecx, [esp + 0x5c]
mov dword [esi], eax
call fcn.00435f70
mov dword [esp + 0x24], ebp
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str._config_toolstartupcleaner
call esi
mov ebx, eax
mov dword [esp + 0x40], ebx
push str._config_toolstartupcleaner_disabledwininiitem
call esi
mov esi, eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x18]
push ecx
push ebx
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x280], 0x17
call fcn.004363c0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x24]
push eax
push esi
push ecx
lea ecx, [esp + 0x64]
call fcn.004363f0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x40eae3
mov dword [esp + 0x10], ebp
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
mov byte [esp + 0x27c], 0x18
call dword [edx + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40eaca
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x27c], 0x19
call fcn.00436180
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push str.path
mov ecx, dword [eax]
push eax
mov byte [esp + 0x280], 0x1c
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push str.valuename
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
push str.valuedata
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov word [esp + 0xb4], bp
mov word [esp + 0xa4], bp
mov word [esp + 0x94], bp
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xb4]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x27c], 0x1f
call dword [ecx + 0x20]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xa4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x94]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push ebp
push 8
lea ecx, [esp + 0xbc]
call fcn.00408b70
push ebp
push 8
lea ecx, [esp + 0xac]
call fcn.00408b70
push ebp
push 8
lea ecx, [esp + 0x9c]
call fcn.00408b70
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x60]
push eax
call fcn.00425d40
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x274], 0x20
push ecx
push eax
call esi
test eax, eax
jne 0x40e96a
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x8c]
push edx
call fcn.00425d40
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
push ecx
push eax
call esi
test eax, eax
lea ecx, [esp + 0x8c]
sete bl
call fcn.00429590
test bl, bl
je 0x40e96a
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x90]
push edx
call fcn.00425d40
mov ecx, dword [esp + 0x38]
mov eax, dword [eax]
push ecx
push eax
call esi
test eax, eax
lea ecx, [esp + 0x90]
sete bl
call fcn.00429590
test bl, bl
je 0x40e96a
mov bl, 1
jmp 0x40e96c
xor bl, bl
lea ecx, [esp + 0x60]
mov byte [esp + 0x274], 0x1f
call fcn.00429590
test bl, bl
jne 0x40ea10
lea ecx, [esp + 0x10]
call fcn.00425900
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
lea edx, [esp + 0x94]
push edx
call edi
lea eax, [esp + 0xa4]
push eax
call edi
lea ecx, [esp + 0xb4]
push ecx
call edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x274], 0x1b
call fcn.00428290
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0x1a
call fcn.00428290
lea ecx, [esp + 0x2c]
mov byte [esp + 0x274], 0x19
call fcn.00428290
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0x18
call fcn.00428290
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x40e7eb
jmp 0x40eac6
sub esp, 0x10
lea edx, [esp + 0x178]
mov ecx, esp
mov dword [esp + 0xd8], esp
push edx
mov word [ecx], bp
call fcn.0040a6a0
push ecx
mov ecx, esp
mov dword [esp + 0xd8], esp
push str.valuedata
call fcn.0040a630
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 0x1f
call fcn.00402d00
push eax
lea ecx, [esp + 0x70]
call fcn.004362b0
lea ecx, [esp + 0x58]
call fcn.00436420
lea eax, [esp + 0x94]
push eax
call edi
lea ecx, [esp + 0xa4]
push ecx
call edi
lea edx, [esp + 0xb4]
push edx
call edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x274], 0x1b
call fcn.00428290
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0x1a
call fcn.00428290
lea ecx, [esp + 0x2c]
mov byte [esp + 0x274], 0x19
call fcn.00428290
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0x18
call fcn.00428290
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 0x17
call fcn.00428290
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0x16
call fcn.00428290
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push ebx
call esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x274], 0x13
call fcn.00428290
lea ecx, [esp + 0x58]
mov byte [esp + 0x274], 0x12
call fcn.00435ff0
push edi
mov byte [esp + 0x278], 9
call esi
mov esi, dword [esp + 0x50]
mov ecx, esi
call fcn.0040a750
lea ecx, [esp + 0x30]
mov byte [esp + 0x274], 8
call fcn.00429590
lea ecx, [esp + 0x54]
mov byte [esp + 0x274], 6
call fcn.00429590
lea ecx, [esp + 0xcc]
mov byte [esp + 0x274], 4
call fcn.00412cb0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x274], 3
call fcn.00429590
lea ecx, [esp + 0x38]
mov byte [esp + 0x274], 2
call fcn.00429590
lea ecx, [esp + 0x44]
mov dword [esp + 0x274], 0xffffffff
call fcn.00429590
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x268
ret 0x10