Function at 0x408b30
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455599
mov eax, dword fs:[0]
push eax
sub esp, 0x8e4
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x89c], ebx
cmp dword [edx + 0x14], 8
jb 0x408b6e
mov edx, dword [edx]
push edx
lea ecx, [ebp - 0x840]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
push 0x45ebf0
push 0x45d3c0
lea ecx, [ebp - 0x840]
mov dword [ebp - 4], 0
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
xor eax, eax
push 0x40e
push eax
mov dword [ebp - 0x8a0], eax
mov dword [ebp - 0x890], eax
mov dword [ebp - 0x88c], eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
mov byte [ebp - 0x891], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push ebx
lea ecx, [ebp - 0x888]
call fcn.00411570
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x874], 8
lea eax, [ebp - 0x888]
cmovae eax, dword [ebp - 0x888]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x208
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
lea ecx, [ebp - 0x840]
call edi
mov edx, eax
cmp word [edx], 0
jne 0x408c35
xor ecx, ecx
jmp 0x408c4f
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408c40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x90]
call fcn.00406c00
push str.uninstall.exe
lea ecx, [ebp - 0x898]
call fcn.00411a30
lea eax, [ebp - 0x898]
push eax
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 2
call edi
mov edx, eax
lea ecx, [ebp - 0x8d8]
call fcn.00411ce0
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [eax]
test edx, edx
je 0x408c9d
mov edx, dword [edx]
jmp 0x408c9f
xor edx, edx
cmp word [edx], 0
jne 0x408ca9
xor ecx, ecx
jmp 0x408cbf
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408cb0
sub ecx, esi
sar ecx, 1
lea eax, [ebx + 0x30]
push ecx
push edx
mov ecx, eax
mov dword [ebp - 0x8a4], eax
call fcn.00406c00
mov esi, dword [ebp - 0x8d8]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x408d38
lea eax, [esi + 8]
push eax
call ecx
test eax, eax
jne 0x408d28
test esi, esi
je 0x408d28
mov eax, dword [esi]
test eax, eax
je 0x408d0a
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x408d22
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
push esi
call edi
add esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 0x8d8], 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x898]
test esi, esi
je 0x408d7d
lea eax, [esi + 8]
push eax
call ecx
test eax, eax
jne 0x408d7d
mov eax, dword [esi]
test eax, eax
je 0x408d5f
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x408d77
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
push esi
call edi
add esp, 4
mov esi, dword [ebp - 0x89c]
mov eax, dword [ebp - 0x8a4]
lea ebx, [esi + 0x78]
cmp ebx, eax
je 0x408da2
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00406870
mov eax, dword [ebp - 0x8a4]
cmp byte [0x482751], 0
je 0x408ea3
push eax
mov edx, 0x45ef18
lea ecx, [ebp - 0x8f0]
call fcn.00411570
add esp, 4
push 0x45ef10
mov edx, eax
lea ecx, [ebp - 0x8d4]
mov byte [ebp - 4], 4
call fcn.00411660
add esp, 4
push 0x45d1a8
mov edx, eax
lea ecx, [ebp - 0x8bc]
mov byte [ebp - 4], 5
call fcn.00411660
mov esi, eax
add esp, 4
cmp ebx, esi
je 0x408e23
cmp dword [ebx + 0x14], 8
jb 0x408e08
push dword [ebx]
call edi
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push esi
mov ecx, ebx
mov word [ebx], ax
call fcn.004066d0
cmp dword [ebp - 0x8a8], 8
jb 0x408e37
push dword [ebp - 0x8bc]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x8c0], 8
mov dword [ebp - 0x8a8], 7
mov dword [ebp - 0x8ac], 0
mov word [ebp - 0x8bc], ax
jb 0x408e68
push dword [ebp - 0x8d4]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x8dc], 8
mov dword [ebp - 0x8c0], 7
mov dword [ebp - 0x8c4], 0
mov word [ebp - 0x8d4], ax
jb 0x408e9d
push dword [ebp - 0x8f0]
call edi
add esp, 4
mov esi, dword [ebp - 0x89c]
call fcn.0042da20
test al, al
je 0x408f28
push esi
mov edx, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x8f0]
call fcn.00411570
mov esi, eax
lea eax, [ebp - 0x888]
add esp, 4
cmp eax, esi
je 0x408f09
cmp dword [ebp - 0x874], 8
jb 0x408ee0
push dword [ebp - 0x888]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x888]
mov dword [ebp - 0x874], 7
mov dword [ebp - 0x878], 0
mov word [ebp - 0x888], ax
call fcn.004066d0
cmp dword [ebp - 0x8dc], 8
jb 0x408f1d
push dword [ebp - 0x8f0]
call edi
add esp, 4
mov eax, 0x200
mov dword [ebp - 0x8a0], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x840]
push str.main
push 0
call dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x482720]
add esp, 0xc
test al, 1
jne 0x408fa3
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 0x14
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00443950
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x83c], 0
movq qword [ebp - 0x838], xmm0
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
cmp word [ebp - 0x218], ax
jne 0x408ff7
xor ecx, ecx
jmp 0x40900f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409000
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x858]
call fcn.00406c00
mov byte [ebp - 4], 6
cmp dword [ebp - 0x848], 0
je 0x40950e
xor eax, eax
mov dword [ebp - 0x85c], 7
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
push 1
push ecx
push 0x45efa4
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 7
call fcn.00411400
push eax
mov dword [ebp - 0x898], eax
push 0
lea eax, [ebp - 0x8f0]
push eax
lea ecx, [ebp - 0x858]
call fcn.00405030
mov esi, eax
lea eax, [ebp - 0x870]
cmp eax, esi
je 0x4090cb
cmp dword [ebp - 0x85c], 8
jb 0x4090a2
push dword [ebp - 0x870]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x85c], 7
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
call fcn.004066d0
cmp dword [ebp - 0x8dc], 8
jb 0x4090df
push dword [ebp - 0x8f0]
call edi
add esp, 4
cmp dword [ebp - 0x85c], 8
lea edx, [ebp - 0x870]
cmovae edx, dword [ebp - 0x870]
xor eax, eax
mov dword [ebp - 0x8a8], 7
mov dword [ebp - 0x8ac], 0
mov word [ebp - 0x8bc], ax
cmp word [edx], ax
jne 0x409119
xor ecx, ecx
jmp 0x40912f
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409120
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8bc]
call fcn.00406c00
push ecx
lea edx, [ebp - 0x8bc]
lea ecx, [ebp - 0x8d4]
mov byte [ebp - 4], 8
call fcn.00432d20
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40915d
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
cmp dword [ebp - 0x8c0], 0x10
mov dword [ebp - 0x83c], eax
jb 0x409181
push dword [ebp - 0x8d4]
call edi
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x8a8], 8
mov dword [ebp - 0x8c0], 0xf
mov dword [ebp - 0x8c4], 0
mov byte [ebp - 0x8d4], 0
jb 0x4091b4
push dword [ebp - 0x8bc]
call edi
add esp, 4
push dword [ebp - 0x848]
mov eax, dword [ebp - 0x898]
inc eax
push eax
lea eax, [ebp - 0x8f0]
push eax
lea ecx, [ebp - 0x858]
call fcn.00405030
mov esi, eax
lea eax, [ebp - 0x858]
cmp eax, esi
je 0x40921d
cmp dword [ebp - 0x844], 8
jb 0x4091f4
push dword [ebp - 0x858]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
call fcn.004066d0
cmp dword [ebp - 0x8dc], 8
jb 0x409231
push dword [ebp - 0x8f0]
call edi
add esp, 4
push 1
push ecx
push 0x45efa4
lea ecx, [ebp - 0x858]
call fcn.00411400
push eax
mov dword [ebp - 0x898], eax
push 0
lea eax, [ebp - 0x8f0]
push eax
lea ecx, [ebp - 0x858]
call fcn.00405030
mov esi, eax
lea eax, [ebp - 0x870]
cmp eax, esi
je 0x4092a8
cmp dword [ebp - 0x85c], 8
jb 0x40927f
push dword [ebp - 0x870]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x85c], 7
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
call fcn.004066d0
cmp dword [ebp - 0x8dc], 8
jb 0x4092bc
push dword [ebp - 0x8f0]
call edi
add esp, 4
cmp dword [ebp - 0x85c], 8
lea edx, [ebp - 0x870]
cmovae edx, dword [ebp - 0x870]
xor eax, eax
mov dword [ebp - 0x8a8], 7
mov dword [ebp - 0x8ac], 0
mov word [ebp - 0x8bc], ax
cmp word [edx], ax
jne 0x4092f6
xor ecx, ecx
jmp 0x40930f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x409300
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409300
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8bc]
call fcn.00406c00
push ecx
lea edx, [ebp - 0x8bc]
lea ecx, [ebp - 0x8d4]
mov byte [ebp - 4], 9
call fcn.00432d20
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40933d
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
cmp dword [ebp - 0x8c0], 0x10
mov dword [ebp - 0x838], eax
jb 0x409361
push dword [ebp - 0x8d4]
call edi
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x8a8], 8
mov dword [ebp - 0x8c0], 0xf
mov dword [ebp - 0x8c4], 0
mov byte [ebp - 0x8d4], 0
jb 0x409394
push dword [ebp - 0x8bc]
call edi
add esp, 4
push dword [ebp - 0x848]
mov eax, dword [ebp - 0x898]
inc eax
push eax
lea eax, [ebp - 0x8f0]
push eax
lea ecx, [ebp - 0x858]
call fcn.00405030
mov esi, eax
lea eax, [ebp - 0x858]
cmp eax, esi
je 0x4093fd
cmp dword [ebp - 0x844], 8
jb 0x4093d4
push dword [ebp - 0x858]
call edi
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
call fcn.004066d0
cmp dword [ebp - 0x8dc], 8
jb 0x409411
push dword [ebp - 0x8f0]
call edi
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x858]
push eax
lea ecx, [ebp - 0x870]
call fcn.00406870
cmp dword [ebp - 0x85c], 8
lea edx, [ebp - 0x870]
cmovae edx, dword [ebp - 0x870]
xor eax, eax
mov dword [ebp - 0x8a8], 7
mov dword [ebp - 0x8ac], 0
mov word [ebp - 0x8bc], ax
cmp word [edx], ax
jne 0x409461
xor ecx, ecx
jmp 0x409475
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409466
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8bc]
call fcn.00406c00
push ecx
lea edx, [ebp - 0x8bc]
lea ecx, [ebp - 0x8d4]
mov byte [ebp - 4], 0xa
call fcn.00432d20
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4094a3
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
cmp dword [ebp - 0x8c0], 0x10
mov dword [ebp - 0x834], eax
jb 0x4094c7
push dword [ebp - 0x8d4]
call edi
add esp, 4
cmp dword [ebp - 0x8a8], 8
mov dword [ebp - 0x8c0], 0xf
mov dword [ebp - 0x8c4], 0
mov byte [ebp - 0x8d4], 0
jb 0x4094f6
push dword [ebp - 0x8bc]
call edi
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x85c], 8
jb 0x40950e
push dword [ebp - 0x870]
call edi
add esp, 4
cmp dword [ebp - 0x874], 8
lea ecx, [ebp - 0x88c]
push ecx
lea ecx, [ebp - 0x890]
push ecx
mov ecx, dword [ebp - 0x8a0]
push 0
lea eax, [ebp - 0x888]
cmovae eax, dword [ebp - 0x888]
or ecx, 0xf003f
push ecx
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x409814
mov ecx, dword [ebp - 0x89c]
add ecx, 0x18
mov eax, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 8
jb 0x40956d
mov ecx, dword [ecx]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x45efa8
push dword [ebp - 0x890]
call esi
mov eax, dword [ebp - 0x8a4]
cmp dword [eax + 0x14], 8
jb 0x40959d
mov ecx, dword [eax]
jmp 0x40959f
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4095a2
sub ecx, edx
mov edx, dword [ebp - 0x8a4]
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x4095bf
mov edx, dword [edx]
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x890]
call esi
mov edx, dword [ebp - 0x89c]
add edx, 0x60
cmp dword [edx + 0x14], 8
jb 0x4095e8
mov ecx, dword [edx]
jmp 0x4095ea
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8a0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4095f3
sub ecx, dword [ebp - 0x8a0]
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x40960e
mov edx, dword [edx]
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.publisher
push dword [ebp - 0x890]
call esi
cmp dword [ebx + 0x14], 8
jb 0x40962e
mov ecx, dword [ebx]
jmp 0x409630
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409633
sub ecx, edx
sar ecx, 1
cmp dword [ebx + 0x14], 8
jb 0x40964a
mov ebx, dword [ebx]
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.UninstallString
push dword [ebp - 0x890]
call esi
lea ecx, [ebp - 0x840]
call dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409671
mov ebx, dword [ebp - 0x89c]
sub ecx, edx
add ebx, 0x90
sar ecx, 1
cmp dword [ebx + 0x14], 8
jb 0x409696
mov edx, dword [ebx]
jmp 0x409698
mov edx, ebx
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push 0x45d188
push dword [ebp - 0x890]
call esi
push 4
lea eax, [ebp - 0x83c]
push eax
push 4
push 0
push str.VersionMajor
push dword [ebp - 0x890]
call esi
push 4
lea eax, [ebp - 0x838]
push eax
push 4
push 0
push str.VersionMinor
push dword [ebp - 0x890]
call esi
push 4
lea eax, [ebp - 0x83c]
push eax
push 4
push 0
push str.MajorVersion
push dword [ebp - 0x890]
call esi
push 4
lea eax, [ebp - 0x838]
push eax
push 4
push 0
push str.MinorVersion
push dword [ebp - 0x890]
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409720
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x45f07c
push dword [ebp - 0x890]
call esi
cmp dword [ebx + 0x14], 8
jb 0x409755
mov ecx, dword [ebx]
jmp 0x409757
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409760
sub ecx, edx
sar ecx, 1
cmp dword [ebx + 0x14], 8
jb 0x409777
mov ebx, dword [ebx]
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x890]
call esi
mov eax, dword [0x48277c]
test eax, eax
jne 0x4097c2
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x8a0], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4097bb
mov ecx, eax
call fcn.004122b0
jmp 0x4097bd
xor eax, eax
mov dword [0x48277c], eax
cmp dword [eax + 0xd0], 0
je 0x409810
cmp dword [eax + 0xd4], 8
lea edx, [eax + 0xc0]
jb 0x4097de
mov ecx, dword [edx]
jmp 0x4097e0
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4097e3
sub ecx, ebx
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x4097fa
mov edx, dword [edx]
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.Installer
push dword [ebp - 0x890]
call esi
mov bl, 1
jmp 0x40981a
mov bl, byte [ebp - 0x891]
mov eax, dword [ebp - 0x890]
test eax, eax
je 0x40982b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x844], 8
jb 0x40983f
push dword [ebp - 0x858]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x874], 8
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
jb 0x409870
push dword [ebp - 0x888]
call edi
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x874], 7
mov dword [ebp - 0x878], 0
mov word [ebp - 0x888], ax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret