Function at 0x4186b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451c6e
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x468738]
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 eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3f0], edi
mov dword [ebp - 0x3cc], ebx
mov dword [ebp - 4], ebx
xor ecx, ecx
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x270], cx
mov dword [ebp - 0x3e8], ebx
mov dword [ebp - 0x3e4], ebx
mov dword [ebp - 0x3e0], ebx
lea edx, [ebp - 0x3a4]
push edx
mov edx, 0x458518
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00410e30
lea eax, [ebp - 0x350]
push eax
mov edx, str.display
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00410e30
lea ecx, [ebp - 0x2a8]
push ecx
mov edx, str.display_mui
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00410e30
lea edx, [ebp - 0x28c]
push edx
mov edx, str.command
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00410e30
lea eax, [ebp - 0x318]
push eax
mov edx, str.publisher
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00410e30
lea ecx, [ebp - 0x334]
push ecx
mov edx, str.estimatedsize
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00410e30
lea edx, [ebp - 0x388]
push edx
mov edx, str.modify
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00410e30
lea eax, [ebp - 0x36c]
push eax
mov edx, str.repair
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00410e30
lea ecx, [ebp - 0x2c4]
push ecx
mov edx, str.version
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00410e30
mov byte [ebp - 4], 0xb
mov edx, str.versionmajor
mov ecx, edi
call fcn.00411090
mov edx, str.versionminor
mov ecx, edi
mov dword [ebp - 0x3d8], eax
call fcn.00411090
lea edx, [ebp - 0x2fc]
push edx
mov edx, str.location
mov ecx, edi
mov dword [ebp - 0x3ec], eax
call fcn.00410e30
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2ec], ebx
jne 0x4188a1
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x418850
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004394c3
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
jmp 0x418880
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418880
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2fc]
call fcn.004065a0
lea edx, [ebp - 0x2e0]
push edx
mov edx, str.icon
mov ecx, edi
call fcn.00410e30
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x2d0], ebx
jne 0x41893f
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x4188d5
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004394c3
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 0x20
push ecx
call fcn.0043a579
add esp, 8
cmp eax, ebx
je 0x418904
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418910
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2e0]
call fcn.004065a0
push 2
mov eax, 0x4598b0
mov ecx, esi
call fcn.00403690
push 0x34
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea esi, [ebp - 0x270]
call fcn.004065a0
push ebx
lea eax, [ebp - 0x3a4]
push eax
or eax, 0xffffffff
call fcn.004040d0
mov edi, dword [edi + 4]
push edi
push str.Configuring_uninstallation
push str.__s____d_
push 0x4699dc
xor eax, eax
call fcn.0042c820
inc dword [0x4699fc]
mov eax, dword [ebp - 0x270]
add esp, 0x10
cmp dword [ebp - 0x25c], 8
jae 0x418995
mov eax, esi
push eax
push str.Uninstall_key:__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov esi, dword [ebp - 0x270]
add esp, 0xc
cmp dword [ebp - 0x25c], 8
jae 0x4189bf
lea esi, [ebp - 0x270]
mov eax, dword [ebp - 0x3cc]
cmp eax, ebx
je 0x4189d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [ebp - 0x3cc]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3cc], ebx
mov dword [ebp - 0x3c8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x41919a
mov edx, dword [ebp - 0x3d4]
cmp byte [edx + 0x40], 0
jne 0x4191c6
cmp dword [ebp - 0x33c], 8
mov edx, dword [ebp - 0x350]
jae 0x418a28
lea edx, [ebp - 0x350]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418a30
mov ecx, dword [ebp - 0x3cc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push str.DisplayName
push ecx
call ebx
cmp dword [ebp - 0x298], 0
mov edi, 8
je 0x418b05
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418a81
lea eax, [ebp - 0x2a8]
cmp word [eax], 0x40
je 0x418ac3
mov eax, 0x459998
lea ecx, [ebp - 0x254]
call fcn.00406690
push 0
lea edx, [ebp - 0x254]
push edx
mov eax, 1
lea esi, [ebp - 0x2a8]
mov byte [ebp - 4], 0xe
call fcn.004040d0
lea esi, [ebp - 0x254]
mov byte [ebp - 4], 0xd
call fcn.0040ff00
mov edx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418ad7
lea edx, [ebp - 0x2a8]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418ae0
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push 0x45999c
push ecx
call ebx
mov edx, dword [ebp - 0x28c]
cmp dword [ebp - 0x278], edi
jae 0x418b19
lea edx, [ebp - 0x28c]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b20
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push str.UninstallString
push ecx
call ebx
cmp dword [ebp - 0x308], 0
je 0x418b8c
mov edx, dword [ebp - 0x318]
cmp dword [ebp - 0x304], edi
jae 0x418b62
lea edx, [ebp - 0x318]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b67
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push str.Publisher
push ecx
call ebx
cmp dword [ebp - 0x324], 0
je 0x418bd3
mov eax, dword [ebp - 0x334]
cmp dword [ebp - 0x320], edi
jae 0x418ba9
lea eax, [ebp - 0x334]
push eax
call fcn.0043978b
add esp, 4
push 4
lea edx, [ebp - 0x3d0]
push edx
push 4
push 0
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3cc]
push str.EstimatedSize
push eax
call ebx
mov eax, dword [ebp - 0x378]
push 0x457dec
mov edi, 2
lea ecx, [ebp - 0x388]
call fcn.00404ab0
test eax, eax
jne 0x418c16
mov edx, dword [ebp - 0x3cc]
push 4
lea ecx, [ebp - 0x3d0]
push ecx
push 4
push eax
push str.NoModify
push edx
mov dword [ebp - 0x3d0], 1
call ebx
mov eax, dword [ebp - 0x35c]
push 0x457dec
lea ecx, [ebp - 0x36c]
call fcn.00404ab0
test eax, eax
jne 0x418c55
mov ecx, dword [ebp - 0x3cc]
push 4
lea eax, [ebp - 0x3d0]
push eax
push 4
push 0
push str.NoRepair
push ecx
mov dword [ebp - 0x3d0], 1
call ebx
mov edx, dword [ebp - 0x2fc]
mov edi, 8
cmp dword [ebp - 0x2e8], edi
jae 0x418c6e
lea edx, [ebp - 0x2fc]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418c73
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push str.InstallLocation
push ecx
call ebx
cmp dword [ebp - 0x2d0], 0
je 0x418ce5
mov edx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], edi
jae 0x418cb5
lea edx, [ebp - 0x2e0]
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418cc0
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push str.DisplayIcon
push ecx
call ebx
cmp dword [ebp - 0x2b4], 0
je 0x418d2c
mov edx, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2b0], edi
jae 0x418d02
lea edx, [ebp - 0x2c4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418d07
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push str.DisplayVersion
push ecx
call ebx
cmp dword [ebp - 0x3d8], 0
jne 0x418df4
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x2b0], 8
mov ecx, dword [ebp - 0x2c4]
jae 0x418d66
lea ecx, [ebp - 0x2c4]
push 0x2e
lea ebx, [ebp - 0x22c]
call fcn.004368e0
mov edi, dword [ebp - 0x228]
mov esi, dword [ebp - 0x22c]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
cmp eax, 1
jbe 0x418dd6
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x418dac
mov eax, dword [esi]
jmp 0x418dae
mov eax, esi
push eax
call fcn.00439775
mov dword [ebp - 0x3d8], eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x418dc7
mov eax, dword [eax]
push eax
call fcn.00439775
add esp, 4
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 4], 0xd
test esi, esi
je 0x418dee
mov eax, esi
call fcn.0040d650
push esi
call fcn.00438b5b
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x3d8]
push 4
lea edx, [ebp - 0x3d0]
push edx
push 4
xor esi, esi
push esi
push str.VersionMajor
push eax
mov dword [ebp - 0x3d0], ecx
call ebx
mov eax, dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x3ec]
push 4
lea edx, [ebp - 0x3d0]
push edx
push 4
push esi
push str.VersionMinor
push eax
mov dword [ebp - 0x3d0], ecx
call ebx
mov eax, dword [ebp - 0x3cc]
cmp eax, esi
je 0x418e53
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3cc], esi
mov dword [ebp - 0x228], esi
xor ecx, ecx
push 9
mov eax, str.rootHKLM
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], cx
call fcn.004065a0
mov ecx, esi
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x10
call fcn.0040d460
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x418eb1
mov edx, dword [ebp - 0x238]
push edx
call fcn.00438b5b
add esp, 4
xor eax, eax
mov word [ebp - 0x238], ax
push 5
mov eax, 0x458a28
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
call fcn.004065a0
lea eax, [ebp - 0x270]
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x11
call fcn.00421c70
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x12
call fcn.0040d460
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x418f24
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00438b5b
add esp, 4
xor ebx, ebx
xor edx, edx
mov edi, 7
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], dx
cmp dword [ebp - 0x224], esi
jb 0x418f5b
mov eax, dword [ebp - 0x238]
push eax
call fcn.00438b5b
add esp, 4
xor ecx, ecx
push 0x17
mov eax, str.delete_if_not_emptyYES
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], cx
call fcn.004065a0
mov ecx, esi
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x13
call fcn.0040d460
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x418faf
mov edx, dword [ebp - 0x238]
push edx
call fcn.00438b5b
add esp, 4
mov edi, dword [ebp - 0x3f0]
lea eax, [ebp - 0x3c0]
push eax
mov edx, 0x458524
mov ecx, edi
call fcn.00410e30
mov ebx, eax
mov byte [ebp - 4], 0x14
xor ecx, ecx
push 0xa
mov eax, str.usequence
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], cx
call fcn.004065a0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x15
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x16
call fcn.0040d460
cmp dword [ebp - 0x240], 8
jb 0x419039
mov edx, dword [ebp - 0x254]
push edx
call fcn.00438b5b
add esp, 4
xor ebx, ebx
xor eax, eax
cmp dword [ebp - 0x224], 8
mov esi, 7
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], ax
jb 0x41906d
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00438b5b
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x3ac], 8
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
jb 0x41909e
mov eax, dword [ebp - 0x3c0]
push eax
call fcn.00438b5b
add esp, 4
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, 0x458538
mov ecx, edi
call fcn.00410e30
mov edi, eax
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x224], esi
xor edx, edx
push 6
mov eax, str.group
lea esi, [ebp - 0x238]
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
call fcn.004065a0
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x18
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x19
call fcn.0040d460
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41911e
mov eax, dword [ebp - 0x254]
push eax
call fcn.00438b5b
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], cx
cmp dword [ebp - 0x224], esi
jb 0x419151
mov edx, dword [ebp - 0x238]
push edx
call fcn.00438b5b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
cmp dword [ebp - 0x3ac], esi
jb 0x419181
mov ecx, dword [ebp - 0x3c0]
push ecx
call fcn.00438b5b
add esp, 4
mov edx, dword [ebp - 0x3d4]
push edx
lea edx, [ebp - 0x3e8]
mov ecx, str.registry
call fcn.0041c1b0
jmp 0x4191c6
push esi
push str.Error_creating_uninstall_key_0x_X
push 0x4699dc
mov eax, 2
call fcn.0042c820
mov eax, dword [ebp - 0x3d4]
xor ecx, ecx
add esp, 0xc
cmp byte [eax + 0x41], cl
setne cl
dec ecx
and ecx, esi
mov dword [eax + 0x3c], ecx
dec dword [0x4699fc]
mov edx, dword [ebp - 0x3d4]
xor esi, esi
cmp dword [edx + 0x3c], esi
mov edi, 8
sete byte [ebp - 0x3c1]
cmp dword [ebp - 0x2cc], edi
jb 0x4191fa
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.00438b5b
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2d0], esi
mov word [ebp - 0x2e0], cx
cmp dword [ebp - 0x2e8], edi
jb 0x41922b
mov edx, dword [ebp - 0x2fc]
push edx
call fcn.00438b5b
add esp, 4
xor eax, eax
mov dword [ebp - 0x2e8], ebx
mov dword [ebp - 0x2ec], esi
mov word [ebp - 0x2fc], ax
cmp dword [ebp - 0x2b0], edi
jb 0x419257
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.00438b5b
add esp, 4
xor edx, edx
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2b4], esi
mov word [ebp - 0x2c4], dx
cmp dword [ebp - 0x358], edi
jb 0x419283
mov eax, dword [ebp - 0x36c]
push eax
call fcn.00438b5b
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x35c], esi
mov word [ebp - 0x36c], cx
cmp dword [ebp - 0x374], edi
jb 0x4192af
mov edx, dword [ebp - 0x388]
push edx
call fcn.00438b5b
add esp, 4
xor eax, eax
mov dword [ebp - 0x374], ebx
mov dword [ebp - 0x378], esi
mov word [ebp - 0x388], ax
cmp dword [ebp - 0x320], edi
jb 0x4192db
mov ecx, dword [ebp - 0x334]
push ecx
call fcn.00438b5b
add esp, 4
xor edx, edx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x324], esi
mov word [ebp - 0x334], dx
cmp dword [ebp - 0x304], edi
jb 0x419307
mov eax, dword [ebp - 0x318]
push eax
call fcn.00438b5b
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x308], esi
mov word [ebp - 0x318], cx
cmp dword [ebp - 0x278], edi
jb 0x419333
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00438b5b
add esp, 4
xor eax, eax
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x27c], esi
mov word [ebp - 0x28c], ax
cmp dword [ebp - 0x294], edi
jb 0x41935f
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.00438b5b
add esp, 4
xor edx, edx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x298], esi
mov word [ebp - 0x2a8], dx
cmp dword [ebp - 0x33c], edi
jb 0x41938b
mov eax, dword [ebp - 0x350]
push eax
call fcn.00438b5b
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x340], esi
mov word [ebp - 0x350], cx
cmp dword [ebp - 0x390], edi
jb 0x4193b7
mov edx, dword [ebp - 0x3a4]
push edx
call fcn.00438b5b
add esp, 4
xor eax, eax
mov dword [ebp - 0x390], ebx
mov dword [ebp - 0x394], esi
mov word [ebp - 0x3a4], ax
cmp dword [ebp - 0x3e8], esi
je 0x4193f9
mov edi, dword [ebp - 0x3e4]
mov eax, dword [ebp - 0x3e8]
call fcn.0040d650
mov ecx, dword [ebp - 0x3e8]
push ecx
call fcn.00438b5b
add esp, 4
mov edi, 8
cmp dword [ebp - 0x25c], edi
jb 0x419410
mov edx, dword [ebp - 0x270]
push edx
call fcn.00438b5b
add esp, 4
xor eax, eax
mov word [ebp - 0x270], ax
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x260], esi
cmp eax, esi
je 0x419436
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x3c1]
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.004377d1
mov esp, ebp
pop ebp
ret 4