Function at 0x423190
Capabilities:
Access peb ldr_data
Delete registry key
Persist via app paths registry key
Persist via default file association registry key
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x49e6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4c02a0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov edx, dword [0x4c45ac]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4c45ac
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
xor esi, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x18], esi
xor eax, eax
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x3c]
movzx eax, word [esp + 0x3a]
movzx ecx, word [esp + 0x38]
push edx
movzx edx, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push ecx
movzx ecx, word [esp + 0x3c]
push edx
push eax
push ecx
push str._04d__02d__02d__02d:_02d:_02d
lea edi, [esp + 0x48]
call fcn.004128d0
mov eax, dword [esp + 0x34]
add esp, 0x1c
cmp eax, esi
je 0x423251
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea edx, [esp + 0x1c]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push 0x4a7790
push SysReAllocString
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [esp + 0x20]
cmp eax, esi
jne 0x42344e
mov eax, dword [ebx + 0x28]
add ebx, 0x28
xor ecx, ecx
mov word [esp + 0x44], cx
mov ecx, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
lea esi, [ecx + 2]
jmp 0x4232b0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4232b0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x44]
call fcn.0040fdc0
mov edx, esi
push edx
mov byte [esp + 0x70], 2
call fcn.00471830
mov edx, dword [esp + 0x48]
add esp, 4
cmp dword [esp + 0x58], 8
jae 0x4232e8
lea edx, [esp + 0x44]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x423316
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4232f5
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x4a77c8
push edi
call ebp
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ebx, 0x4a77e0
call fcn.00412200
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x423361
mov eax, edx
lea edi, [eax + 2]
jmp 0x423340
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423340
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x4a77f8
push esi
call ebp
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423381
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4233eb
mov edi, dword [esp + 0x2c]
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x423392
sub eax, esi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push 0
push 0x4a780c
push ecx
call ebp
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4233eb
mov esi, dword [0x4c5868]
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4233c6
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x4a7824
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
cmp byte [ebx + 0x78], 0
je 0x4233fe
mov edx, dword [ebx + 0x20]
cmp dword [edx - 0xc], 0
jne 0x423435
mov esi, dword [ebx + 0xa0]
test ecx, ecx
je 0x423435
mov eax, esi
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x423410
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x4a7834
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x58], 8
jb 0x423452
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047ceda
add esp, 4
mov ecx, dword [esp + 0x18]
xor edi, edi
cmp ecx, edi
je 0x42345f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea edx, [esp + 0x1c]
push edx
push edi
push 0xf003f
push edi
push edi
push edi
push 0x4a7854
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x42364e
mov eax, dword [ebx + 0x28]
add ebx, 0x28
xor ecx, ecx
mov word [esp + 0x44], cx
mov ecx, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
lea esi, [ecx + 2]
jmp 0x4234b0
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4234b0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x44]
call fcn.0040fdc0
mov edx, esi
push edx
mov byte [esp + 0x70], 3
call fcn.00471830
mov edx, dword [esp + 0x48]
add esp, 4
cmp dword [esp + 0x58], 8
jae 0x4234e8
lea edx, [esp + 0x44]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x423516
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4234f5
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x4a788c
push edi
call ebp
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ebx, 0x4a78a4
call fcn.00412200
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x423561
mov eax, edx
lea edi, [eax + 2]
jmp 0x423540
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423540
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push str.ExeString
push esi
call ebp
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423581
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4235eb
mov edi, dword [esp + 0x2c]
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x423592
sub eax, esi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push 0
push str.InstallTime
push ecx
call ebp
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4235eb
mov esi, dword [0x4c5868]
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4235c6
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x4a78e8
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x78], 0
je 0x4235fe
mov edx, dword [eax + 0x20]
cmp dword [edx - 0xc], 0
jne 0x423635
mov esi, dword [eax + 0xa0]
test ecx, ecx
je 0x423635
mov eax, esi
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x423610
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x4a78f8
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x58], 8
jb 0x423652
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047ceda
add esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42365d
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallShuame
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4237e2
mov ebp, dword [esp + 0x20]
add ebp, 0x28
lea eax, [esp + 0x1c]
push ebp
push eax
mov ebx, 0x4a7990
call fcn.00412200
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x4236e5
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4236c0
sub eax, edi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push 0
push str.DisplayIcon
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423705
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x423724
push 0xa
push 0x4a79c0
push 1
push 0
push str.DisplayName
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x1c]
push ebp
push ecx
mov ebx, 0x4a79e4
call fcn.00412200
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x42376b
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423746
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push str.UninstallString
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42378b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4237f1
mov edx, dword [0x4c5868]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4237a0
sub eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push 0
push str.DisplayVersion
push edi
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4237f1
push 0x16
push 0x4a7a3c
push 1
push 0
push str.Publisher
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4237f1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_shuame.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], 0
call edi
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x4238a7
lea eax, [ebp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, 0x4a7ae8
call fcn.00412200
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x42387f
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423850
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x4a7b00
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x423885
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4238ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4238ad
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x4238be
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.shuame
push SysReAllocString
mov dword [esp + 0x3c], ebx
call edi
cmp eax, ebx
jne 0x423ac0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42390e
push 2
push 0x4a7b14
push 1
push ebx
push str.URL_Protocol
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42390e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.shuameDefaultIcon
push SysReAllocString
mov dword [esp + 0x3c], ebx
call edi
cmp eax, ebx
jne 0x4239bd
lea eax, [ebp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, 0x4a7b64
call fcn.00412200
push eax
lea edx, [esp + 0x28]
push edx
mov ebx, 0x4a7b5c
mov byte [esp + 0x7c], 4
call fcn.00412200
mov eax, dword [eax]
add esp, 0x10
mov edi, eax
push 0x4a7b7c
lea eax, [esp + 0x1c]
call fcn.00428c30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423992
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4239b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4239cc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.shuame_shellopencommand
push SysReAllocString
mov dword [esp + 0x3c], 0
call edi
test eax, eax
jne 0x423ac0
lea edx, [esp + 0x28]
push 0x4a7be4
lea ecx, [ebp + 0x28]
push edx
call fcn.004265b0
push eax
lea eax, [esp + 0x28]
push eax
mov ebx, 0x4a7bcc
mov byte [esp + 0x7c], 5
call fcn.00412200
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, str.___URL___1_
mov byte [esp + 0x84], 6
call fcn.00412200
mov eax, dword [eax]
add esp, 0x18
mov edi, eax
push 0x4a7be8
lea eax, [esp + 0x1c]
call fcn.00428c30
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423a70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423a95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423aba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x423ad1
push eax
call ebx
xor ebp, ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], ebp
call edi
cmp eax, ebp
jne 0x423b10
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x423b1b
push 2
push 0x4a7ca4
push 1
push ebp
push str.Shuame
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x423b1b
push eax
call ebx
push ebp
lea edx, [esp + 0x1c]
push edx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str..rom
push SysReAllocString
mov dword [esp + 0x3c], ebp
call edi
cmp eax, ebp
jne 0x423b58
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x423b63
push 0x14
push str.ShuameRom
push 1
push ebp
push 0x4a7cd8
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x423b63
push eax
call ebx
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.ShuameRomDefaultIcon
push SysReAllocString
mov dword [esp + 0x3c], ebp
call edi
cmp eax, ebp
jne 0x423d3a
mov ebp, dword [esp + 0x20]
add ebp, 0x28
lea ecx, [esp + 0x24]
push ebp
push ecx
mov ebx, 0x4a7d10
call fcn.00412200
push eax
lea edx, [esp + 0x34]
push edx
mov ebx, 0x4a7d08
mov byte [esp + 0x7c], 7
call fcn.00412200
mov esi, dword [esp + 0x28]
mov edx, dword [eax]
add esp, 0x10
test esi, esi
je 0x423bf5
mov eax, edx
lea edi, [eax + 2]
jmp 0x423bd0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423bd0
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x4a7d28
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x423c49
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ShuameRom_shellopencommand
push SysReAllocString
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x423d3a
lea edx, [esp + 0x1c]
push 0x4a7da4
push edx
mov ecx, ebp
call fcn.004265b0
push eax
lea eax, [esp + 0x30]
push eax
mov ebx, 0x4a7d8c
mov byte [esp + 0x7c], 8
call fcn.00412200
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ebx, str.____ROM_PATH___1_
mov byte [esp + 0x84], 9
call fcn.00412200
mov eax, dword [eax]
add esp, 0x18
mov edi, eax
push 0x4a7da8
lea eax, [esp + 0x1c]
call fcn.00428c30
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423cf0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 8
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423d15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423d3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4a7db0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x423d70
lea ecx, [eax + 0x28]
call fcn.00425f70
push 0
push 0
push 0x2000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x423d7f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423daf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0047cee5
add esp, 0x5c
ret 4