Function at 0x40e900
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a06a6
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4c2100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
push 0xb0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 4
push 0
push eax
call fcn.004786f0
add esp, 8
lea ecx, [ebp - 0x220]
call fcn.00410e00
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x210]
call fcn.00417410
cmp dword [ebp + 0x1c], 7
lea edx, [ebp + 8]
push dword [ebp + 0x18]
cmova edx, dword [ebp + 8]
mov ecx, eax
call fcn.0041a6d0
xor esi, esi
add esp, 4
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x220]
call fcn.00410cf0
mov dword [ebp - 0x224], esi
cmp dword [eax + 0x14], 7
jbe 0x40e9ad
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x224]
push ecx
push 0
push 0x2011f
push 0
push 0
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [ebp - 0x228]
mov edi, eax
test edi, edi
cmove esi, dword [ebp - 0x224]
mov dword [ebp - 0x7c], esi
cmp ecx, 7
jbe 0x40ea1d
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ea13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8e0
push ecx
push edx
call fcn.00476bd7
add esp, 8
test edi, edi
je 0x40eb64
mov edx, str.Error_accessing_registry.
mov ecx, 0x4c3c60
call fcn.00417410
push eax
call fcn.004176b0
add esp, 4
mov dword [ebp - 0x224], 0
push 0
push 0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 7
push eax
push 0x400
push edi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov dword [ebp - 0x248], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x258], xmm0
test eax, eax
jne 0x40ea94
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
jmp 0x40eacc
mov eax, dword [ebp - 0x224]
mov edx, eax
mov dword [ebp - 0x244], 0
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40eab0
sub edx, edi
lea ecx, [ebp - 0x258]
sar edx, 1
push edx
push eax
call fcn.004189b0
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x40eae7
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x258]
cmp dword [ebp - 0x244], 7
mov ecx, 0x4c3c60
push dword [ebp - 0x248]
cmova edx, dword [ebp - 0x258]
call fcn.0041a6d0
push eax
call fcn.004176b0
mov ecx, dword [ebp - 0x244]
add esp, 8
cmp ecx, 7
jbe 0x40eb58
mov edx, dword [ebp - 0x258]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40eb4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8e5
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov byte [ebp - 0x23d], 0
jmp 0x40f6ff
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.DisplayName
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x23c], xmm0
call fcn.004189b0
mov byte [ebp - 4], 9
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 7
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmova ecx, dword [ebp + 8]
cmp dword [ebp - 0x228], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
push 0
push eax
push esi
call edi
test eax, eax
jne 0x40f8ea
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40ec1d
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ec13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f90c
push ecx
push edx
call fcn.00476bd7
add esp, 8
cmp dword [ebp + 0x34], 0xf
lea eax, [ebp + 0x20]
push 0
cmova eax, dword [ebp + 0x20]
push 0
push dword [ebp + 0x30]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
mov dword [ebp - 0x260], 0
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x25c], 0
push 0
lea ecx, [ebp - 0x270]
movups xmmword [ebp - 0x270], xmm0
call fcn.00418850
cmp dword [ebp - 0x25c], 7
lea ecx, [ebp - 0x270]
push edi
cmova ecx, dword [ebp - 0x270]
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0xf
push ecx
push dword [ebp + 0x30]
cmova eax, dword [ebp + 0x20]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x23c]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.DisplayVersion
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0
call fcn.004189b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x270]
mov eax, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 7
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmova ecx, dword [ebp - 0x270]
cmp dword [ebp - 0x228], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
push 0
push eax
push esi
call edi
test eax, eax
jne 0x40f8ea
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40ed60
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ed56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f911
push ecx
push edx
call fcn.00476bd7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp ecx, 7
jbe 0x40edc1
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40edb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f911
push ecx
push edx
call fcn.00476bd7
add esp, 8
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.DisplayIcon
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x23c], xmm0
call fcn.004189b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x68]
mov eax, dword [ebp + 0x78]
cmp dword [ebp + 0x7c], 7
cmova ecx, dword [ebp + 0x68]
cmp dword [ebp - 0x228], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
push 0
push eax
push esi
call edi
test eax, eax
jne 0x40f8ea
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40ee74
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ee6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f916
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov ecx, dword [ebp + 0x48]
test ecx, ecx
je 0x40f021
cmp dword [ebp + 0x4c], 0xf
lea eax, [ebp + 0x38]
push 0
cmova eax, dword [ebp + 0x38]
push 0
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
mov dword [ebp - 0x260], 0
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x25c], 0
push 0
lea ecx, [ebp - 0x270]
movups xmmword [ebp - 0x270], xmm0
call fcn.00418850
cmp dword [ebp - 0x25c], 7
lea ecx, [ebp - 0x270]
push edi
cmova ecx, dword [ebp - 0x270]
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 0xf
push ecx
push dword [ebp + 0x48]
cmova eax, dword [ebp + 0x38]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x23c]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.Publisher
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0
call fcn.004189b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x270]
mov eax, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 7
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmova ecx, dword [ebp - 0x270]
cmp dword [ebp - 0x228], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
push 0
push eax
push esi
call edi
test eax, eax
jne 0x40f8ea
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40efc0
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40efb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f91b
push ecx
push edx
call fcn.00476bd7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp ecx, 7
jbe 0x40f021
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f017
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f91b
push ecx
push edx
call fcn.00476bd7
add esp, 8
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.EstimatedSize
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x23c], xmm0
call fcn.004189b0
push 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x228], 7
push ecx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
push 4
push 0
push eax
push esi
call edi
test eax, eax
je 0x40f08b
push str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
jmp 0x40f8ef
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40f0cf
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f0c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f920
push ecx
push edx
call fcn.00476bd7
add esp, 8
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.NoModify
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x23c], xmm0
call fcn.004189b0
push 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x228], 7
lea eax, [ebp - 0x23c]
push ecx
cmova eax, dword [ebp - 0x23c]
push 4
push 0
push eax
push esi
mov dword [ebp - 0x78], 1
call edi
test eax, eax
je 0x40f13a
push str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
jmp 0x40f8ef
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40f17e
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f174
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f925
push ecx
push edx
call fcn.00476bd7
add esp, 8
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.NoRepair
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x23c], xmm0
call fcn.004189b0
push 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x228], 7
lea eax, [ebp - 0x23c]
push ecx
cmova eax, dword [ebp - 0x23c]
push 4
push 0
push eax
push esi
mov dword [ebp - 0x78], 1
call edi
test eax, eax
je 0x40f1e9
push str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
jmp 0x40f8ef
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40f22d
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f223
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f92a
push ecx
push edx
call fcn.00476bd7
add esp, 8
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.InstallLocation
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x23c], xmm0
call fcn.004189b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x50]
mov eax, dword [ebp + 0x60]
cmp dword [ebp + 0x64], 7
cmova ecx, dword [ebp + 0x50]
cmp dword [ebp - 0x228], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
push 0
push eax
push esi
call edi
test eax, eax
jne 0x40f8ea
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40f2e0
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f2d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f92f
push ecx
push edx
call fcn.00476bd7
add esp, 8
call fcn.00475f99
push 0
push 0x989680
push edx
push eax
call fcn.00476f20
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x98], edx
push eax
call fcn.0047c124
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004786f0
lea eax, [ebp - 0xc0]
push eax
push str._Y_m_d
lea eax, [ebp - 0x74]
push 0x64
push eax
call fcn.0047cdfb
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x244], 0
add esp, 0x24
lea edx, [ecx + 1]
movups xmmword [ebp - 0x258], xmm0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f360
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.00418d30
push 0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x244], 0xf
push 0
push dword [ebp - 0x248]
cmova eax, dword [ebp - 0x258]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
mov dword [ebp - 0x84], 0
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
push 0
lea ecx, [ebp - 0x94]
movups xmmword [ebp - 0x94], xmm0
call fcn.00418850
cmp dword [ebp - 0x80], 7
lea ecx, [ebp - 0x94]
push edi
cmova ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x244], 0xf
push ecx
push dword [ebp - 0x248]
cmova eax, dword [ebp - 0x258]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x244]
cmp ecx, 0xf
jbe 0x40f447
mov edx, dword [ebp - 0x258]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f43d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f934
push ecx
push edx
call fcn.00476bd7
add esp, 8
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
push str.InstallDate
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
call fcn.004189b0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x80], 7
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmova ecx, dword [ebp - 0x94]
cmp dword [ebp - 0x228], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
push 0
push eax
push esi
call edi
test eax, eax
jne 0x40f8ea
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40f524
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f51a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f939
push ecx
push edx
call fcn.00476bd7
add esp, 8
push 0xb0
lea eax, [ebp - 0x170]
push 0
push eax
call fcn.004786f0
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.00410e00
mov byte [ebp - 4], 0x17
lea edx, [ebp + 0x50]
cmp dword [ebp + 0x64], 7
lea ecx, [ebp - 0x160]
push dword [ebp + 0x60]
cmova edx, dword [ebp + 0x50]
call fcn.0041a6d0
add esp, 4
mov edx, str.uninstall.exe
mov ecx, eax
call fcn.00417410
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x170]
call fcn.00410cf0
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x23c]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
push str.UninstallString
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0
call fcn.004189b0
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x78]
cmp dword [ecx + 0x14], 7
mov eax, dword [ecx + 0x10]
lea edx, [eax*2 + 2]
jbe 0x40f5d3
mov ecx, dword [ecx]
cmp dword [ebp - 0x228], 7
lea eax, [ebp - 0x23c]
push edx
cmova eax, dword [ebp - 0x23c]
push ecx
push 1
push 0
push eax
push esi
call edi
test eax, eax
jne 0x40f8ea
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x40f639
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f62f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f93e
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov ecx, dword [ebp - 0x25c]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp ecx, 7
jbe 0x40f696
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f68c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f93e
push ecx
push edx
call fcn.00476bd7
add esp, 8
lea ecx, [ebp - 0x170]
mov byte [ebp - 0x23d], 1
call fcn.0040dae0
mov ecx, dword [ebp - 0x80]
cmp ecx, 7
jbe 0x40f6e5
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f6db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f943
push ecx
push edx
call fcn.00476bd7
add esp, 8
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
test esi, esi
je 0x40f752
cmp esi, reloc.WS2_32.dll_accept
je 0x40f752
cmp esi, reloc.WS2_32.dll_bind
je 0x40f752
cmp esi, 0x80000000
je 0x40f752
cmp esi, reloc.WS2_32.dll_getpeername
je 0x40f752
cmp esi, reloc.WS2_32.dll_getsockopt
je 0x40f752
cmp esi, reloc.WS2_32.dll_connect
je 0x40f752
cmp esi, 0x80000060
je 0x40f752
cmp esi, 0x80000050
je 0x40f752
cmp esi, reloc.WS2_32.dll_closesocket
je 0x40f752
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x220]
call fcn.0040dae0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x40f797
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f78d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f943
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 0xf
jbe 0x40f7df
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f7d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f943
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp ecx, 0xf
jbe 0x40f825
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f81b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f943
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp ecx, 7
jbe 0x40f871
mov edx, dword [ebp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f867
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f943
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov ecx, dword [ebp + 0x7c]
xor eax, eax
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 7
mov word [ebp + 0x50], ax
cmp ecx, 7
jbe 0x40f8bf
mov edx, dword [ebp + 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f8b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f943
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov al, byte [ebp - 0x23d]
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.00476631
mov esp, ebp
pop ebp
ret
call fcn.0047fa03
call fcn.0047fa03
push str.Cannot_write_string_value:_RegSetValueExW_failed.
push eax
lea ecx, [ebp - 0x254]
call fcn.004061e0
push 0x4c0ce0
lea eax, [ebp - 0x254]
push eax
call fcn.0047804d
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
int3