Function at 0x53d900
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b494f
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], ecx
call fcn.004bb400
mov dword [ebp - 0x1c], eax
push str.edit_choose_downdir
mov ecx, dword [ebp - 0x2dc]
add ecx, 0xbc
call fcn.00598440
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.0059cef0
push eax
lea ecx, [ebp - 0x2c4]
call fcn.004068d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c4]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0043e170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.00405ef0
push 0x7f44b0
mov ecx, dword [ebp - 0x2dc]
add ecx, 0xbc
call fcn.00598440
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x53da15
mov ecx, dword [ebp - 0x20]
call fcn.005af6d0
movzx edx, al
test edx, edx
je 0x53da15
push str.quit_app
lea ecx, [ebp - 0x2c8]
call fcn.004068d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c8]
push eax
call fcn.004bb400
mov ecx, eax
call fcn.0043dd50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c8]
call fcn.00405ef0
jmp 0x53da4b
push str.min_to_tray
lea ecx, [ebp - 0x2cc]
call fcn.004068d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.004bb400
mov ecx, eax
call fcn.0043dd50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2cc]
call fcn.00405ef0
mov edx, dword [ebp - 0x2dc]
cmp dword [edx + 0x354], 0
je 0x53db10
push 0x208
push 0
lea eax, [ebp - 0x2bc]
push eax
call fcn.007202b0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x2bc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.004bb400
mov dword [ebp - 0x2c0], eax
mov edx, dword [ebp - 0x2dc]
mov ecx, dword [edx + 0x350]
call fcn.005af6d0
movzx eax, al
test eax, eax
je 0x53dad4
push 0x3c
push 0
push 0x7f44f0
lea ecx, [ebp - 0x2bc]
push ecx
push 1
call fcn.00648420
add esp, 0x14
push 1
mov ecx, dword [ebp - 0x2c0]
call fcn.0043da30
jmp 0x53db10
push 0x3c
push 0
push 0x7f450c
lea edx, [ebp - 0x2bc]
push edx
push 0
call fcn.00648420
add esp, 0x14
push 0
mov ecx, dword [ebp - 0x2c0]
call fcn.0043da30
push str.autorun
push 0x7f4538
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.maximize_on_gameopen
mov ecx, dword [ebp - 0x2dc]
add ecx, 0xbc
call fcn.00598440
mov dword [ebp - 0x14], eax
push str.fullscreen_on_gameopen
mov ecx, dword [ebp - 0x2dc]
add ecx, 0xbc
call fcn.00598440
mov dword [ebp - 0x18], eax
push str.noop_on_gameopen
mov ecx, dword [ebp - 0x2dc]
add ecx, 0xbc
call fcn.00598440
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0
je 0x53dba7
mov ecx, dword [ebp - 0x14]
call fcn.005af6d0
movzx eax, al
test eax, eax
je 0x53dba7
push str.maximize
lea ecx, [ebp - 0x2d0]
call fcn.004068d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2d0]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0043de40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2d0]
call fcn.00405ef0
jmp 0x53dc37
cmp dword [ebp - 0x18], 0
je 0x53dbf0
mov ecx, dword [ebp - 0x18]
call fcn.005af6d0
movzx edx, al
test edx, edx
je 0x53dbf0
push str.fullscreen
lea ecx, [ebp - 0x2d4]
call fcn.004068d0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0043de40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2d4]
call fcn.00405ef0
jmp 0x53dc37
cmp dword [ebp - 0x10], 0
je 0x53dc37
mov ecx, dword [ebp - 0x10]
call fcn.005af6d0
movzx ecx, al
test ecx, ecx
je 0x53dc37
push str.noop
lea ecx, [ebp - 0x2d8]
call fcn.004068d0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2d8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0043de40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2d8]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.0059cc80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret