Function at 0x450cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e5cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x53f1e4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
push str.label_version
call dword [0x5112cc]
mov esi, eax
mov eax, dword [0x53ef48]
mov edx, dword [eax + 0xc]
mov ecx, 0x53ef48
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], 0
test byte [0x5431e4], 1
jne 0x450d4b
or dword [0x5431e4], 1
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
cmp byte [0x5431c0], 0
je 0x450d91
test byte [0x5431e4], 1
jne 0x450d76
or dword [0x5431e4], 1
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
cmp dword [0x5430f4], 8
mov eax, dword [0x5430e0]
jae 0x450d89
mov eax, 0x5430e0
push eax
push 0x50da04
jmp 0x450d9b
push 0x50a8b0
push 0x50da1c
lea edi, [esp + 0x18]
call fcn.00408a70
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
add esp, 8
push ecx
mov ecx, esi
call edx
push str.btn_reinstall
mov ecx, ebx
call dword [0x5112cc]
xor ecx, ecx
mov edi, eax
push ecx
mov eax, 0x450fc0
push eax
push ebx
lea esi, [esp + 0x20]
call fcn.00451390
add esp, 0xc
push eax
lea ecx, [edi + 0x34]
mov byte [esp + 0x3c], 1
call dword [0x51113c]
mov ecx, esi
mov byte [esp + 0x38], 0
call dword [0x511150]
push str.btn_min1
mov ecx, ebx
call dword [0x5112cc]
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x450e7e
test byte [0x54366c], 1
jne 0x450e4c
or dword [0x54366c], 1
push 0x4ecca0
mov dword [0x543650], esi
mov dword [0x543654], esi
mov dword [0x543658], esi
mov dword [0x54365c], esi
mov dword [0x543660], esi
mov dword [0x543668], esi
call fcn.004b4336
add esp, 4
mov edx, dword [0x543654]
mov eax, 0x44b7d0
lea esi, [esp + 0x14]
call fcn.004513e0
push eax
lea ecx, [edi + 0x34]
mov byte [esp + 0x3c], 2
call dword [0x51113c]
mov ecx, esi
mov byte [esp + 0x38], 0
call dword [0x511150]
xor esi, esi
push str.btn_close1
mov ecx, ebx
call dword [0x5112cc]
mov edi, eax
cmp edi, esi
je 0x450f04
test byte [0x54366c], 1
jne 0x450ed2
or dword [0x54366c], 1
push 0x4ecca0
mov dword [0x543650], esi
mov dword [0x543654], esi
mov dword [0x543658], esi
mov dword [0x54365c], esi
mov dword [0x543660], esi
mov dword [0x543668], esi
call fcn.004b4336
add esp, 4
mov edx, dword [0x543654]
mov eax, 0x44b810
lea esi, [esp + 0x14]
call fcn.004513e0
push eax
lea ecx, [edi + 0x34]
mov byte [esp + 0x3c], 3
call dword [0x51113c]
mov ecx, esi
mov byte [esp + 0x38], 0
call dword [0x511150]
xor esi, esi
test byte [0x54366c], 1
jne 0x450f45
or dword [0x54366c], 1
push 0x4ecca0
mov dword [0x543650], esi
mov dword [0x543654], esi
mov dword [0x543658], esi
mov dword [0x54365c], esi
mov dword [0x543660], esi
mov dword [0x543668], esi
call fcn.004b4336
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [0x543664], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450f73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret