Function at 0x431c40
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 0x50ea20
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov edx, dword [0x544fac]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x544fac
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 0x51ca5c
lea edi, [esp + 0x48]
call fcn.00418bf0
mov eax, dword [esp + 0x34]
add esp, 0x1c
cmp eax, esi
je 0x431d01
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 0x51ca98
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 0x431efe
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 0x431d60
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x431d60
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x44]
call fcn.004133e0
mov edx, esi
push edx
mov byte [esp + 0x70], 2
call fcn.004de3f0
mov edx, dword [esp + 0x48]
add esp, 4
cmp dword [esp + 0x58], 8
jae 0x431d98
lea edx, [esp + 0x44]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x431dc6
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431da5
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x51cad0
push edi
call ebp
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ebx, 0x51cae8
call fcn.00417ae0
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x431e11
mov eax, edx
lea edi, [eax + 2]
jmp 0x431df0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431df0
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x51cb00
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 0x431e31
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 0x431e9b
mov edi, dword [esp + 0x2c]
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x431e42
sub eax, esi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push 0
push 0x51cb14
push ecx
call ebp
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x431e9b
mov esi, dword [0x546884]
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x431e76
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x51cb2c
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
cmp byte [ebx + 0x78], 0
je 0x431eae
mov edx, dword [ebx + 0x20]
cmp dword [edx - 0xc], 0
jne 0x431ee5
mov esi, dword [ebx + 0xbc]
test ecx, ecx
je 0x431ee5
mov eax, esi
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x431ec0
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x51cb3c
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x58], 8
jb 0x431f02
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004ea0ff
add esp, 4
mov ecx, dword [esp + 0x18]
xor edi, edi
cmp ecx, edi
je 0x431f0f
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 0x51cb5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x4320fe
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 0x431f60
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x431f60
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x44]
call fcn.004133e0
mov edx, esi
push edx
mov byte [esp + 0x70], 3
call fcn.004de3f0
mov edx, dword [esp + 0x48]
add esp, 4
cmp dword [esp + 0x58], 8
jae 0x431f98
lea edx, [esp + 0x44]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x431fc6
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431fa5
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x51cb94
push edi
call ebp
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ebx, 0x51cbac
call fcn.00417ae0
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x432011
mov eax, edx
lea edi, [eax + 2]
jmp 0x431ff0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431ff0
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 0x432031
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 0x43209b
mov edi, dword [esp + 0x2c]
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x432042
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 0x43209b
mov esi, dword [0x546884]
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x432076
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x51cbf0
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x78], 0
je 0x4320ae
mov edx, dword [eax + 0x20]
cmp dword [edx - 0xc], 0
jne 0x4320e5
mov esi, dword [eax + 0xbc]
test ecx, ecx
je 0x4320e5
mov eax, esi
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4320c0
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x51cc00
push ecx
call ebp
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x58], 8
jb 0x432102
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004ea0ff
add esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x43210d
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 0x432292
mov ebp, dword [esp + 0x20]
add ebp, 0x28
lea eax, [esp + 0x1c]
push ebp
push eax
mov ebx, 0x51cc98
call fcn.00417ae0
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x432195
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432170
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 0x4321b5
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 0x4321d4
push 0xa
push 0x51ccc8
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, 0x51ccec
call fcn.00417ae0
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x43221b
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4321f6
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 0x43223b
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 0x4322a1
mov edx, dword [0x546884]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432250
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 0x4322a1
push 0x16
push 0x51cd44
push 1
push 0
push str.Publisher
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4322a1
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 0x432357
lea eax, [ebp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, 0x51cdf0
call fcn.00417ae0
mov esi, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
test esi, esi
je 0x43232f
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432300
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x51ce08
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x432335
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 0x43235d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43235d
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x43236e
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 0x432570
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4323be
push 2
push 0x51ce1c
push 1
push ebx
push str.URL_Protocol
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4323be
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 0x43246d
lea eax, [ebp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, 0x51ce6c
call fcn.00417ae0
push eax
lea edx, [esp + 0x28]
push edx
mov ebx, 0x51ce64
mov byte [esp + 0x7c], 4
call fcn.00417ae0
mov eax, dword [eax]
add esp, 0x10
mov edi, eax
push 0x51ce84
lea eax, [esp + 0x1c]
call fcn.00437b60
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 0x432442
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 0x432467
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 0x43247c
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 0x432570
lea edx, [esp + 0x28]
push 0x51ceec
lea ecx, [ebp + 0x28]
push edx
call fcn.0041caa0
push eax
lea eax, [esp + 0x28]
push eax
mov ebx, 0x51ced4
mov byte [esp + 0x7c], 5
call fcn.00417ae0
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, str.___URL___1_
mov byte [esp + 0x84], 6
call fcn.00417ae0
mov eax, dword [eax]
add esp, 0x18
mov edi, eax
push 0x51cef0
lea eax, [esp + 0x1c]
call fcn.00437b60
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 0x432520
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 0x432545
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 0x43256a
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 0x432581
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 0x4325c0
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4325cb
push 2
push 0x51cfac
push 1
push ebp
push str.Shuame
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4325cb
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 0x432608
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x432613
push 0x14
push str.ShuameRom
push 1
push ebp
push 0x51cfe0
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x432613
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 0x4327ea
mov ebp, dword [esp + 0x20]
add ebp, 0x28
lea ecx, [esp + 0x24]
push ebp
push ecx
mov ebx, 0x51d018
call fcn.00417ae0
push eax
lea edx, [esp + 0x34]
push edx
mov ebx, 0x51d010
mov byte [esp + 0x7c], 7
call fcn.00417ae0
mov esi, dword [esp + 0x28]
mov edx, dword [eax]
add esp, 0x10
test esi, esi
je 0x4326a5
mov eax, edx
lea edi, [eax + 2]
jmp 0x432680
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432680
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push 0x51d030
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 0x4326c5
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 0x4326ea
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 0x4326f9
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 0x4327ea
lea edx, [esp + 0x1c]
push 0x51d0ac
push edx
mov ecx, ebp
call fcn.0041caa0
push eax
lea eax, [esp + 0x30]
push eax
mov ebx, 0x51d094
mov byte [esp + 0x7c], 8
call fcn.00417ae0
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ebx, str.____ROM_PATH___1_
mov byte [esp + 0x84], 9
call fcn.00417ae0
mov eax, dword [eax]
add esp, 0x18
mov edi, eax
push 0x51d0b0
lea eax, [esp + 0x1c]
call fcn.00437b60
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 0x4327a0
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 0x4327c5
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 0x4327ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x51d0b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x432820
lea ecx, [eax + 0x28]
call fcn.00434f00
push 0
push 0
push 0x2000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43282f
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 0x43285f
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.004ea10a
add esp, 0x5c
ret 4