Function at 0x418880
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4528ce
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x468744]
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, 0x4585f8
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00410fc0
lea eax, [ebp - 0x350]
push eax
mov edx, str.display
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00410fc0
lea ecx, [ebp - 0x2a8]
push ecx
mov edx, str.display_mui
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00410fc0
lea edx, [ebp - 0x28c]
push edx
mov edx, str.command
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00410fc0
lea eax, [ebp - 0x318]
push eax
mov edx, str.publisher
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00410fc0
lea ecx, [ebp - 0x334]
push ecx
mov edx, str.estimatedsize
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00410fc0
lea edx, [ebp - 0x388]
push edx
mov edx, str.modify
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00410fc0
lea eax, [ebp - 0x36c]
push eax
mov edx, str.repair
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00410fc0
lea ecx, [ebp - 0x2c4]
push ecx
mov edx, str.version
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00410fc0
mov byte [ebp - 4], 0xb
mov edx, str.versionmajor
mov ecx, edi
call fcn.00411220
mov edx, str.versionminor
mov ecx, edi
mov dword [ebp - 0x3d8], eax
call fcn.00411220
lea edx, [ebp - 0x2fc]
push edx
mov edx, str.location
mov ecx, edi
mov dword [ebp - 0x3ec], eax
call fcn.00410fc0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2ec], ebx
jne 0x418a71
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x418a20
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043a483
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 0x418a50
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418a50
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2fc]
call fcn.00406580
lea edx, [ebp - 0x2e0]
push edx
mov edx, str.icon
mov ecx, edi
call fcn.00410fc0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x2d0], ebx
jne 0x418b0f
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x418aa5
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043a483
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 0x20
push ecx
call fcn.0043b539
add esp, 8
cmp eax, ebx
je 0x418ad4
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 0x418ae0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2e0]
call fcn.00406580
push 2
mov eax, 0x459990
mov ecx, esi
call fcn.00403640
push 0x34
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea esi, [ebp - 0x270]
call fcn.00406580
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 0x4699d4
xor eax, eax
call fcn.0042d020
inc dword [0x4699f4]
mov eax, dword [ebp - 0x270]
add esp, 0x10
cmp dword [ebp - 0x25c], 8
jae 0x418b65
mov eax, esi
push eax
push str.Uninstall_key:__s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov esi, dword [ebp - 0x270]
add esp, 0xc
cmp dword [ebp - 0x25c], 8
jae 0x418b8f
lea esi, [ebp - 0x270]
mov eax, dword [ebp - 0x3cc]
cmp eax, ebx
je 0x418ba0
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 0x41936a
mov edx, dword [ebp - 0x3d4]
cmp byte [edx + 0x40], 0
jne 0x419396
cmp dword [ebp - 0x33c], 8
mov edx, dword [ebp - 0x350]
jae 0x418bf8
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 0x418c00
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 0x418cd5
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418c51
lea eax, [ebp - 0x2a8]
cmp word [eax], 0x40
je 0x418c93
mov eax, 0x459a78
lea ecx, [ebp - 0x254]
call fcn.00406670
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.0042dc30
mov edx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418ca7
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 0x418cb0
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push 0x459a7c
push ecx
call ebx
mov edx, dword [ebp - 0x28c]
cmp dword [ebp - 0x278], edi
jae 0x418ce9
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 0x418cf0
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 0x418d5c
mov edx, dword [ebp - 0x318]
cmp dword [ebp - 0x304], edi
jae 0x418d32
lea edx, [ebp - 0x318]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418d37
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 0x418da3
mov eax, dword [ebp - 0x334]
cmp dword [ebp - 0x320], edi
jae 0x418d79
lea eax, [ebp - 0x334]
push eax
call fcn.0043a74b
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 0x457eb4
mov edi, 2
lea ecx, [ebp - 0x388]
call fcn.00404ab0
test eax, eax
jne 0x418de6
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 0x457eb4
lea ecx, [ebp - 0x36c]
call fcn.00404ab0
test eax, eax
jne 0x418e25
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 0x418e3e
lea edx, [ebp - 0x2fc]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418e43
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 0x418eb5
mov edx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], edi
jae 0x418e85
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 0x418e90
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 0x418efc
mov edx, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2b0], edi
jae 0x418ed2
lea edx, [ebp - 0x2c4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418ed7
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 0x418fc4
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 0x418f36
lea ecx, [ebp - 0x2c4]
push 0x2e
lea ebx, [ebp - 0x22c]
call fcn.004372a0
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 0x418fa6
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x418f7c
mov eax, dword [esi]
jmp 0x418f7e
mov eax, esi
push eax
call fcn.0043a735
mov dword [ebp - 0x3d8], eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x418f97
mov eax, dword [eax]
push eax
call fcn.0043a735
add esp, 4
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 4], 0xd
test esi, esi
je 0x418fbe
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439b10
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 0x419023
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.00406580
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 0x419081
mov edx, dword [ebp - 0x238]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov word [ebp - 0x238], ax
push 5
mov eax, 0x458b08
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
call fcn.00406580
lea eax, [ebp - 0x270]
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x11
call fcn.00421ef0
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x12
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x4190f4
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00439b10
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 0x41912b
mov eax, dword [ebp - 0x238]
push eax
call fcn.00439b10
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.00406580
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 0x41917f
mov edx, dword [ebp - 0x238]
push edx
call fcn.00439b10
add esp, 4
mov edi, dword [ebp - 0x3f0]
lea eax, [ebp - 0x3c0]
push eax
mov edx, 0x458604
mov ecx, edi
call fcn.00410fc0
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.00406580
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x15
call fcn.00421f30
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x16
call fcn.0040d610
cmp dword [ebp - 0x240], 8
jb 0x419209
mov edx, dword [ebp - 0x254]
push edx
call fcn.00439b10
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 0x41923d
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00439b10
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 0x41926e
mov eax, dword [ebp - 0x3c0]
push eax
call fcn.00439b10
add esp, 4
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, 0x458618
mov ecx, edi
call fcn.00410fc0
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.00406580
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x18
call fcn.00421f30
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x19
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x4192ee
mov eax, dword [ebp - 0x254]
push eax
call fcn.00439b10
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 0x419321
mov edx, dword [ebp - 0x238]
push edx
call fcn.00439b10
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 0x419351
mov ecx, dword [ebp - 0x3c0]
push ecx
call fcn.00439b10
add esp, 4
mov edx, dword [ebp - 0x3d4]
push edx
lea edx, [ebp - 0x3e8]
mov ecx, str.registry
call fcn.0041c370
jmp 0x419396
push esi
push str.Error_creating_uninstall_key_0x_X
push 0x4699d4
mov eax, 2
call fcn.0042d020
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 [0x4699f4]
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 0x4193ca
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.00439b10
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 0x4193fb
mov edx, dword [ebp - 0x2fc]
push edx
call fcn.00439b10
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 0x419427
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.00439b10
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 0x419453
mov eax, dword [ebp - 0x36c]
push eax
call fcn.00439b10
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 0x41947f
mov edx, dword [ebp - 0x388]
push edx
call fcn.00439b10
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 0x4194ab
mov ecx, dword [ebp - 0x334]
push ecx
call fcn.00439b10
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 0x4194d7
mov eax, dword [ebp - 0x318]
push eax
call fcn.00439b10
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 0x419503
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00439b10
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 0x41952f
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.00439b10
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 0x41955b
mov eax, dword [ebp - 0x350]
push eax
call fcn.00439b10
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 0x419587
mov edx, dword [ebp - 0x3a4]
push edx
call fcn.00439b10
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 0x4195c9
mov edi, dword [ebp - 0x3e4]
mov eax, dword [ebp - 0x3e8]
call fcn.0040d800
mov ecx, dword [ebp - 0x3e8]
push ecx
call fcn.00439b10
add esp, 4
mov edi, 8
cmp dword [ebp - 0x25c], edi
jb 0x4195e0
mov edx, dword [ebp - 0x270]
push edx
call fcn.00439b10
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 0x419606
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.00438786
mov esp, ebp
pop ebp
ret 4