Function at 0x4186c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451c5e
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.00410e40
lea eax, [ebp - 0x350]
push eax
mov edx, str.display
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00410e40
lea ecx, [ebp - 0x2a8]
push ecx
mov edx, str.display_mui
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00410e40
lea edx, [ebp - 0x28c]
push edx
mov edx, str.command
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00410e40
lea eax, [ebp - 0x318]
push eax
mov edx, str.publisher
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00410e40
lea ecx, [ebp - 0x334]
push ecx
mov edx, str.estimatedsize
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00410e40
lea edx, [ebp - 0x388]
push edx
mov edx, str.modify
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00410e40
lea eax, [ebp - 0x36c]
push eax
mov edx, str.repair
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00410e40
lea ecx, [ebp - 0x2c4]
push ecx
mov edx, str.version
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00410e40
mov byte [ebp - 4], 0xb
mov edx, str.versionmajor
mov ecx, edi
call fcn.004110a0
mov edx, str.versionminor
mov ecx, edi
mov dword [ebp - 0x3d8], eax
call fcn.004110a0
lea edx, [ebp - 0x2fc]
push edx
mov edx, str.location
mov ecx, edi
mov dword [ebp - 0x3ec], eax
call fcn.00410e40
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2ec], ebx
jne 0x4188b1
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x418860
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004394b3
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 0x418890
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418890
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.00410e40
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x2d0], ebx
jne 0x41894f
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x4188e5
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004394b3
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 0x20
push ecx
call fcn.0043a569
add esp, 8
cmp eax, ebx
je 0x418914
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 0x418920
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 0x4189a5
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 0x4189cf
lea esi, [ebp - 0x270]
mov eax, dword [ebp - 0x3cc]
cmp eax, ebx
je 0x4189e0
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 0x4191aa
mov edx, dword [ebp - 0x3d4]
cmp byte [edx + 0x40], 0
jne 0x4191d6
cmp dword [ebp - 0x33c], 8
mov edx, dword [ebp - 0x350]
jae 0x418a38
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 0x418a40
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 0x418b15
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418a91
lea eax, [ebp - 0x2a8]
cmp word [eax], 0x40
je 0x418ad3
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.0040ff10
mov edx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418ae7
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 0x418af0
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 0x418b29
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 0x418b30
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 0x418b9c
mov edx, dword [ebp - 0x318]
cmp dword [ebp - 0x304], edi
jae 0x418b72
lea edx, [ebp - 0x318]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b77
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 0x418be3
mov eax, dword [ebp - 0x334]
cmp dword [ebp - 0x320], edi
jae 0x418bb9
lea eax, [ebp - 0x334]
push eax
call fcn.0043977b
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 0x418c26
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 0x418c65
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 0x418c7e
lea edx, [ebp - 0x2fc]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418c83
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 0x418cf5
mov edx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], edi
jae 0x418cc5
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 0x418cd0
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 0x418d3c
mov edx, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2b0], edi
jae 0x418d12
lea edx, [ebp - 0x2c4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418d17
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 0x418e04
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 0x418d76
lea ecx, [ebp - 0x2c4]
push 0x2e
lea ebx, [ebp - 0x22c]
call fcn.004368d0
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 0x418de6
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x418dbc
mov eax, dword [esi]
jmp 0x418dbe
mov eax, esi
push eax
call fcn.00439765
mov dword [ebp - 0x3d8], eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x418dd7
mov eax, dword [eax]
push eax
call fcn.00439765
add esp, 4
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 4], 0xd
test esi, esi
je 0x418dfe
mov eax, esi
call fcn.0040d660
push esi
call fcn.00438b4b
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 0x418e63
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.0040d470
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x418ec1
mov edx, dword [ebp - 0x238]
push edx
call fcn.00438b4b
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.0040d470
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x418f34
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00438b4b
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 0x418f6b
mov eax, dword [ebp - 0x238]
push eax
call fcn.00438b4b
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.0040d470
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x418fbf
mov edx, dword [ebp - 0x238]
push edx
call fcn.00438b4b
add esp, 4
mov edi, dword [ebp - 0x3f0]
lea eax, [ebp - 0x3c0]
push eax
mov edx, 0x458524
mov ecx, edi
call fcn.00410e40
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.0040d470
cmp dword [ebp - 0x240], 8
jb 0x419049
mov edx, dword [ebp - 0x254]
push edx
call fcn.00438b4b
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 0x41907d
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00438b4b
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 0x4190ae
mov eax, dword [ebp - 0x3c0]
push eax
call fcn.00438b4b
add esp, 4
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, 0x458538
mov ecx, edi
call fcn.00410e40
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.0040d470
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41912e
mov eax, dword [ebp - 0x254]
push eax
call fcn.00438b4b
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 0x419161
mov edx, dword [ebp - 0x238]
push edx
call fcn.00438b4b
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 0x419191
mov ecx, dword [ebp - 0x3c0]
push ecx
call fcn.00438b4b
add esp, 4
mov edx, dword [ebp - 0x3d4]
push edx
lea edx, [ebp - 0x3e8]
mov ecx, str.registry
call fcn.0041c1c0
jmp 0x4191d6
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 0x41920a
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.00438b4b
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 0x41923b
mov edx, dword [ebp - 0x2fc]
push edx
call fcn.00438b4b
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 0x419267
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.00438b4b
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 0x419293
mov eax, dword [ebp - 0x36c]
push eax
call fcn.00438b4b
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 0x4192bf
mov edx, dword [ebp - 0x388]
push edx
call fcn.00438b4b
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 0x4192eb
mov ecx, dword [ebp - 0x334]
push ecx
call fcn.00438b4b
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 0x419317
mov eax, dword [ebp - 0x318]
push eax
call fcn.00438b4b
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 0x419343
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00438b4b
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 0x41936f
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.00438b4b
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 0x41939b
mov eax, dword [ebp - 0x350]
push eax
call fcn.00438b4b
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 0x4193c7
mov edx, dword [ebp - 0x3a4]
push edx
call fcn.00438b4b
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 0x419409
mov edi, dword [ebp - 0x3e4]
mov eax, dword [ebp - 0x3e8]
call fcn.0040d660
mov ecx, dword [ebp - 0x3e8]
push ecx
call fcn.00438b4b
add esp, 4
mov edi, 8
cmp dword [ebp - 0x25c], edi
jb 0x419420
mov edx, dword [ebp - 0x270]
push edx
call fcn.00438b4b
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 0x419446
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.004377c1
mov esp, ebp
pop ebp
ret 4