Function at 0x418810
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452a3e
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x469738]
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, 0x459518
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00410f80
lea eax, [ebp - 0x350]
push eax
mov edx, str.display
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00410f80
lea ecx, [ebp - 0x2a8]
push ecx
mov edx, str.display_mui
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00410f80
lea edx, [ebp - 0x28c]
push edx
mov edx, str.command
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00410f80
lea eax, [ebp - 0x318]
push eax
mov edx, str.publisher
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00410f80
lea ecx, [ebp - 0x334]
push ecx
mov edx, str.estimatedsize
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00410f80
lea edx, [ebp - 0x388]
push edx
mov edx, str.modify
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00410f80
lea eax, [ebp - 0x36c]
push eax
mov edx, str.repair
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00410f80
lea ecx, [ebp - 0x2c4]
push ecx
mov edx, str.version
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00410f80
mov byte [ebp - 4], 0xb
mov edx, str.versionmajor
mov ecx, edi
call fcn.004111e0
mov edx, str.versionminor
mov ecx, edi
mov dword [ebp - 0x3d8], eax
call fcn.004111e0
lea edx, [ebp - 0x2fc]
push edx
mov edx, str.location
mov ecx, edi
mov dword [ebp - 0x3ec], eax
call fcn.00410f80
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2ec], ebx
jne 0x418a01
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x4189b0
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043a043
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 0x4189e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4189e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2fc]
call fcn.004065b0
lea edx, [ebp - 0x2e0]
push edx
mov edx, str.icon
mov ecx, edi
call fcn.00410f80
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x2d0], ebx
jne 0x418a9f
cmp dword [ebp - 0x278], 8
mov eax, dword [ebp - 0x28c]
jae 0x418a35
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0043a043
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 0x20
push ecx
call fcn.0043b0f9
add esp, 8
cmp eax, ebx
je 0x418a64
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 0x418a70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2e0]
call fcn.004065b0
push 2
mov eax, 0x45a8b0
mov ecx, esi
call fcn.00403690
push 0x34
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea esi, [ebp - 0x270]
call fcn.004065b0
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 0x46a9d4
xor eax, eax
call fcn.0042d150
inc dword [0x46a9f4]
mov eax, dword [ebp - 0x270]
add esp, 0x10
cmp dword [ebp - 0x25c], 8
jae 0x418af5
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 0x418b1f
lea esi, [ebp - 0x270]
mov eax, dword [ebp - 0x3cc]
cmp eax, ebx
je 0x418b30
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 0x4192fa
mov edx, dword [ebp - 0x3d4]
cmp byte [edx + 0x40], 0
jne 0x419326
cmp dword [ebp - 0x33c], 8
mov edx, dword [ebp - 0x350]
jae 0x418b88
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 0x418b90
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 0x418c65
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418be1
lea eax, [ebp - 0x2a8]
cmp word [eax], 0x40
je 0x418c23
mov eax, 0x45a998
lea ecx, [ebp - 0x254]
call fcn.004066a0
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.004066f0
mov edx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x294], edi
jae 0x418c37
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 0x418c40
mov ecx, dword [ebp - 0x3cc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push 0x45a99c
push ecx
call ebx
mov edx, dword [ebp - 0x28c]
cmp dword [ebp - 0x278], edi
jae 0x418c79
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 0x418c80
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 0x418cec
mov edx, dword [ebp - 0x318]
cmp dword [ebp - 0x304], edi
jae 0x418cc2
lea edx, [ebp - 0x318]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418cc7
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 0x418d33
mov eax, dword [ebp - 0x334]
cmp dword [ebp - 0x320], edi
jae 0x418d09
lea eax, [ebp - 0x334]
push eax
call fcn.0043a30b
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 0x458dec
mov edi, 2
lea ecx, [ebp - 0x388]
call fcn.00404ab0
test eax, eax
jne 0x418d76
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 0x458dec
lea ecx, [ebp - 0x36c]
call fcn.00404ab0
test eax, eax
jne 0x418db5
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 0x418dce
lea edx, [ebp - 0x2fc]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418dd3
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 0x418e45
mov edx, dword [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], edi
jae 0x418e15
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 0x418e20
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 0x418e8c
mov edx, dword [ebp - 0x2c4]
cmp dword [ebp - 0x2b0], edi
jae 0x418e62
lea edx, [ebp - 0x2c4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418e67
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 0x418f54
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 0x418ec6
lea ecx, [ebp - 0x2c4]
push 0x2e
lea ebx, [ebp - 0x22c]
call fcn.00437460
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 0x418f36
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x418f0c
mov eax, dword [esi]
jmp 0x418f0e
mov eax, esi
push eax
call fcn.0043a2f5
mov dword [ebp - 0x3d8], eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x418f27
mov eax, dword [eax]
push eax
call fcn.0043a2f5
add esp, 4
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 4], 0xd
test esi, esi
je 0x418f4e
mov eax, esi
call fcn.0040d7d0
push esi
call fcn.004396db
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 0x418fb3
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.004065b0
mov ecx, esi
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x10
call fcn.0040d5e0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x419011
mov edx, dword [ebp - 0x238]
push edx
call fcn.004396db
add esp, 4
xor eax, eax
mov word [ebp - 0x238], ax
push 5
mov eax, 0x459a28
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
call fcn.004065b0
lea eax, [ebp - 0x270]
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x11
call fcn.00421bb0
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x12
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x419084
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.004396db
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 0x4190bb
mov eax, dword [ebp - 0x238]
push eax
call fcn.004396db
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.004065b0
mov ecx, esi
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x13
call fcn.0040d5e0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x41910f
mov edx, dword [ebp - 0x238]
push edx
call fcn.004396db
add esp, 4
mov edi, dword [ebp - 0x3f0]
lea eax, [ebp - 0x3c0]
push eax
mov edx, 0x459524
mov ecx, edi
call fcn.00410f80
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.004065b0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x15
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x16
call fcn.0040d5e0
cmp dword [ebp - 0x240], 8
jb 0x419199
mov edx, dword [ebp - 0x254]
push edx
call fcn.004396db
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 0x4191cd
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004396db
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 0x4191fe
mov eax, dword [ebp - 0x3c0]
push eax
call fcn.004396db
add esp, 4
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, 0x459538
mov ecx, edi
call fcn.00410f80
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.004065b0
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 0x18
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x19
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x41927e
mov eax, dword [ebp - 0x254]
push eax
call fcn.004396db
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 0x4192b1
mov edx, dword [ebp - 0x238]
push edx
call fcn.004396db
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 0x4192e1
mov ecx, dword [ebp - 0x3c0]
push ecx
call fcn.004396db
add esp, 4
mov edx, dword [ebp - 0x3d4]
push edx
lea edx, [ebp - 0x3e8]
mov ecx, str.registry
call fcn.0041c320
jmp 0x419326
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 0x41935a
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.004396db
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 0x41938b
mov edx, dword [ebp - 0x2fc]
push edx
call fcn.004396db
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 0x4193b7
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.004396db
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 0x4193e3
mov eax, dword [ebp - 0x36c]
push eax
call fcn.004396db
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 0x41940f
mov edx, dword [ebp - 0x388]
push edx
call fcn.004396db
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 0x41943b
mov ecx, dword [ebp - 0x334]
push ecx
call fcn.004396db
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 0x419467
mov eax, dword [ebp - 0x318]
push eax
call fcn.004396db
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 0x419493
mov edx, dword [ebp - 0x28c]
push edx
call fcn.004396db
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 0x4194bf
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.004396db
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 0x4194eb
mov eax, dword [ebp - 0x350]
push eax
call fcn.004396db
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 0x419517
mov edx, dword [ebp - 0x3a4]
push edx
call fcn.004396db
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 0x419559
mov edi, dword [ebp - 0x3e4]
mov eax, dword [ebp - 0x3e8]
call fcn.0040d7d0
mov ecx, dword [ebp - 0x3e8]
push ecx
call fcn.004396db
add esp, 4
mov edi, 8
cmp dword [ebp - 0x25c], edi
jb 0x419570
mov edx, dword [ebp - 0x270]
push edx
call fcn.004396db
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 0x419596
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.00438351
mov esp, ebp
pop ebp
ret 4