Function at 0x453fe0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5811a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.00453eb0
cmp dword [0x585bcc], 0
je 0x454009
push ebx
call fcn.00409ef0
cmp dword [ebp + 8], 2
jl 0x454275
mov eax, dword [0x586110]
test eax, eax
je 0x45401f
push ebx
call eax
cmp dword [0x585b64], 0
je 0x454286
cmp dword [0x585b68], 0
jne 0x454286
push esi
mov esi, ebx
mov dword [0x585b68], 1
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x454060
sub esi, ecx
cmp esi, 0xf
ja 0x454086
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
push ebx
push eax
call fcn.004d1a20
mov byte [ebp + esi - 0x1c], 0
mov edi, dword [ebp - 0x1c]
jmp 0x4540d6
cmp esi, 0x7fffffff
ja 0x454292
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4540a6
mov edi, 0x7fffffff
jmp 0x4540b0
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402b1b
push esi
mov dword [ebp - 8], edi
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], esi
call fcn.004d1a20
mov byte [edi + esi], 0
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 8]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov eax, ecx
sub eax, ebx
mov dword [ebp - 0x20], ecx
cmp eax, 0xf
jb 0x454115
cmp ecx, 0x10
lea esi, [ebp - 0x1c]
push 0xf
cmovae esi, edi
lea eax, [ebx + 0xf]
add esi, ebx
mov dword [ebp - 0xc], eax
push 0x509e6c
push esi
call fcn.004d1a20
mov byte [esi + 0xf], 0
mov esi, dword [ebp - 0x1c]
jmp 0x454214
mov edx, 0x7fffffff
mov eax, edx
sub eax, ebx
cmp eax, 0xf
jb 0x454292
lea edi, [ebx + 0xf]
or edi, 0xf
cmp edi, edx
jbe 0x454135
mov edi, edx
jmp 0x45414d
mov eax, ecx
shr eax, 1
sub edx, eax
cmp ecx, edx
jbe 0x454146
mov edi, 0x7fffffff
jmp 0x45414d
add eax, ecx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402b1b
cmp dword [ebp - 0x20], 0x10
mov esi, eax
lea eax, [ebx + 0xf]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
push ebx
jb 0x4541d8
mov edi, dword [ebp - 0x1c]
push edi
push esi
call fcn.004d1a20
movq xmm0, qword [0x509e6c]
add esp, 0xc
mov ecx, dword [ebp - 0x20]
movq qword [esi + ebx], xmm0
inc ecx
mov eax, dword [0x509e74]
mov dword [esi + ebx + 8], eax
mov ax, word [0x509e78]
mov word [esi + ebx + 0xc], ax
mov al, byte [0x509e7a]
mov byte [esi + ebx + 0xe], al
mov byte [ebx + esi + 0xf], 0
cmp ecx, 0x1000
jb 0x4541c9
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x45428d
mov edi, edx
push ecx
push edi
call fcn.004c7e22
add esp, 8
mov dword [ebp - 0x1c], esi
jmp 0x454217
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.004d1a20
movq xmm0, qword [0x509e6c]
movq qword [esi + ebx], xmm0
mov eax, dword [0x509e74]
mov dword [esi + ebx + 8], eax
mov ax, word [0x509e78]
mov word [esi + ebx + 0xc], ax
mov al, byte [0x509e7a]
mov byte [esi + ebx + 0xe], al
mov byte [ebx + esi + 0xf], 0
mov dword [ebp - 0x1c], esi
add esp, 0xc
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x42014
push str.XCGUI_
cmovae eax, esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
cmp eax, 6
je 0x454286
mov edx, dword [ebp - 8]
mov dword [0x585b68], 0
cmp edx, 0x10
jb 0x454275
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45426b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45428d
push edx
push ecx
call fcn.004c7e22
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004c77a6
mov esp, ebp
pop ebp
ret 8
push 0
call fcn.004e3194
call fcn.004e0996
call fcn.004015d9
int3