Function at 0x409910
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c10b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x453144]
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 dword [ebp - 4], 0
call fcn.004018e0
mov ecx, eax
test ecx, ecx
je 0x409b86
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWdGame__s
push eax
call fcn.004032f0
mov esi, dword [ebp - 0x18]
add esp, 0xc
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call fcn.00417780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x409b28
push 0x51
push str.d:jenkins.jenkinsworkspaceweiduangamewdgameboxwdgameboxuninst_srcutils.cc
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00407580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push 3
push 0x44d57c
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00407580
mov byte [ebp - 4], 3
call fcn.00417780
mov ebx, eax
lea ecx, [ebp - 0xe4]
push 0x62
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404d90
mov edi, eax
mov edx, str.RemoveUninstItem
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00404c20
mov edx, dword [ebx]
mov ecx, ebx
push edi
call dword [edx + 0x1c]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call fcn.00406b50
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe8], eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x94], vtable.std::ios_base.0
call fcn.00411d35
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x409acc
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409ac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409b90
push edx
push ecx
call fcn.004155ab
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x409b16
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409b0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409b95
push edx
push ecx
call fcn.004155ab
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409b46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x409b65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.00415060
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401660
call fcn.0041e989
call fcn.0041e989
int3