Function at 0x4188b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452a5e
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x469744]
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, 0x4595f8
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00410fd0
lea eax, [ebp - 0x350]
push eax
mov edx, str.display
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00410fd0
lea ecx, [ebp - 0x2a8]
push ecx
mov edx, str.display_mui
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00410fd0
lea edx, [ebp - 0x28c]
push edx
mov edx, str.command
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00410fd0
lea eax, [ebp - 0x318]
push eax
mov edx, str.publisher
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00410fd0
lea ecx, [ebp - 0x334]
push ecx
mov edx, str.estimatedsize
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00410fd0
lea edx, [ebp - 0x388]
push edx
mov edx, str.modify
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00410fd0
lea eax, [ebp - 0x36c]
push eax
mov edx, str.repair
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00410fd0
lea ecx, [ebp - 0x2c4]
push ecx
mov edx, str.version
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00410fd0
mov byte [ebp - 4], 0xb
mov edx, str.versionmajor
mov ecx, edi
call fcn.00411230
mov edx, str.versionminor
mov ecx, edi
mov dword [ebp - 0x3d8], eax
call fcn.00411230
lea edx, [ebp - 0x2fc]
push edx
mov edx, str.location
mov ecx, edi
mov dword [ebp - 0x3ec], eax
call fcn.00410fd0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2ec], ebx
jne 0x418aa1
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x418a50
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043a583
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 0x418a80
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418a80
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2fc]
call fcn.00406550
lea edx, [ebp - 0x2e0]
push edx
mov edx, str.icon
mov ecx, edi
call fcn.00410fd0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x2d0], ebx
jne 0x418b3f
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x418ad5
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043a583
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 0x20
push ecx
call fcn.0043b639
add esp, 8
cmp eax, ebx
je 0x418b04
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 0x418b10
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2e0]
call fcn.00406550
push 2
mov eax, 0x45a990
mov ecx, esi
call fcn.00403640
push 0x34
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea esi, [ebp - 0x270]
call fcn.00406550
push ebx
lea eax, [ebp - 0x3a4]
push eax
or eax, 0xffffffff
call fcn.00404080
mov edi, dword [edi + 4]
push edi
push str.Configuring_uninstallation
push str.__s____d_
push 0x46a9d4
xor eax, eax
call fcn.0042d150
inc dword [0x46a9f4]
mov eax, dword [ebp - 0x270]
add esp, 0x10
cmp dword [ebp - 0x25c], 8
jae 0x418b95
mov eax, esi
push eax
push str.Uninstall_key:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov esi, dword [ebp - 0x270]
add esp, 0xc
cmp dword [ebp - 0x25c], 8
jae 0x418bbf
lea esi, [ebp - 0x270]
mov eax, dword [ebp - 0x3cc]
cmp eax, ebx
je 0x418bd0
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 0x41939a
mov edx, dword [ebp - 0x3d4]
cmp byte [edx + 0x40], 0
jne 0x4193c6
cmp dword [ebp - 0x33c], 8
mov edx, dword [ebp - 0x350]
jae 0x418c28
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 0x418c30
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 0x418d05
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418c81
lea eax, [ebp - 0x2a8]
cmp word [eax], 0x40
je 0x418cc3
mov eax, 0x45aa78
lea ecx, [ebp - 0x254]
call fcn.00406640
push 0
lea edx, [ebp - 0x254]
push edx
mov eax, 1
lea esi, [ebp - 0x2a8]
mov byte [ebp - 4], 0xe
call fcn.00404080
lea esi, [ebp - 0x254]
mov byte [ebp - 4], 0xd
call fcn.0042dd60
mov edx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418cd7
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 0x418ce0
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push 0x45aa7c
push ecx
call ebx
mov edx, dword [ebp - 0x28c]
cmp dword [ebp - 0x278], edi
jae 0x418d19
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 0x418d20
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 0x418d8c
mov edx, dword [ebp - 0x318]
cmp dword [ebp - 0x304], edi
jae 0x418d62
lea edx, [ebp - 0x318]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418d67
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 0x418dd3
mov eax, dword [ebp - 0x334]
cmp dword [ebp - 0x320], edi
jae 0x418da9
lea eax, [ebp - 0x334]
push eax
call fcn.0043a84b
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 0x458eb4
mov edi, 2
lea ecx, [ebp - 0x388]
call fcn.00404a60
test eax, eax
jne 0x418e16
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 0x458eb4
lea ecx, [ebp - 0x36c]
call fcn.00404a60
test eax, eax
jne 0x418e55
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 0x418e6e
lea edx, [ebp - 0x2fc]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418e73
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 0x418ee5
mov edx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], edi
jae 0x418eb5
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 0x418ec0
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 0x418f2c
mov edx, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2b0], edi
jae 0x418f02
lea edx, [ebp - 0x2c4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f07
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 0x418ff4
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 0x418f66
lea ecx, [ebp - 0x2c4]
push 0x2e
lea ebx, [ebp - 0x22c]
call fcn.00437390
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 0x418fd6
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x418fac
mov eax, dword [esi]
jmp 0x418fae
mov eax, esi
push eax
call fcn.0043a835
mov dword [ebp - 0x3d8], eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x418fc7
mov eax, dword [eax]
push eax
call fcn.0043a835
add esp, 4
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 4], 0xd
test esi, esi
je 0x418fee
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439c00
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 0x419053
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.00406550
mov ecx, esi
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x10
call fcn.0040d610
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x4190b1
mov edx, dword [ebp - 0x238]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov word [ebp - 0x238], ax
push 5
mov eax, 0x459b08
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
call fcn.00406550
lea eax, [ebp - 0x270]
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x11
call fcn.00421f90
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x12
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x419124
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00439c00
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 0x41915b
mov eax, dword [ebp - 0x238]
push eax
call fcn.00439c00
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.00406550
mov ecx, esi
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x13
call fcn.0040d610
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x4191af
mov edx, dword [ebp - 0x238]
push edx
call fcn.00439c00
add esp, 4
mov edi, dword [ebp - 0x3f0]
lea eax, [ebp - 0x3c0]
push eax
mov edx, 0x459604
mov ecx, edi
call fcn.00410fd0
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.00406550
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x15
call fcn.00421fd0
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x16
call fcn.0040d610
cmp dword [ebp - 0x240], 8
jb 0x419239
mov edx, dword [ebp - 0x254]
push edx
call fcn.00439c00
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 0x41926d
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00439c00
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 0x41929e
mov eax, dword [ebp - 0x3c0]
push eax
call fcn.00439c00
add esp, 4
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, 0x459618
mov ecx, edi
call fcn.00410fd0
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.00406550
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x18
call fcn.00421fd0
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x19
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41931e
mov eax, dword [ebp - 0x254]
push eax
call fcn.00439c00
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 0x419351
mov edx, dword [ebp - 0x238]
push edx
call fcn.00439c00
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 0x419381
mov ecx, dword [ebp - 0x3c0]
push ecx
call fcn.00439c00
add esp, 4
mov edx, dword [ebp - 0x3d4]
push edx
lea edx, [ebp - 0x3e8]
mov ecx, str.registry
call fcn.0041c3b0
jmp 0x4193c6
push esi
push str.Error_creating_uninstall_key_0x_X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
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 [0x46a9f4]
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 0x4193fa
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.00439c00
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 0x41942b
mov edx, dword [ebp - 0x2fc]
push edx
call fcn.00439c00
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 0x419457
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.00439c00
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 0x419483
mov eax, dword [ebp - 0x36c]
push eax
call fcn.00439c00
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 0x4194af
mov edx, dword [ebp - 0x388]
push edx
call fcn.00439c00
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 0x4194db
mov ecx, dword [ebp - 0x334]
push ecx
call fcn.00439c00
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 0x419507
mov eax, dword [ebp - 0x318]
push eax
call fcn.00439c00
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 0x419533
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00439c00
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 0x41955f
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.00439c00
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 0x41958b
mov eax, dword [ebp - 0x350]
push eax
call fcn.00439c00
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 0x4195b7
mov edx, dword [ebp - 0x3a4]
push edx
call fcn.00439c00
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 0x4195f9
mov edi, dword [ebp - 0x3e4]
mov eax, dword [ebp - 0x3e8]
call fcn.0040d800
mov ecx, dword [ebp - 0x3e8]
push ecx
call fcn.00439c00
add esp, 4
mov edi, 8
cmp dword [ebp - 0x25c], edi
jb 0x419610
mov edx, dword [ebp - 0x270]
push edx
call fcn.00439c00
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 0x419636
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.00438876
mov esp, ebp
pop ebp
ret 4